Searched refs:pg_id (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.h | 37 u8 pg_id; member 71 u8 pg_id; member 132 u8 pg_id; member 259 int hclge_tm_get_pg_to_pri_map(struct hclge_dev *hdev, u8 pg_id, 261 int hclge_tm_get_pg_weight(struct hclge_dev *hdev, u8 pg_id, u8 *weight); 262 int hclge_tm_get_pg_sch_mode(struct hclge_dev *hdev, u8 pg_id, u8 *mode); 263 int hclge_tm_get_pg_shaper(struct hclge_dev *hdev, u8 pg_id,
|
D | hclge_tm.c | 311 u8 pg_id, u8 pri_bit_map) in hclge_tm_pg_to_pri_map_cfg() argument 320 map->pg_id = pg_id; in hclge_tm_pg_to_pri_map_cfg() 377 static int hclge_tm_pg_weight_cfg(struct hclge_dev *hdev, u8 pg_id, in hclge_tm_pg_weight_cfg() argument 387 weight->pg_id = pg_id; in hclge_tm_pg_weight_cfg() 440 enum hclge_shap_bucket bucket, u8 pg_id, in hclge_tm_pg_shapping_cfg() argument 453 shap_cfg_cmd->pg_id = pg_id; in hclge_tm_pg_shapping_cfg() 521 static int hclge_tm_pg_schd_mode_cfg(struct hclge_dev *hdev, u8 pg_id) in hclge_tm_pg_schd_mode_cfg() argument 527 if (hdev->tm_info.pg_info[pg_id].pg_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pg_schd_mode_cfg() 532 desc.data[0] = cpu_to_le32(pg_id); in hclge_tm_pg_schd_mode_cfg() 796 hdev->tm_info.pg_info[i].pg_id = i; in hclge_tm_pg_info_init() [all …]
|
D | hclge_debugfs.c | 453 u8 pg_id; in hclge_dbg_dump_dcb_pg() local 458 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg() 459 ret = hclge_dbg_cmd_send(hdev, &desc, pg_id, 1, in hclge_dbg_dump_dcb_pg() 468 pg_id, req.bit0, req.bit1, req.bit2); in hclge_dbg_dump_dcb_pg() 721 u8 pg_id, sch_mode, weight, pri_bit_map, i, j; in __hclge_dbg_dump_tm_pg() local 735 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in __hclge_dbg_dump_tm_pg() 736 ret = hclge_tm_get_pg_to_pri_map(hdev, pg_id, &pri_bit_map); in __hclge_dbg_dump_tm_pg() 740 ret = hclge_tm_get_pg_sch_mode(hdev, pg_id, &sch_mode); in __hclge_dbg_dump_tm_pg() 744 ret = hclge_tm_get_pg_weight(hdev, pg_id, &weight); in __hclge_dbg_dump_tm_pg() 748 ret = hclge_tm_get_pg_shaper(hdev, pg_id, in __hclge_dbg_dump_tm_pg() [all …]
|
D | hclge_main.h | 323 u8 pg_id; member
|
/linux-6.1.9/drivers/target/ |
D | target_core_alua.c | 1289 int pg_id, int state) in core_alua_allocate_lba_map_mem() argument 1295 if (lba_map_mem->lba_map_mem_alua_pg_id == pg_id) { in core_alua_allocate_lba_map_mem() 1296 pr_err("Duplicate pg_id %d in lba_map\n", pg_id); in core_alua_allocate_lba_map_mem() 1307 lba_map_mem->lba_map_mem_alua_pg_id = pg_id; in core_alua_allocate_lba_map_mem()
|
D | target_core_configfs.c | 2480 int ret = 0, num = 0, pg_id, alua_state; in target_dev_lba_map_store() local 2530 while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) { in target_dev_lba_map_store() 2551 pg_id, alua_state); in target_dev_lba_map_store() 2555 pg_id, state, num); in target_dev_lba_map_store()
|