Lines Matching refs:entity_hdr
161 struct cudbg_entity_hdr *entity_hdr, in cudbg_view_decompress_buff() argument
167 c_buff->data = pbuf + entity_hdr->start_offset; in cudbg_view_decompress_buff()
169 if (entity_hdr->num_pad) in cudbg_view_decompress_buff()
170 c_buff->size = entity_hdr->size - entity_hdr->num_pad; in cudbg_view_decompress_buff()
172 c_buff->size = entity_hdr->size; in cudbg_view_decompress_buff()
254 struct cudbg_entity_hdr *entity_hdr = NULL; in view_ext_entity() local
260 entity_hdr = (struct cudbg_entity_hdr *) in view_ext_entity()
265 while ((entity_hdr->flag & CUDBG_EXT_DATA_VALID) in view_ext_entity()
267 entity_type = entity_hdr->entity_type; in view_ext_entity()
268 if (entity_hdr->sys_warn) in view_ext_entity()
271 entity_hdr->sys_warn); in view_ext_entity()
273 if (entity_hdr->hdr_flags) { in view_ext_entity()
276 err_msg[-entity_hdr->hdr_flags]); in view_ext_entity()
277 if (entity_hdr->sys_err) in view_ext_entity()
279 entity_hdr->sys_err); in view_ext_entity()
281 next_ext_offset = entity_hdr->next_ext_offset; in view_ext_entity()
282 entity_hdr = (struct cudbg_entity_hdr *) in view_ext_entity()
287 if (entity_hdr->size > 0) { in view_ext_entity()
288 total_size += entity_hdr->size + in view_ext_entity()
293 entity_hdr, in view_ext_entity()
299 next_ext_offset = entity_hdr->next_ext_offset; in view_ext_entity()
300 entity_hdr = (struct cudbg_entity_hdr *) in view_ext_entity()
362 struct cudbg_entity_hdr *entity_hdr; in cudbg_view() local
424 entity_hdr = in cudbg_view()
427 if (entity_hdr->sys_warn) in cudbg_view()
430 entity_hdr->sys_warn); in cudbg_view()
432 if (entity_hdr->hdr_flags) { in cudbg_view()
436 err_msg[-entity_hdr->hdr_flags]); in cudbg_view()
437 if (entity_hdr->sys_err) in cudbg_view()
439 entity_hdr->sys_err); in cudbg_view()
447 if (entity_hdr->size > 0) { in cudbg_view()
461 entity_hdr->size); in cudbg_view()
463 if (entity_hdr->entity_type != in cudbg_view()
471 entity_hdr, in cudbg_view()
523 view_cim_q(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cim_q() argument
531 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_q()
546 view_cim_la_t6(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cim_la_t6() argument
553 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_la_t6()
604 view_cim_la_t5(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cim_la_t5() argument
611 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_la_t5()
657 view_cim_la(char *pbuf, struct cudbg_entity_hdr *entity_hdr, 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()
671 view_cim_ma_la(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cim_ma_la() argument
678 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_ma_la()
709 view_cim_qcfg(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cim_qcfg() argument
721 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_qcfg()
783 copy_bin_data(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in copy_bin_data() argument
792 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in copy_bin_data()
845 view_sw_state(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_sw_state() argument
855 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_sw_state()
895 view_cpl_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cpl_stats() argument
903 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cpl_stats()
933 view_ddp_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_ddp_stats() argument
940 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ddp_stats()
956 view_macstats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_macstats() argument
966 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_macstats()
1106 view_ulptx_la(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_ulptx_la() argument
1114 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ulptx_la()
1186 view_ulprx_la(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_ulprx_la() argument
1194 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ulprx_la()
1212 view_wc_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_wc_stats() argument
1219 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_wc_stats()
1307 view_tp_la(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_tp_la() argument
1316 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tp_la()
1420 view_meminfo(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_meminfo() argument
1428 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_meminfo()
1530 view_lb_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_lb_stats() argument
1539 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_lb_stats()
1563 view_rdma_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_rdma_stats() argument
1570 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rdma_stats()
1584 view_clk_info(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_clk_info() argument
1592 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_clk_info()
1637 view_cim_pif_la(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cim_pif_la() argument
1645 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_pif_la()
1673 view_fcoe_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_fcoe_stats() argument
1681 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_fcoe_stats()
1720 view_tp_err_stats_show(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_tp_err_stats_show() argument
1729 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tp_err_stats_show()
1802 view_tcp_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_tcp_stats() argument
1809 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tcp_stats()
1833 view_hw_sched(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_hw_sched() argument
1840 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_hw_sched()
1881 view_pm_stats(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_pm_stats() argument
1894 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pm_stats()
1948 view_path_mtu(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_path_mtu() argument
1955 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_path_mtu()
1970 view_rss_config(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_rss_config() argument
1984 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_config()
2169 view_rss_key(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_rss_key() argument
2176 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_key()
2190 view_rss_vf_config(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_rss_vf_config() argument
2197 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_vf_config()
2232 view_rss_pf_config(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_rss_pf_config() argument
2239 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_pf_config()
2284 view_rss(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_rss() argument
2292 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss()
2309 view_fw_devlog(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_fw_devlog() argument
2320 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_fw_devlog()
2530 view_reg_dump(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_reg_dump() argument
2537 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_reg_dump()
2550 t6_view_wtp(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in t6_view_wtp() argument
2634 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in t6_view_wtp()
3004 t5_view_wtp(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in t5_view_wtp() argument
3084 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in t5_view_wtp()
3503 view_wtp(char *pbuf, struct cudbg_entity_hdr *entity_hdr, 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()
3563 view_cctrl(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_cctrl() argument
3571 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cctrl()
3591 view_up_cim_indirect(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_up_cim_indirect() argument
3602 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_up_cim_indirect()
3671 view_mbox_log(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_mbox_log() argument
3679 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_mbox_log()
3706 view_pbt_tables(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_pbt_tables() argument
3715 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pbt_tables()
3767 view_ma_indirect(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_ma_indirect() argument
3777 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ma_indirect()
3800 view_hma_indirect(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_hma_indirect() argument
3810 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_hma_indirect()
3832 view_pm_indirect(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_pm_indirect() argument
3842 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pm_indirect()
3884 view_tx_rate(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_tx_rate() argument
3891 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tx_rate()
3928 view_tid(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_tid() argument
3937 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tid()
4044 view_mps_tcam(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_mps_tcam() argument
4052 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_mps_tcam()
4197 view_dump_context(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_dump_context() argument
4205 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_dump_context()
4254 view_le_tcam(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_le_tcam() argument
4266 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_le_tcam()
4351 view_pcie_config(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_pcie_config() argument
4358 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pcie_config()
4373 view_pcie_indirect(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_pcie_indirect() argument
4383 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pcie_indirect()
4423 view_tp_indirect(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_tp_indirect() argument
4434 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tp_indirect()
4626 view_sge_indirect(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_sge_indirect() argument
4638 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_sge_indirect()
4687 view_full_t6(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_full_t6() argument
4700 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_full_t6()
4780 view_full_t5(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_full_t5() argument
4792 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_full_t5()
4887 view_full(char *pbuf, struct cudbg_entity_hdr *entity_hdr, 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()
4901 view_vpd_data(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_vpd_data() argument
4908 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_vpd_data()
4930 view_upload(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_upload() argument
4937 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_upload()
5016 view_qdesc(char *pbuf, struct cudbg_entity_hdr *entity_hdr, in view_qdesc() argument
5029 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_qdesc()