Home
last modified time | relevance | path

Searched refs:cir_u (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/crypto/hisilicon/
Dqm.c1169 static u32 acc_shaper_para_calc(u64 cir_b, u64 cir_u, u64 cir_s) in acc_shaper_para_calc() argument
1171 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() local
1210 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() local
4418 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 …]
/linux-5.19.10/include/linux/
Dhisi_acc_qm.h209 u64 cir_u; member