Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c54 u8 ir_u_calc = 0; in hclge_shaper_para_calc() local
96 ir_u_calc++; in hclge_shaper_para_calc()
97 numerator = DEFAULT_DIVISOR_IR_B * (1 << ir_u_calc); in hclge_shaper_para_calc()
104 u32 denominator = DIVISOR_CLK * (1 << --ir_u_calc); in hclge_shaper_para_calc()
110 ir_para->ir_u = ir_u_calc; in hclge_shaper_para_calc()