/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | rx.c | 205 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxq_check_wrptr() local 209 struct iwl_rxq *rxq = &trans_pcie->rxq[i]; in iwl_pcie_rxq_check_wrptr() 247 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxmq_restock() local 269 WARN_ON(rxb->page_dma & trans_pcie->supported_dma_mask); in iwl_pcie_rxmq_restock() 364 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rx_alloc_page() local 365 unsigned int rbsize = iwl_trans_get_rb_size(trans_pcie->rx_buf_size); in iwl_pcie_rx_alloc_page() 366 unsigned int allocsize = PAGE_SIZE << trans_pcie->rx_page_order; in iwl_pcie_rx_alloc_page() 370 if (trans_pcie->rx_page_order > 0) in iwl_pcie_rx_alloc_page() 373 if (trans_pcie->alloc_page) { in iwl_pcie_rx_alloc_page() 374 spin_lock_bh(&trans_pcie in iwl_pcie_rx_alloc_page() 432 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rxq_alloc_rbs() local 490 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_free_rbs_pool() local 515 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_allocator() local 616 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_allocator_get() local 652 struct iwl_trans_pcie *trans_pcie = iwl_pcie_rx_allocator_work() local 716 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_alloc_rxq_dma() local 767 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_alloc() local 837 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_hw_init() local 905 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_mq_hw_init() local 1006 struct iwl_trans_pcie *trans_pcie; iwl_pcie_napi_poll() local 1033 struct iwl_trans_pcie *trans_pcie; iwl_pcie_napi_poll_msix() local 1064 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_napi_sync() local 1080 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_pcie_rx_init() local 1167 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_init() local 1201 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_free() local 1264 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_reuse_rbd() local 1298 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_handle_rb() local 1446 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_get_rxb() local 1499 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_handle() local 1641 struct iwl_trans_pcie *trans_pcie = iwl_pcie_get_trans_pcie(entry); iwl_pcie_irq_rx_msix_handler() local 1738 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_int_cause_ict() local 1790 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_handle_rfkill_irq() local 1831 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_irq_handler() local 2092 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_free_ict() local 2110 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_alloc_ict() local 2132 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_reset_ict() local 2162 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_disable_ict() local 2194 struct iwl_trans_pcie *trans_pcie = iwl_pcie_get_trans_pcie(entry); iwl_pcie_irq_msix_handler() local [all...] |
H A D | ctxt-info-gen3.c | 81 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_ctxt_info_gen3_init() local 91 switch (trans_pcie->rx_buf_size) { in iwl_pcie_ctxt_info_gen3_init() 113 &trans_pcie->prph_scratch_dma_addr, in iwl_pcie_ctxt_info_gen3_init() 133 cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_gen3_init() 160 &trans_pcie->prph_info_dma_addr, in iwl_pcie_ctxt_info_gen3_init() 170 &trans_pcie->ctxt_info_dma_addr, in iwl_pcie_ctxt_info_gen3_init() 178 cpu_to_le64(trans_pcie->prph_info_dma_addr); in iwl_pcie_ctxt_info_gen3_init() 180 cpu_to_le64(trans_pcie->prph_scratch_dma_addr); in iwl_pcie_ctxt_info_gen3_init() 184 cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_gen3_init() 186 cpu_to_le64(trans_pcie in iwl_pcie_ctxt_info_gen3_init() 247 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_ctxt_info_gen3_free() local 377 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_ctx_info_gen3_load_pnvm() local 434 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_pnvm_segments() local 447 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_continuous_pnvm() local 473 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_ctx_info_gen3_load_reduce_power() local 518 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_reduce_power_segments() local 531 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_continuous_reduce_power() local [all...] |
H A D | internal.h | 40 * trans_pcie layer */ 468 iwl_trans_pcie_get_trans(struct iwl_trans_pcie *trans_pcie) in iwl_trans_pcie_get_trans() argument 470 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans() 549 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in _iwl_disable_interrupts() local 552 if (!trans_pcie->msix_enabled) { in _iwl_disable_interrupts() 563 trans_pcie->fh_init_mask); in _iwl_disable_interrupts() 565 trans_pcie->hw_init_mask); in _iwl_disable_interrupts() 606 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_disable_interrupts() local 608 spin_lock_bh(&trans_pcie->irq_lock); in iwl_disable_interrupts() 610 spin_unlock_bh(&trans_pcie in iwl_disable_interrupts() 615 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_enable_interrupts() local 638 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_interrupts() local 646 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_hw_int_msk_msix() local 654 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_fh_int_msk_msix() local 662 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_fw_load_int() local 678 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_fw_load_int_ctx_info() local 728 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_rfkill_int() local 756 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_is_rfkill_set() local [all...] |
H A D | trans.c | 42 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_dump_regs() local 43 struct pci_dev *pdev = trans_pcie->pci_dev; in iwl_trans_pcie_dump_regs() 47 if (trans_pcie->pcie_dbg_dumped_once) in iwl_trans_pcie_dump_regs() 126 trans_pcie->pcie_dbg_dumped_once = 1; in iwl_trans_pcie_dump_regs() 258 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_apm_config() local 269 pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_LNKCTL, &lctl); in iwl_pcie_apm_config() 272 pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_DEVCTL2, &cap); in iwl_pcie_apm_config() 542 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_nic_init() local 546 spin_lock_bh(&trans_pcie->irq_lock); in iwl_pcie_nic_init() 548 spin_unlock_bh(&trans_pcie in iwl_pcie_nic_init() 691 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_load_firmware_chunk() local 1068 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_check_hw_rf_kill() local 1146 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_map_non_rx_causes() local 1165 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_map_rx_causes() local 1193 iwl_pcie_conf_msix_hw(struct iwl_trans_pcie *trans_pcie) iwl_pcie_conf_msix_hw() argument 1224 iwl_pcie_init_msix(struct iwl_trans_pcie *trans_pcie) iwl_pcie_init_msix() argument 1241 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_trans_pcie_stop_device() local 1326 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_synchronize_irqs() local 1341 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_start_fw() local 1462 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_stop_device() local 1479 struct iwl_trans_pcie __maybe_unused *trans_pcie = iwl_trans_pcie_rf_kill() local 1528 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_d3_handshake() local 1580 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_d3_resume() local 1647 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_interrupt_capa() local 1721 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_irq_set_affinity() local 1742 iwl_pcie_init_msix_handler(struct pci_dev *pdev, struct iwl_trans_pcie *trans_pcie) iwl_pcie_init_msix_handler() argument 1831 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_trans_pcie_start_hw() local 1879 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_start_hw() local 1891 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_op_mode_leave() local 1954 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_configure() local 2049 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_free() local 2172 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); __iwl_trans_pcie_grab_nic_access() local 2259 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_release_nic_access() local 2380 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_rxq_dma_data() local 2482 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_set_bits_mask() local 2687 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_rx_queue_read() local 2738 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_interrupt_read() local 2796 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_interrupt_write() local 2844 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_rfkill_read() local 2861 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_rfkill_write() local 2882 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_monitor_data_open() local 2900 struct iwl_trans_pcie *trans_pcie = iwl_dbgfs_monitor_data_release() local 2931 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_monitor_data_read() local 3014 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_rf_read() local 3062 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_debugfs_cleanup() local 3086 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_dump_rbs() local 3343 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_dump_data() local 3501 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_sync_nmi() local 3597 struct iwl_trans_pcie *trans_pcie; iwl_trans_pcie_alloc() local 3777 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_copy_imr() local [all...] |
H A D | trans-gen2.c | 100 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_fw_reset_handshake() local 103 trans_pcie->fw_reset_state = FW_RESET_REQUESTED; in iwl_trans_pcie_fw_reset_handshake() 116 ret = wait_event_timeout(trans_pcie->fw_reset_waitq, in iwl_trans_pcie_fw_reset_handshake() 117 trans_pcie->fw_reset_state != FW_RESET_REQUESTED, in iwl_trans_pcie_fw_reset_handshake() 119 if (!ret || trans_pcie->fw_reset_state == FW_RESET_ERROR) { in iwl_trans_pcie_fw_reset_handshake() 130 trans_pcie->fw_reset_state = FW_RESET_IDLE; in iwl_trans_pcie_fw_reset_handshake() 135 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in _iwl_trans_pcie_gen2_stop_device() local 137 lockdep_assert_held(&trans_pcie->mutex); in _iwl_trans_pcie_gen2_stop_device() 139 if (trans_pcie->is_down) in _iwl_trans_pcie_gen2_stop_device() 143 if (trans_pcie in _iwl_trans_pcie_gen2_stop_device() 214 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_gen2_stop_device() local 231 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_gen2_nic_init() local 259 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_get_rf_name() local 331 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_gen2_fw_alive() local 413 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_spin_for_iml() local 450 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_gen2_start_fw() local [all...] |
H A D | ctxt-info.c | 166 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_ctxt_info_init() local 179 trans_pcie->ctxt_info_dma_addr = phys; in iwl_pcie_ctxt_info_init() 187 switch (trans_pcie->rx_buf_size) { in iwl_pcie_ctxt_info_init() 215 rx_cfg->free_rbd_addr = cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_init() 216 rx_cfg->used_rbd_addr = cpu_to_le64(trans_pcie->rxq->used_bd_dma); in iwl_pcie_ctxt_info_init() 217 rx_cfg->status_wr_ptr = cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_init() 228 dma_free_coherent(trans->dev, sizeof(*trans_pcie->ctxt_info), in iwl_pcie_ctxt_info_init() 229 ctxt_info, trans_pcie->ctxt_info_dma_addr); in iwl_pcie_ctxt_info_init() 233 trans_pcie->ctxt_info = ctxt_info; in iwl_pcie_ctxt_info_init() 242 iwl_write64(trans, CSR_CTXT_INFO_BA, trans_pcie in iwl_pcie_ctxt_info_init() 251 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_ctxt_info_free() local [all...] |
H A D | tx.c | 166 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_clear_cmd_in_flight() local 171 spin_lock(&trans_pcie->reg_lock); in iwl_pcie_clear_cmd_in_flight() 173 if (WARN_ON(!trans_pcie->cmd_hold_nic_awake)) { in iwl_pcie_clear_cmd_in_flight() 174 spin_unlock(&trans_pcie->reg_lock); in iwl_pcie_clear_cmd_in_flight() 178 trans_pcie->cmd_hold_nic_awake = false; in iwl_pcie_clear_cmd_in_flight() 181 spin_unlock(&trans_pcie->reg_lock); in iwl_pcie_clear_cmd_in_flight() 280 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_tx_start() local 292 trans_pcie->scd_base_addr = in iwl_pcie_tx_start() 296 scd_base_addr != trans_pcie->scd_base_addr); in iwl_pcie_tx_start() 299 iwl_trans_write_mem(trans, trans_pcie in iwl_pcie_tx_start() 338 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_tx_reset() local 378 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_stop_fh() local 411 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_stop() local 449 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_free() local 479 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_alloc() local 548 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_init() local 615 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_cmd_in_flight() local 692 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_txq_set_ratid_map() local 722 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_txq_enable() local 841 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_txq_disable() local 1168 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_hcmd_complete() local [all...] |
H A D | tx-gen2.c | 30 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_gen2_enqueue_hcmd() local 247 spin_lock(&trans_pcie->reg_lock); in iwl_pcie_gen2_enqueue_hcmd() 251 spin_unlock(&trans_pcie->reg_lock); in iwl_pcie_gen2_enqueue_hcmd()
|
H A D | drv.c | 1309 struct iwl_trans_pcie *trans_pcie; in iwl_pci_probe() local 1330 trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); in iwl_pci_probe() 1455 trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds; in iwl_pci_probe() 1457 trans_pcie->num_rx_bufs = RX_QUEUE_SIZE; in iwl_pci_probe() 1523 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pci_resume() local 1544 iwl_pcie_conf_msix_hw(trans_pcie); in iwl_pci_resume() 1551 mutex_lock(&trans_pcie->mutex); in iwl_pci_resume() 1554 mutex_unlock(&trans_pcie->mutex); in iwl_pci_resume()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | ctxt-info-gen3.c | 124 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_ctxt_info_gen3_init() local 134 switch (trans_pcie->rx_buf_size) { in iwl_pcie_ctxt_info_gen3_init() 156 &trans_pcie->prph_scratch_dma_addr, in iwl_pcie_ctxt_info_gen3_init() 173 cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_gen3_init() 189 &trans_pcie->prph_info_dma_addr, in iwl_pcie_ctxt_info_gen3_init() 199 &trans_pcie->ctxt_info_dma_addr, in iwl_pcie_ctxt_info_gen3_init() 207 cpu_to_le64(trans_pcie->prph_info_dma_addr); in iwl_pcie_ctxt_info_gen3_init() 209 cpu_to_le64(trans_pcie->prph_scratch_dma_addr); in iwl_pcie_ctxt_info_gen3_init() 213 cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_gen3_init() 215 cpu_to_le64(trans_pcie in iwl_pcie_ctxt_info_gen3_init() 282 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_ctxt_info_gen3_free() local 316 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_ctx_info_gen3_set_pnvm() local [all...] |
H A D | rx.c | 259 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxq_check_wrptr() local 263 struct iwl_rxq *rxq = &trans_pcie->rxq[i]; in iwl_pcie_rxq_check_wrptr() 301 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxmq_restock() local 323 WARN_ON(rxb->page_dma & trans_pcie->supported_dma_mask); in iwl_pcie_rxmq_restock() 418 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rx_alloc_page() local 419 unsigned int rbsize = iwl_trans_get_rb_size(trans_pcie->rx_buf_size); in iwl_pcie_rx_alloc_page() 420 unsigned int allocsize = PAGE_SIZE << trans_pcie->rx_page_order; in iwl_pcie_rx_alloc_page() 424 if (trans_pcie->rx_page_order > 0) in iwl_pcie_rx_alloc_page() 427 if (trans_pcie->alloc_page) { in iwl_pcie_rx_alloc_page() 428 spin_lock_bh(&trans_pcie in iwl_pcie_rx_alloc_page() 486 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rxq_alloc_rbs() local 544 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_free_rbs_pool() local 569 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_allocator() local 670 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_allocator_get() local 706 struct iwl_trans_pcie *trans_pcie = iwl_pcie_rx_allocator_work() local 768 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_alloc_rxq_dma() local 836 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_alloc() local 905 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_hw_init() local 974 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_mq_hw_init() local 1079 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_pcie_rx_init() local 1158 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_init() local 1192 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_free() local 1255 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_reuse_rbd() local 1289 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_handle_rb() local 1436 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_get_rxb() local 1479 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_rx_handle() local 1634 struct iwl_trans_pcie *trans_pcie = iwl_pcie_get_trans_pcie(entry); iwl_pcie_irq_rx_msix_handler() local 1660 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_irq_handle_error() local 1720 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_int_cause_ict() local 1772 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_handle_rfkill_irq() local 1813 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_irq_handler() local 2063 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_free_ict() local 2081 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_alloc_ict() local 2103 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_reset_ict() local 2133 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_disable_ict() local 2165 struct iwl_trans_pcie *trans_pcie = iwl_pcie_get_trans_pcie(entry); iwl_pcie_irq_msix_handler() local [all...] |
H A D | internal.h | 96 * trans_pcie layer */ 495 iwl_trans_pcie_get_trans(struct iwl_trans_pcie *trans_pcie) in iwl_trans_pcie_get_trans() argument 497 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans() 572 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in _iwl_disable_interrupts() local 575 if (!trans_pcie->msix_enabled) { in _iwl_disable_interrupts() 586 trans_pcie->fh_init_mask); in _iwl_disable_interrupts() 588 trans_pcie->hw_init_mask); in _iwl_disable_interrupts() 632 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_disable_interrupts() local 634 spin_lock(&trans_pcie->irq_lock); in iwl_disable_interrupts() 636 spin_unlock(&trans_pcie in iwl_disable_interrupts() 641 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_enable_interrupts() local 664 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_interrupts() local 672 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_hw_int_msk_msix() local 680 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_fh_int_msk_msix() local 688 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_fw_load_int() local 704 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_fw_load_int_ctx_info() local 754 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_enable_rfkill_int() local 782 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_is_rfkill_set() local [all...] |
H A D | trans.c | 96 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_dump_regs() local 97 struct pci_dev *pdev = trans_pcie->pci_dev; in iwl_trans_pcie_dump_regs() 101 if (trans_pcie->pcie_dbg_dumped_once) in iwl_trans_pcie_dump_regs() 180 trans_pcie->pcie_dbg_dumped_once = 1; in iwl_trans_pcie_dump_regs() 299 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_apm_config() local 310 pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_LNKCTL, &lctl); in iwl_pcie_apm_config() 313 pcie_capability_read_word(trans_pcie->pci_dev, PCI_EXP_DEVCTL2, &cap); in iwl_pcie_apm_config() 565 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_nic_init() local 569 spin_lock(&trans_pcie->irq_lock); in iwl_pcie_nic_init() 571 spin_unlock(&trans_pcie in iwl_pcie_nic_init() 694 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_load_firmware_chunk() local 1072 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_check_hw_rf_kill() local 1120 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_map_non_rx_causes() local 1139 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_map_rx_causes() local 1167 iwl_pcie_conf_msix_hw(struct iwl_trans_pcie *trans_pcie) iwl_pcie_conf_msix_hw() argument 1198 iwl_pcie_init_msix(struct iwl_trans_pcie *trans_pcie) iwl_pcie_init_msix() argument 1215 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_trans_pcie_stop_device() local 1295 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_synchronize_irqs() local 1310 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_start_fw() local 1431 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_stop_device() local 1444 struct iwl_trans_pcie __maybe_unused *trans_pcie = iwl_trans_pcie_rf_kill() local 1495 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_d3_suspend() local 1527 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_d3_resume() local 1608 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_interrupt_capa() local 1677 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_irq_set_affinity() local 1698 iwl_pcie_init_msix_handler(struct pci_dev *pdev, struct iwl_trans_pcie *trans_pcie) iwl_pcie_init_msix_handler() argument 1789 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); _iwl_trans_pcie_start_hw() local 1835 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_start_hw() local 1847 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_op_mode_leave() local 1910 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_configure() local 1956 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_free() local 2030 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_grab_nic_access() local 2133 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_release_nic_access() local 2306 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_rxq_dma_data() local 2408 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_set_bits_mask() local 2613 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_rx_queue_read() local 2664 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_interrupt_read() local 2722 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_interrupt_write() local 2770 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_rfkill_read() local 2787 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_rfkill_write() local 2808 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_monitor_data_open() local 2826 struct iwl_trans_pcie *trans_pcie = iwl_dbgfs_monitor_data_release() local 2857 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_dbgfs_monitor_data_read() local 2970 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_debugfs_cleanup() local 2994 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_dump_rbs() local 3253 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_dump_data() local 3492 struct iwl_trans_pcie *trans_pcie; iwl_trans_pcie_alloc() local 3667 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_sync_nmi() local [all...] |
H A D | trans-gen2.c | 140 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in _iwl_trans_pcie_gen2_stop_device() local 142 lockdep_assert_held(&trans_pcie->mutex); in _iwl_trans_pcie_gen2_stop_device() 144 if (trans_pcie->is_down) in _iwl_trans_pcie_gen2_stop_device() 147 trans_pcie->is_down = true; in _iwl_trans_pcie_gen2_stop_device() 191 iwl_pcie_conf_msix_hw(trans_pcie); in _iwl_trans_pcie_gen2_stop_device() 219 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_trans_pcie_gen2_stop_device() local 222 mutex_lock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_stop_device() 223 trans_pcie->opmode_down = true; in iwl_trans_pcie_gen2_stop_device() 227 mutex_unlock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_stop_device() 232 struct iwl_trans_pcie *trans_pcie in iwl_pcie_gen2_nic_init() local 260 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_gen2_fw_alive() local 316 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_gen2_start_fw() local [all...] |
H A D | ctxt-info.c | 214 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_ctxt_info_init() local 227 trans_pcie->ctxt_info_dma_addr = phys; in iwl_pcie_ctxt_info_init() 235 switch (trans_pcie->rx_buf_size) { in iwl_pcie_ctxt_info_init() 263 rx_cfg->free_rbd_addr = cpu_to_le64(trans_pcie->rxq->bd_dma); in iwl_pcie_ctxt_info_init() 264 rx_cfg->used_rbd_addr = cpu_to_le64(trans_pcie->rxq->used_bd_dma); in iwl_pcie_ctxt_info_init() 265 rx_cfg->status_wr_ptr = cpu_to_le64(trans_pcie->rxq->rb_stts_dma); in iwl_pcie_ctxt_info_init() 276 dma_free_coherent(trans->dev, sizeof(*trans_pcie->ctxt_info), in iwl_pcie_ctxt_info_init() 277 ctxt_info, trans_pcie->ctxt_info_dma_addr); in iwl_pcie_ctxt_info_init() 281 trans_pcie->ctxt_info = ctxt_info; in iwl_pcie_ctxt_info_init() 290 iwl_write64(trans, CSR_CTXT_INFO_BA, trans_pcie in iwl_pcie_ctxt_info_init() 299 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_ctxt_info_free() local [all...] |
H A D | tx.c | 280 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_clear_cmd_in_flight() local 282 lockdep_assert_held(&trans_pcie->reg_lock); in iwl_pcie_clear_cmd_in_flight() 286 if (WARN_ON(!trans_pcie->cmd_hold_nic_awake)) in iwl_pcie_clear_cmd_in_flight() 289 trans_pcie->cmd_hold_nic_awake = false; in iwl_pcie_clear_cmd_in_flight() 299 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_txq_unmap() local 324 spin_lock(&trans_pcie->reg_lock); in iwl_pcie_txq_unmap() 327 spin_unlock(&trans_pcie->reg_lock); in iwl_pcie_txq_unmap() 394 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_tx_start() local 406 trans_pcie->scd_base_addr = in iwl_pcie_tx_start() 410 scd_base_addr != trans_pcie in iwl_pcie_tx_start() 452 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_tx_reset() local 492 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_stop_fh() local 526 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_stop() local 564 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_free() local 594 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_alloc() local 663 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_tx_init() local 884 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_set_cmd_in_flight() local 930 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_cmdq_reclaim() local 974 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_txq_set_ratid_map() local 1004 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_txq_enable() local 1123 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_txq_disable() local 1170 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_enqueue_hcmd() local 1454 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_hcmd_complete() local 1533 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_pcie_send_hcmd_sync() local 1723 struct iwl_trans_pcie *trans_pcie = iwl_fill_data_tbs_amsdu() local 1912 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); iwl_trans_pcie_tx() local [all...] |
H A D | tx-gen2.c | 77 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_gen2_enqueue_hcmd() local 294 spin_lock(&trans_pcie->reg_lock); in iwl_pcie_gen2_enqueue_hcmd() 298 spin_unlock(&trans_pcie->reg_lock); in iwl_pcie_gen2_enqueue_hcmd() 313 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_gen2_send_hcmd_sync() local 337 ret = wait_event_timeout(trans_pcie->wait_command_queue, in iwl_pcie_gen2_send_hcmd_sync()
|
H A D | drv.c | 1037 struct iwl_trans_pcie *trans_pcie; in iwl_pci_probe() local 1059 trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); in iwl_pci_probe() 1175 trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds; in iwl_pci_probe() 1177 trans_pcie->num_rx_bufs = RX_QUEUE_SIZE; in iwl_pci_probe() 1241 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pci_resume() local 1262 iwl_pcie_conf_msix_hw(trans_pcie); in iwl_pci_resume() 1269 mutex_lock(&trans_pcie->mutex); in iwl_pci_resume() 1272 mutex_unlock(&trans_pcie->mutex); in iwl_pci_resume()
|