Lines Matching refs:iids

122 			     struct qed_cdu_iids *iids)  in qed_cxt_cdu_iids()  argument
127 iids->pf_cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_cdu_iids()
128 iids->per_vf_cids += p_mngr->conn_cfg[type].cids_per_vf; in qed_cxt_cdu_iids()
139 struct qed_src_iids *iids) in qed_cxt_src_iids() argument
147 iids->pf_cids += p_mngr->conn_cfg[i].cid_count; in qed_cxt_src_iids()
148 iids->per_vf_cids += p_mngr->conn_cfg[i].cids_per_vf; in qed_cxt_src_iids()
152 iids->pf_cids += p_mngr->arfs_count; in qed_cxt_src_iids()
166 struct qed_tm_iids *iids) in qed_cxt_tm_iids() argument
185 iids->pf_cids += p_cfg->cid_count; in qed_cxt_tm_iids()
192 iids->per_vf_cids += p_cfg->cids_per_vf; in qed_cxt_tm_iids()
202 iids->pf_tids[j] += segs[j].count; in qed_cxt_tm_iids()
208 iids->per_vf_tids += segs[NUM_TASK_PF_SEGMENTS].count; in qed_cxt_tm_iids()
212 iids->pf_cids = roundup(iids->pf_cids, TM_ALIGN); in qed_cxt_tm_iids()
213 iids->per_vf_cids = roundup(iids->per_vf_cids, TM_ALIGN); in qed_cxt_tm_iids()
214 iids->per_vf_tids = roundup(iids->per_vf_tids, TM_ALIGN); in qed_cxt_tm_iids()
216 for (iids->pf_tids_total = 0, j = 0; j < NUM_TASK_PF_SEGMENTS; j++) { in qed_cxt_tm_iids()
217 iids->pf_tids[j] = roundup(iids->pf_tids[j], TM_ALIGN); in qed_cxt_tm_iids()
218 iids->pf_tids_total += iids->pf_tids[j]; in qed_cxt_tm_iids()
223 struct qed_qm_iids *iids) in qed_cxt_qm_iids() argument
231 iids->cids += p_mngr->conn_cfg[type].cid_count; in qed_cxt_qm_iids()
239 iids->tids += segs[j].count; in qed_cxt_qm_iids()
248 iids->vf_cids = vf_cids; in qed_cxt_qm_iids()
249 iids->tids += vf_tids * p_mngr->vf_count; in qed_cxt_qm_iids()
253 iids->cids, iids->vf_cids, iids->tids, vf_tids); in qed_cxt_qm_iids()
1404 struct qed_qm_iids iids; in qed_qm_init_pf() local
1406 memset(&iids, 0, sizeof(iids)); in qed_qm_init_pf()
1407 qed_cxt_qm_iids(p_hwfn, &iids); in qed_qm_init_pf()
1414 params.num_pf_cids = iids.cids; in qed_qm_init_pf()
1415 params.num_vf_cids = iids.vf_cids; in qed_qm_init_pf()
1416 params.num_tids = iids.tids; in qed_qm_init_pf()