Searched refs:pg_id (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.h | 40 u8 pg_id; member 74 u8 pg_id; member 135 u8 pg_id; member 268 int hclge_tm_get_pg_to_pri_map(struct hclge_dev *hdev, u8 pg_id, 270 int hclge_tm_get_pg_weight(struct hclge_dev *hdev, u8 pg_id, u8 *weight); 271 int hclge_tm_get_pg_sch_mode(struct hclge_dev *hdev, u8 pg_id, u8 *mode); 272 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() 797 hdev->tm_info.pg_info[i].pg_id = i; in hclge_tm_pg_info_init() [all …]
|
D | hclge_debugfs.c | 474 u8 pg_id; in hclge_dbg_dump_dcb_pg() local 479 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg() 480 ret = hclge_dbg_cmd_send(hdev, &desc, pg_id, 1, in hclge_dbg_dump_dcb_pg() 489 pg_id, req.bit0, req.bit1, req.bit2); in hclge_dbg_dump_dcb_pg() 741 u8 pg_id, sch_mode, weight, pri_bit_map, i, j; in __hclge_dbg_dump_tm_pg() local 755 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in __hclge_dbg_dump_tm_pg() 756 ret = hclge_tm_get_pg_to_pri_map(hdev, pg_id, &pri_bit_map); in __hclge_dbg_dump_tm_pg() 760 ret = hclge_tm_get_pg_sch_mode(hdev, pg_id, &sch_mode); in __hclge_dbg_dump_tm_pg() 764 ret = hclge_tm_get_pg_weight(hdev, pg_id, &weight); in __hclge_dbg_dump_tm_pg() 768 ret = hclge_tm_get_pg_shaper(hdev, pg_id, in __hclge_dbg_dump_tm_pg() [all …]
|
D | hclge_main.h | 334 u8 pg_id; member
|
/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 | 2527 int ret = 0, num = 0, pg_id, alua_state; in target_dev_lba_map_store() local 2577 while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) { in target_dev_lba_map_store() 2598 pg_id, alua_state); in target_dev_lba_map_store() 2602 pg_id, state, num); in target_dev_lba_map_store()
|