Lines Matching refs:trans
221 iwl_trans_ref(mvm->trans); in iwl_mvm_ref()
233 iwl_trans_unref(mvm->trans); in iwl_mvm_unref()
252 iwl_trans_unref(mvm->trans); in iwl_mvm_unref_all_except()
328 regd = iwl_parse_nvm_mcc_info(mvm->trans->dev, mvm->cfg, in iwl_mvm_get_regdomain()
562 hw->wiphy->hw_version = mvm->trans->hw_id; in iwl_mvm_mac_setup_register()
611 device_can_wakeup(mvm->trans->dev)) { in iwl_mvm_mac_setup_register()
617 mvm->trans->ops->d3_suspend && in iwl_mvm_mac_setup_register()
618 mvm->trans->ops->d3_resume && in iwl_mvm_mac_setup_register()
619 device_can_wakeup(mvm->trans->dev)) { in iwl_mvm_mac_setup_register()
994 if (!iwl_trans_grab_nic_access(mvm->trans, false, &flags)) in iwl_mvm_dump_fifos()
1019 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1023 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1027 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1031 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1035 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1040 iwl_trans_write_prph(mvm->trans, in iwl_mvm_dump_fifos()
1043 iwl_trans_write_prph(mvm->trans, in iwl_mvm_dump_fifos()
1046 iwl_trans_write_prph(mvm->trans, in iwl_mvm_dump_fifos()
1053 fifo_data[j] = iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1062 iwl_trans_write_prph(mvm->trans, TXF_LARC_NUM, i); in iwl_mvm_dump_fifos()
1078 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1081 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1084 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1087 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1090 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1094 iwl_trans_write_prph(mvm->trans, TXF_READ_MODIFY_ADDR, in iwl_mvm_dump_fifos()
1098 iwl_trans_read_prph(mvm->trans, TXF_READ_MODIFY_DATA); in iwl_mvm_dump_fifos()
1103 fifo_data[j] = iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1108 iwl_trans_release_nic_access(mvm->trans, &flags); in iwl_mvm_dump_fifos()
1141 if (test_bit(STATUS_TRANS_DEAD, &mvm->trans->status)) { in iwl_mvm_fw_error_dump()
1167 if (test_bit(STATUS_FW_ERROR, &mvm->trans->status)) { in iwl_mvm_fw_error_dump()
1226 CSR_HW_REV_STEP(mvm->trans->hw_rev) == SILICON_B_STEP) in iwl_mvm_fw_error_dump()
1253 dump_info->hw_step = cpu_to_le32(CSR_HW_REV_STEP(mvm->trans->hw_rev)); in iwl_mvm_fw_error_dump()
1263 if (test_bit(STATUS_FW_ERROR, &mvm->trans->status)) in iwl_mvm_fw_error_dump()
1288 iwl_trans_read_mem_bytes(mvm->trans, sram_ofs, dump_mem->data, in iwl_mvm_fw_error_dump()
1298 iwl_trans_read_mem_bytes(mvm->trans, mvm->cfg->smem_offset, in iwl_mvm_fw_error_dump()
1309 iwl_trans_read_mem_bytes(mvm->trans, mvm->cfg->dccm2_offset, in iwl_mvm_fw_error_dump()
1314 CSR_HW_REV_STEP(mvm->trans->hw_rev) == SILICON_B_STEP) { in iwl_mvm_fw_error_dump()
1322 iwl_trans_read_mem_bytes(mvm->trans, IWL8260_ICCM_OFFSET, in iwl_mvm_fw_error_dump()
1347 fw_error_dump->trans_ptr = iwl_trans_dump_data(mvm->trans, in iwl_mvm_fw_error_dump()
1354 dev_coredumpm(mvm->trans->dev, THIS_MODULE, fw_error_dump, 0, in iwl_mvm_fw_error_dump()
1383 iwl_trans_stop_device(mvm->trans); in iwl_mvm_restart_cleanup()
1503 if (mvm->trans->d0i3_mode == IWL_D0I3_MODE_ON_SUSPEND) in iwl_mvm_resume_complete()
1552 iwl_trans_stop_device(mvm->trans); in __iwl_mvm_mac_stop()
1816 iwl_trans_wait_tx_queue_empty(mvm->trans, tfd_msk); in iwl_mvm_prepare_mac_removal()
2640 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in iwl_mvm_mac_sta_notify()
2652 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in iwl_mvm_mac_sta_notify()
3119 .apply_time = cpu_to_le32(iwl_read_prph(mvm->trans, time_reg)), in iwl_mvm_send_aux_roc_cmd()
3979 iwl_trans_wait_tx_queue_empty(mvm->trans, msk); in iwl_mvm_mac_flush()