Home
last modified time | relevance | path

Searched refs:trans_pcie (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/iwlwifi/pcie/
Drx.c178 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxq_inc_wr_ptr() local
179 struct iwl_rxq *rxq = &trans_pcie->rxq; in iwl_pcie_rxq_inc_wr_ptr()
209 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxq_check_wrptr() local
210 struct iwl_rxq *rxq = &trans_pcie->rxq; in iwl_pcie_rxq_check_wrptr()
237 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rxq_restock() local
238 struct iwl_rxq *rxq = &trans_pcie->rxq; in iwl_pcie_rxq_restock()
287 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_rx_alloc_page() local
288 struct iwl_rxq *rxq = &trans_pcie->rxq; in iwl_pcie_rx_alloc_page()
295 if (trans_pcie->rx_page_order > 0) in iwl_pcie_rx_alloc_page()
299 page = alloc_pages(gfp_mask, trans_pcie->rx_page_order); in iwl_pcie_rx_alloc_page()
[all …]
Dtx.c150 struct iwl_trans_pcie *trans_pcie = txq->trans_pcie; in iwl_pcie_txq_stuck_timer() local
151 struct iwl_trans *trans = iwl_trans_pcie_get_trans(trans_pcie); in iwl_pcie_txq_stuck_timer()
152 u32 scd_sram_addr = trans_pcie->scd_base_addr + in iwl_pcie_txq_stuck_timer()
184 trans_pcie->scd_base_addr + in iwl_pcie_txq_stuck_timer()
210 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_txq_update_byte_cnt_tbl() local
220 scd_bc_tbl = trans_pcie->scd_bc_tbls.addr; in iwl_pcie_txq_update_byte_cnt_tbl()
237 if (trans_pcie->bc_table_dword) in iwl_pcie_txq_update_byte_cnt_tbl()
255 struct iwl_trans_pcie *trans_pcie = in iwl_pcie_txq_inval_byte_cnt_tbl() local
257 struct iwlagn_scd_bc_tbl *scd_bc_tbl = trans_pcie->scd_bc_tbls.addr; in iwl_pcie_txq_inval_byte_cnt_tbl()
267 if (txq_id != trans_pcie->cmd_queue) in iwl_pcie_txq_inval_byte_cnt_tbl()
[all …]
Dtrans.c92 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_free_fw_monitor() local
94 if (!trans_pcie->fw_mon_page) in iwl_pcie_free_fw_monitor()
97 dma_unmap_page(trans->dev, trans_pcie->fw_mon_phys, in iwl_pcie_free_fw_monitor()
98 trans_pcie->fw_mon_size, DMA_FROM_DEVICE); in iwl_pcie_free_fw_monitor()
99 __free_pages(trans_pcie->fw_mon_page, in iwl_pcie_free_fw_monitor()
100 get_order(trans_pcie->fw_mon_size)); in iwl_pcie_free_fw_monitor()
101 trans_pcie->fw_mon_page = NULL; in iwl_pcie_free_fw_monitor()
102 trans_pcie->fw_mon_phys = 0; in iwl_pcie_free_fw_monitor()
103 trans_pcie->fw_mon_size = 0; in iwl_pcie_free_fw_monitor()
108 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pcie_alloc_fw_monitor() local
[all …]
Dinternal.h276 struct iwl_trans_pcie *trans_pcie; member
385 iwl_trans_pcie_get_trans(struct iwl_trans_pcie *trans_pcie) in iwl_trans_pcie_get_trans() argument
387 return container_of((void *)trans_pcie, struct iwl_trans, in iwl_trans_pcie_get_trans()
473 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_interrupts() local
477 trans_pcie->inta_mask = CSR_INI_SET_MASK; in iwl_enable_interrupts()
478 iwl_write32(trans, CSR_INT_MASK, trans_pcie->inta_mask); in iwl_enable_interrupts()
483 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_enable_rfkill_int() local
486 trans_pcie->inta_mask = CSR_INT_BIT_RF_KILL; in iwl_enable_rfkill_int()
487 iwl_write32(trans, CSR_INT_MASK, trans_pcie->inta_mask); in iwl_enable_rfkill_int()
493 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_wake_queue() local
[all …]
Ddrv.c578 struct iwl_trans_pcie *trans_pcie; in iwl_pci_probe() local
608 trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); in iwl_pci_probe()
609 trans_pcie->drv = iwl_drv_start(iwl_trans, cfg); in iwl_pci_probe()
611 if (IS_ERR(trans_pcie->drv)) { in iwl_pci_probe()
612 ret = PTR_ERR(trans_pcie->drv); in iwl_pci_probe()
626 iwl_drv_stop(trans_pcie->drv); in iwl_pci_probe()
635 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pci_remove() local
637 iwl_drv_stop(trans_pcie->drv); in iwl_pci_remove()
657 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); in iwl_pci_resume() local
682 mutex_lock(&trans_pcie->mutex); in iwl_pci_resume()
[all …]