Home
last modified time | relevance | path

Searched refs:page_dma (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c90 dma_addr_t page_dma; in pvrdma_page_dir_init() local
94 &page_dma, in pvrdma_page_dir_init()
99 pvrdma_page_dir_insert_dma(pdir, i, page_dma); in pvrdma_page_dir_init()
128 dma_addr_t page_dma = pvrdma_page_dir_get_dma(pdir, i); in pvrdma_page_dir_cleanup_pages() local
131 pdir->pages[i], page_dma); in pvrdma_page_dir_cleanup_pages()
/linux-6.1.9/drivers/net/ethernet/engleder/
Dtsnep.h77 dma_addr_t page_dma[TSNEP_RING_PAGE_COUNT]; member
110 dma_addr_t page_dma[TSNEP_RING_PAGE_COUNT]; member
Dtsnep_main.c227 tx->page_dma[i]); in tsnep_tx_ring_cleanup()
229 tx->page_dma[i] = 0; in tsnep_tx_ring_cleanup()
244 dma_alloc_coherent(dmadev, PAGE_SIZE, &tx->page_dma[i], in tsnep_tx_ring_init()
256 entry->desc_dma = tx->page_dma[i] + TSNEP_DESC_SIZE * j; in tsnep_tx_ring_init()
628 rx->page_dma[i]); in tsnep_rx_ring_cleanup()
630 rx->page_dma[i] = 0; in tsnep_rx_ring_cleanup()
663 dma_alloc_coherent(dmadev, PAGE_SIZE, &rx->page_dma[i], in tsnep_rx_ring_init()
675 entry->desc_dma = rx->page_dma[i] + TSNEP_DESC_SIZE * j; in tsnep_rx_ring_init()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c229 bd[rxq->write].addr = cpu_to_le64(rxb->page_dma); in iwl_pcie_restock_bd()
234 bd[rxq->write] = cpu_to_le64(rxb->page_dma | rxb->vid); in iwl_pcie_restock_bd()
269 WARN_ON(rxb->page_dma & trans_pcie->supported_dma_mask); in iwl_pcie_rxmq_restock()
321 bd[rxq->write] = iwl_pcie_dma_addr2rbd_ptr(rxb->page_dma); in iwl_pcie_rxsq_restock()
466 rxb->page_dma = in iwl_pcie_rxq_alloc_rbs()
470 if (dma_mapping_error(trans->dev, rxb->page_dma)) { in iwl_pcie_rxq_alloc_rbs()
499 dma_unmap_page(trans->dev, trans_pcie->rx_pool[i].page_dma, in iwl_pcie_free_rbs_pool()
560 rxb->page_dma = dma_map_page(trans->dev, page, in iwl_pcie_rx_allocator()
564 if (dma_mapping_error(trans->dev, rxb->page_dma)) { in iwl_pcie_rx_allocator()
1287 dma_unmap_page(trans->dev, rxb->page_dma, max_len, DMA_FROM_DEVICE); in iwl_pcie_rx_handle_rb()
[all …]
Dinternal.h52 dma_addr_t page_dma; member
Dtrans.c3047 dma_sync_single_for_cpu(trans->dev, rxb->page_dma, in iwl_trans_pcie_dump_rbs()
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/
Dnetdev.c156 if (adapter->rx_ps_hdr_size && !buffer_info->page_dma) { in igbvf_alloc_rx_buffers()
167 buffer_info->page_dma = in igbvf_alloc_rx_buffers()
173 buffer_info->page_dma)) { in igbvf_alloc_rx_buffers()
204 cpu_to_le64(buffer_info->page_dma); in igbvf_alloc_rx_buffers()
307 dma_unmap_page(&pdev->dev, buffer_info->page_dma, in igbvf_clean_rx_irq()
310 buffer_info->page_dma = 0; in igbvf_clean_rx_irq()
584 if (buffer_info->page_dma) in igbvf_clean_rx_ring()
586 buffer_info->page_dma, in igbvf_clean_rx_ring()
591 buffer_info->page_dma = 0; in igbvf_clean_rx_ring()
Digbvf.h113 u64 page_dma; member
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c943 il3945_dma_addr2rbd_ptr(il, rxb->page_dma); in il3945_rx_queue_restock()
980 dma_addr_t page_dma; in il3945_rx_allocate() local
1015 page_dma = in il3945_rx_allocate()
1020 if (unlikely(dma_mapping_error(&il->pci_dev->dev, page_dma))) { in il3945_rx_allocate()
1029 dma_unmap_page(&il->pci_dev->dev, page_dma, in il3945_rx_allocate()
1041 rxb->page_dma = page_dma; in il3945_rx_allocate()
1064 rxq->pool[i].page_dma, in il3945_rx_queue_reset()
1114 rxq->pool[i].page_dma, in il3945_rx_queue_free()
1216 dma_unmap_page(&il->pci_dev->dev, rxb->page_dma, in il3945_rx_handle()
1262 rxb->page_dma = in il3945_rx_handle()
[all …]
D4965-mac.c98 rxq->pool[i].page_dma, in il4965_rx_queue_reset()
271 il4965_dma_addr2rbd_ptr(il, rxb->page_dma); in il4965_rx_queue_restock()
307 dma_addr_t page_dma; in il4965_rx_allocate() local
346 page_dma = dma_map_page(&il->pci_dev->dev, page, 0, in il4965_rx_allocate()
349 if (unlikely(dma_mapping_error(&il->pci_dev->dev, page_dma))) { in il4965_rx_allocate()
358 dma_unmap_page(&il->pci_dev->dev, page_dma, in il4965_rx_allocate()
372 rxb->page_dma = page_dma; in il4965_rx_allocate()
413 rxq->pool[i].page_dma, in il4965_rx_queue_free()
4245 dma_unmap_page(&il->pci_dev->dev, rxb->page_dma, in il4965_rx_handle()
4291 rxb->page_dma = in il4965_rx_handle()
[all …]
Dcommon.h82 dma_addr_t page_dma; member
/linux-6.1.9/drivers/mtd/nand/onenand/
Donenand_samsung.c623 int err, ofs, page_dma = 0; in s5pc110_read_bufferram() local
651 page_dma = 1; in s5pc110_read_bufferram()
668 if (page_dma) in s5pc110_read_bufferram()
/linux-6.1.9/drivers/message/fusion/
Dmptctl.c2564 dma_addr_t page_dma; in mptctl_hp_targetinfo() local
2595 pg0_alloc = dma_alloc_coherent(&ioc->pcidev->dev, data_sz, &page_dma, in mptctl_hp_targetinfo()
2607 cfg.physAddr = page_dma; in mptctl_hp_targetinfo()
2635 page_dma); in mptctl_hp_targetinfo()
2662 &page_dma, GFP_KERNEL); in mptctl_hp_targetinfo()
2664 cfg.physAddr = page_dma; in mptctl_hp_targetinfo()
2672 (u8 *)pg3_alloc, page_dma); in mptctl_hp_targetinfo()
Dmptbase.c5295 dma_addr_t page_dma; in GetIoUnitPage2() local
5321 &page_dma, GFP_KERNEL); in GetIoUnitPage2()
5324 cfg.physAddr = page_dma; in GetIoUnitPage2()
5332 (u8 *)ppage_alloc, page_dma); in GetIoUnitPage2()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_config.c83 dma_addr_t page_dma; member
206 &mem->page_dma, GFP_KERNEL); in _config_alloc_config_dma_memory()
214 mem->page_dma = ioc->config_page_dma; in _config_alloc_config_dma_memory()
235 mem->page_dma); in _config_free_config_dma_memory()
340 mem.page_dma); in _config_request()
346 MPT3_CONFIG_COMMON_SGLFLAGS | mem.sz, mem.page_dma); in _config_request()