Lines Matching refs:pos
84 char *pos = content; in hclge_dbg_fill_content() local
90 strncpy(pos, result[i], strlen(result[i])); in hclge_dbg_fill_content()
92 strncpy(pos, items[i].name, strlen(items[i].name)); in hclge_dbg_fill_content()
93 pos += strlen(items[i].name) + items[i].interval; in hclge_dbg_fill_content()
95 *pos++ = '\n'; in hclge_dbg_fill_content()
96 *pos++ = '\0'; in hclge_dbg_fill_content()
164 char *buf, int len, int *pos) in hclge_dbg_dump_reg_tqp() argument
184 *pos += scnprintf(buf + *pos, len - *pos, "item%u = %s\n", in hclge_dbg_dump_reg_tqp()
188 *pos += scnprintf(buf + *pos, len - *pos, "item%u\t", i); in hclge_dbg_dump_reg_tqp()
190 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_reg_tqp()
205 *pos += scnprintf(buf + *pos, len - *pos, "%#x\t", in hclge_dbg_dump_reg_tqp()
208 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_reg_tqp()
218 char *buf, int len, int *pos) in hclge_dbg_dump_reg_common() argument
252 *pos += scnprintf(buf + *pos, len - *pos, "%s: %#x\n", in hclge_dbg_dump_reg_common()
262 int len, int *pos) in hclge_dbg_dump_mac_enable_status() argument
281 *pos += scnprintf(buf + *pos, len - *pos, "mac_trans_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
283 *pos += scnprintf(buf + *pos, len - *pos, "mac_rcv_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
285 *pos += scnprintf(buf + *pos, len - *pos, "pad_trans_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
287 *pos += scnprintf(buf + *pos, len - *pos, "pad_rcv_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
289 *pos += scnprintf(buf + *pos, len - *pos, "1588_trans_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
291 *pos += scnprintf(buf + *pos, len - *pos, "1588_rcv_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
293 *pos += scnprintf(buf + *pos, len - *pos, "mac_app_loop_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
295 *pos += scnprintf(buf + *pos, len - *pos, "mac_line_loop_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
297 *pos += scnprintf(buf + *pos, len - *pos, "mac_fcs_tx_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
299 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_mac_enable_status()
303 *pos += scnprintf(buf + *pos, len - *pos, "mac_rx_fcs_strip_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
305 *pos += scnprintf(buf + *pos, len - *pos, "mac_rx_fcs_en: %#x\n", in hclge_dbg_dump_mac_enable_status()
307 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_mac_enable_status()
310 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_mac_enable_status()
319 int len, int *pos) in hclge_dbg_dump_mac_frame_size() argument
336 *pos += scnprintf(buf + *pos, len - *pos, "max_frame_size: %u\n", in hclge_dbg_dump_mac_frame_size()
338 *pos += scnprintf(buf + *pos, len - *pos, "min_frame_size: %u\n", in hclge_dbg_dump_mac_frame_size()
345 int len, int *pos) in hclge_dbg_dump_mac_speed_duplex() argument
366 *pos += scnprintf(buf + *pos, len - *pos, "speed: %#lx\n", in hclge_dbg_dump_mac_speed_duplex()
369 *pos += scnprintf(buf + *pos, len - *pos, "duplex: %#x\n", in hclge_dbg_dump_mac_speed_duplex()
377 int pos = 0; in hclge_dbg_dump_mac() local
380 ret = hclge_dbg_dump_mac_enable_status(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
384 ret = hclge_dbg_dump_mac_frame_size(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
388 return hclge_dbg_dump_mac_speed_duplex(hdev, buf, len, &pos); in hclge_dbg_dump_mac()
392 int *pos) in hclge_dbg_dump_dcb_qset() argument
403 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_qset()
413 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_qset()
423 int *pos) in hclge_dbg_dump_dcb_pri() argument
434 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pri()
444 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pri()
453 int *pos) in hclge_dbg_dump_dcb_pg() argument
460 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pg()
470 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_pg()
479 int *pos) in hclge_dbg_dump_dcb_queue() argument
485 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_queue()
493 *pos += scnprintf(buf + *pos, len - *pos, "%04u %#x", in hclge_dbg_dump_dcb_queue()
501 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_queue()
510 int *pos) in hclge_dbg_dump_dcb_port() argument
524 *pos += scnprintf(buf + *pos, len - *pos, "port_mask: %#x\n", in hclge_dbg_dump_dcb_port()
526 *pos += scnprintf(buf + *pos, len - *pos, "port_shaping_pass: %#x\n", in hclge_dbg_dump_dcb_port()
533 int *pos) in hclge_dbg_dump_dcb_tm() argument
544 *pos += scnprintf(buf + *pos, len - *pos, "SCH_NIC_NUM: %#x\n", in hclge_dbg_dump_dcb_tm()
546 *pos += scnprintf(buf + *pos, len - *pos, "SCH_ROCE_NUM: %#x\n", in hclge_dbg_dump_dcb_tm()
554 *pos += scnprintf(buf + *pos, len - *pos, "pri_bp: %#x\n", in hclge_dbg_dump_dcb_tm()
556 *pos += scnprintf(buf + *pos, len - *pos, "fifo_dfx_info: %#x\n", in hclge_dbg_dump_dcb_tm()
558 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
561 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
564 *pos += scnprintf(buf + *pos, len - *pos, "tm_bypass_en: %#x\n", in hclge_dbg_dump_dcb_tm()
566 *pos += scnprintf(buf + *pos, len - *pos, "SSU_TM_BYPASS_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
568 *pos += scnprintf(buf + *pos, len - *pos, "SSU_RESERVE_CFG: %#x\n", in hclge_dbg_dump_dcb_tm()
579 *pos += scnprintf(buf + *pos, len - *pos, "TC_MAP_SEL: %#x\n", in hclge_dbg_dump_dcb_tm()
581 *pos += scnprintf(buf + *pos, len - *pos, "IGU_PFC_PRI_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
583 *pos += scnprintf(buf + *pos, len - *pos, "MAC_PFC_PRI_EN: %#x\n", in hclge_dbg_dump_dcb_tm()
585 *pos += scnprintf(buf + *pos, len - *pos, "IGU_PRI_MAP_TC_CFG: %#x\n", in hclge_dbg_dump_dcb_tm()
587 *pos += scnprintf(buf + *pos, len - *pos, in hclge_dbg_dump_dcb_tm()
596 int pos = 0; in hclge_dbg_dump_dcb() local
599 ret = hclge_dbg_dump_dcb_qset(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
603 ret = hclge_dbg_dump_dcb_pri(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
607 ret = hclge_dbg_dump_dcb_pg(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
611 ret = hclge_dbg_dump_dcb_queue(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
615 ret = hclge_dbg_dump_dcb_port(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
619 return hclge_dbg_dump_dcb_tm(hdev, buf, len, &pos); in hclge_dbg_dump_dcb()
626 int pos = 0, ret = 0; in hclge_dbg_dump_reg_cmd() local
634 buf, len, &pos); in hclge_dbg_dump_reg_cmd()
637 len, &pos); in hclge_dbg_dump_reg_cmd()
651 int pos = 0; in hclge_dbg_dump_tc() local
671 pos += scnprintf(buf + pos, len - pos, "enabled tc number: %u\n", in hclge_dbg_dump_tc()
673 pos += scnprintf(buf + pos, len - pos, "weight_offset: %u\n", in hclge_dbg_dump_tc()
676 pos += scnprintf(buf + pos, len - pos, "TC MODE WEIGHT\n"); in hclge_dbg_dump_tc()
679 pos += scnprintf(buf + pos, len - pos, "%u %4s %3u\n", in hclge_dbg_dump_tc()
727 int pos = 0; in __hclge_dbg_dump_tm_pg() local
737 pos += scnprintf(buf + pos, len - pos, "%s", content); in __hclge_dbg_dump_tm_pg()
778 pos += scnprintf(buf + pos, len - pos, "%s", content); in __hclge_dbg_dump_tm_pg()
805 int pos = 0; in hclge_dbg_dump_tm_port() local
812 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
814 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_port()
829 int pos = 0; in hclge_dbg_dump_tm_bp_qset_map() local
855 pos += scnprintf(buf + pos, len - pos, "INDEX | TM BP QSET MAPPING:\n"); in hclge_dbg_dump_tm_bp_qset_map()
857 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_bp_qset_map()
867 return pos; in hclge_dbg_dump_tm_bp_qset_map()
875 int pos = 0; in hclge_dbg_dump_tm_map() local
894 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
896 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tm_map()
903 ret = hclge_dbg_dump_tm_bp_qset_map(hdev, tc_id, buf + pos, in hclge_dbg_dump_tm_map()
904 len - pos); in hclge_dbg_dump_tm_map()
907 pos += ret; in hclge_dbg_dump_tm_map()
909 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_tm_map()
919 int pos = 0; in hclge_dbg_dump_tm_nodes() local
932 pos += scnprintf(buf + pos, len - pos, " BASE_ID MAX_NUM\n"); in hclge_dbg_dump_tm_nodes()
933 pos += scnprintf(buf + pos, len - pos, "PG %4u %4u\n", in hclge_dbg_dump_tm_nodes()
935 pos += scnprintf(buf + pos, len - pos, "PRI %4u %4u\n", in hclge_dbg_dump_tm_nodes()
937 pos += scnprintf(buf + pos, len - pos, "QSET %4u %4u\n", in hclge_dbg_dump_tm_nodes()
940 pos += scnprintf(buf + pos, len - pos, "QUEUE %4u %4u\n", in hclge_dbg_dump_tm_nodes()
974 int pos, ret; in hclge_dbg_dump_tm_pri() local
985 pos = scnprintf(buf, len, "%s", content); in hclge_dbg_dump_tm_pri()
1020 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_tm_pri()
1049 int ret, pos; in hclge_dbg_dump_tm_qset() local
1061 pos = scnprintf(buf, len, "%s", content); in hclge_dbg_dump_tm_qset()
1094 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_tm_qset()
1105 int pos = 0; in hclge_dbg_dump_qos_pause_cfg() local
1118 pos += scnprintf(buf + pos, len - pos, "pause_trans_gap: 0x%x\n", in hclge_dbg_dump_qos_pause_cfg()
1120 pos += scnprintf(buf + pos, len - pos, "pause_trans_time: 0x%x\n", in hclge_dbg_dump_qos_pause_cfg()
1133 int pos = 0; in hclge_dbg_dump_qos_pri_map() local
1148 pos += scnprintf(buf + pos, len - pos, "vlan_to_pri: 0x%x\n", in hclge_dbg_dump_qos_pri_map()
1150 pos += scnprintf(buf + pos, len - pos, "PRI TC\n"); in hclge_dbg_dump_qos_pri_map()
1156 pos += scnprintf(buf + pos, len - pos, "%u %u\n", i, tc); in hclge_dbg_dump_qos_pri_map()
1166 int pos = 0; in hclge_dbg_dump_tx_buf_cfg() local
1179 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_tx_buf_cfg()
1183 return pos; in hclge_dbg_dump_tx_buf_cfg()
1191 int pos = 0; in hclge_dbg_dump_rx_priv_buf_cfg() local
1202 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_priv_buf_cfg()
1206 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_buf_cfg()
1210 pos += scnprintf(buf + pos, len - pos, "rx_share_buf: 0x%x\n", in hclge_dbg_dump_rx_priv_buf_cfg()
1213 return pos; in hclge_dbg_dump_rx_priv_buf_cfg()
1221 int pos = 0; in hclge_dbg_dump_rx_common_wl_cfg() local
1233 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_common_wl_cfg()
1234 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_wl_cfg()
1239 return pos; in hclge_dbg_dump_rx_common_wl_cfg()
1247 int pos = 0; in hclge_dbg_dump_rx_global_pkt_cnt() local
1259 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_global_pkt_cnt()
1264 return pos; in hclge_dbg_dump_rx_global_pkt_cnt()
1272 int pos = 0; in hclge_dbg_dump_rx_priv_wl_buf_cfg() local
1287 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_wl_buf_cfg()
1294 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_priv_wl_buf_cfg()
1300 return pos; in hclge_dbg_dump_rx_priv_wl_buf_cfg()
1308 int pos = 0; in hclge_dbg_dump_rx_common_threshold_cfg() local
1321 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_rx_common_threshold_cfg()
1324 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_threshold_cfg()
1331 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rx_common_threshold_cfg()
1337 return pos; in hclge_dbg_dump_rx_common_threshold_cfg()
1343 int pos = 0; in hclge_dbg_dump_qos_buf_cfg() local
1346 ret = hclge_dbg_dump_tx_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1349 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1351 ret = hclge_dbg_dump_rx_priv_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1354 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1356 ret = hclge_dbg_dump_rx_common_wl_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1359 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1361 ret = hclge_dbg_dump_rx_global_pkt_cnt(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1364 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1366 pos += scnprintf(buf + pos, len - pos, "\n"); in hclge_dbg_dump_qos_buf_cfg()
1370 ret = hclge_dbg_dump_rx_priv_wl_buf_cfg(hdev, buf + pos, len - pos); in hclge_dbg_dump_qos_buf_cfg()
1373 pos += ret; in hclge_dbg_dump_qos_buf_cfg()
1375 ret = hclge_dbg_dump_rx_common_threshold_cfg(hdev, buf + pos, in hclge_dbg_dump_qos_buf_cfg()
1376 len - pos); in hclge_dbg_dump_qos_buf_cfg()
1388 int pos = 0; in hclge_dbg_dump_mng_table() local
1391 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1393 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1395 pos += scnprintf(buf + pos, len - pos, "pf_id vf_id q_id drop\n"); in hclge_dbg_dump_mng_table()
1413 pos += scnprintf(buf + pos, len - pos, "%02u %pM ", in hclge_dbg_dump_mng_table()
1416 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1424 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1430 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mng_table()
1452 int pos = 0; in hclge_dbg_fd_tcam_read() local
1474 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1481 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1487 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1493 pos += scnprintf(tcam_buf + pos, HCLGE_DBG_TCAM_BUF_SIZE - pos, in hclge_dbg_fd_tcam_read()
1525 int pos = 0; in hclge_dbg_dump_fd_tcam() local
1566 pos += scnprintf(buf + pos, len - pos, "%s", tcam_buf); in hclge_dbg_dump_fd_tcam()
1575 pos += scnprintf(buf + pos, len - pos, "%s", tcam_buf); in hclge_dbg_dump_fd_tcam()
1590 int pos = 0; in hclge_dbg_dump_fd_counter() local
1595 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_fd_counter()
1610 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_fd_counter()
1619 int pos = 0; in hclge_dbg_dump_rst_info() local
1621 pos += scnprintf(buf + pos, len - pos, "PF reset count: %u\n", in hclge_dbg_dump_rst_info()
1623 pos += scnprintf(buf + pos, len - pos, "FLR reset count: %u\n", in hclge_dbg_dump_rst_info()
1625 pos += scnprintf(buf + pos, len - pos, "GLOBAL reset count: %u\n", in hclge_dbg_dump_rst_info()
1627 pos += scnprintf(buf + pos, len - pos, "IMP reset count: %u\n", in hclge_dbg_dump_rst_info()
1629 pos += scnprintf(buf + pos, len - pos, "reset done count: %u\n", in hclge_dbg_dump_rst_info()
1631 pos += scnprintf(buf + pos, len - pos, "HW reset done count: %u\n", in hclge_dbg_dump_rst_info()
1633 pos += scnprintf(buf + pos, len - pos, "reset count: %u\n", in hclge_dbg_dump_rst_info()
1635 pos += scnprintf(buf + pos, len - pos, "reset fail count: %u\n", in hclge_dbg_dump_rst_info()
1637 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_rst_info()
1640 pos += scnprintf(buf + pos, len - pos, "reset interrupt source: 0x%x\n", in hclge_dbg_dump_rst_info()
1642 pos += scnprintf(buf + pos, len - pos, "reset interrupt status: 0x%x\n", in hclge_dbg_dump_rst_info()
1644 pos += scnprintf(buf + pos, len - pos, "RAS interrupt status: 0x%x\n", in hclge_dbg_dump_rst_info()
1647 pos += scnprintf(buf + pos, len - pos, "hardware reset status: 0x%x\n", in hclge_dbg_dump_rst_info()
1649 pos += scnprintf(buf + pos, len - pos, "handshake status: 0x%x\n", in hclge_dbg_dump_rst_info()
1651 pos += scnprintf(buf + pos, len - pos, "function reset status: 0x%x\n", in hclge_dbg_dump_rst_info()
1653 pos += scnprintf(buf + pos, len - pos, "hdev state: 0x%lx\n", in hclge_dbg_dump_rst_info()
1662 int pos = 0; in hclge_dbg_dump_serv_info() local
1668 pos += scnprintf(buf + pos, len - pos, "local_clock: [%5lu.%06lu]\n", in hclge_dbg_dump_serv_info()
1670 pos += scnprintf(buf + pos, len - pos, "delta: %u(ms)\n", in hclge_dbg_dump_serv_info()
1672 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_serv_info()
1675 pos += scnprintf(buf + pos, len - pos, "last_service_task_cnt: %lu\n", in hclge_dbg_dump_serv_info()
1683 int pos = 0; in hclge_dbg_dump_interrupt() local
1685 pos += scnprintf(buf + pos, len - pos, "num_nic_msi: %u\n", in hclge_dbg_dump_interrupt()
1687 pos += scnprintf(buf + pos, len - pos, "num_roce_msi: %u\n", in hclge_dbg_dump_interrupt()
1689 pos += scnprintf(buf + pos, len - pos, "num_msi_used: %u\n", in hclge_dbg_dump_interrupt()
1691 pos += scnprintf(buf + pos, len - pos, "num_msi_left: %u\n", in hclge_dbg_dump_interrupt()
1704 int pos = 0; in hclge_dbg_imp_info_data_print() local
1707 pos += scnprintf(buf + pos, len - pos, "offset | data\n"); in hclge_dbg_imp_info_data_print()
1712 pos += scnprintf(buf + pos, len - pos, "0x%04x | ", in hclge_dbg_imp_info_data_print()
1714 pos += scnprintf(buf + pos, len - pos, "0x%08x ", in hclge_dbg_imp_info_data_print()
1716 pos += scnprintf(buf + pos, len - pos, "0x%08x\n", in hclge_dbg_imp_info_data_print()
1774 char *buf, int *len, int *pos) in hclge_ncl_config_data_print() argument
1786 *pos += scnprintf(buf + *pos, *len - *pos, in hclge_ncl_config_data_print()
1807 int pos = 0; in hclge_dbg_dump_ncl_config() local
1811 pos += scnprintf(buf + pos, len - pos, "offset | data\n"); in hclge_dbg_dump_ncl_config()
1824 hclge_ncl_config_data_print(desc, &index, buf, &len, &pos); in hclge_dbg_dump_ncl_config()
1837 int pos = 0; in hclge_dbg_dump_loopback() local
1843 pos += scnprintf(buf + pos, len - pos, "mac id: %u\n", in hclge_dbg_dump_loopback()
1856 pos += scnprintf(buf + pos, len - pos, "app loopback: %s\n", in hclge_dbg_dump_loopback()
1869 pos += scnprintf(buf + pos, len - pos, "serdes serial loopback: %s\n", in hclge_dbg_dump_loopback()
1874 pos += scnprintf(buf + pos, len - pos, "serdes parallel loopback: %s\n", in hclge_dbg_dump_loopback()
1879 pos += scnprintf(buf + pos, len - pos, "phy loopback: %s\n", in hclge_dbg_dump_loopback()
1884 pos += scnprintf(buf + pos, len - pos, "phy loopback: %s\n", in hclge_dbg_dump_loopback()
1899 int pos = 0; in hclge_dbg_dump_mac_tnl_status() local
1901 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mac_tnl_status()
1907 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_mac_tnl_status()
1933 int pos = 0; in hclge_dbg_dump_mac_list() local
1939 pos += scnprintf(buf + pos, len - pos, "%s MAC_LIST:\n", in hclge_dbg_dump_mac_list()
1943 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_mac_list()
1960 pos += scnprintf(buf + pos, len - pos, "%s", content); in hclge_dbg_dump_mac_list()
1970 int pos = 0; in hclge_dbg_dump_umv_info() local
1973 pos += scnprintf(buf, len, "num_alloc_vport : %u\n", in hclge_dbg_dump_umv_info()
1975 pos += scnprintf(buf + pos, len - pos, "max_umv_size : %u\n", in hclge_dbg_dump_umv_info()
1977 pos += scnprintf(buf + pos, len - pos, "wanted_umv_size : %u\n", in hclge_dbg_dump_umv_info()
1979 pos += scnprintf(buf + pos, len - pos, "priv_umv_size : %u\n", in hclge_dbg_dump_umv_info()
1983 pos += scnprintf(buf + pos, len - pos, "share_umv_size : %u\n", in hclge_dbg_dump_umv_info()
1987 pos += scnprintf(buf + pos, len - pos, in hclge_dbg_dump_umv_info()
1993 pos += scnprintf(buf + pos, len - pos, "used_mc_mac_num : %u\n", in hclge_dbg_dump_umv_info()
2162 int len, int *pos) in hclge_dbg_dump_vlan_filter_config() argument
2177 *pos += scnprintf(buf, len, "I_PORT_VLAN_FILTER: %s\n", in hclge_dbg_dump_vlan_filter_config()
2179 *pos += scnprintf(buf + *pos, len - *pos, "E_PORT_VLAN_FILTER: %s\n", in hclge_dbg_dump_vlan_filter_config()
2184 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_filter_config()
2207 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_filter_config()
2209 *pos += scnprintf(buf + *pos, len - *pos, "\n"); in hclge_dbg_dump_vlan_filter_config()
2215 int len, int *pos) in hclge_dbg_dump_vlan_offload_config() argument
2227 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_offload_config()
2259 *pos += scnprintf(buf + *pos, len - *pos, "%s", content); in hclge_dbg_dump_vlan_offload_config()
2268 int pos = 0; in hclge_dbg_dump_vlan_config() local
2271 ret = hclge_dbg_dump_vlan_filter_config(hdev, buf, len, &pos); in hclge_dbg_dump_vlan_config()
2275 return hclge_dbg_dump_vlan_offload_config(hdev, buf, len, &pos); in hclge_dbg_dump_vlan_config()
2284 int pos = 0; in hclge_dbg_dump_ptp_info() local
2288 pos += scnprintf(buf + pos, len - pos, "phc %s's debug info:\n", in hclge_dbg_dump_ptp_info()
2290 pos += scnprintf(buf + pos, len - pos, "ptp enable: %s\n", in hclge_dbg_dump_ptp_info()
2293 pos += scnprintf(buf + pos, len - pos, "ptp tx enable: %s\n", in hclge_dbg_dump_ptp_info()
2296 pos += scnprintf(buf + pos, len - pos, "ptp rx enable: %s\n", in hclge_dbg_dump_ptp_info()
2301 pos += scnprintf(buf + pos, len - pos, "last rx time: %lu.%lu\n", in hclge_dbg_dump_ptp_info()
2303 pos += scnprintf(buf + pos, len - pos, "rx count: %lu\n", ptp->rx_cnt); in hclge_dbg_dump_ptp_info()
2306 pos += scnprintf(buf + pos, len - pos, "last tx start time: %lu.%lu\n", in hclge_dbg_dump_ptp_info()
2308 pos += scnprintf(buf + pos, len - pos, "tx count: %lu\n", ptp->tx_cnt); in hclge_dbg_dump_ptp_info()
2309 pos += scnprintf(buf + pos, len - pos, "tx skipped count: %lu\n", in hclge_dbg_dump_ptp_info()
2311 pos += scnprintf(buf + pos, len - pos, "tx timeout count: %lu\n", in hclge_dbg_dump_ptp_info()
2313 pos += scnprintf(buf + pos, len - pos, "last tx seqid: %u\n", in hclge_dbg_dump_ptp_info()
2320 pos += scnprintf(buf + pos, len - pos, "sw_cfg: %#x, hw_cfg: %#x\n", in hclge_dbg_dump_ptp_info()
2323 pos += scnprintf(buf + pos, len - pos, "tx type: %d, rx filter: %d\n", in hclge_dbg_dump_ptp_info()