Lines Matching refs:table
148 struct iwl_umac_error_event_table table = {}; in iwl_fwrt_dump_umac_error_log() local
156 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_umac_error_log()
158 if (table.valid) in iwl_fwrt_dump_umac_error_log()
159 fwrt->dump.umac_err_id = table.error_id; in iwl_fwrt_dump_umac_error_log()
161 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_fwrt_dump_umac_error_log()
164 fwrt->trans->status, table.valid); in iwl_fwrt_dump_umac_error_log()
167 IWL_ERR(fwrt, "0x%08X | %s\n", table.error_id, in iwl_fwrt_dump_umac_error_log()
168 iwl_fw_lookup_assert_desc(table.error_id)); in iwl_fwrt_dump_umac_error_log()
169 IWL_ERR(fwrt, "0x%08X | umac branchlink1\n", table.blink1); in iwl_fwrt_dump_umac_error_log()
170 IWL_ERR(fwrt, "0x%08X | umac branchlink2\n", table.blink2); in iwl_fwrt_dump_umac_error_log()
171 IWL_ERR(fwrt, "0x%08X | umac interruptlink1\n", table.ilink1); in iwl_fwrt_dump_umac_error_log()
172 IWL_ERR(fwrt, "0x%08X | umac interruptlink2\n", table.ilink2); in iwl_fwrt_dump_umac_error_log()
173 IWL_ERR(fwrt, "0x%08X | umac data1\n", table.data1); in iwl_fwrt_dump_umac_error_log()
174 IWL_ERR(fwrt, "0x%08X | umac data2\n", table.data2); in iwl_fwrt_dump_umac_error_log()
175 IWL_ERR(fwrt, "0x%08X | umac data3\n", table.data3); in iwl_fwrt_dump_umac_error_log()
176 IWL_ERR(fwrt, "0x%08X | umac major\n", table.umac_major); in iwl_fwrt_dump_umac_error_log()
177 IWL_ERR(fwrt, "0x%08X | umac minor\n", table.umac_minor); in iwl_fwrt_dump_umac_error_log()
178 IWL_ERR(fwrt, "0x%08X | frame pointer\n", table.frame_pointer); in iwl_fwrt_dump_umac_error_log()
179 IWL_ERR(fwrt, "0x%08X | stack pointer\n", table.stack_pointer); in iwl_fwrt_dump_umac_error_log()
180 IWL_ERR(fwrt, "0x%08X | last host cmd\n", table.cmd_header); in iwl_fwrt_dump_umac_error_log()
181 IWL_ERR(fwrt, "0x%08X | isr status reg\n", table.nic_isr_pref); in iwl_fwrt_dump_umac_error_log()
187 struct iwl_error_event_table table = {}; in iwl_fwrt_dump_lmac_error_log() local
222 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_lmac_error_log()
224 if (table.valid) in iwl_fwrt_dump_lmac_error_log()
225 fwrt->dump.lmac_err_id[lmac_num] = table.error_id; in iwl_fwrt_dump_lmac_error_log()
227 if (ERROR_START_OFFSET <= table.valid * ERROR_ELEM_SIZE) { in iwl_fwrt_dump_lmac_error_log()
230 fwrt->trans->status, table.valid); in iwl_fwrt_dump_lmac_error_log()
237 IWL_ERR(fwrt, "0x%08X | %-28s\n", table.error_id, in iwl_fwrt_dump_lmac_error_log()
238 iwl_fw_lookup_assert_desc(table.error_id)); in iwl_fwrt_dump_lmac_error_log()
239 IWL_ERR(fwrt, "0x%08X | trm_hw_status0\n", table.trm_hw_status0); in iwl_fwrt_dump_lmac_error_log()
240 IWL_ERR(fwrt, "0x%08X | trm_hw_status1\n", table.trm_hw_status1); in iwl_fwrt_dump_lmac_error_log()
241 IWL_ERR(fwrt, "0x%08X | branchlink2\n", table.blink2); in iwl_fwrt_dump_lmac_error_log()
242 IWL_ERR(fwrt, "0x%08X | interruptlink1\n", table.ilink1); in iwl_fwrt_dump_lmac_error_log()
243 IWL_ERR(fwrt, "0x%08X | interruptlink2\n", table.ilink2); in iwl_fwrt_dump_lmac_error_log()
244 IWL_ERR(fwrt, "0x%08X | data1\n", table.data1); in iwl_fwrt_dump_lmac_error_log()
245 IWL_ERR(fwrt, "0x%08X | data2\n", table.data2); in iwl_fwrt_dump_lmac_error_log()
246 IWL_ERR(fwrt, "0x%08X | data3\n", table.data3); in iwl_fwrt_dump_lmac_error_log()
247 IWL_ERR(fwrt, "0x%08X | beacon time\n", table.bcon_time); in iwl_fwrt_dump_lmac_error_log()
248 IWL_ERR(fwrt, "0x%08X | tsf low\n", table.tsf_low); in iwl_fwrt_dump_lmac_error_log()
249 IWL_ERR(fwrt, "0x%08X | tsf hi\n", table.tsf_hi); in iwl_fwrt_dump_lmac_error_log()
250 IWL_ERR(fwrt, "0x%08X | time gp1\n", table.gp1); in iwl_fwrt_dump_lmac_error_log()
251 IWL_ERR(fwrt, "0x%08X | time gp2\n", table.gp2); in iwl_fwrt_dump_lmac_error_log()
252 IWL_ERR(fwrt, "0x%08X | uCode revision type\n", table.fw_rev_type); in iwl_fwrt_dump_lmac_error_log()
253 IWL_ERR(fwrt, "0x%08X | uCode version major\n", table.major); in iwl_fwrt_dump_lmac_error_log()
254 IWL_ERR(fwrt, "0x%08X | uCode version minor\n", table.minor); in iwl_fwrt_dump_lmac_error_log()
255 IWL_ERR(fwrt, "0x%08X | hw version\n", table.hw_ver); in iwl_fwrt_dump_lmac_error_log()
256 IWL_ERR(fwrt, "0x%08X | board version\n", table.brd_ver); in iwl_fwrt_dump_lmac_error_log()
257 IWL_ERR(fwrt, "0x%08X | hcmd\n", table.hcmd); in iwl_fwrt_dump_lmac_error_log()
258 IWL_ERR(fwrt, "0x%08X | isr0\n", table.isr0); in iwl_fwrt_dump_lmac_error_log()
259 IWL_ERR(fwrt, "0x%08X | isr1\n", table.isr1); in iwl_fwrt_dump_lmac_error_log()
260 IWL_ERR(fwrt, "0x%08X | isr2\n", table.isr2); in iwl_fwrt_dump_lmac_error_log()
261 IWL_ERR(fwrt, "0x%08X | isr3\n", table.isr3); in iwl_fwrt_dump_lmac_error_log()
262 IWL_ERR(fwrt, "0x%08X | isr4\n", table.isr4); in iwl_fwrt_dump_lmac_error_log()
263 IWL_ERR(fwrt, "0x%08X | last cmd Id\n", table.last_cmd_id); in iwl_fwrt_dump_lmac_error_log()
264 IWL_ERR(fwrt, "0x%08X | wait_event\n", table.wait_event); in iwl_fwrt_dump_lmac_error_log()
265 IWL_ERR(fwrt, "0x%08X | l2p_control\n", table.l2p_control); in iwl_fwrt_dump_lmac_error_log()
266 IWL_ERR(fwrt, "0x%08X | l2p_duration\n", table.l2p_duration); in iwl_fwrt_dump_lmac_error_log()
267 IWL_ERR(fwrt, "0x%08X | l2p_mhvalid\n", table.l2p_mhvalid); in iwl_fwrt_dump_lmac_error_log()
268 IWL_ERR(fwrt, "0x%08X | l2p_addr_match\n", table.l2p_addr_match); in iwl_fwrt_dump_lmac_error_log()
269 IWL_ERR(fwrt, "0x%08X | lmpm_pmg_sel\n", table.lmpm_pmg_sel); in iwl_fwrt_dump_lmac_error_log()
270 IWL_ERR(fwrt, "0x%08X | timestamp\n", table.u_timestamp); in iwl_fwrt_dump_lmac_error_log()
271 IWL_ERR(fwrt, "0x%08X | flow_handler\n", table.flow_handler); in iwl_fwrt_dump_lmac_error_log()
301 struct iwl_tcm_error_event_table table = {}; in iwl_fwrt_dump_tcm_error_log() local
310 iwl_trans_read_mem_bytes(trans, base, &table, sizeof(table)); in iwl_fwrt_dump_tcm_error_log()
313 IWL_ERR(fwrt, "0x%08X | error ID\n", table.error_id); in iwl_fwrt_dump_tcm_error_log()
314 IWL_ERR(fwrt, "0x%08X | tcm branchlink2\n", table.blink2); in iwl_fwrt_dump_tcm_error_log()
315 IWL_ERR(fwrt, "0x%08X | tcm interruptlink1\n", table.ilink1); in iwl_fwrt_dump_tcm_error_log()
316 IWL_ERR(fwrt, "0x%08X | tcm interruptlink2\n", table.ilink2); in iwl_fwrt_dump_tcm_error_log()
317 IWL_ERR(fwrt, "0x%08X | tcm data1\n", table.data1); in iwl_fwrt_dump_tcm_error_log()
318 IWL_ERR(fwrt, "0x%08X | tcm data2\n", table.data2); in iwl_fwrt_dump_tcm_error_log()
319 IWL_ERR(fwrt, "0x%08X | tcm data3\n", table.data3); in iwl_fwrt_dump_tcm_error_log()
320 IWL_ERR(fwrt, "0x%08X | tcm log PC\n", table.logpc); in iwl_fwrt_dump_tcm_error_log()
321 IWL_ERR(fwrt, "0x%08X | tcm frame pointer\n", table.frame_pointer); in iwl_fwrt_dump_tcm_error_log()
322 IWL_ERR(fwrt, "0x%08X | tcm stack pointer\n", table.stack_pointer); in iwl_fwrt_dump_tcm_error_log()
323 IWL_ERR(fwrt, "0x%08X | tcm msg ID\n", table.msgid); in iwl_fwrt_dump_tcm_error_log()
324 IWL_ERR(fwrt, "0x%08X | tcm ISR status\n", table.isr); in iwl_fwrt_dump_tcm_error_log()
325 for (i = 0; i < ARRAY_SIZE(table.hw_status); i++) in iwl_fwrt_dump_tcm_error_log()
327 table.hw_status[i], i); in iwl_fwrt_dump_tcm_error_log()
328 for (i = 0; i < ARRAY_SIZE(table.sw_status); i++) in iwl_fwrt_dump_tcm_error_log()
330 table.sw_status[i], i); in iwl_fwrt_dump_tcm_error_log()