Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c41 struct hclge_shaper_ir_para *ir_para, in hclge_shaper_para_calc() argument
75 ir_para->ir_b = 126; in hclge_shaper_para_calc()
76 ir_para->ir_u = 0; in hclge_shaper_para_calc()
77 ir_para->ir_s = 0; in hclge_shaper_para_calc()
87 ir_para->ir_b = (ir * tick * (1 << ir_s_calc) + in hclge_shaper_para_calc()
100 ir_para->ir_b = 126; in hclge_shaper_para_calc()
103 ir_para->ir_b = (ir * tick + (denominator >> 1)) / in hclge_shaper_para_calc()
108 ir_para->ir_u = ir_u_calc; in hclge_shaper_para_calc()
109 ir_para->ir_s = ir_s_calc; in hclge_shaper_para_calc()
402 struct hclge_shaper_ir_para ir_para; in hclge_tm_port_shaper_cfg() local
[all …]