Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c41 struct hclge_shaper_ir_para *ir_para, in hclge_shaper_para_calc() argument
76 ir_para->ir_b = DEFAULT_SHAPER_IR_B; in hclge_shaper_para_calc()
77 ir_para->ir_u = 0; in hclge_shaper_para_calc()
78 ir_para->ir_s = 0; in hclge_shaper_para_calc()
89 ir_para->ir_b = (ir * tick * (1 << ir_s_calc) + in hclge_shaper_para_calc()
102 ir_para->ir_b = DEFAULT_SHAPER_IR_B; in hclge_shaper_para_calc()
105 ir_para->ir_b = (ir * tick + (denominator >> 1)) / in hclge_shaper_para_calc()
110 ir_para->ir_u = ir_u_calc; in hclge_shaper_para_calc()
111 ir_para->ir_s = ir_s_calc; in hclge_shaper_para_calc()
467 struct hclge_shaper_ir_para ir_para; in hclge_tm_port_shaper_cfg() local
[all …]