Lines Matching refs:dc_buff

163 			   struct cudbg_buffer *dc_buff)  in cudbg_view_decompress_buff()  argument
174 memset(dc_buff, 0, sizeof(struct cudbg_buffer)); in cudbg_view_decompress_buff()
180 rc = decompress_buffer_wrapper(c_buff, dc_buff); in cudbg_view_decompress_buff()
182 free(dc_buff->data); in cudbg_view_decompress_buff()
527 struct cudbg_buffer c_buff, dc_buff; in view_cim_q() local
531 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_q()
535 pdata = (u32 *)dc_buff.data; in view_cim_q()
536 for (i = 0; i < dc_buff.offset / 4; i += 4) in view_cim_q()
549 struct cudbg_buffer c_buff, dc_buff; in view_cim_la_t6() local
553 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_la_t6()
557 dc_size = dc_buff.offset; in view_cim_la_t6()
558 p = (u32 *)((char *)dc_buff.data + sizeof(cfg)); in view_cim_la_t6()
559 cfg = *((u32 *)dc_buff.data); in view_cim_la_t6()
607 struct cudbg_buffer c_buff, dc_buff; in view_cim_la_t5() local
611 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_la_t5()
615 dc_size = dc_buff.offset; in view_cim_la_t5()
616 p = (u32 *)((char *)dc_buff.data + sizeof(cfg)); in view_cim_la_t5()
617 cfg = *((u32 *)dc_buff.data); in view_cim_la_t5()
674 struct cudbg_buffer c_buff, dc_buff; in view_cim_ma_la() local
678 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_ma_la()
682 p = (u32 *)dc_buff.data; in view_cim_ma_la()
716 struct cudbg_buffer c_buff, dc_buff; in view_cim_qcfg() local
721 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_qcfg()
725 q_cfg_data = (struct struct_cim_qcfg *) (dc_buff.data); in view_cim_qcfg()
786 struct cudbg_buffer c_buff, dc_buff; in copy_bin_data() local
792 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); 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()
848 struct cudbg_buffer c_buff, dc_buff; in view_sw_state() local
855 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_sw_state()
859 swstate = (struct sw_state *) dc_buff.data; in view_sw_state()
899 struct cudbg_buffer c_buff, dc_buff; in view_cpl_stats() local
903 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cpl_stats()
907 tp_cpl_stats_buff = (struct struct_tp_cpl_stats *) dc_buff.data; in view_cpl_stats()
937 struct cudbg_buffer c_buff, dc_buff; in view_ddp_stats() local
940 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ddp_stats()
944 tp_usm_stats_buff = (struct tp_usm_stats *) dc_buff.data; in view_ddp_stats()
961 struct cudbg_buffer c_buff, dc_buff; in view_macstats() local
966 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_macstats()
970 rev = get_entity_rev((struct cudbg_ver_hdr *)dc_buff.data); in view_macstats()
972 macstats_buff1 = (struct struct_mac_stats_rev1 *)(dc_buff.data); in view_macstats()
977 mac_stats_buff = (struct struct_mac_stats *)(dc_buff.data); in view_macstats()
1110 struct cudbg_buffer c_buff, dc_buff; in view_ulptx_la() local
1114 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ulptx_la()
1118 data = dc_buff.data + sizeof(struct cudbg_ver_hdr); in view_ulptx_la()
1119 rev = get_entity_rev((struct cudbg_ver_hdr *)dc_buff.data); in view_ulptx_la()
1124 rc = view_ulptx_la_rev0(dc_buff.data, cudbg_poutbuf); in view_ulptx_la()
1190 struct cudbg_buffer c_buff, dc_buff; in view_ulprx_la() local
1194 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ulprx_la()
1198 ulprx_la_buff = (struct struct_ulprx_la *) dc_buff.data; in view_ulprx_la()
1216 struct cudbg_buffer c_buff, dc_buff; in view_wc_stats() local
1219 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_wc_stats()
1223 wc_stats_buff = (struct struct_wc_stats *) dc_buff.data; in view_wc_stats()
1312 struct cudbg_buffer c_buff, dc_buff; in view_tp_la() local
1316 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tp_la()
1320 tp_la_buff = (struct struct_tp_la *) dc_buff.data; in view_tp_la()
1424 struct cudbg_buffer c_buff, dc_buff; in view_meminfo() local
1428 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_meminfo()
1432 rev = get_entity_rev((struct cudbg_ver_hdr *)dc_buff.data); in view_meminfo()
1435 meminfo_buff = (struct struct_meminfo *)dc_buff.data; in view_meminfo()
1439 (dc_buff.data + in view_meminfo()
1534 struct cudbg_buffer c_buff, dc_buff; in view_lb_stats() local
1539 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_lb_stats()
1543 lb_stats_buff = (struct struct_lb_stats *) dc_buff.data; in view_lb_stats()
1567 struct cudbg_buffer c_buff, dc_buff; in view_rdma_stats() local
1570 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rdma_stats()
1574 rdma_stats_buff = (struct tp_rdma_stats *) dc_buff.data; in view_rdma_stats()
1588 struct cudbg_buffer c_buff, dc_buff; in view_clk_info() local
1592 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_clk_info()
1596 clk_info_buff = (struct struct_clk_info *) dc_buff.data; in view_clk_info()
1640 struct cudbg_buffer c_buff, dc_buff; in view_cim_pif_la() local
1645 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cim_pif_la()
1649 cim_pif_la_buff = (struct cim_pif_la *) dc_buff.data; in view_cim_pif_la()
1677 struct cudbg_buffer c_buff, dc_buff; in view_fcoe_stats() local
1681 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_fcoe_stats()
1685 tp_fcoe_stats_buff = (struct struct_tp_fcoe_stats *) dc_buff.data; in view_fcoe_stats()
1725 struct cudbg_buffer c_buff, dc_buff; in view_tp_err_stats_show() local
1729 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tp_err_stats_show()
1733 tp_err_stats_buff = (struct struct_tp_err_stats *) dc_buff.data; in view_tp_err_stats_show()
1806 struct cudbg_buffer c_buff, dc_buff; in view_tcp_stats() local
1809 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tcp_stats()
1813 tcp_stats_buff = (struct struct_tcp_stats *) dc_buff.data; in view_tcp_stats()
1837 struct cudbg_buffer c_buff, dc_buff; in view_hw_sched() local
1840 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_hw_sched()
1844 hw_sched_buff = (struct struct_hw_sched *)dc_buff.data; in view_hw_sched()
1891 struct cudbg_buffer c_buff, dc_buff; in view_pm_stats() local
1894 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pm_stats()
1898 pm_stats_buff = (struct struct_pm_stats *)dc_buff.data; in view_pm_stats()
1951 struct cudbg_buffer c_buff, dc_buff; in view_path_mtu() local
1955 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_path_mtu()
1959 mtus = (u16 *)dc_buff.data; in view_path_mtu()
1979 struct cudbg_buffer c_buff, dc_buff; in view_rss_config() local
1984 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_config()
1988 struct_rss_conf = (struct rss_config *)dc_buff.data; in view_rss_config()
2172 struct cudbg_buffer c_buff, dc_buff; in view_rss_key() local
2176 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_key()
2180 key = (u32 *)dc_buff.data; in view_rss_key()
2193 struct cudbg_buffer c_buff, dc_buff; in view_rss_vf_config() local
2197 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_vf_config()
2201 vfconf = (struct rss_vf_conf *) dc_buff.data; in view_rss_vf_config()
2208 for (i = 0; i < dc_buff.offset/sizeof(*vfconf); i += 1) { in view_rss_vf_config()
2235 struct cudbg_buffer c_buff, dc_buff; in view_rss_pf_config() local
2239 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss_pf_config()
2243 pfconf = (struct rss_pf_conf *) dc_buff.data; in view_rss_pf_config()
2258 for (i = 0; i < dc_buff.offset/sizeof(*pfconf); i += 1) { in view_rss_pf_config()
2287 struct cudbg_buffer c_buff, dc_buff; in view_rss() local
2292 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_rss()
2296 pdata = (u16 *) dc_buff.data; in view_rss()
2297 for (i = 0; i < dc_buff.offset / 2; i += 8) { in view_rss()
2312 struct cudbg_buffer c_buff, dc_buff; in view_fw_devlog() local
2320 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_fw_devlog()
2324 translate_fw_devlog(dc_buff.data, dc_buff.offset, in view_fw_devlog()
2327 devlog = (struct fw_devlog_e *)(dc_buff.data); in view_fw_devlog()
2533 struct cudbg_buffer c_buff, dc_buff; in view_reg_dump() local
2537 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_reg_dump()
2541 regs = (u32 *) ((unsigned int *)dc_buff.data); in view_reg_dump()
2553 struct cudbg_buffer c_buff, dc_buff; in t6_view_wtp() local
2634 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in t6_view_wtp()
2638 wtp = (struct wtp_data *) dc_buff.data; in t6_view_wtp()
3007 struct cudbg_buffer c_buff, dc_buff; in t5_view_wtp() local
3084 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in t5_view_wtp()
3088 wtp = (struct wtp_data *) dc_buff.data; in t5_view_wtp()
3566 struct cudbg_buffer c_buff, dc_buff; in view_cctrl() local
3571 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_cctrl()
3575 incr = (void *)dc_buff.data; in view_cctrl()
3595 struct cudbg_buffer c_buff, dc_buff; in view_up_cim_indirect() local
3602 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_up_cim_indirect()
3607 up_cim_indr = (struct ireg_buf *)dc_buff.data; in view_up_cim_indirect()
3634 if ((char *)up_cim_indr >= (dc_buff.data + dc_buff.size)) in view_up_cim_indirect()
3675 struct cudbg_buffer c_buff, dc_buff; in view_mbox_log() local
3679 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_mbox_log()
3683 mbox_cmds = (u16)dc_buff.size / sizeof(struct cudbg_mbox_log); in view_mbox_log()
3684 mboxlog = (struct cudbg_mbox_log *)dc_buff.data; in view_mbox_log()
3709 struct cudbg_buffer c_buff, dc_buff; in view_pbt_tables() local
3715 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pbt_tables()
3719 pbt = (struct cudbg_pbt_tables *)dc_buff.data; in view_pbt_tables()
3770 struct cudbg_buffer c_buff, dc_buff; in view_ma_indirect() local
3777 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_ma_indirect()
3782 ma_indr = (struct ireg_buf *)dc_buff.data; in view_ma_indirect()
3803 struct cudbg_buffer c_buff, dc_buff; in view_hma_indirect() local
3810 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_hma_indirect()
3815 hma_indr = (struct ireg_buf *)dc_buff.data; in view_hma_indirect()
3835 struct cudbg_buffer c_buff, dc_buff; in view_pm_indirect() local
3842 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pm_indirect()
3846 ch_pm = (struct ireg_buf *)dc_buff.data; in view_pm_indirect()
3887 struct cudbg_buffer c_buff, dc_buff; in view_tx_rate() local
3891 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tx_rate()
3895 tx_rate = (struct tx_rate *)dc_buff.data; in view_tx_rate()
3931 struct cudbg_buffer c_buff, dc_buff; in view_tid() local
3937 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tid()
3941 rev = get_entity_rev((struct cudbg_ver_hdr *)dc_buff.data); in view_tid()
3943 tid1 = (struct tid_info_region_rev1 *)(dc_buff.data); in view_tid()
3947 tid = (struct tid_info_region *)dc_buff.data; in view_tid()
4047 struct cudbg_buffer c_buff, dc_buff; in view_mps_tcam() local
4052 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_mps_tcam()
4056 n = dc_buff.size / sizeof(struct cudbg_mps_tcam); in view_mps_tcam()
4057 tcam = (struct cudbg_mps_tcam *)dc_buff.data; in view_mps_tcam()
4200 struct cudbg_buffer c_buff, dc_buff; in view_dump_context() local
4205 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_dump_context()
4209 n = dc_buff.size / sizeof(struct cudbg_ch_cntxt); in view_dump_context()
4210 context = (struct cudbg_ch_cntxt *)dc_buff.data; in view_dump_context()
4262 struct cudbg_buffer c_buff, dc_buff; in view_le_tcam() local
4266 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_le_tcam()
4270 tcam_region = (struct cudbg_tcam *)dc_buff.data; in view_le_tcam()
4354 struct cudbg_buffer c_buff, dc_buff; in view_pcie_config() local
4358 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pcie_config()
4365 pcie_config = (u32 *)dc_buff.data; in view_pcie_config()
4376 struct cudbg_buffer c_buff, dc_buff; in view_pcie_indirect() local
4383 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_pcie_indirect()
4391 ch_pcie = (struct ireg_buf *)dc_buff.data; in view_pcie_indirect()
4426 struct cudbg_buffer c_buff, dc_buff; in view_tp_indirect() local
4434 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_tp_indirect()
4438 ch_tp_pio = (struct ireg_buf *)dc_buff.data; in view_tp_indirect()
4629 struct cudbg_buffer c_buff, dc_buff; in view_sge_indirect() local
4638 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_sge_indirect()
4642 pkey = (u32 *) (dc_buff.data + sizeof(struct ireg_field)); in view_sge_indirect()
4670 dc_buff.offset = 2 * sizeof(struct ireg_buf); in view_sge_indirect()
4672 if (dc_buff.size <= dc_buff.offset) in view_sge_indirect()
4675 sge_qbase = (struct sge_qbase_reg_field *)(dc_buff.data + in view_sge_indirect()
4676 dc_buff.offset); in view_sge_indirect()
4694 struct cudbg_buffer c_buff, dc_buff; in view_full_t6() local
4700 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_full_t6()
4704 sp = (u32 *)dc_buff.data; in view_full_t6()
4785 struct cudbg_buffer c_buff, dc_buff; in view_full_t5() local
4792 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_full_t5()
4796 sp = (u32 *)dc_buff.data; in view_full_t5()
4904 struct cudbg_buffer c_buff, dc_buff; in view_vpd_data() local
4908 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_vpd_data()
4912 vpd_data = (struct struct_vpd_data *) dc_buff.data; in view_vpd_data()
4933 struct cudbg_buffer c_buff, dc_buff; in view_upload() local
4937 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_upload()
4941 value = (u32 *) dc_buff.data; in view_upload()
5021 struct cudbg_buffer c_buff, dc_buff; in view_qdesc() local
5029 rc = cudbg_view_decompress_buff(pbuf, entity_hdr, &c_buff, &dc_buff); in view_qdesc()
5033 ver_hdr = (struct cudbg_ver_hdr *)dc_buff.data; in view_qdesc()
5035 (dc_buff.data + sizeof(*ver_hdr)); in view_qdesc()