Searched refs:pg_id (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A 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,
|
H A 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 …]
|
H A D | hclge_debugfs.c | 1112 u8 pg_id; in hclge_dbg_dump_dcb_pg() local 1117 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg() 1118 ret = hclge_dbg_cmd_send(hdev, &desc, pg_id, 1, in hclge_dbg_dump_dcb_pg() 1127 pg_id, req.bit0, req.bit1, req.bit2); in hclge_dbg_dump_dcb_pg() 1379 u8 pg_id, sch_mode, weight, pri_bit_map, i, j; in __hclge_dbg_dump_tm_pg() local 1393 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in __hclge_dbg_dump_tm_pg() 1394 ret = hclge_tm_get_pg_to_pri_map(hdev, pg_id, &pri_bit_map); in __hclge_dbg_dump_tm_pg() 1398 ret = hclge_tm_get_pg_sch_mode(hdev, pg_id, &sch_mode); in __hclge_dbg_dump_tm_pg() 1402 ret = hclge_tm_get_pg_weight(hdev, pg_id, &weight); in __hclge_dbg_dump_tm_pg() 1406 ret = hclge_tm_get_pg_shaper(hdev, pg_id, in __hclge_dbg_dump_tm_pg() [all …]
|
H A D | hclge_main.h | 352 u8 pg_id; member
|
/linux/drivers/target/ |
H A D | target_core_alua.c | 1288 int pg_id, int state) in core_alua_allocate_lba_map_mem() argument 1294 if (lba_map_mem->lba_map_mem_alua_pg_id == pg_id) { in core_alua_allocate_lba_map_mem() 1295 pr_err("Duplicate pg_id %d in lba_map\n", pg_id); in core_alua_allocate_lba_map_mem() 1306 lba_map_mem->lba_map_mem_alua_pg_id = pg_id; in core_alua_allocate_lba_map_mem()
|
H A D | target_core_configfs.c | 2565 int ret = 0, num = 0, pg_id, alua_state; in target_dev_lba_map_store() local 2615 while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) { in target_dev_lba_map_store() 2636 pg_id, alua_state); in target_dev_lba_map_store() 2640 pg_id, state, num); in target_dev_lba_map_store()
|