Lines Matching refs:fw_mon
151 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_free_fw_monitor() local
153 if (!fw_mon->size) in iwl_pcie_free_fw_monitor()
156 dma_free_coherent(trans->dev, fw_mon->size, fw_mon->block, in iwl_pcie_free_fw_monitor()
157 fw_mon->physical); in iwl_pcie_free_fw_monitor()
159 fw_mon->block = NULL; in iwl_pcie_free_fw_monitor()
160 fw_mon->physical = 0; in iwl_pcie_free_fw_monitor()
161 fw_mon->size = 0; in iwl_pcie_free_fw_monitor()
167 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_alloc_fw_monitor_block() local
173 if (fw_mon->size) { in iwl_pcie_alloc_fw_monitor_block()
174 memset(fw_mon->block, 0, fw_mon->size); in iwl_pcie_alloc_fw_monitor_block()
201 fw_mon->block = block; in iwl_pcie_alloc_fw_monitor_block()
202 fw_mon->physical = physical; in iwl_pcie_alloc_fw_monitor_block()
203 fw_mon->size = size; in iwl_pcie_alloc_fw_monitor_block()
921 const struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_apply_destination() local
976 if (dest->monitor_mode == EXTERNAL_MODE && fw_mon->size) { in iwl_pcie_apply_destination()
978 fw_mon->physical >> dest->base_shift); in iwl_pcie_apply_destination()
981 (fw_mon->physical + fw_mon->size - in iwl_pcie_apply_destination()
985 (fw_mon->physical + fw_mon->size) >> in iwl_pcie_apply_destination()
2946 u8 *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read()
2985 size = trans->dbg.fw_mon.size - data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
3252 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_trans_pcie_dump_monitor() local
3256 (fw_mon->size && in iwl_trans_pcie_dump_monitor()
3267 if (fw_mon->size) { in iwl_trans_pcie_dump_monitor()
3268 memcpy(fw_mon_data->data, fw_mon->block, fw_mon->size); in iwl_trans_pcie_dump_monitor()
3269 monitor_len = fw_mon->size; in iwl_trans_pcie_dump_monitor()
3308 if (trans->dbg.fw_mon.size) { in iwl_trans_get_fw_monitor_len()
3311 trans->dbg.fw_mon.size; in iwl_trans_get_fw_monitor_len()
3312 return trans->dbg.fw_mon.size; in iwl_trans_get_fw_monitor_len()