Lines Matching refs:r_bitmap
1108 ice_aq_map_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u8 *r_bitmap, in ice_aq_map_recipe_to_profile() argument
1120 memcpy(cmd->recipe_assoc, r_bitmap, sizeof(cmd->recipe_assoc)); in ice_aq_map_recipe_to_profile()
1134 ice_aq_get_recipe_to_profile(struct ice_hw *hw, u32 profile_id, u8 *r_bitmap, in ice_aq_get_recipe_to_profile() argument
1147 memcpy(r_bitmap, cmd->recipe_assoc, sizeof(cmd->recipe_assoc)); in ice_aq_get_recipe_to_profile()
1191 DECLARE_BITMAP(r_bitmap, ICE_MAX_NUM_RECIPES); in ice_get_recp_to_prof_map()
1198 bitmap_zero(r_bitmap, ICE_MAX_NUM_RECIPES); in ice_get_recp_to_prof_map()
1199 if (ice_aq_get_recipe_to_profile(hw, i, (u8 *)r_bitmap, NULL)) in ice_get_recp_to_prof_map()
1201 bitmap_copy(profile_to_recipe[i], r_bitmap, in ice_get_recp_to_prof_map()
1203 for_each_set_bit(j, r_bitmap, ICE_MAX_NUM_RECIPES) in ice_get_recp_to_prof_map()
1352 memcpy(recps[idx].r_bitmap, root_bufs.recipe_bitmap, in ice_get_recp_frm_fw()
1353 sizeof(recps[idx].r_bitmap)); in ice_get_recp_frm_fw()
4165 bitmap_zero(rm->r_bitmap, ICE_MAX_NUM_RECIPES); in ice_add_sw_recipe()
4246 set_bit(buf[0].recipe_indx, rm->r_bitmap); in ice_add_sw_recipe()
4248 if (sizeof(buf[0].recipe_bitmap) >= sizeof(rm->r_bitmap)) { in ice_add_sw_recipe()
4249 memcpy(buf[0].recipe_bitmap, rm->r_bitmap, in ice_add_sw_recipe()
4306 set_bit(rid, rm->r_bitmap); in ice_add_sw_recipe()
4315 set_bit(entry->rid, rm->r_bitmap); in ice_add_sw_recipe()
4319 sizeof(rm->r_bitmap)) { in ice_add_sw_recipe()
4320 memcpy(buf[recps].recipe_bitmap, rm->r_bitmap, in ice_add_sw_recipe()
4371 memcpy(recp->r_bitmap, buf[buf_idx].recipe_bitmap, in ice_add_sw_recipe()
4372 sizeof(recp->r_bitmap)); in ice_add_sw_recipe()
4673 DECLARE_BITMAP(r_bitmap, ICE_MAX_NUM_RECIPES); in ice_add_adv_recipe()
4677 (u8 *)r_bitmap, NULL); in ice_add_adv_recipe()
4681 bitmap_or(r_bitmap, r_bitmap, rm->r_bitmap, in ice_add_adv_recipe()
4688 (u8 *)r_bitmap, in ice_add_adv_recipe()
4696 bitmap_copy(profile_to_recipe[fvit->profile_id], r_bitmap, in ice_add_adv_recipe()
4700 for_each_set_bit(j, rm->r_bitmap, ICE_MAX_NUM_RECIPES) in ice_add_adv_recipe()