Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c52 u8 ir_u_calc = 0, ir_s_calc = 0; in hclge_shaper_para_calc() local
93 ir_u_calc++; in hclge_shaper_para_calc()
94 numerator = 1008000 * (1 << ir_u_calc); in hclge_shaper_para_calc()
101 u32 denominator = (8000 * (1 << --ir_u_calc)); in hclge_shaper_para_calc()
106 *ir_u = ir_u_calc; in hclge_shaper_para_calc()