Lines Matching refs:hwfns

684 		struct qed_hwfn *p_hwfn = &cdev->hwfns[i];  in qed_iov_set_vf_to_disable()
4397 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_configure_min_tx_rate()
4453 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4454 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4462 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4463 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4479 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4508 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4549 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4551 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable()
4559 hwfn = &cdev->hwfns[j]; in qed_sriov_enable()
4633 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_mac()
4639 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_mac()
4646 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_mac()
4669 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_vlan()
4675 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_vlan()
4682 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_vlan()
4710 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { in qed_get_vf_config()
4825 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, true)) { in qed_set_vf_link_state()
4833 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_link_state()
4844 qed_inform_vf_link_state(&cdev->hwfns[i]); in qed_set_vf_link_state()
4855 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure()
4870 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate()
4911 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_trust()
5250 if (!cdev->hwfns[i].iov_wq) in qed_iov_wq_stop()
5254 qed_schedule_iov(&cdev->hwfns[i], in qed_iov_wq_stop()
5256 cancel_delayed_work_sync(&cdev->hwfns[i].iov_task); in qed_iov_wq_stop()
5259 destroy_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5269 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start()