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()
4450 queue_delayed_work(cdev->hwfns[i].iov_wq, in qed_vf_start_iov_wq()
4451 &cdev->hwfns[i].iov_task, 0); in qed_vf_start_iov_wq()
4459 if (cdev->hwfns[i].iov_wq) in qed_sriov_disable()
4460 flush_workqueue(cdev->hwfns[i].iov_wq); in qed_sriov_disable()
4476 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_disable()
4505 qed_iov_release_hw_for_vf(&cdev->hwfns[i], in qed_sriov_disable()
4546 if (num >= RESC_NUM(&cdev->hwfns[0], QED_VPORT)) { in qed_sriov_enable()
4548 RESC_NUM(&cdev->hwfns[0], QED_VPORT) - 1); in qed_sriov_enable()
4556 hwfn = &cdev->hwfns[j]; in qed_sriov_enable()
4630 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_mac()
4636 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_mac()
4643 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_mac()
4666 if (!IS_QED_SRIOV(cdev) || !IS_PF_SRIOV_ALLOC(&cdev->hwfns[0])) { in qed_sriov_pf_set_vlan()
4672 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vfid, true, true)) { in qed_sriov_pf_set_vlan()
4679 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_sriov_pf_set_vlan()
4707 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, false)) { in qed_get_vf_config()
4822 if (!qed_iov_is_valid_vfid(&cdev->hwfns[0], vf_id, true, true)) { in qed_set_vf_link_state()
4830 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_link_state()
4841 qed_inform_vf_link_state(&cdev->hwfns[i]); in qed_set_vf_link_state()
4852 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_spoof_configure()
4867 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_configure_max_vf_rate()
4908 struct qed_hwfn *hwfn = &cdev->hwfns[i]; in qed_set_vf_trust()
5247 if (!cdev->hwfns[i].iov_wq) in qed_iov_wq_stop()
5251 qed_schedule_iov(&cdev->hwfns[i], in qed_iov_wq_stop()
5253 cancel_delayed_work_sync(&cdev->hwfns[i].iov_task); in qed_iov_wq_stop()
5256 destroy_workqueue(cdev->hwfns[i].iov_wq); in qed_iov_wq_stop()
5266 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_iov_wq_start()