Lines Matching full:pos
733 char *pos = content; in hclge_dbg_fill_content() local
740 *pos++ = '\0'; in hclge_dbg_fill_content()
755 memcpy(pos, result[i], strlen(result[i])); in hclge_dbg_fill_content()
757 memcpy(pos, items[i].name, strlen(items[i].name)); in hclge_dbg_fill_content()
759 pos += item_len; in hclge_dbg_fill_content()
762 *pos++ = '\n'; in hclge_dbg_fill_content()
763 *pos++ = '\0'; in hclge_dbg_fill_content()
829 char *buf, int len, int *pos) in hclge_dbg_dump_reg_tqp() argument
849 *pos += scnprintf(buf + *pos, len - *pos, "item%u = %s\n", in hclge_dbg_dump_reg_tqp()
853 *pos += scnprintf(buf + *pos, len - *pos, "item%u\t", i); in hclge_dbg_dump_reg_tqp()
855 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_reg_tqp()
870 *pos += scnprintf(buf + *pos, len - *pos, "%#x\t", in hclge_dbg_dump_reg_tqp()
873 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_reg_tqp()
883 char *buf, int len, int *pos) in hclge_dbg_dump_reg_common() argument
917 *pos += scnprintf(buf + *pos, len - *pos, "%s: %#x\n", in hclge_dbg_dump_reg_common()
944 int len, int *pos) in hclge_dbg_dump_mac_enable_status() argument
965 *pos += scnprintf(buf + *pos, len - *pos, "%s: %#x\n", in hclge_dbg_dump_mac_enable_status()
974 int len, int *pos) in hclge_dbg_dump_mac_frame_size() argument
991 *pos += scnprintf(buf + *pos, len - *pos, "max_frame_size: %u\n", in hclge_dbg_dump_mac_frame_size()
993 *pos += scnprintf(buf + *pos, len - *pos, "min_frame_size: %u\n", in hclge_dbg_dump_mac_frame_size()
1000 int len, int *pos) in hclge_dbg_dump_mac_speed_duplex() argument
1021 *pos += scnprintf(buf + *pos, len - *pos, "speed: %#lx\n", in hclge_dbg_dump_mac_speed_duplex()
1024 *pos += scnprintf(buf + *pos, len - *pos, "duplex: %#x\n", in hclge_dbg_dump_mac_speed_duplex()
1032 int pos = 0; in hclge_dbg_dump_mac() local
1035 ret = hclge_dbg_dump_mac_enable_status(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
1039 ret = hclge_dbg_dump_mac_frame_size(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
1043 return hclge_dbg_dump_mac_speed_duplex(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
1047 int *pos) in hclge_dbg_dump_dcb_qset() argument
1058 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_qset()
1068 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_qset()
1078 int *pos) in hclge_dbg_dump_dcb_pri() argument
1089 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pri()
1099 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pri()
1108 int *pos) in hclge_dbg_dump_dcb_pg() argument
1115 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pg()
1125 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pg()
1134 int *pos) in hclge_dbg_dump_dcb_queue() argument
1140 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_queue()
1148 *pos += scnprintf(buf + *pos, len - *pos, "%04u %#x", in hclge_dbg_dump_dcb_queue()
1156 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_queue()
1165 int *pos) in hclge_dbg_dump_dcb_port() argument
1179 *pos += scnprintf(buf + *pos, len - *pos, "port_mask: %#x\n", in hclge_dbg_dump_dcb_port()
1181 *pos += scnprintf(buf + *pos, len - *pos, "port_shaping_pass: %#x\n", in hclge_dbg_dump_dcb_port()
1188 int *pos) in hclge_dbg_dump_dcb_tm() argument
1199 *pos += scnprintf(buf + *pos, len - *pos, "SCH_NIC_NUM: %#x\n", in hclge_dbg_dump_dcb_tm()
1201 *pos += scnprintf(buf + *pos, len - *pos, "SCH_ROCE_NUM: %#x\n", in hclge_dbg_dump_dcb_tm()
1209 *pos += scnprintf(buf + *pos, len - *pos, "pri_bp: %#x\n", in hclge_dbg_dump_dcb_tm()
1211 *pos += scnprintf(buf + *pos, len - *pos, "fifo_dfx_info: %#x\n", in hclge_dbg_dump_dcb_tm()
1213 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
1216 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
1219 *pos += scnprintf(buf + *pos, len - *pos, "tm_bypass_en: %#x\n", in hclge_dbg_dump_dcb_tm()
1221 *pos += scnprintf(buf + *pos, len - *pos, "SSU_TM_BYPASS_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
1223 *pos += scnprintf(buf + *pos, len - *pos, "SSU_RESERVE_CFG: %#x\n", in hclge_dbg_dump_dcb_tm()
1234 *pos += scnprintf(buf + *pos, len - *pos, "TC_MAP_SEL: %#x\n", in hclge_dbg_dump_dcb_tm()
1236 *pos += scnprintf(buf + *pos, len - *pos, "IGU_PFC_PRI_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
1238 *pos += scnprintf(buf + *pos, len - *pos, "MAC_PFC_PRI_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
1240 *pos += scnprintf(buf + *pos, len - *pos, "IGU_PRI_MAP_TC_CFG: %#x\n", in hclge_dbg_dump_dcb_tm()
1242 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
1251 int pos = 0; in hclge_dbg_dump_dcb() local
1254 ret = hclge_dbg_dump_dcb_qset(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
1258 ret = hclge_dbg_dump_dcb_pri(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
1262 ret = hclge_dbg_dump_dcb_pg(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
1266 ret = hclge_dbg_dump_dcb_queue(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
1270 ret = hclge_dbg_dump_dcb_port(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
1274 return hclge_dbg_dump_dcb_tm(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
1281 int pos = 0, ret = 0; in hclge_dbg_dump_reg_cmd() local
1289 buf, len, &pos); in hclge_dbg_dump_reg_cmd()
1292 len, &pos); in hclge_dbg_dump_reg_cmd()
1306 int pos = 0; in hclge_dbg_dump_tc() local
1326 pos += scnprintf(buf + pos, len - pos, "enabled tc number: %u\n", in hclge_dbg_dump_tc()
1328 pos += scnprintf(buf + pos, len - pos, "weight_offset: %u\n", in hclge_dbg_dump_tc()
1331 pos += scnprintf(buf + pos, len - pos, "TC MODE WEIGHT\n"); in hclge_dbg_dump_tc()
1334 pos += scnprintf(buf + pos, len - pos, "%u %4s %3u\n", in hclge_dbg_dump_tc()
1381 int pos = 0; in __hclge_dbg_dump_tm_pg() local
1391 pos += scnprintf(buf + pos, len - pos, "%s", content); in __hclge_dbg_dump_tm_pg()
1432 pos += scnprintf(buf + pos, len - pos, "%s", content); in __hclge_dbg_dump_tm_pg()
1458 int pos = 0; in hclge_dbg_dump_tm_port() local
1465 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
1467 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
1482 int pos = 0; in hclge_dbg_dump_tm_bp_qset_map() local
1508 pos += scnprintf(buf + pos, len - pos, "INDEX | TM BP QSET MAPPING:\n"); in hclge_dbg_dump_tm_bp_qset_map()
1510 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_bp_qset_map()
1520 return pos; in hclge_dbg_dump_tm_bp_qset_map()
1528 int pos = 0; in hclge_dbg_dump_tm_map() local
1547 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
1549 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
1556 ret = hclge_dbg_dump_tm_bp_qset_map(hdev, tc_id, buf + pos, in hclge_dbg_dump_tm_map()
1557 len - pos); in hclge_dbg_dump_tm_map()
1560 pos += ret; in hclge_dbg_dump_tm_map()
1562 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_tm_map()
1572 int pos = 0; in hclge_dbg_dump_tm_nodes() local
1585 pos += scnprintf(buf + pos, len - pos, " BASE_ID MAX_NUM\n"); in hclge_dbg_dump_tm_nodes()
1586 pos += scnprintf(buf + pos, len - pos, "PG %4u %4u\n", in hclge_dbg_dump_tm_nodes()
1588 pos += scnprintf(buf + pos, len - pos, "PRI %4u %4u\n", in hclge_dbg_dump_tm_nodes()
1590 pos += scnprintf(buf + pos, len - pos, "QSET %4u %4u\n", in hclge_dbg_dump_tm_nodes()
1593 pos += scnprintf(buf + pos, len - pos, "QUEUE %4u %4u\n", in hclge_dbg_dump_tm_nodes()
1627 int pos, ret; in hclge_dbg_dump_tm_pri() local
1643 pos = scnprintf(buf, len, "%s", content); in hclge_dbg_dump_tm_pri()
1678 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_tm_pri()
1709 int ret, pos; in hclge_dbg_dump_tm_qset() local
1721 pos = scnprintf(buf, len, "%s", content); in hclge_dbg_dump_tm_qset()
1754 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_tm_qset()
1765 int pos = 0; in hclge_dbg_dump_qos_pause_cfg() local
1778 pos += scnprintf(buf + pos, len - pos, "pause_trans_gap: 0x%x\n", in hclge_dbg_dump_qos_pause_cfg()
1780 pos += scnprintf(buf + pos, len - pos, "pause_trans_time: 0x%x\n", in hclge_dbg_dump_qos_pause_cfg()
1794 int pos = 0; in hclge_dbg_dump_qos_pri_map() local
1809 pos += scnprintf(buf + pos, len - pos, "vlan_to_pri: 0x%x\n", in hclge_dbg_dump_qos_pri_map()
1811 pos += scnprintf(buf + pos, len - pos, "PRI TC\n"); in hclge_dbg_dump_qos_pri_map()
1817 pos += scnprintf(buf + pos, len - pos, "%u %u\n", i, tc); in hclge_dbg_dump_qos_pri_map()
1831 int pos, ret; in hclge_dbg_dump_qos_dscp_map() local
1834 pos = scnprintf(buf, len, "tc map mode: %s\n", in hclge_dbg_dump_qos_dscp_map()
1850 pos += scnprintf(buf + pos, len - pos, "\nDSCP PRIO TC\n"); in hclge_dbg_dump_qos_dscp_map()
1868 pos += scnprintf(buf + pos, len - pos, " %2u %u %u\n", in hclge_dbg_dump_qos_dscp_map()
1879 int pos = 0; in hclge_dbg_dump_tx_buf_cfg() local
1892 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tx_buf_cfg()
1896 return pos; in hclge_dbg_dump_tx_buf_cfg()
1904 int pos = 0; in hclge_dbg_dump_rx_priv_buf_cfg() local
1915 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_priv_buf_cfg()
1919 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_buf_cfg()
1923 pos += scnprintf(buf + pos, len - pos, "rx_share_buf: 0x%x\n", in hclge_dbg_dump_rx_priv_buf_cfg()
1926 return pos; in hclge_dbg_dump_rx_priv_buf_cfg()
1934 int pos = 0; in hclge_dbg_dump_rx_common_wl_cfg() local
1946 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_common_wl_cfg()
1947 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_wl_cfg()
1952 return pos; in hclge_dbg_dump_rx_common_wl_cfg()
1960 int pos = 0; in hclge_dbg_dump_rx_global_pkt_cnt() local
1972 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_global_pkt_cnt()
1977 return pos; in hclge_dbg_dump_rx_global_pkt_cnt()
1985 int pos = 0; in hclge_dbg_dump_rx_priv_wl_buf_cfg() local
2000 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_wl_buf_cfg()
2007 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_wl_buf_cfg()
2013 return pos; in hclge_dbg_dump_rx_priv_wl_buf_cfg()
2021 int pos = 0; in hclge_dbg_dump_rx_common_threshold_cfg() local
2034 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_common_threshold_cfg()
2037 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_threshold_cfg()
2044 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_threshold_cfg()
2050 return pos; in hclge_dbg_dump_rx_common_threshold_cfg()
2056 int pos = 0; in hclge_dbg_dump_qos_buf_cfg() local
2059 ret = hclge_dbg_dump_tx_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
2062 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
2064 ret = hclge_dbg_dump_rx_priv_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
2067 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
2069 ret = hclge_dbg_dump_rx_common_wl_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
2072 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
2074 ret = hclge_dbg_dump_rx_global_pkt_cnt(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
2077 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
2079 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_qos_buf_cfg()
2083 ret = hclge_dbg_dump_rx_priv_wl_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
2086 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
2088 ret = hclge_dbg_dump_rx_common_threshold_cfg(hdev, buf + pos, in hclge_dbg_dump_qos_buf_cfg()
2089 len - pos); in hclge_dbg_dump_qos_buf_cfg()
2101 int pos = 0; in hclge_dbg_dump_mng_table() local
2104 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
2106 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
2108 pos += scnprintf(buf + pos, len - pos, "pf_id vf_id q_id drop\n"); in hclge_dbg_dump_mng_table()
2126 pos += scnprintf(buf + pos, len - pos, "%02u %pM ", in hclge_dbg_dump_mng_table()
2129 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
2137 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
2143 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
2165 int pos = 0; in hclge_dbg_fd_tcam_read() local
2187 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
2194 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
2200 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
2206 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
2238 int pos = 0; in hclge_dbg_dump_fd_tcam() local
2279 pos += scnprintf(buf + pos, len - pos, "%s", tcam_buf); in hclge_dbg_dump_fd_tcam()
2288 pos += scnprintf(buf + pos, len - pos, "%s", tcam_buf); in hclge_dbg_dump_fd_tcam()
2303 int pos = 0; in hclge_dbg_dump_fd_counter() local
2311 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_fd_counter()
2326 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_fd_counter()
2346 int pos = 0; in hclge_dbg_dump_rst_info() local
2348 pos += scnprintf(buf + pos, len - pos, "PF reset count: %u\n", in hclge_dbg_dump_rst_info()
2350 pos += scnprintf(buf + pos, len - pos, "FLR reset count: %u\n", in hclge_dbg_dump_rst_info()
2352 pos += scnprintf(buf + pos, len - pos, "GLOBAL reset count: %u\n", in hclge_dbg_dump_rst_info()
2354 pos += scnprintf(buf + pos, len - pos, "IMP reset count: %u\n", in hclge_dbg_dump_rst_info()
2356 pos += scnprintf(buf + pos, len - pos, "reset done count: %u\n", in hclge_dbg_dump_rst_info()
2358 pos += scnprintf(buf + pos, len - pos, "HW reset done count: %u\n", in hclge_dbg_dump_rst_info()
2360 pos += scnprintf(buf + pos, len - pos, "reset count: %u\n", in hclge_dbg_dump_rst_info()
2362 pos += scnprintf(buf + pos, len - pos, "reset fail count: %u\n", in hclge_dbg_dump_rst_info()
2367 pos += scnprintf(buf + pos, len - pos, "%s: 0x%x\n", in hclge_dbg_dump_rst_info()
2372 pos += scnprintf(buf + pos, len - pos, "hdev state: 0x%lx\n", in hclge_dbg_dump_rst_info()
2381 int pos = 0; in hclge_dbg_dump_serv_info() local
2387 pos += scnprintf(buf + pos, len - pos, "local_clock: [%5lu.%06lu]\n", in hclge_dbg_dump_serv_info()
2389 pos += scnprintf(buf + pos, len - pos, "delta: %u(ms)\n", in hclge_dbg_dump_serv_info()
2391 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_serv_info()
2394 pos += scnprintf(buf + pos, len - pos, "last_service_task_cnt: %lu\n", in hclge_dbg_dump_serv_info()
2402 int pos = 0; in hclge_dbg_dump_interrupt() local
2404 pos += scnprintf(buf + pos, len - pos, "num_nic_msi: %u\n", in hclge_dbg_dump_interrupt()
2406 pos += scnprintf(buf + pos, len - pos, "num_roce_msi: %u\n", in hclge_dbg_dump_interrupt()
2408 pos += scnprintf(buf + pos, len - pos, "num_msi_used: %u\n", in hclge_dbg_dump_interrupt()
2410 pos += scnprintf(buf + pos, len - pos, "num_msi_left: %u\n", in hclge_dbg_dump_interrupt()
2423 int pos = 0; in hclge_dbg_imp_info_data_print() local
2426 pos += scnprintf(buf + pos, len - pos, "offset | data\n"); in hclge_dbg_imp_info_data_print()
2431 pos += scnprintf(buf + pos, len - pos, "0x%04x | ", in hclge_dbg_imp_info_data_print()
2433 pos += scnprintf(buf + pos, len - pos, "0x%08x ", in hclge_dbg_imp_info_data_print()
2435 pos += scnprintf(buf + pos, len - pos, "0x%08x\n", in hclge_dbg_imp_info_data_print()
2493 char *buf, int len, int *pos) in hclge_ncl_config_data_print() argument
2505 *pos += scnprintf(buf + *pos, len - *pos, in hclge_ncl_config_data_print()
2526 int pos = 0; in hclge_dbg_dump_ncl_config() local
2530 pos += scnprintf(buf + pos, len - pos, "offset | data\n"); in hclge_dbg_dump_ncl_config()
2543 hclge_ncl_config_data_print(desc, &index, buf, len, &pos); in hclge_dbg_dump_ncl_config()
2556 int pos = 0; in hclge_dbg_dump_loopback() local
2562 pos += scnprintf(buf + pos, len - pos, "mac id: %u\n", in hclge_dbg_dump_loopback()
2575 pos += scnprintf(buf + pos, len - pos, "app loopback: %s\n", in hclge_dbg_dump_loopback()
2588 pos += scnprintf(buf + pos, len - pos, "serdes serial loopback: %s\n", in hclge_dbg_dump_loopback()
2593 pos += scnprintf(buf + pos, len - pos, "serdes parallel loopback: %s\n", in hclge_dbg_dump_loopback()
2598 pos += scnprintf(buf + pos, len - pos, "phy loopback: %s\n", in hclge_dbg_dump_loopback()
2603 pos += scnprintf(buf + pos, len - pos, "phy loopback: %s\n", in hclge_dbg_dump_loopback()
2618 int pos = 0; in hclge_dbg_dump_mac_tnl_status() local
2620 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mac_tnl_status()
2626 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mac_tnl_status()
2652 int pos = 0; in hclge_dbg_dump_mac_list() local
2658 pos += scnprintf(buf + pos, len - pos, "%s MAC_LIST:\n", in hclge_dbg_dump_mac_list()
2662 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_mac_list()
2679 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_mac_list()
2689 int pos = 0; in hclge_dbg_dump_umv_info() local
2692 pos += scnprintf(buf, len, "num_alloc_vport : %u\n", in hclge_dbg_dump_umv_info()
2694 pos += scnprintf(buf + pos, len - pos, "max_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2696 pos += scnprintf(buf + pos, len - pos, "wanted_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2698 pos += scnprintf(buf + pos, len - pos, "priv_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2702 pos += scnprintf(buf + pos, len - pos, "share_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2706 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_umv_info()
2712 pos += scnprintf(buf + pos, len - pos, "used_mc_mac_num : %u\n", in hclge_dbg_dump_umv_info()
2881 int len, int *pos) in hclge_dbg_dump_vlan_filter_config() argument
2896 *pos += scnprintf(buf, len, "I_PORT_VLAN_FILTER: %s\n", in hclge_dbg_dump_vlan_filter_config()
2898 *pos += scnprintf(buf + *pos, len - *pos, "E_PORT_VLAN_FILTER: %s\n", in hclge_dbg_dump_vlan_filter_config()
2903 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_filter_config()
2926 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_filter_config()
2928 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_vlan_filter_config()
2934 int len, int *pos) in hclge_dbg_dump_vlan_offload_config() argument
2946 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_offload_config()
2978 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_offload_config()
2987 int pos = 0; in hclge_dbg_dump_vlan_config() local
2990 ret = hclge_dbg_dump_vlan_filter_config(hdev, buf, len, &pos); in hclge_dbg_dump_vlan_config()
2994 return hclge_dbg_dump_vlan_offload_config(hdev, buf, len, &pos); in hclge_dbg_dump_vlan_config()
3003 int pos = 0; in hclge_dbg_dump_ptp_info() local
3007 pos += scnprintf(buf + pos, len - pos, "phc %s's debug info:\n", in hclge_dbg_dump_ptp_info()
3009 pos += scnprintf(buf + pos, len - pos, "ptp enable: %s\n", in hclge_dbg_dump_ptp_info()
3012 pos += scnprintf(buf + pos, len - pos, "ptp tx enable: %s\n", in hclge_dbg_dump_ptp_info()
3015 pos += scnprintf(buf + pos, len - pos, "ptp rx enable: %s\n", in hclge_dbg_dump_ptp_info()
3020 pos += scnprintf(buf + pos, len - pos, "last rx time: %lu.%lu\n", in hclge_dbg_dump_ptp_info()
3022 pos += scnprintf(buf + pos, len - pos, "rx count: %lu\n", ptp->rx_cnt); in hclge_dbg_dump_ptp_info()
3025 pos += scnprintf(buf + pos, len - pos, "last tx start time: %lu.%lu\n", in hclge_dbg_dump_ptp_info()
3027 pos += scnprintf(buf + pos, len - pos, "tx count: %lu\n", ptp->tx_cnt); in hclge_dbg_dump_ptp_info()
3028 pos += scnprintf(buf + pos, len - pos, "tx skipped count: %lu\n", in hclge_dbg_dump_ptp_info()
3030 pos += scnprintf(buf + pos, len - pos, "tx timeout count: %lu\n", in hclge_dbg_dump_ptp_info()
3032 pos += scnprintf(buf + pos, len - pos, "last tx seqid: %u\n", in hclge_dbg_dump_ptp_info()
3039 pos += scnprintf(buf + pos, len - pos, "sw_cfg: %#x, hw_cfg: %#x\n", in hclge_dbg_dump_ptp_info()
3042 pos += scnprintf(buf + pos, len - pos, "tx type: %d, rx filter: %d\n", in hclge_dbg_dump_ptp_info()