Lines Matching refs:pos

93 	char *pos = content;  in hclge_dbg_fill_content()  local
100 *pos++ = '\0'; in hclge_dbg_fill_content()
115 memcpy(pos, result[i], strlen(result[i])); in hclge_dbg_fill_content()
117 memcpy(pos, items[i].name, strlen(items[i].name)); in hclge_dbg_fill_content()
119 pos += item_len; in hclge_dbg_fill_content()
122 *pos++ = '\n'; in hclge_dbg_fill_content()
123 *pos++ = '\0'; in hclge_dbg_fill_content()
191 char *buf, int len, int *pos) in hclge_dbg_dump_reg_tqp() argument
211 *pos += scnprintf(buf + *pos, len - *pos, "item%u = %s\n", in hclge_dbg_dump_reg_tqp()
215 *pos += scnprintf(buf + *pos, len - *pos, "item%u\t", i); in hclge_dbg_dump_reg_tqp()
217 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_reg_tqp()
232 *pos += scnprintf(buf + *pos, len - *pos, "%#x\t", in hclge_dbg_dump_reg_tqp()
235 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_reg_tqp()
245 char *buf, int len, int *pos) in hclge_dbg_dump_reg_common() argument
279 *pos += scnprintf(buf + *pos, len - *pos, "%s: %#x\n", in hclge_dbg_dump_reg_common()
306 int len, int *pos) in hclge_dbg_dump_mac_enable_status() argument
327 *pos += scnprintf(buf + *pos, len - *pos, "%s: %#x\n", in hclge_dbg_dump_mac_enable_status()
336 int len, int *pos) in hclge_dbg_dump_mac_frame_size() argument
353 *pos += scnprintf(buf + *pos, len - *pos, "max_frame_size: %u\n", in hclge_dbg_dump_mac_frame_size()
355 *pos += scnprintf(buf + *pos, len - *pos, "min_frame_size: %u\n", in hclge_dbg_dump_mac_frame_size()
362 int len, int *pos) in hclge_dbg_dump_mac_speed_duplex() argument
383 *pos += scnprintf(buf + *pos, len - *pos, "speed: %#lx\n", in hclge_dbg_dump_mac_speed_duplex()
386 *pos += scnprintf(buf + *pos, len - *pos, "duplex: %#x\n", in hclge_dbg_dump_mac_speed_duplex()
394 int pos = 0; in hclge_dbg_dump_mac() local
397 ret = hclge_dbg_dump_mac_enable_status(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
401 ret = hclge_dbg_dump_mac_frame_size(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
405 return hclge_dbg_dump_mac_speed_duplex(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
409 int *pos) in hclge_dbg_dump_dcb_qset() argument
420 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_qset()
430 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_qset()
440 int *pos) in hclge_dbg_dump_dcb_pri() argument
451 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pri()
461 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pri()
470 int *pos) in hclge_dbg_dump_dcb_pg() argument
477 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pg()
487 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pg()
496 int *pos) in hclge_dbg_dump_dcb_queue() argument
502 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_queue()
510 *pos += scnprintf(buf + *pos, len - *pos, "%04u %#x", in hclge_dbg_dump_dcb_queue()
518 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_queue()
527 int *pos) in hclge_dbg_dump_dcb_port() argument
541 *pos += scnprintf(buf + *pos, len - *pos, "port_mask: %#x\n", in hclge_dbg_dump_dcb_port()
543 *pos += scnprintf(buf + *pos, len - *pos, "port_shaping_pass: %#x\n", in hclge_dbg_dump_dcb_port()
550 int *pos) in hclge_dbg_dump_dcb_tm() argument
561 *pos += scnprintf(buf + *pos, len - *pos, "SCH_NIC_NUM: %#x\n", in hclge_dbg_dump_dcb_tm()
563 *pos += scnprintf(buf + *pos, len - *pos, "SCH_ROCE_NUM: %#x\n", in hclge_dbg_dump_dcb_tm()
571 *pos += scnprintf(buf + *pos, len - *pos, "pri_bp: %#x\n", in hclge_dbg_dump_dcb_tm()
573 *pos += scnprintf(buf + *pos, len - *pos, "fifo_dfx_info: %#x\n", in hclge_dbg_dump_dcb_tm()
575 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
578 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
581 *pos += scnprintf(buf + *pos, len - *pos, "tm_bypass_en: %#x\n", in hclge_dbg_dump_dcb_tm()
583 *pos += scnprintf(buf + *pos, len - *pos, "SSU_TM_BYPASS_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
585 *pos += scnprintf(buf + *pos, len - *pos, "SSU_RESERVE_CFG: %#x\n", in hclge_dbg_dump_dcb_tm()
596 *pos += scnprintf(buf + *pos, len - *pos, "TC_MAP_SEL: %#x\n", in hclge_dbg_dump_dcb_tm()
598 *pos += scnprintf(buf + *pos, len - *pos, "IGU_PFC_PRI_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
600 *pos += scnprintf(buf + *pos, len - *pos, "MAC_PFC_PRI_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
602 *pos += scnprintf(buf + *pos, len - *pos, "IGU_PRI_MAP_TC_CFG: %#x\n", in hclge_dbg_dump_dcb_tm()
604 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
613 int pos = 0; in hclge_dbg_dump_dcb() local
616 ret = hclge_dbg_dump_dcb_qset(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
620 ret = hclge_dbg_dump_dcb_pri(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
624 ret = hclge_dbg_dump_dcb_pg(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
628 ret = hclge_dbg_dump_dcb_queue(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
632 ret = hclge_dbg_dump_dcb_port(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
636 return hclge_dbg_dump_dcb_tm(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
643 int pos = 0, ret = 0; in hclge_dbg_dump_reg_cmd() local
651 buf, len, &pos); in hclge_dbg_dump_reg_cmd()
654 len, &pos); in hclge_dbg_dump_reg_cmd()
668 int pos = 0; in hclge_dbg_dump_tc() local
688 pos += scnprintf(buf + pos, len - pos, "enabled tc number: %u\n", in hclge_dbg_dump_tc()
690 pos += scnprintf(buf + pos, len - pos, "weight_offset: %u\n", in hclge_dbg_dump_tc()
693 pos += scnprintf(buf + pos, len - pos, "TC MODE WEIGHT\n"); in hclge_dbg_dump_tc()
696 pos += scnprintf(buf + pos, len - pos, "%u %4s %3u\n", in hclge_dbg_dump_tc()
743 int pos = 0; in __hclge_dbg_dump_tm_pg() local
753 pos += scnprintf(buf + pos, len - pos, "%s", content); in __hclge_dbg_dump_tm_pg()
794 pos += scnprintf(buf + pos, len - pos, "%s", content); in __hclge_dbg_dump_tm_pg()
820 int pos = 0; in hclge_dbg_dump_tm_port() local
827 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
829 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
844 int pos = 0; in hclge_dbg_dump_tm_bp_qset_map() local
870 pos += scnprintf(buf + pos, len - pos, "INDEX | TM BP QSET MAPPING:\n"); in hclge_dbg_dump_tm_bp_qset_map()
872 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_bp_qset_map()
882 return pos; in hclge_dbg_dump_tm_bp_qset_map()
890 int pos = 0; in hclge_dbg_dump_tm_map() local
909 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
911 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
918 ret = hclge_dbg_dump_tm_bp_qset_map(hdev, tc_id, buf + pos, in hclge_dbg_dump_tm_map()
919 len - pos); in hclge_dbg_dump_tm_map()
922 pos += ret; in hclge_dbg_dump_tm_map()
924 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_tm_map()
934 int pos = 0; in hclge_dbg_dump_tm_nodes() local
947 pos += scnprintf(buf + pos, len - pos, " BASE_ID MAX_NUM\n"); in hclge_dbg_dump_tm_nodes()
948 pos += scnprintf(buf + pos, len - pos, "PG %4u %4u\n", in hclge_dbg_dump_tm_nodes()
950 pos += scnprintf(buf + pos, len - pos, "PRI %4u %4u\n", in hclge_dbg_dump_tm_nodes()
952 pos += scnprintf(buf + pos, len - pos, "QSET %4u %4u\n", in hclge_dbg_dump_tm_nodes()
955 pos += scnprintf(buf + pos, len - pos, "QUEUE %4u %4u\n", in hclge_dbg_dump_tm_nodes()
989 int pos, ret; in hclge_dbg_dump_tm_pri() local
1000 pos = scnprintf(buf, len, "%s", content); in hclge_dbg_dump_tm_pri()
1035 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_tm_pri()
1064 int ret, pos; in hclge_dbg_dump_tm_qset() local
1076 pos = scnprintf(buf, len, "%s", content); in hclge_dbg_dump_tm_qset()
1109 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_tm_qset()
1120 int pos = 0; in hclge_dbg_dump_qos_pause_cfg() local
1133 pos += scnprintf(buf + pos, len - pos, "pause_trans_gap: 0x%x\n", in hclge_dbg_dump_qos_pause_cfg()
1135 pos += scnprintf(buf + pos, len - pos, "pause_trans_time: 0x%x\n", in hclge_dbg_dump_qos_pause_cfg()
1149 int pos = 0; in hclge_dbg_dump_qos_pri_map() local
1164 pos += scnprintf(buf + pos, len - pos, "vlan_to_pri: 0x%x\n", in hclge_dbg_dump_qos_pri_map()
1166 pos += scnprintf(buf + pos, len - pos, "PRI TC\n"); in hclge_dbg_dump_qos_pri_map()
1172 pos += scnprintf(buf + pos, len - pos, "%u %u\n", i, tc); in hclge_dbg_dump_qos_pri_map()
1186 int pos, ret; in hclge_dbg_dump_qos_dscp_map() local
1189 pos = scnprintf(buf, len, "tc map mode: %s\n", in hclge_dbg_dump_qos_dscp_map()
1205 pos += scnprintf(buf + pos, len - pos, "\nDSCP PRIO TC\n"); in hclge_dbg_dump_qos_dscp_map()
1223 pos += scnprintf(buf + pos, len - pos, " %2u %u %u\n", in hclge_dbg_dump_qos_dscp_map()
1234 int pos = 0; in hclge_dbg_dump_tx_buf_cfg() local
1247 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tx_buf_cfg()
1251 return pos; in hclge_dbg_dump_tx_buf_cfg()
1259 int pos = 0; in hclge_dbg_dump_rx_priv_buf_cfg() local
1270 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_priv_buf_cfg()
1274 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_buf_cfg()
1278 pos += scnprintf(buf + pos, len - pos, "rx_share_buf: 0x%x\n", in hclge_dbg_dump_rx_priv_buf_cfg()
1281 return pos; in hclge_dbg_dump_rx_priv_buf_cfg()
1289 int pos = 0; in hclge_dbg_dump_rx_common_wl_cfg() local
1301 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_common_wl_cfg()
1302 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_wl_cfg()
1307 return pos; in hclge_dbg_dump_rx_common_wl_cfg()
1315 int pos = 0; in hclge_dbg_dump_rx_global_pkt_cnt() local
1327 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_global_pkt_cnt()
1332 return pos; in hclge_dbg_dump_rx_global_pkt_cnt()
1340 int pos = 0; in hclge_dbg_dump_rx_priv_wl_buf_cfg() local
1355 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_wl_buf_cfg()
1362 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_wl_buf_cfg()
1368 return pos; in hclge_dbg_dump_rx_priv_wl_buf_cfg()
1376 int pos = 0; in hclge_dbg_dump_rx_common_threshold_cfg() local
1389 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_common_threshold_cfg()
1392 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_threshold_cfg()
1399 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_threshold_cfg()
1405 return pos; in hclge_dbg_dump_rx_common_threshold_cfg()
1411 int pos = 0; in hclge_dbg_dump_qos_buf_cfg() local
1414 ret = hclge_dbg_dump_tx_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1417 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1419 ret = hclge_dbg_dump_rx_priv_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1422 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1424 ret = hclge_dbg_dump_rx_common_wl_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1427 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1429 ret = hclge_dbg_dump_rx_global_pkt_cnt(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1432 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1434 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_qos_buf_cfg()
1438 ret = hclge_dbg_dump_rx_priv_wl_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1441 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1443 ret = hclge_dbg_dump_rx_common_threshold_cfg(hdev, buf + pos, in hclge_dbg_dump_qos_buf_cfg()
1444 len - pos); in hclge_dbg_dump_qos_buf_cfg()
1456 int pos = 0; in hclge_dbg_dump_mng_table() local
1459 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1461 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1463 pos += scnprintf(buf + pos, len - pos, "pf_id vf_id q_id drop\n"); in hclge_dbg_dump_mng_table()
1481 pos += scnprintf(buf + pos, len - pos, "%02u %pM ", in hclge_dbg_dump_mng_table()
1484 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1492 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1498 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1520 int pos = 0; in hclge_dbg_fd_tcam_read() local
1542 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1549 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1555 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1561 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1593 int pos = 0; in hclge_dbg_dump_fd_tcam() local
1634 pos += scnprintf(buf + pos, len - pos, "%s", tcam_buf); in hclge_dbg_dump_fd_tcam()
1643 pos += scnprintf(buf + pos, len - pos, "%s", tcam_buf); in hclge_dbg_dump_fd_tcam()
1658 int pos = 0; in hclge_dbg_dump_fd_counter() local
1666 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_fd_counter()
1681 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_fd_counter()
1701 int pos = 0; in hclge_dbg_dump_rst_info() local
1703 pos += scnprintf(buf + pos, len - pos, "PF reset count: %u\n", in hclge_dbg_dump_rst_info()
1705 pos += scnprintf(buf + pos, len - pos, "FLR reset count: %u\n", in hclge_dbg_dump_rst_info()
1707 pos += scnprintf(buf + pos, len - pos, "GLOBAL reset count: %u\n", in hclge_dbg_dump_rst_info()
1709 pos += scnprintf(buf + pos, len - pos, "IMP reset count: %u\n", in hclge_dbg_dump_rst_info()
1711 pos += scnprintf(buf + pos, len - pos, "reset done count: %u\n", in hclge_dbg_dump_rst_info()
1713 pos += scnprintf(buf + pos, len - pos, "HW reset done count: %u\n", in hclge_dbg_dump_rst_info()
1715 pos += scnprintf(buf + pos, len - pos, "reset count: %u\n", in hclge_dbg_dump_rst_info()
1717 pos += scnprintf(buf + pos, len - pos, "reset fail count: %u\n", in hclge_dbg_dump_rst_info()
1722 pos += scnprintf(buf + pos, len - pos, "%s: 0x%x\n", in hclge_dbg_dump_rst_info()
1727 pos += scnprintf(buf + pos, len - pos, "hdev state: 0x%lx\n", in hclge_dbg_dump_rst_info()
1736 int pos = 0; in hclge_dbg_dump_serv_info() local
1742 pos += scnprintf(buf + pos, len - pos, "local_clock: [%5lu.%06lu]\n", in hclge_dbg_dump_serv_info()
1744 pos += scnprintf(buf + pos, len - pos, "delta: %u(ms)\n", in hclge_dbg_dump_serv_info()
1746 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_serv_info()
1749 pos += scnprintf(buf + pos, len - pos, "last_service_task_cnt: %lu\n", in hclge_dbg_dump_serv_info()
1757 int pos = 0; in hclge_dbg_dump_interrupt() local
1759 pos += scnprintf(buf + pos, len - pos, "num_nic_msi: %u\n", in hclge_dbg_dump_interrupt()
1761 pos += scnprintf(buf + pos, len - pos, "num_roce_msi: %u\n", in hclge_dbg_dump_interrupt()
1763 pos += scnprintf(buf + pos, len - pos, "num_msi_used: %u\n", in hclge_dbg_dump_interrupt()
1765 pos += scnprintf(buf + pos, len - pos, "num_msi_left: %u\n", in hclge_dbg_dump_interrupt()
1778 int pos = 0; in hclge_dbg_imp_info_data_print() local
1781 pos += scnprintf(buf + pos, len - pos, "offset | data\n"); in hclge_dbg_imp_info_data_print()
1786 pos += scnprintf(buf + pos, len - pos, "0x%04x | ", in hclge_dbg_imp_info_data_print()
1788 pos += scnprintf(buf + pos, len - pos, "0x%08x ", in hclge_dbg_imp_info_data_print()
1790 pos += scnprintf(buf + pos, len - pos, "0x%08x\n", in hclge_dbg_imp_info_data_print()
1848 char *buf, int len, int *pos) in hclge_ncl_config_data_print() argument
1860 *pos += scnprintf(buf + *pos, len - *pos, in hclge_ncl_config_data_print()
1881 int pos = 0; in hclge_dbg_dump_ncl_config() local
1885 pos += scnprintf(buf + pos, len - pos, "offset | data\n"); in hclge_dbg_dump_ncl_config()
1898 hclge_ncl_config_data_print(desc, &index, buf, len, &pos); in hclge_dbg_dump_ncl_config()
1911 int pos = 0; in hclge_dbg_dump_loopback() local
1917 pos += scnprintf(buf + pos, len - pos, "mac id: %u\n", in hclge_dbg_dump_loopback()
1930 pos += scnprintf(buf + pos, len - pos, "app loopback: %s\n", in hclge_dbg_dump_loopback()
1943 pos += scnprintf(buf + pos, len - pos, "serdes serial loopback: %s\n", in hclge_dbg_dump_loopback()
1948 pos += scnprintf(buf + pos, len - pos, "serdes parallel loopback: %s\n", in hclge_dbg_dump_loopback()
1953 pos += scnprintf(buf + pos, len - pos, "phy loopback: %s\n", in hclge_dbg_dump_loopback()
1958 pos += scnprintf(buf + pos, len - pos, "phy loopback: %s\n", in hclge_dbg_dump_loopback()
1973 int pos = 0; in hclge_dbg_dump_mac_tnl_status() local
1975 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mac_tnl_status()
1981 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mac_tnl_status()
2007 int pos = 0; in hclge_dbg_dump_mac_list() local
2013 pos += scnprintf(buf + pos, len - pos, "%s MAC_LIST:\n", in hclge_dbg_dump_mac_list()
2017 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_mac_list()
2034 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_mac_list()
2044 int pos = 0; in hclge_dbg_dump_umv_info() local
2047 pos += scnprintf(buf, len, "num_alloc_vport : %u\n", in hclge_dbg_dump_umv_info()
2049 pos += scnprintf(buf + pos, len - pos, "max_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2051 pos += scnprintf(buf + pos, len - pos, "wanted_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2053 pos += scnprintf(buf + pos, len - pos, "priv_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2057 pos += scnprintf(buf + pos, len - pos, "share_umv_size : %u\n", in hclge_dbg_dump_umv_info()
2061 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_umv_info()
2067 pos += scnprintf(buf + pos, len - pos, "used_mc_mac_num : %u\n", in hclge_dbg_dump_umv_info()
2236 int len, int *pos) in hclge_dbg_dump_vlan_filter_config() argument
2251 *pos += scnprintf(buf, len, "I_PORT_VLAN_FILTER: %s\n", in hclge_dbg_dump_vlan_filter_config()
2253 *pos += scnprintf(buf + *pos, len - *pos, "E_PORT_VLAN_FILTER: %s\n", in hclge_dbg_dump_vlan_filter_config()
2258 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_filter_config()
2281 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_filter_config()
2283 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_vlan_filter_config()
2289 int len, int *pos) in hclge_dbg_dump_vlan_offload_config() argument
2301 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_offload_config()
2333 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_offload_config()
2342 int pos = 0; in hclge_dbg_dump_vlan_config() local
2345 ret = hclge_dbg_dump_vlan_filter_config(hdev, buf, len, &pos); in hclge_dbg_dump_vlan_config()
2349 return hclge_dbg_dump_vlan_offload_config(hdev, buf, len, &pos); in hclge_dbg_dump_vlan_config()
2358 int pos = 0; in hclge_dbg_dump_ptp_info() local
2362 pos += scnprintf(buf + pos, len - pos, "phc %s's debug info:\n", in hclge_dbg_dump_ptp_info()
2364 pos += scnprintf(buf + pos, len - pos, "ptp enable: %s\n", in hclge_dbg_dump_ptp_info()
2367 pos += scnprintf(buf + pos, len - pos, "ptp tx enable: %s\n", in hclge_dbg_dump_ptp_info()
2370 pos += scnprintf(buf + pos, len - pos, "ptp rx enable: %s\n", in hclge_dbg_dump_ptp_info()
2375 pos += scnprintf(buf + pos, len - pos, "last rx time: %lu.%lu\n", in hclge_dbg_dump_ptp_info()
2377 pos += scnprintf(buf + pos, len - pos, "rx count: %lu\n", ptp->rx_cnt); in hclge_dbg_dump_ptp_info()
2380 pos += scnprintf(buf + pos, len - pos, "last tx start time: %lu.%lu\n", in hclge_dbg_dump_ptp_info()
2382 pos += scnprintf(buf + pos, len - pos, "tx count: %lu\n", ptp->tx_cnt); in hclge_dbg_dump_ptp_info()
2383 pos += scnprintf(buf + pos, len - pos, "tx skipped count: %lu\n", in hclge_dbg_dump_ptp_info()
2385 pos += scnprintf(buf + pos, len - pos, "tx timeout count: %lu\n", in hclge_dbg_dump_ptp_info()
2387 pos += scnprintf(buf + pos, len - pos, "last tx seqid: %u\n", in hclge_dbg_dump_ptp_info()
2394 pos += scnprintf(buf + pos, len - pos, "sw_cfg: %#x, hw_cfg: %#x\n", in hclge_dbg_dump_ptp_info()
2397 pos += scnprintf(buf + pos, len - pos, "tx type: %d, rx filter: %d\n", in hclge_dbg_dump_ptp_info()