Lines Matching refs:fw_mon
193 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_free_fw_monitor() local
195 if (!fw_mon->size) in iwl_pcie_free_fw_monitor()
198 dma_free_coherent(trans->dev, fw_mon->size, fw_mon->block, in iwl_pcie_free_fw_monitor()
199 fw_mon->physical); in iwl_pcie_free_fw_monitor()
201 fw_mon->block = NULL; in iwl_pcie_free_fw_monitor()
202 fw_mon->physical = 0; in iwl_pcie_free_fw_monitor()
203 fw_mon->size = 0; in iwl_pcie_free_fw_monitor()
209 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_alloc_fw_monitor_block() local
215 if (fw_mon->size) in iwl_pcie_alloc_fw_monitor_block()
240 fw_mon->block = block; in iwl_pcie_alloc_fw_monitor_block()
241 fw_mon->physical = physical; in iwl_pcie_alloc_fw_monitor_block()
242 fw_mon->size = size; in iwl_pcie_alloc_fw_monitor_block()
259 if (trans->dbg.fw_mon.size) in iwl_pcie_alloc_fw_monitor()
925 const struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_pcie_apply_destination() local
980 if (dest->monitor_mode == EXTERNAL_MODE && fw_mon->size) { in iwl_pcie_apply_destination()
982 fw_mon->physical >> dest->base_shift); in iwl_pcie_apply_destination()
985 (fw_mon->physical + fw_mon->size - in iwl_pcie_apply_destination()
989 (fw_mon->physical + fw_mon->size) >> in iwl_pcie_apply_destination()
2854 void *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read()
2893 size = trans->dbg.fw_mon.size - data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read()
3145 struct iwl_dram_data *fw_mon = &trans->dbg.fw_mon; in iwl_trans_pcie_dump_monitor() local
3149 (fw_mon->size && in iwl_trans_pcie_dump_monitor()
3160 if (fw_mon->size) { in iwl_trans_pcie_dump_monitor()
3161 memcpy(fw_mon_data->data, fw_mon->block, fw_mon->size); in iwl_trans_pcie_dump_monitor()
3162 monitor_len = fw_mon->size; in iwl_trans_pcie_dump_monitor()
3201 if (trans->dbg.fw_mon.size) { in iwl_trans_get_fw_monitor_len()
3204 trans->dbg.fw_mon.size; in iwl_trans_get_fw_monitor_len()
3205 return trans->dbg.fw_mon.size; in iwl_trans_get_fw_monitor_len()