Home
last modified time | relevance | path

Searched refs:ir_s_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
80 ir_s_calc++; in hclge_shaper_para_calc()
81 ir_calc = 1008000 / (tick * (1 << ir_s_calc)); in hclge_shaper_para_calc()
87 *ir_b = (ir * tick * (1 << ir_s_calc) + 4000) / 8000; in hclge_shaper_para_calc()
107 *ir_s = ir_s_calc; in hclge_shaper_para_calc()