Lines Matching refs:p_cfg
179 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[i]; in qed_cxt_tm_iids() local
182 if (p_cfg->cid_count) in qed_cxt_tm_iids()
185 iids->pf_cids += p_cfg->cid_count; in qed_cxt_tm_iids()
189 if (p_cfg->cids_per_vf) in qed_cxt_tm_iids()
192 iids->per_vf_cids += p_cfg->cids_per_vf; in qed_cxt_tm_iids()
196 struct qed_tid_seg *segs = p_cfg->tid_seg; in qed_cxt_tm_iids()
259 struct qed_cxt_mngr *p_cfg = p_hwfn->p_cxt_mngr; in qed_cxt_tid_seg_info() local
266 if (p_cfg->conn_cfg[i].tid_seg[seg].count) in qed_cxt_tid_seg_info()
267 return &p_cfg->conn_cfg[i].tid_seg[seg]; in qed_cxt_tid_seg_info()
1081 struct qed_conn_type_cfg *p_cfg = &p_mngr->conn_cfg[type]; in qed_cid_map_alloc() local
1087 p_cfg->cid_count, p_map)) in qed_cid_map_alloc()
1095 p_cfg->cids_per_vf, p_map)) in qed_cid_map_alloc()
1099 start_cid += p_cfg->cid_count; in qed_cid_map_alloc()
1100 vf_start_cid += p_cfg->cids_per_vf; in qed_cid_map_alloc()
1212 struct qed_conn_type_cfg *p_cfg; in qed_cxt_mngr_setup() local
1219 p_cfg = &p_mngr->conn_cfg[type]; in qed_cxt_mngr_setup()
1220 if (p_cfg->cid_count) { in qed_cxt_mngr_setup()
1225 if (!p_cfg->cids_per_vf) in qed_cxt_mngr_setup()