Searched refs:cir_b (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/crypto/hisilicon/ |
H A D | qm.c | 1148 static u32 acc_shaper_para_calc(u64 cir_b, u64 cir_u, u64 cir_s) in acc_shaper_para_calc() argument 1150 return ((cir_b * QM_QOS_DIVISOR_CLK) * (1 << cir_u)) / in acc_shaper_para_calc() 1182 u32 cir_b, cir_u, cir_s, ir_calc; in qm_get_shaper_para() local 1188 for (cir_b = QM_QOS_MIN_CIR_B; cir_b <= QM_QOS_MAX_CIR_B; cir_b++) { in qm_get_shaper_para() 1190 ir_calc = acc_shaper_para_calc(cir_b, cir_u, cir_s); in qm_get_shaper_para() 1194 factor->cir_b = cir_b; in qm_get_shaper_para() 1237 tmp = factor->cir_b | in qm_vft_data_cfg() 3590 u64 cir_u = 0, cir_b = 0, cir_s = 0; in qm_get_shaper_vft_qos() local 3618 cir_b = shaper_vft & QM_SHAPER_CIR_B_MASK; in qm_get_shaper_vft_qos() 3625 ir_calc = acc_shaper_para_calc(cir_b, cir_u, cir_s); in qm_get_shaper_vft_qos()
|
/openbmc/linux/include/linux/ |
H A D | hisi_acc_qm.h | 205 u64 cir_b; member
|