Lines Matching refs:bw_t_info

2972 static void ice_set_clear_cir_bw(struct ice_bw_type_info *bw_t_info, u32 bw)  in ice_set_clear_cir_bw()  argument
2975 clear_bit(ICE_BW_TYPE_CIR, bw_t_info->bw_t_bitmap); in ice_set_clear_cir_bw()
2976 bw_t_info->cir_bw.bw = 0; in ice_set_clear_cir_bw()
2979 set_bit(ICE_BW_TYPE_CIR, bw_t_info->bw_t_bitmap); in ice_set_clear_cir_bw()
2980 bw_t_info->cir_bw.bw = bw; in ice_set_clear_cir_bw()
2991 static void ice_set_clear_eir_bw(struct ice_bw_type_info *bw_t_info, u32 bw) in ice_set_clear_eir_bw() argument
2994 clear_bit(ICE_BW_TYPE_EIR, bw_t_info->bw_t_bitmap); in ice_set_clear_eir_bw()
2995 bw_t_info->eir_bw.bw = 0; in ice_set_clear_eir_bw()
3001 clear_bit(ICE_BW_TYPE_SHARED, bw_t_info->bw_t_bitmap); in ice_set_clear_eir_bw()
3002 bw_t_info->shared_bw = 0; in ice_set_clear_eir_bw()
3004 set_bit(ICE_BW_TYPE_EIR, bw_t_info->bw_t_bitmap); in ice_set_clear_eir_bw()
3005 bw_t_info->eir_bw.bw = bw; in ice_set_clear_eir_bw()
3016 static void ice_set_clear_shared_bw(struct ice_bw_type_info *bw_t_info, u32 bw) in ice_set_clear_shared_bw() argument
3019 clear_bit(ICE_BW_TYPE_SHARED, bw_t_info->bw_t_bitmap); in ice_set_clear_shared_bw()
3020 bw_t_info->shared_bw = 0; in ice_set_clear_shared_bw()
3026 clear_bit(ICE_BW_TYPE_EIR, bw_t_info->bw_t_bitmap); in ice_set_clear_shared_bw()
3027 bw_t_info->eir_bw.bw = 0; in ice_set_clear_shared_bw()
3029 set_bit(ICE_BW_TYPE_SHARED, bw_t_info->bw_t_bitmap); in ice_set_clear_shared_bw()
3030 bw_t_info->shared_bw = bw; in ice_set_clear_shared_bw()
3057 ice_set_clear_cir_bw(&vsi_ctx->sched.bw_t_info[tc], bw); in ice_sched_save_vsi_bw()
3060 ice_set_clear_eir_bw(&vsi_ctx->sched.bw_t_info[tc], bw); in ice_sched_save_vsi_bw()
3063 ice_set_clear_shared_bw(&vsi_ctx->sched.bw_t_info[tc], bw); in ice_sched_save_vsi_bw()
3778 ice_set_clear_cir_bw(&q_ctx->bw_t_info, bw); in ice_sched_save_q_bw()
3781 ice_set_clear_eir_bw(&q_ctx->bw_t_info, bw); in ice_sched_save_q_bw()
3784 ice_set_clear_shared_bw(&q_ctx->bw_t_info, bw); in ice_sched_save_q_bw()
4118 struct ice_bw_type_info *bw_t_info) in ice_sched_replay_node_bw() argument
4126 if (bitmap_empty(bw_t_info->bw_t_bitmap, ICE_BW_TYPE_CNT)) in ice_sched_replay_node_bw()
4128 if (test_bit(ICE_BW_TYPE_PRIO, bw_t_info->bw_t_bitmap)) { in ice_sched_replay_node_bw()
4130 bw_t_info->generic); in ice_sched_replay_node_bw()
4134 if (test_bit(ICE_BW_TYPE_CIR, bw_t_info->bw_t_bitmap)) { in ice_sched_replay_node_bw()
4136 bw_t_info->cir_bw.bw); in ice_sched_replay_node_bw()
4140 if (test_bit(ICE_BW_TYPE_CIR_WT, bw_t_info->bw_t_bitmap)) { in ice_sched_replay_node_bw()
4141 bw_alloc = bw_t_info->cir_bw.bw_alloc; in ice_sched_replay_node_bw()
4147 if (test_bit(ICE_BW_TYPE_EIR, bw_t_info->bw_t_bitmap)) { in ice_sched_replay_node_bw()
4149 bw_t_info->eir_bw.bw); in ice_sched_replay_node_bw()
4153 if (test_bit(ICE_BW_TYPE_EIR_WT, bw_t_info->bw_t_bitmap)) { in ice_sched_replay_node_bw()
4154 bw_alloc = bw_t_info->eir_bw.bw_alloc; in ice_sched_replay_node_bw()
4160 if (test_bit(ICE_BW_TYPE_SHARED, bw_t_info->bw_t_bitmap)) in ice_sched_replay_node_bw()
4162 bw_t_info->shared_bw); in ice_sched_replay_node_bw()
4331 return ice_sched_replay_node_bw(pi->hw, q_node, &q_ctx->bw_t_info); in ice_sched_replay_q_bw()