| /freebsd-14.2/sys/dev/gve/ |
| H A D | gve_qpl.c | 80 pmap_qremove((vm_offset_t)qpl->dmas[i].cpu_addr, 1); in gve_free_qpl() 81 kva_free((vm_offset_t)qpl->dmas[i].cpu_addr, PAGE_SIZE); in gve_free_qpl() 136 qpl->dmas[i].cpu_addr = (void *)kva_alloc(PAGE_SIZE); in gve_alloc_qpl() 137 if (!qpl->dmas[i].cpu_addr) { in gve_alloc_qpl() 142 pmap_qenter((vm_offset_t)qpl->dmas[i].cpu_addr, &(qpl->pages[i]), 1); in gve_alloc_qpl() 144 qpl->dmas[i].cpu_addr = (void *)(qpl->kva + (PAGE_SIZE * i)); in gve_alloc_qpl()
|
| H A D | gve_utils.c | 104 err = bus_dmamem_alloc(dma->tag, (void **) &dma->cpu_addr, in gve_dma_alloc_coherent() 115 err = bus_dmamap_load(dma->tag, dma->map, dma->cpu_addr, size, in gve_dma_alloc_coherent() 125 bus_dmamem_free(dma->tag, dma->cpu_addr, dma->map); in gve_dma_alloc_coherent() 139 bus_dmamem_free(dma->tag, dma->cpu_addr, dma->map); in gve_dma_free_coherent() 178 err = bus_dmamap_load(dma->tag, dma->map, dma->cpu_addr, size, in gve_dmamap_create()
|
| H A D | gve_adminq.c | 352 desc = desc_mem.cpu_addr; in gve_adminq_describe_device() 425 page_list = dma.cpu_addr; in gve_adminq_register_page_list() 517 if (priv->aq_mem.cpu_addr == NULL) { in gve_adminq_alloc() 526 priv->adminq = priv->aq_mem.cpu_addr; in gve_adminq_alloc()
|
| H A D | gve_rx.c | 74 rx->page_info[i].page_address = com->qpl->dmas[i].cpu_addr; in gve_prefill_rx_slots() 114 com->q_resources = com->q_resources_mem.cpu_addr; in gve_rx_alloc_ring() 123 rx->desc_ring = rx->desc_ring_mem.cpu_addr; in gve_rx_alloc_ring() 132 rx->data_ring = rx->data_ring_mem.cpu_addr; in gve_rx_alloc_ring()
|
| H A D | gve_main.c | 65 driver_info = driver_info_mem.cpu_addr; in gve_verify_driver_compatibility() 411 priv->counters = priv->counter_array_mem.cpu_addr; in gve_alloc_counter_array() 434 priv->irq_db_indices = priv->irqs_db_mem.cpu_addr; in gve_alloc_irq_db_array()
|
| H A D | gve.h | 67 void *cpu_addr; member
|
| H A D | gve_tx.c | 121 com->q_resources = com->q_resources_mem.cpu_addr; in gve_tx_alloc_ring() 130 tx->desc_ring = tx->desc_ring_mem.cpu_addr; in gve_tx_alloc_ring()
|
| /freebsd-14.2/sys/dev/liquidio/ |
| H A D | lio_network.h | 211 lio_dma_free(size_t size, void *cpu_addr) in lio_dma_free() argument 214 kmem_free(cpu_addr, size); in lio_dma_free()
|
| /freebsd-14.2/sys/contrib/device-tree/src/powerpc/ |
| H A D | akebono.dts | 263 // pci_space < pci_addr > < cpu_addr > < size … 303 // pci_space < pci_addr > < cpu_addr > < size … 343 // pci_space < pci_addr > < cpu_addr > < size … 383 // pci_space < pci_addr > < cpu_addr > < size …
|
| H A D | currituck.dts | 137 // pci_space < pci_addr > < cpu_addr > < size …
|
| /freebsd-14.2/sys/compat/linuxkpi/common/include/linux/ |
| H A D | dma-mapping.h | 172 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_coherent() argument 177 kmem_free(cpu_addr, size); in dma_free_coherent()
|
| /freebsd-14.2/sys/ofed/include/rdma/ |
| H A D | ib_verbs.h | 2043 size_t size, void *cpu_addr, 3511 void *cpu_addr, size_t size, in ib_dma_map_single() argument 3515 return dev->dma_ops->map_single(dev, cpu_addr, size, direction); in ib_dma_map_single() 3516 return dma_map_single(dev->dma_device, cpu_addr, size, direction); in ib_dma_map_single() 3537 void *cpu_addr, size_t size, in ib_dma_map_single_attrs() argument 3541 return dma_map_single_attrs(dev->dma_device, cpu_addr, size, in ib_dma_map_single_attrs() 3744 size_t size, void *cpu_addr, in ib_dma_free_coherent() argument 3748 dev->dma_ops->free_coherent(dev, size, cpu_addr, dma_handle); in ib_dma_free_coherent() 3750 dma_free_coherent(dev->dma_device, size, cpu_addr, dma_handle); in ib_dma_free_coherent()
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/dma/xilinx/ |
| H A D | xilinx_dma.txt | 27 - dma-ranges: Should be as the following <dma_addr cpu_addr max_len>.
|
| /freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/ |
| H A D | trans.c | 2961 u8 *cpu_addr = (void *)trans->dbg.fw_mon.block, *curr_buf; in iwl_dbgfs_monitor_data_read() local 2992 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read() 3001 curr_buf = cpu_addr + data->prev_wr_ptr; in iwl_dbgfs_monitor_data_read() 3010 cpu_addr, &size, in iwl_dbgfs_monitor_data_read() 3027 cpu_addr, &size, in iwl_dbgfs_monitor_data_read()
|