Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/block/
Dumem.c116 dma_addr_t page_dma; member
290 writel(cpu_to_le32((page->page_dma+offset) & 0xffffffff), in mm_start_io()
294 writel(cpu_to_le32(((u64)page->page_dma)>>32), in mm_start_io()
390 desc->sem_addr = cpu_to_le64((u64)(p->page_dma+offset)); in add_bio()
393 desc->next_desc_addr = cpu_to_le64(p->page_dma+offset); in add_bio()
876 &card->mm_pages[0].page_dma); in mm_pci_probe()
879 &card->mm_pages[1].page_dma); in mm_pci_probe()
1007 card->mm_pages[0].page_dma); in mm_pci_probe()
1011 card->mm_pages[1].page_dma); in mm_pci_probe()
1032 card->mm_pages[0].page_dma); in mm_pci_remove()
[all …]
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c255 bd[rxq->write].addr = cpu_to_le64(rxb->page_dma); in iwl_pcie_restock_bd()
260 bd[rxq->write] = cpu_to_le64(rxb->page_dma | rxb->vid); in iwl_pcie_restock_bd()
291 WARN_ON(rxb->page_dma & DMA_BIT_MASK(12)); in iwl_pcie_rxmq_restock()
343 bd[rxq->write] = iwl_pcie_dma_addr2rbd_ptr(rxb->page_dma); in iwl_pcie_rxsq_restock()
455 rxb->page_dma = in iwl_pcie_rxq_alloc_rbs()
459 if (dma_mapping_error(trans->dev, rxb->page_dma)) { in iwl_pcie_rxq_alloc_rbs()
485 dma_unmap_page(trans->dev, trans_pcie->rx_pool[i].page_dma, in iwl_pcie_free_rbs_pool()
546 rxb->page_dma = dma_map_page(trans->dev, page, 0, in iwl_pcie_rx_allocator()
549 if (dma_mapping_error(trans->dev, rxb->page_dma)) { in iwl_pcie_rx_allocator()
1201 dma_unmap_page(trans->dev, rxb->page_dma, max_len, DMA_FROM_DEVICE); in iwl_pcie_rx_handle_rb()
[all …]
Dinternal.h79 dma_addr_t page_dma; member
Dtrans.c2760 dma_unmap_page(trans->dev, rxb->page_dma, max_len, in iwl_trans_pcie_dump_rbs()
2771 rxb->page_dma = dma_map_page(trans->dev, rxb->page, 0, in iwl_trans_pcie_dump_rbs()
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_config.c83 dma_addr_t page_dma; member
211 &mem->page_dma, GFP_KERNEL); in _config_alloc_config_dma_memory()
220 mem->page_dma = ioc->config_page_dma; in _config_alloc_config_dma_memory()
241 mem->page_dma); in _config_free_config_dma_memory()
348 mem.page_dma); in _config_request()
354 MPT3_CONFIG_COMMON_SGLFLAGS | mem.sz, mem.page_dma); in _config_request()
/Linux-v4.19/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()
305 dma_unmap_page(&pdev->dev, buffer_info->page_dma, in igbvf_clean_rx_irq()
308 buffer_info->page_dma = 0; in igbvf_clean_rx_irq()
580 if (buffer_info->page_dma) in igbvf_clean_rx_ring()
582 buffer_info->page_dma, in igbvf_clean_rx_ring()
587 buffer_info->page_dma = 0; in igbvf_clean_rx_ring()
Digbvf.h113 u64 page_dma; member
/Linux-v4.19/drivers/net/wireless/intel/iwlegacy/
D3945-mac.c965 il3945_dma_addr2rbd_ptr(il, rxb->page_dma); in il3945_rx_queue_restock()
1002 dma_addr_t page_dma; in il3945_rx_allocate() local
1037 page_dma = in il3945_rx_allocate()
1042 if (unlikely(pci_dma_mapping_error(il->pci_dev, page_dma))) { in il3945_rx_allocate()
1051 pci_unmap_page(il->pci_dev, page_dma, in il3945_rx_allocate()
1063 rxb->page_dma = page_dma; in il3945_rx_allocate()
1085 pci_unmap_page(il->pci_dev, rxq->pool[i].page_dma, in il3945_rx_queue_reset()
1134 pci_unmap_page(il->pci_dev, rxq->pool[i].page_dma, in il3945_rx_queue_free()
1236 pci_unmap_page(il->pci_dev, rxb->page_dma, in il3945_rx_handle()
1282 rxb->page_dma = in il3945_rx_handle()
[all …]
D4965-mac.c112 pci_unmap_page(il->pci_dev, rxq->pool[i].page_dma, in il4965_rx_queue_reset()
285 il4965_dma_addr2rbd_ptr(il, rxb->page_dma); in il4965_rx_queue_restock()
321 dma_addr_t page_dma; in il4965_rx_allocate() local
360 page_dma = in il4965_rx_allocate()
364 if (unlikely(pci_dma_mapping_error(il->pci_dev, page_dma))) { in il4965_rx_allocate()
373 pci_unmap_page(il->pci_dev, page_dma, in il4965_rx_allocate()
387 rxb->page_dma = page_dma; in il4965_rx_allocate()
427 pci_unmap_page(il->pci_dev, rxq->pool[i].page_dma, in il4965_rx_queue_free()
4267 pci_unmap_page(il->pci_dev, rxb->page_dma, in il4965_rx_handle()
4313 rxb->page_dma = in il4965_rx_handle()
[all …]
Dcommon.h97 dma_addr_t page_dma; member
/Linux-v4.19/drivers/mtd/nand/onenand/
Dsamsung.c625 int err, ofs, page_dma = 0; in s5pc110_read_bufferram() local
653 page_dma = 1; in s5pc110_read_bufferram()
670 if (page_dma) in s5pc110_read_bufferram()
/Linux-v4.19/drivers/message/fusion/
Dmptctl.c2672 dma_addr_t page_dma; in mptctl_hp_targetinfo() local
2709 pg0_alloc = (SCSIDevicePage0_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
2720 cfg.physAddr = page_dma; in mptctl_hp_targetinfo()
2747 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg0_alloc, page_dma); in mptctl_hp_targetinfo()
2774 ioc->pcidev, data_sz, &page_dma); in mptctl_hp_targetinfo()
2776 cfg.physAddr = page_dma; in mptctl_hp_targetinfo()
2783 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) pg3_alloc, page_dma); in mptctl_hp_targetinfo()
Dmptbase.c5299 dma_addr_t page_dma; in GetIoUnitPage2() local
5324 ppage_alloc = (IOUnitPage2_t *) pci_alloc_consistent(ioc->pcidev, data_sz, &page_dma); in GetIoUnitPage2()
5327 cfg.physAddr = page_dma; in GetIoUnitPage2()
5334 pci_free_consistent(ioc->pcidev, data_sz, (u8 *) ppage_alloc, page_dma); in GetIoUnitPage2()