Lines Matching defs:rl_prof_elem

810 		struct ice_aqc_rl_profile_info *rl_prof_elem;
813 LIST_FOR_EACH_ENTRY_SAFE(rl_prof_elem, rl_prof_tmp,
818 rl_prof_elem->prof_id_ref = 0;
819 status = ice_sched_del_rl_profile(hw, rl_prof_elem);
823 LIST_DEL(&rl_prof_elem->list_entry);
824 ice_free(hw, rl_prof_elem);
3054 struct ice_aqc_rl_profile_info *rl_prof_elem;
3057 LIST_FOR_EACH_ENTRY_SAFE(rl_prof_elem, rl_prof_tmp,
3060 if (!ice_sched_del_rl_profile(hw, rl_prof_elem))
4083 struct ice_aqc_rl_profile_info *rl_prof_elem;
4105 LIST_FOR_EACH_ENTRY(rl_prof_elem, &hw->rl_prof_list[layer_num],
4107 if ((rl_prof_elem->profile.flags & ICE_AQC_RL_PROFILE_TYPE_M) ==
4108 profile_type && rl_prof_elem->bw == bw)
4110 return rl_prof_elem;
4113 rl_prof_elem = (struct ice_aqc_rl_profile_info *)
4114 ice_malloc(hw, sizeof(*rl_prof_elem));
4116 if (!rl_prof_elem)
4119 status = ice_sched_bw_to_rl_profile(hw, bw, &rl_prof_elem->profile);
4123 rl_prof_elem->bw = bw;
4125 rl_prof_elem->profile.level = layer_num + 1;
4126 rl_prof_elem->profile.flags = profile_type;
4127 rl_prof_elem->profile.max_burst_size = CPU_TO_LE16(hw->max_burst_size);
4130 buf = &rl_prof_elem->profile;
4137 rl_prof_elem->prof_id_ref = 0;
4138 LIST_ADD(&rl_prof_elem->list_entry, &hw->rl_prof_list[layer_num]);
4139 return rl_prof_elem;
4142 ice_free(hw, rl_prof_elem);
4303 struct ice_aqc_rl_profile_info *rl_prof_elem;
4309 LIST_FOR_EACH_ENTRY(rl_prof_elem, &hw->rl_prof_list[layer_num],
4311 if ((rl_prof_elem->profile.flags & ICE_AQC_RL_PROFILE_TYPE_M) ==
4313 LE16_TO_CPU(rl_prof_elem->profile.profile_id) ==
4315 if (rl_prof_elem->prof_id_ref)
4316 rl_prof_elem->prof_id_ref--;
4319 status = ice_sched_del_rl_profile(hw, rl_prof_elem);