Lines Matching refs:cudbg_poutbuf

251 		struct cudbg_buffer *cudbg_poutbuf,  in view_ext_entity()  argument
294 cudbg_poutbuf, in view_ext_entity()
361 struct cudbg_buffer cudbg_poutbuf = {0}; in cudbg_view() local
446 memset(&cudbg_poutbuf, 0, sizeof(cudbg_poutbuf)); in cudbg_view()
449 cudbg_poutbuf.data = poutbuf; in cudbg_view()
454 cudbg_poutbuf.size = (u32)*poutbuf_size; in cudbg_view()
455 cudbg_poutbuf.offset = 0; in cudbg_view()
472 &cudbg_poutbuf, in cudbg_view()
511 *poutbuf_size = cudbg_poutbuf.size; in cudbg_view()
518 *poutbuf_size = cudbg_poutbuf.size; in cudbg_view()
524 struct cudbg_buffer *cudbg_poutbuf, in view_cim_q() argument
547 struct cudbg_buffer *cudbg_poutbuf) in view_cim_la_t6() argument
605 struct cudbg_buffer *cudbg_poutbuf) in view_cim_la_t5() argument
658 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_cim_la() argument
663 rc = view_cim_la_t5(pbuf, entity_hdr, cudbg_poutbuf); in view_cim_la()
665 rc = view_cim_la_t6(pbuf, entity_hdr, cudbg_poutbuf); in view_cim_la()
672 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_cim_ma_la() argument
710 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_cim_qcfg() argument
784 const char *fname, struct cudbg_buffer *cudbg_poutbuf) in copy_bin_data() argument
789 if (cudbg_poutbuf->data == NULL) in copy_bin_data()
796 if (dc_buff.size > cudbg_poutbuf->size) { in copy_bin_data()
798 cudbg_poutbuf->size = dc_buff.size; in copy_bin_data()
802 memcpy(cudbg_poutbuf->data, dc_buff.data, dc_buff.size); in copy_bin_data()
803 cudbg_poutbuf->size = dc_buff.size; in copy_bin_data()
811 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_edc0_data() argument
813 return copy_bin_data(pbuf, ent_hdr, "_cudbg_edc0.bin", cudbg_poutbuf); in view_edc0_data()
818 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_edc1_data() argument
820 return copy_bin_data(pbuf, ent_hdr, "_cudbg_edc1.bin", cudbg_poutbuf); in view_edc1_data()
825 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_mc0_data() argument
827 return copy_bin_data(pbuf, ent_hdr, "_cudbg_mc0.bin", cudbg_poutbuf); in view_mc0_data()
832 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_mc1_data() argument
834 return copy_bin_data(pbuf, ent_hdr, "_cudbg_mc1.bin", cudbg_poutbuf); in view_mc1_data()
839 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_hma_data() argument
841 return copy_bin_data(pbuf, ent_hdr, "_cudbg_hma.bin", cudbg_poutbuf); in view_hma_data()
846 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_sw_state() argument
896 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_cpl_stats() argument
934 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_ddp_stats() argument
957 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_macstats() argument
1107 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_ulptx_la() argument
1124 rc = view_ulptx_la_rev0(dc_buff.data, cudbg_poutbuf); in view_ulptx_la()
1128 rc = view_ulptx_la_rev0(data, cudbg_poutbuf); in view_ulptx_la()
1187 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_ulprx_la() argument
1213 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_wc_stats() argument
1235 struct cudbg_buffer *cudbg_poutbuf) in field_desc_show() argument
1260 tp_la_show(void *v, int idx, struct cudbg_buffer *cudbg_poutbuf) in tp_la_show() argument
1265 rc = field_desc_show(*p, tp_la0, cudbg_poutbuf); in tp_la_show()
1270 tp_la_show2(void *v, int idx, struct cudbg_buffer *cudbg_poutbuf) in tp_la_show2() argument
1277 rc = field_desc_show(p[0], tp_la0, cudbg_poutbuf); in tp_la_show2()
1281 rc = field_desc_show(p[1], tp_la0, cudbg_poutbuf); in tp_la_show2()
1288 tp_la_show3(void *v, int idx, struct cudbg_buffer *cudbg_poutbuf) in tp_la_show3() argument
1295 rc = field_desc_show(p[0], tp_la0, cudbg_poutbuf); in tp_la_show3()
1300 cudbg_poutbuf); in tp_la_show3()
1308 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_tp_la() argument
1311 struct cudbg_buffer *cudbg_poutbuf); in view_tp_la()
1333 rc = la_show((u64 *)tp_la_buff->data + i*2, i, cudbg_poutbuf); in view_tp_la()
1406 struct cudbg_buffer *cudbg_poutbuf) in mem_region_show() argument
1421 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_meminfo() argument
1452 cudbg_poutbuf); in view_meminfo()
1467 meminfo_buff->mem[i].limit, cudbg_poutbuf); in view_meminfo()
1473 meminfo_buff->up_ram_hi, cudbg_poutbuf); in view_meminfo()
1477 meminfo_buff->up_extmem2_hi, cudbg_poutbuf); in view_meminfo()
1531 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_lb_stats() argument
1564 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_rdma_stats() argument
1585 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_clk_info() argument
1638 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_cim_pif_la() argument
1674 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_fcoe_stats() argument
1721 struct cudbg_buffer *cudbg_poutbuf, in view_tp_err_stats_show() argument
1803 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_tcp_stats() argument
1834 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_hw_sched() argument
1882 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_pm_stats() argument
1949 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_path_mtu() argument
1971 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_rss_config() argument
2170 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_rss_key() argument
2191 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_rss_vf_config() argument
2233 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_rss_pf_config() argument
2285 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_rss() argument
2310 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_fw_devlog() argument
2395 struct cudbg_buffer *cudbg_poutbuf) in dump_block_regs() argument
2426 struct cudbg_buffer *cudbg_poutbuf) in dump_regs_table() argument
2433 regs + modtab->offset, cudbg_poutbuf); in dump_regs_table()
2445 dump_regs_t6(const u32 *regs, struct cudbg_buffer *cudbg_poutbuf) in dump_regs_t6() argument
2481 "mac, hma", cudbg_poutbuf); in dump_regs_t6()
2488 dump_regs_t5(const u32 *regs, struct cudbg_buffer *cudbg_poutbuf) in dump_regs_t5() argument
2525 "mac, hma", cudbg_poutbuf); in dump_regs_t5()
2531 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_reg_dump() argument
2543 rc = dump_regs_t5((u32 *)regs, cudbg_poutbuf); in view_reg_dump()
2545 rc = dump_regs_t6((u32 *)regs, cudbg_poutbuf); in view_reg_dump()
2551 struct cudbg_buffer *cudbg_poutbuf) in t6_view_wtp() argument
3005 struct cudbg_buffer *cudbg_poutbuf) in t5_view_wtp() argument
3504 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_wtp() argument
3509 rc = t5_view_wtp(pbuf, entity_hdr, cudbg_poutbuf); in view_wtp()
3511 rc = t6_view_wtp(pbuf, entity_hdr, cudbg_poutbuf); in view_wtp()
3533 struct cudbg_buffer *cudbg_poutbuf) in dump_indirect_regs() argument
3564 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_cctrl() argument
3592 struct cudbg_buffer *cudbg_poutbuf, in view_up_cim_indirect() argument
3620 cudbg_poutbuf); in view_up_cim_indirect()
3625 cudbg_poutbuf); in view_up_cim_indirect()
3643 print_pbt_addr_entry(struct cudbg_buffer *cudbg_poutbuf, u32 val) in print_pbt_addr_entry() argument
3672 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_mbox_log() argument
3707 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_pbt_tables() argument
3727 rc = print_pbt_addr_entry(cudbg_poutbuf, pbt->pbt_dynamic[i]); in view_pbt_tables()
3739 rc = print_pbt_addr_entry(cudbg_poutbuf, pbt->pbt_static[i]); in view_pbt_tables()
3768 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_ma_indirect() argument
3789 (const u32 *) buff, cudbg_poutbuf); in view_ma_indirect()
3801 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_hma_indirect() argument
3821 (const u32 *) buff, cudbg_poutbuf); in view_hma_indirect()
3833 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_pm_indirect() argument
3848 if (!cudbg_poutbuf->data) in view_pm_indirect()
3857 (const u32 *) buff, cudbg_poutbuf); in view_pm_indirect()
3864 if (!cudbg_poutbuf->data) in view_pm_indirect()
3873 (const u32 *) buff, cudbg_poutbuf); in view_pm_indirect()
3885 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_tx_rate() argument
3929 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_tid() argument
4002 struct cudbg_buffer *cudbg_poutbuf) in show_cntxt() argument
4045 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_mps_tcam() argument
4198 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_dump_context() argument
4223 cudbg_poutbuf); in view_dump_context()
4226 cudbg_poutbuf); in view_dump_context()
4230 cudbg_poutbuf); in view_dump_context()
4233 cudbg_poutbuf); in view_dump_context()
4235 rc = show_cntxt(context, t5_cnm_cntxt, cudbg_poutbuf); in view_dump_context()
4239 cudbg_poutbuf); in view_dump_context()
4242 cudbg_poutbuf); in view_dump_context()
4255 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_le_tcam() argument
4352 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_pcie_config() argument
4362 if (!cudbg_poutbuf->data) in view_pcie_config()
4367 (const u32 *)pcie_config, cudbg_poutbuf); in view_pcie_config()
4374 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_pcie_indirect() argument
4387 if (!cudbg_poutbuf->data) in view_pcie_indirect()
4397 (const u32 *) buff, cudbg_poutbuf); in view_pcie_indirect()
4403 if (!cudbg_poutbuf->data) in view_pcie_indirect()
4412 (const u32 *) buff, cudbg_poutbuf); in view_pcie_indirect()
4424 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_tp_indirect() argument
4442 if (!cudbg_poutbuf->data) in view_tp_indirect()
4456 cudbg_poutbuf); in view_tp_indirect()
4460 cudbg_poutbuf); in view_tp_indirect()
4469 if (!cudbg_poutbuf->data) in view_tp_indirect()
4484 cudbg_poutbuf); in view_tp_indirect()
4488 cudbg_poutbuf); in view_tp_indirect()
4496 if (!cudbg_poutbuf->data) in view_tp_indirect()
4556 int idx_map, struct cudbg_buffer *cudbg_poutbuf) in print_t6_sge_reg_value() argument
4583 int isPF, struct cudbg_buffer *cudbg_poutbuf) in print_sge_qbase() argument
4610 data_value[0], idx_map0, cudbg_poutbuf); in print_sge_qbase()
4613 data_value[1], idx_map1, cudbg_poutbuf); in print_sge_qbase()
4616 data_value[2], idx_map2, cudbg_poutbuf); in print_sge_qbase()
4619 data_value[3], idx_map3, cudbg_poutbuf); in print_sge_qbase()
4627 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_sge_indirect() argument
4677 print_sge_qbase(sge_qbase, 8, 1, cudbg_poutbuf); in view_sge_indirect()
4679 cudbg_poutbuf); in view_sge_indirect()
4688 struct cudbg_buffer *cudbg_poutbuf) in view_full_t6() argument
4781 struct cudbg_buffer *cudbg_poutbuf) in view_full_t5() argument
4888 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_full() argument
4893 rc = view_full_t5(pbuf, entity_hdr, cudbg_poutbuf); in view_full()
4895 rc = view_full_t6(pbuf, entity_hdr, cudbg_poutbuf); in view_full()
4902 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_vpd_data() argument
4931 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_upload() argument
5017 struct cudbg_buffer *cudbg_poutbuf, enum chip_type chip) in view_qdesc() argument