Searched refs:cir_b (Results 1 – 2 of 2) sorted by relevance
/drivers/crypto/hisilicon/ |
D | qm.c | 982 static u32 acc_shaper_para_calc(u64 cir_b, u64 cir_u, u64 cir_s) in acc_shaper_para_calc() argument 984 return ((cir_b * QM_QOS_DIVISOR_CLK) * (1 << cir_u)) / in acc_shaper_para_calc() 1005 u32 cir_b, cir_u, cir_s, ir_calc; in qm_get_shaper_para() local 1010 for (cir_b = QM_QOS_MIN_CIR_B; cir_b <= QM_QOS_MAX_CIR_B; cir_b++) { in qm_get_shaper_para() 1018 ir_calc = acc_shaper_para_calc(cir_b, cir_u, in qm_get_shaper_para() 1022 factor->cir_b = cir_b; in qm_get_shaper_para() 1067 tmp = factor->cir_b | in qm_vft_data_cfg() 4042 u64 cir_u = 0, cir_b = 0, cir_s = 0; in qm_get_shaper_vft_qos() local 4070 cir_b = shaper_vft & QM_SHAPER_CIR_B_MASK; in qm_get_shaper_vft_qos() 4077 ir_calc = acc_shaper_para_calc(cir_b, cir_u, cir_s); in qm_get_shaper_vft_qos()
|
D | qm.h | 157 u64 cir_b; member
|