Lines Matching refs:p_cfg
330 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[i]; in qed_cxt_tm_iids() local
333 if (p_cfg->cid_count) in qed_cxt_tm_iids()
336 iids->pf_cids += p_cfg->cid_count; in qed_cxt_tm_iids()
340 if (p_cfg->cids_per_vf) in qed_cxt_tm_iids()
343 iids->per_vf_cids += p_cfg->cids_per_vf; in qed_cxt_tm_iids()
347 struct qed_tid_seg *segs = p_cfg->tid_seg; in qed_cxt_tm_iids()
410 struct qed_cxt_mngr *p_cfg = p_hwfn->p_cxt_mngr; in qed_cxt_tid_seg_info() local
417 if (p_cfg->conn_cfg[i].tid_seg[seg].count) in qed_cxt_tid_seg_info()
418 return &p_cfg->conn_cfg[i].tid_seg[seg]; in qed_cxt_tid_seg_info()
1176 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[type]; in qed_cid_map_alloc() local
1182 p_cfg->cid_count, p_map)) in qed_cid_map_alloc()
1190 p_cfg->cids_per_vf, p_map)) in qed_cid_map_alloc()
1194 start_cid += p_cfg->cid_count; in qed_cid_map_alloc()
1195 vf_start_cid += p_cfg->cids_per_vf; in qed_cid_map_alloc()
1302 struct qed_conn_type_cfg *p_cfg; in qed_cxt_mngr_setup() local
1310 p_cfg = &p_mngr->conn_cfg[type]; in qed_cxt_mngr_setup()
1311 if (p_cfg->cid_count) { in qed_cxt_mngr_setup()
1320 if (!p_cfg->cids_per_vf) in qed_cxt_mngr_setup()