Lines Matching refs:prof_id
7439 uint16_t prof_id; /* # profile IDs */ member
7602 prof->max_prof_id = blk_sizes[i].prof_id; in ice_init_hw_tbls()
15890 uint8_t prof_id, uint8_t ptg, uint16_t vsig, uint8_t cdid, uint16_t flags, in ice_tcam_write_entry() argument
15902 hw->blk[blk].prof.t[idx].prof_id = prof_id; in ice_tcam_write_entry()
16257 status = ice_tcam_write_entry(hw, blk, tcam->tcam_idx, tcam->prof_id, in ice_prof_tcam_ena_dis()
16267 p->prof_id = tcam->prof_id; in ice_prof_tcam_ena_dis()
16707 t->prof_id = map->prof_id; in ice_add_prof_id_vsig()
16729 t->tcam[i].prof_id = map->prof_id; in ice_add_prof_id_vsig()
16735 p->prof_id = t->tcam[i].prof_id; in ice_add_prof_id_vsig()
16742 t->tcam[i].prof_id, in ice_add_prof_id_vsig()
17163 ice_flow_find_prof_id(struct ice_hw *hw, enum ice_block blk, uint64_t prof_id) in ice_flow_find_prof_id() argument
17168 if (p->id == prof_id) in ice_flow_find_prof_id()
17218 ice_prof_inc_ref(struct ice_hw *hw, enum ice_block blk, uint8_t prof_id) in ice_prof_inc_ref() argument
17220 if (prof_id > hw->blk[blk].es.count) in ice_prof_inc_ref()
17223 hw->blk[blk].es.ref_count[prof_id]++; in ice_prof_inc_ref()
17236 ice_write_es(struct ice_hw *hw, enum ice_block blk, uint8_t prof_id, in ice_write_es() argument
17241 off = prof_id * hw->blk[blk].es.fvw; in ice_write_es()
17245 hw->blk[blk].es.written[prof_id] = false; in ice_write_es()
17282 ice_free_prof_id(struct ice_hw *hw, enum ice_block blk, uint8_t prof_id) in ice_free_prof_id() argument
17284 uint16_t tmp_prof_id = (uint16_t)prof_id; in ice_free_prof_id()
17300 ice_prof_dec_ref(struct ice_hw *hw, enum ice_block blk, uint8_t prof_id) in ice_prof_dec_ref() argument
17302 if (prof_id > hw->blk[blk].es.count) in ice_prof_dec_ref()
17305 if (hw->blk[blk].es.ref_count[prof_id] > 0) { in ice_prof_dec_ref()
17306 if (!--hw->blk[blk].es.ref_count[prof_id]) { in ice_prof_dec_ref()
17307 ice_write_es(hw, blk, prof_id, NULL); in ice_prof_dec_ref()
17308 return ice_free_prof_id(hw, blk, prof_id); in ice_prof_dec_ref()
17345 ice_prof_dec_ref(hw, blk, pmap->prof_id); in ice_rem_prof()
17388 ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, uint64_t prof_id) in ice_flow_rem_prof() argument
17395 prof = ice_flow_find_prof_id(hw, blk, prof_id); in ice_flow_rem_prof()
21987 struct ice_fv_word *fv, uint8_t *prof_id) in ice_find_prof_id() argument
21999 *prof_id = i; in ice_find_prof_id()
22016 ice_alloc_prof_id(struct ice_hw *hw, enum ice_block blk, uint8_t *prof_id) in ice_alloc_prof_id() argument
22027 *prof_id = (uint8_t)get_prof; in ice_alloc_prof_id()
22074 uint8_t prof_id; in ice_add_prof() local
22082 status = ice_find_prof_id(hw, blk, es, &prof_id); in ice_add_prof()
22085 status = ice_alloc_prof_id(hw, blk, &prof_id); in ice_add_prof()
22090 ice_write_es(hw, blk, prof_id, es); in ice_add_prof()
22093 ice_prof_inc_ref(hw, blk, prof_id); in ice_add_prof()
22102 prof->prof_id = prof_id; in ice_add_prof()
22155 enum ice_flow_dir dir, uint64_t prof_id, in ice_flow_add_prof_sync() argument
22185 params->prof->id = prof_id; in ice_flow_add_prof_sync()
22204 status = ice_add_prof(hw, blk, prof_id, params->ptypes, params->es); in ice_flow_add_prof_sync()
22237 uint64_t prof_id, struct ice_flow_seg_info *segs, uint8_t segs_cnt, in ice_flow_add_prof() argument
22258 status = ice_flow_add_prof_sync(hw, blk, dir, prof_id, segs, segs_cnt, in ice_flow_add_prof()
22294 if (!hw->blk[blk].es.written[map->prof_id]) { in ice_get_prof()
22308 p->prof_id = map->prof_id; in ice_get_prof()
22310 hw->blk[blk].es.written[map->prof_id] = true; in ice_get_prof()
22354 p->prof_id = map->prof_id; in ice_add_prof_to_lst()
22358 p->tcam[i].prof_id = map->prof_id; in ice_add_prof_to_lst()