Searched refs:shapping_para (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 367 u32 shapping_para = 0; in hclge_tm_get_shapping_para() local 369 hclge_tm_set_field(shapping_para, IR_B, ir_b); in hclge_tm_get_shapping_para() 370 hclge_tm_set_field(shapping_para, IR_U, ir_u); in hclge_tm_get_shapping_para() 371 hclge_tm_set_field(shapping_para, IR_S, ir_s); in hclge_tm_get_shapping_para() 372 hclge_tm_set_field(shapping_para, BS_B, bs_b); in hclge_tm_get_shapping_para() 373 hclge_tm_set_field(shapping_para, BS_S, bs_s); in hclge_tm_get_shapping_para() 375 return shapping_para; in hclge_tm_get_shapping_para() 380 u32 shapping_para) in hclge_tm_pg_shapping_cfg() argument 394 shap_cfg_cmd->pg_shapping_para = cpu_to_le32(shapping_para); in hclge_tm_pg_shapping_cfg() 404 u32 shapping_para; in hclge_tm_port_shaper_cfg() local [all …]
|
D | hclge_debugfs.c | 1381 u32 shapping_para; in hclge_dbg_dump_qs_shaper_single() local 1397 shapping_para = le32_to_cpu(shap_cfg_cmd->qs_shapping_para); in hclge_dbg_dump_qs_shaper_single() 1398 ir_b = hclge_tm_get_field(shapping_para, IR_B); in hclge_dbg_dump_qs_shaper_single() 1399 ir_u = hclge_tm_get_field(shapping_para, IR_U); in hclge_dbg_dump_qs_shaper_single() 1400 ir_s = hclge_tm_get_field(shapping_para, IR_S); in hclge_dbg_dump_qs_shaper_single() 1401 bs_b = hclge_tm_get_field(shapping_para, BS_B); in hclge_dbg_dump_qs_shaper_single() 1402 bs_s = hclge_tm_get_field(shapping_para, BS_S); in hclge_dbg_dump_qs_shaper_single()
|