Lines Matching refs:hwfns

682 		struct qed_hwfn *p_hwfn = &cdev->hwfns[i];  in qed_iov_set_vf_to_disable()
4359 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate()
4410 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4411 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4419 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4420 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4436 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4465 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4506 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4508 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable()
4516 hwfn = &cdev->hwfns[j]; in qed_sriov_enable()
4590 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_mac()
4596 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_mac()
4603 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_mac()
4626 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_vlan()
4632 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_vlan()
4639 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_vlan()
4666 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { in qed_get_vf_config()
4777 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, true)) { in qed_set_vf_link_state()
4785 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_link_state()
4796 qed_inform_vf_link_state(&cdev->hwfns[i]); in qed_set_vf_link_state()
4807 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure()
4822 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate()
4863 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_trust()
5189 if (!cdev->hwfns[i].iov_wq) in qed_iov_wq_stop()
5193 qed_schedule_iov(&cdev->hwfns[i], in qed_iov_wq_stop()
5195 cancel_delayed_work_sync(&cdev->hwfns[i].iov_task); in qed_iov_wq_stop()
5198 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5199 destroy_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5209 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start()