Searched refs:cir_u (Results 1 – 2 of 2) sorted by relevance
1169 static u32 acc_shaper_para_calc(u64 cir_b, u64 cir_u, u64 cir_s) in acc_shaper_para_calc() argument1171 return ((cir_b * QM_QOS_DIVISOR_CLK) * (1 << cir_u)) / in acc_shaper_para_calc()1203 u32 cir_b, cir_u, cir_s, ir_calc; in qm_get_shaper_para() local1210 for (cir_u = 0; cir_u <= QM_QOS_MAX_CIR_U; cir_u++) { in qm_get_shaper_para()1211 ir_calc = acc_shaper_para_calc(cir_b, cir_u, cir_s); in qm_get_shaper_para()1216 factor->cir_u = cir_u; in qm_get_shaper_para()1259 (factor->cir_u << QM_SHAPER_FACTOR_CIR_U_SHIFT) | in qm_vft_data_cfg()4389 u64 cir_u = 0, cir_b = 0, cir_s = 0; in qm_get_shaper_vft_qos() local4418 cir_u = shaper_vft & QM_SHAPER_CIR_U_MASK; in qm_get_shaper_vft_qos()4419 cir_u = cir_u >> QM_SHAPER_FACTOR_CIR_U_SHIFT; in qm_get_shaper_vft_qos()[all …]
209 u64 cir_u; member