Searched refs:trans_pcie (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
A D | rx.c | 760 trans_pcie->rx_pool = kcalloc(RX_POOL_SIZE(trans_pcie->num_rx_bufs), in iwl_pcie_rx_alloc() 767 if (!trans_pcie->rxq || !trans_pcie->rx_pool || in iwl_pcie_rx_alloc() 812 kfree(trans_pcie->rxq); in iwl_pcie_rx_alloc() 813 trans_pcie->rxq = NULL; in iwl_pcie_rx_alloc() 1052 if (!trans_pcie->rxq) { in _iwl_pcie_rx_init() 1212 __free_pages(trans_pcie->alloc_page, trans_pcie->rx_page_order); in iwl_pcie_rx_free() 1465 if (WARN_ON_ONCE(!trans_pcie->rxq || !trans_pcie->rxq[queue].bd)) in iwl_pcie_rx_handle() 1705 read = le32_to_cpu(trans_pcie->ict_tbl[trans_pcie->ict_index]); in iwl_pcie_int_cause_ict() 1718 trans_pcie->ict_tbl[trans_pcie->ict_index] = 0; in iwl_pcie_int_cause_ict() 1722 read = le32_to_cpu(trans_pcie->ict_tbl[trans_pcie->ict_index]); in iwl_pcie_int_cause_ict() [all …]
|
A D | ctxt-info-gen3.c | 91 switch (trans_pcie->rx_buf_size) { in iwl_pcie_ctxt_info_gen3_init() 199 if (!trans_pcie->iml) { in iwl_pcie_ctxt_info_gen3_init() 212 trans_pcie->iml_dma_addr); in iwl_pcie_ctxt_info_gen3_init() 222 trans_pcie->ctxt_info_gen3, in iwl_pcie_ctxt_info_gen3_init() 242 if (trans_pcie->iml) { in iwl_pcie_ctxt_info_gen3_free() 244 trans_pcie->iml_dma_addr); in iwl_pcie_ctxt_info_gen3_free() 245 trans_pcie->iml_dma_addr = 0; in iwl_pcie_ctxt_info_gen3_free() 246 trans_pcie->iml = NULL; in iwl_pcie_ctxt_info_gen3_free() 259 trans_pcie->ctxt_info_gen3, in iwl_pcie_ctxt_info_gen3_free() 265 trans_pcie->prph_scratch, in iwl_pcie_ctxt_info_gen3_free() [all …]
|
A D | internal.h | 522 if (!trans_pcie->msix_enabled) { in _iwl_disable_interrupts() 533 trans_pcie->fh_init_mask); in _iwl_disable_interrupts() 535 trans_pcie->hw_init_mask); in _iwl_disable_interrupts() 589 if (!trans_pcie->msix_enabled) { in _iwl_enable_interrupts() 597 trans_pcie->hw_mask = trans_pcie->hw_init_mask; in _iwl_enable_interrupts() 598 trans_pcie->fh_mask = trans_pcie->fh_init_mask; in _iwl_enable_interrupts() 600 ~trans_pcie->fh_mask); in _iwl_enable_interrupts() 602 ~trans_pcie->hw_mask); in _iwl_enable_interrupts() 619 trans_pcie->hw_mask = msk; in iwl_enable_hw_int_msk_msix() 627 trans_pcie->fh_mask = msk; in iwl_enable_fh_int_msk_msix() [all …]
|
A D | trans.c | 1193 trans_pcie->fh_mask = trans_pcie->fh_init_mask; in iwl_pcie_init_msix() 1195 trans_pcie->hw_mask = trans_pcie->hw_init_mask; in iwl_pcie_init_msix() 1204 if (trans_pcie->is_down) in _iwl_trans_pcie_stop_device() 1207 trans_pcie->is_down = true; in _iwl_trans_pcie_stop_device() 1334 if (trans_pcie->is_down) { in iwl_trans_pcie_start_fw() 1652 trans_pcie->trans->num_rx_queues, trans_pcie->shared_vec_mask); in iwl_pcie_set_interrupt_capa() 1929 trans_pcie->rx_page_order = in iwl_trans_pcie_configure() 1931 trans_pcie->rx_buf_bytes = in iwl_trans_pcie_configure() 2596 if (!trans_pcie->rxq) in iwl_dbgfs_rx_queue_read() 2751 trans_pcie->debug_rfkill, in iwl_dbgfs_rfkill_read() [all …]
|
A D | trans-gen2.c | 131 if (trans_pcie->is_down) in _iwl_trans_pcie_gen2_stop_device() 138 trans_pcie->is_down = true; in _iwl_trans_pcie_gen2_stop_device() 178 iwl_pcie_conf_msix_hw(trans_pcie); in _iwl_trans_pcie_gen2_stop_device() 213 mutex_lock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_stop_device() 214 trans_pcie->opmode_down = true; in iwl_trans_pcie_gen2_stop_device() 218 mutex_unlock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_stop_device() 252 char *buf = trans_pcie->rf_name; in iwl_pcie_get_rf_name() 342 mutex_lock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_fw_alive() 346 mutex_unlock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_fw_alive() 405 mutex_lock(&trans_pcie->mutex); in iwl_trans_pcie_gen2_start_fw() [all …]
|
A D | ctxt-info.c | 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() 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() 253 if (!trans_pcie->ctxt_info) in iwl_pcie_ctxt_info_free() 256 dma_free_coherent(trans->dev, sizeof(*trans_pcie->ctxt_info), in iwl_pcie_ctxt_info_free() 257 trans_pcie->ctxt_info, in iwl_pcie_ctxt_info_free() 258 trans_pcie->ctxt_info_dma_addr); in iwl_pcie_ctxt_info_free() 259 trans_pcie->ctxt_info_dma_addr = 0; in iwl_pcie_ctxt_info_free() [all …]
|
A D | tx.c | 308 trans_pcie->scd_base_addr = in iwl_pcie_tx_start() 382 trans_pcie->kw.dma >> 4); in iwl_trans_pcie_tx_reset() 446 if (!trans_pcie->txq_memory) in iwl_pcie_tx_stop() 470 if (trans_pcie->txq_memory) { in iwl_pcie_tx_free() 479 kfree(trans_pcie->txq_memory); in iwl_pcie_tx_free() 480 trans_pcie->txq_memory = NULL; in iwl_pcie_tx_free() 524 trans_pcie->txq_memory = in iwl_pcie_tx_alloc() 527 if (!trans_pcie->txq_memory) { in iwl_pcie_tx_alloc() 569 if (!trans_pcie->txq_memory) { in iwl_pcie_tx_init() 583 trans_pcie->kw.dma >> 4); in iwl_pcie_tx_init() [all …]
|
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()
|
A D | drv.c | 1399 struct iwl_trans_pcie *trans_pcie; in iwl_pci_probe() local 1420 trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); in iwl_pci_probe() 1562 trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds; in iwl_pci_probe() 1564 trans_pcie->num_rx_bufs = RX_QUEUE_SIZE; in iwl_pci_probe() 1614 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pci_resume() local 1635 iwl_pcie_conf_msix_hw(trans_pcie); in iwl_pci_resume() 1642 mutex_lock(&trans_pcie->mutex); in iwl_pci_resume() 1645 mutex_unlock(&trans_pcie->mutex); in iwl_pci_resume()
|
Completed in 30 milliseconds