Lines Matching refs:hwfns

703 		struct qed_hwfn *p_hwfn = &cdev->hwfns[i];  in qed_iov_set_vf_to_disable()
4384 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate()
4435 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4436 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4444 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4445 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4461 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4490 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4531 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4533 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable()
4541 hwfn = &cdev->hwfns[j]; in qed_sriov_enable()
4615 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_mac()
4621 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_mac()
4628 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_mac()
4651 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_vlan()
4657 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_vlan()
4664 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_vlan()
4691 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { in qed_get_vf_config()
4802 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, true)) { in qed_set_vf_link_state()
4810 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_link_state()
4821 qed_inform_vf_link_state(&cdev->hwfns[i]); in qed_set_vf_link_state()
4832 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure()
4847 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate()
4888 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_trust()
5215 if (!cdev->hwfns[i].iov_wq) in qed_iov_wq_stop()
5219 qed_schedule_iov(&cdev->hwfns[i], in qed_iov_wq_stop()
5221 cancel_delayed_work_sync(&cdev->hwfns[i].iov_task); in qed_iov_wq_stop()
5224 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5225 destroy_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5235 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start()