Lines Matching refs:num_hwfns

400 	dev_info->num_hwfns = cdev->num_hwfns;  in qed_fill_dev_info()
569 (rc % cdev->num_hwfns)) { in qed_enable_msix()
576 cnt = (rc / cdev->num_hwfns) * cdev->num_hwfns; in qed_enable_msix()
634 if (cdev->num_hwfns == 1) { in qed_set_int_mode()
671 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()
672 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_config()
680 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()
681 int relative_idx = index / cdev->num_hwfns; in qed_simd_handler_clean()
701 for (i = 0; i < cdev->num_hwfns; i++) { in qed_single_int()
833 for (i = 0; i < cdev->num_hwfns; i++) { in qed_nic_stop()
856 for (i = 0; i < cdev->num_hwfns; i++) { in qed_nic_setup()
882 limit = cdev->num_hwfns * 63; in qed_set_int_fp()
923 if ((int_mode == QED_INT_MODE_MSI) && (cdev->num_hwfns > 1)) { in qed_slowpath_setup_int()
938 cdev->int_params.in.min_msix_cnt = cdev->num_hwfns * 2; in qed_slowpath_setup_int()
954 cdev->int_params.fp_msix_base = cdev->num_hwfns; in qed_slowpath_setup_int()
956 cdev->num_hwfns; in qed_slowpath_setup_int()
972 / cdev->num_hwfns; in qed_slowpath_setup_int()
996 if (cdev->num_hwfns > 1) { in qed_slowpath_vf_setup_int()
1004 cdev->int_params.in.min_msix_cnt = cdev->num_hwfns; in qed_slowpath_vf_setup_int()
1095 if (cdev->num_hwfns > 1 || IS_VF(cdev)) in qed_update_pf_params()
1109 for (i = 0; i < cdev->num_hwfns; i++) { in qed_update_pf_params()
1263 if (cdev->num_hwfns == 1) { in qed_slowpath_start()
1383 if (IS_PF(cdev) && (cdev->num_hwfns == 1) && in qed_slowpath_start()
1405 if (cdev->num_hwfns == 1) in qed_slowpath_stop()
1452 p_hwfn = &cdev->hwfns[sb_id % cdev->num_hwfns]; in qed_sb_init()
1453 rel_sb_id = sb_id / cdev->num_hwfns; in qed_sb_init()
1490 p_hwfn = &cdev->hwfns[sb_id % cdev->num_hwfns]; in qed_sb_release()
1491 rel_sb_id = sb_id / cdev->num_hwfns; in qed_sb_release()
2915 struct qed_hwfn *hwfn = &cdev->hwfns[qid % cdev->num_hwfns]; in qed_get_sb_info()