Searched refs:p_iov (Results 1 – 6 of 6) sorted by relevance
15 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_prep() local23 mutex_lock(&(p_iov->mutex)); in qed_vf_pf_prep()31 p_iov->offset = (u8 *)p_iov->vf2pf_request; in qed_vf_pf_prep()34 memset(p_iov->vf2pf_request, 0, sizeof(union vfpf_tlvs)); in qed_vf_pf_prep()35 memset(p_iov->pf2vf_reply, 0, sizeof(union pfvf_tlvs)); in qed_vf_pf_prep()38 p_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, type, length); in qed_vf_pf_prep()42 (u64)p_iov->pf2vf_reply_phys; in qed_vf_pf_prep()146 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_add_qid() local150 if (!(p_iov->acquire_resp.pfdev_info.capabilities & in qed_vf_pf_add_qid()154 p_qid_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, in qed_vf_pf_add_qid()[all …]
401 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_sp_pf_start() local403 p_ramrod->base_vf_id = (u8) p_iov->first_vf_in_pf; in qed_sp_pf_start()404 p_ramrod->num_vfs = (u8) p_iov->total_vfs; in qed_sp_pf_start()
1605 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_pstats_addrlen() local1606 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_pstats_addrlen()1654 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_tstats() local1655 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_tstats()1681 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_ustats_addrlen() local1682 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_ustats_addrlen()1722 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_mstats_addrlen() local1723 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_mstats_addrlen()
2182 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_int_igu_read_cam() local2184 min_vf = p_iov->first_vf_in_pf; in qed_int_igu_read_cam()2185 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; in qed_int_igu_read_cam()
1531 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_ilt_vf_bounds_init() local1535 p_iov->first_vf_in_pf); in qed_ilt_vf_bounds_init()1538 p_iov->first_vf_in_pf + p_iov->total_vfs); in qed_ilt_vf_bounds_init()
405 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_setup_vfdb() local427 for (idx = 0; idx < p_iov->total_vfs; idx++) { in qed_iov_setup_vfdb()446 vf->abs_vf_id = idx + p_iov->first_vf_in_pf; in qed_iov_setup_vfdb()4070 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_get_next_active_vf() local4073 if (!p_iov) in qed_iov_get_next_active_vf()4076 for (i = rel_vf_id; i < p_iov->total_vfs; i++) in qed_iov_get_next_active_vf()