Lines Matching refs:hwfns

702 		struct qed_hwfn *p_hwfn = &cdev->hwfns[i];  in qed_iov_set_vf_to_disable()
4380 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate()
4431 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4432 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4440 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4441 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4450 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4479 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4520 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4522 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable()
4530 hwfn = &cdev->hwfns[j]; in qed_sriov_enable()
4604 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_mac()
4610 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_mac()
4617 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_mac()
4640 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_vlan()
4646 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_vlan()
4653 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_vlan()
4680 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { in qed_get_vf_config()
4791 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, true)) { in qed_set_vf_link_state()
4799 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_link_state()
4810 qed_inform_vf_link_state(&cdev->hwfns[i]); in qed_set_vf_link_state()
4821 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure()
4836 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate()
4877 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_trust()
5200 if (!cdev->hwfns[i].iov_wq) in qed_iov_wq_stop()
5204 qed_schedule_iov(&cdev->hwfns[i], in qed_iov_wq_stop()
5206 cancel_delayed_work_sync(&cdev->hwfns[i].iov_task); in qed_iov_wq_stop()
5209 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5210 destroy_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5220 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start()