Lines Matching refs:trans
222 iwl_trans_ref(mvm->trans); in iwl_mvm_ref()
234 iwl_trans_unref(mvm->trans); in iwl_mvm_unref()
253 iwl_trans_unref(mvm->trans); in iwl_mvm_unref_all_except()
329 regd = iwl_parse_nvm_mcc_info(mvm->trans->dev, mvm->cfg, in iwl_mvm_get_regdomain()
528 hw->wiphy->hw_version = mvm->trans->hw_id; in iwl_mvm_mac_setup_register()
577 device_can_wakeup(mvm->trans->dev)) { in iwl_mvm_mac_setup_register()
583 mvm->trans->ops->d3_suspend && in iwl_mvm_mac_setup_register()
584 mvm->trans->ops->d3_resume && in iwl_mvm_mac_setup_register()
585 device_can_wakeup(mvm->trans->dev)) { in iwl_mvm_mac_setup_register()
890 if (!iwl_trans_grab_nic_access(mvm->trans, false, &flags)) in iwl_mvm_dump_fifos()
915 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
919 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
923 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
927 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
931 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
936 iwl_trans_write_prph(mvm->trans, in iwl_mvm_dump_fifos()
939 iwl_trans_write_prph(mvm->trans, in iwl_mvm_dump_fifos()
942 iwl_trans_write_prph(mvm->trans, in iwl_mvm_dump_fifos()
949 fifo_data[j] = iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
958 iwl_trans_write_prph(mvm->trans, TXF_LARC_NUM, i); in iwl_mvm_dump_fifos()
974 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
977 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
980 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
983 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
986 cpu_to_le32(iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
990 iwl_trans_write_prph(mvm->trans, TXF_READ_MODIFY_ADDR, in iwl_mvm_dump_fifos()
994 iwl_trans_read_prph(mvm->trans, TXF_READ_MODIFY_DATA); in iwl_mvm_dump_fifos()
999 fifo_data[j] = iwl_trans_read_prph(mvm->trans, in iwl_mvm_dump_fifos()
1004 iwl_trans_release_nic_access(mvm->trans, &flags); in iwl_mvm_dump_fifos()
1052 if (test_bit(STATUS_FW_ERROR, &mvm->trans->status)) { in iwl_mvm_fw_error_dump()
1090 CSR_HW_REV_STEP(mvm->trans->hw_rev) == SILICON_B_STEP) in iwl_mvm_fw_error_dump()
1125 dump_info->hw_step = cpu_to_le32(CSR_HW_REV_STEP(mvm->trans->hw_rev)); in iwl_mvm_fw_error_dump()
1135 if (test_bit(STATUS_FW_ERROR, &mvm->trans->status)) in iwl_mvm_fw_error_dump()
1156 iwl_trans_read_mem_bytes(mvm->trans, sram_ofs, dump_mem->data, in iwl_mvm_fw_error_dump()
1166 iwl_trans_read_mem_bytes(mvm->trans, mvm->cfg->smem_offset, in iwl_mvm_fw_error_dump()
1177 iwl_trans_read_mem_bytes(mvm->trans, mvm->cfg->dccm2_offset, in iwl_mvm_fw_error_dump()
1182 CSR_HW_REV_STEP(mvm->trans->hw_rev) == SILICON_B_STEP) { in iwl_mvm_fw_error_dump()
1190 iwl_trans_read_mem_bytes(mvm->trans, IWL8260_ICCM_OFFSET, in iwl_mvm_fw_error_dump()
1194 fw_error_dump->trans_ptr = iwl_trans_dump_data(mvm->trans); in iwl_mvm_fw_error_dump()
1200 dev_coredumpm(mvm->trans->dev, THIS_MODULE, fw_error_dump, 0, in iwl_mvm_fw_error_dump()
1228 iwl_trans_stop_device(mvm->trans); in iwl_mvm_restart_cleanup()
1360 if (mvm->trans->d0i3_mode == IWL_D0I3_MODE_ON_SUSPEND) in iwl_mvm_resume_complete()
1409 iwl_trans_stop_device(mvm->trans); in __iwl_mvm_mac_stop()
1679 iwl_trans_wait_tx_queue_empty(mvm->trans, tfd_msk); in iwl_mvm_prepare_mac_removal()
2552 iwl_trans_freeze_txq_timer(mvm->trans, txqs, true); in iwl_mvm_mac_sta_notify()
2564 iwl_trans_freeze_txq_timer(mvm->trans, txqs, false); in iwl_mvm_mac_sta_notify()
3031 .apply_time = cpu_to_le32(iwl_read_prph(mvm->trans, time_reg)), in iwl_mvm_send_aux_roc_cmd()
3891 iwl_trans_wait_tx_queue_empty(mvm->trans, msk); in iwl_mvm_mac_flush()