Searched refs:p_iov (Results 1 – 6 of 6) sorted by relevance
41 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_prep() local49 mutex_lock(&(p_iov->mutex)); in qed_vf_pf_prep()57 p_iov->offset = (u8 *)p_iov->vf2pf_request; in qed_vf_pf_prep()60 memset(p_iov->vf2pf_request, 0, sizeof(union vfpf_tlvs)); in qed_vf_pf_prep()61 memset(p_iov->pf2vf_reply, 0, sizeof(union pfvf_tlvs)); in qed_vf_pf_prep()64 p_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, type, length); in qed_vf_pf_prep()68 (u64)p_iov->pf2vf_reply_phys; in qed_vf_pf_prep()159 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in qed_vf_pf_add_qid() local163 if (!(p_iov->acquire_resp.pfdev_info.capabilities & in qed_vf_pf_add_qid()167 p_qid_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, in qed_vf_pf_add_qid()[all …]
425 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_sp_pf_start() local427 p_ramrod->base_vf_id = (u8) p_iov->first_vf_in_pf; in qed_sp_pf_start()428 p_ramrod->num_vfs = (u8) p_iov->total_vfs; in qed_sp_pf_start()
1626 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_pstats_addrlen() local1627 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_pstats_addrlen()1675 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_tstats() local1676 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_tstats()1702 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_ustats_addrlen() local1703 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_ustats_addrlen()1743 struct qed_vf_iov *p_iov = p_hwfn->vf_iov_info; in __qed_get_vport_mstats_addrlen() local1744 struct pfvf_acquire_resp_tlv *p_resp = &p_iov->acquire_resp; in __qed_get_vport_mstats_addrlen()
2176 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_int_igu_read_cam() local2178 min_vf = p_iov->first_vf_in_pf; in qed_int_igu_read_cam()2179 max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; in qed_int_igu_read_cam()
1620 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_ilt_vf_bounds_init() local1624 p_iov->first_vf_in_pf); in qed_ilt_vf_bounds_init()1627 p_iov->first_vf_in_pf + p_iov->total_vfs); in qed_ilt_vf_bounds_init()
429 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_setup_vfdb() local451 for (idx = 0; idx < p_iov->total_vfs; idx++) { in qed_iov_setup_vfdb()470 vf->abs_vf_id = idx + p_iov->first_vf_in_pf; in qed_iov_setup_vfdb()4082 struct qed_hw_sriov_info *p_iov = p_hwfn->cdev->p_iov_info; in qed_iov_get_next_active_vf() local4085 if (!p_iov) in qed_iov_get_next_active_vf()4088 for (i = rel_vf_id; i < p_iov->total_vfs; i++) in qed_iov_get_next_active_vf()