Lines Matching refs:num_hwfns

427 	dev_info->num_hwfns = cdev->num_hwfns;  in qed_fill_dev_info()
596 (rc % cdev->num_hwfns)) { in qed_enable_msix()
603 cnt = (rc / cdev->num_hwfns) * cdev->num_hwfns; in qed_enable_msix()
661 if (cdev->num_hwfns == 1) { in qed_set_int_mode()
698 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()
699 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_config()
707 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()
708 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_clean()
728 for (i = 0; i < cdev->num_hwfns; i++) { in qed_single_int()
861 for (i = 0; i < cdev->num_hwfns; i++) { in qed_nic_stop()
884 for (i = 0; i < cdev->num_hwfns; i++) { in qed_nic_setup()
910 limit = cdev->num_hwfns * 63; in qed_set_int_fp()
951 if ((int_mode == QED_INT_MODE_MSI) && (cdev->num_hwfns > 1)) { in qed_slowpath_setup_int()
966 cdev->int_params.in.min_msix_cnt = cdev->num_hwfns * 2; in qed_slowpath_setup_int()
982 cdev->int_params.fp_msix_base = cdev->num_hwfns; in qed_slowpath_setup_int()
984 cdev->num_hwfns; in qed_slowpath_setup_int()
1000 / cdev->num_hwfns; in qed_slowpath_setup_int()
1024 if (cdev->num_hwfns > 1) { in qed_slowpath_vf_setup_int()
1032 cdev->int_params.in.min_msix_cnt = cdev->num_hwfns; in qed_slowpath_vf_setup_int()
1123 if (cdev->num_hwfns > 1 || IS_VF(cdev)) in qed_update_pf_params()
1137 for (i = 0; i < cdev->num_hwfns; i++) { in qed_update_pf_params()
1291 if (cdev->num_hwfns == 1) { in qed_slowpath_start()
1411 if (IS_PF(cdev) && (cdev->num_hwfns == 1) && in qed_slowpath_start()
1433 if (cdev->num_hwfns == 1) in qed_slowpath_stop()
1480 p_hwfn = &cdev->hwfns[sb_id % cdev->num_hwfns]; in qed_sb_init()
1481 rel_sb_id = sb_id / cdev->num_hwfns; in qed_sb_init()
1518 p_hwfn = &cdev->hwfns[sb_id % cdev->num_hwfns]; in qed_sb_release()
1519 rel_sb_id = sb_id / cdev->num_hwfns; in qed_sb_release()