Searched refs:DMA_DIRECTION_FROM_DEVICE (Results 1 – 11 of 11) sorted by relevance
/openbmc/qemu/include/sysemu/ |
H A D | dma.h | 20 DMA_DIRECTION_FROM_DEVICE = 1, enumerator 77 dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_valid() 88 buf, len, dir == DMA_DIRECTION_FROM_DEVICE); in dma_memory_rw_relaxed() 106 DMA_DIRECTION_FROM_DEVICE, in dma_memory_write_relaxed() 172 DMA_DIRECTION_FROM_DEVICE, attrs); in dma_memory_write() 212 p = address_space_map(as, addr, &xlen, dir == DMA_DIRECTION_FROM_DEVICE, in dma_memory_map() 236 dir == DMA_DIRECTION_FROM_DEVICE, access_len); in dma_memory_unmap()
|
/openbmc/qemu/hw/usb/ |
H A D | libhw.c | 29 DMA_DIRECTION_FROM_DEVICE : DMA_DIRECTION_TO_DEVICE; in usb_packet_map() 62 DMA_DIRECTION_FROM_DEVICE : DMA_DIRECTION_TO_DEVICE; in usb_packet_unmap()
|
H A D | hcd-ohci.c | 768 DMA_DIRECTION_FROM_DEVICE)) { in ohci_service_iso_td() 1017 DMA_DIRECTION_FROM_DEVICE)) { in ohci_service_td()
|
/openbmc/qemu/system/ |
H A D | dma-helpers.c | 24 dma_barrier(as, DMA_DIRECTION_FROM_DEVICE); in dma_memory_set() 146 if (mem && icount_enabled() && dbs->dir == DMA_DIRECTION_FROM_DEVICE) { in dma_blk_cb() 256 DMA_DIRECTION_FROM_DEVICE); in dma_blk_read() 308 return dma_buf_rw(ptr, len, residual, sg, DMA_DIRECTION_FROM_DEVICE, attrs); in dma_buf_read()
|
/openbmc/qemu/hw/scsi/ |
H A D | esp-pci.c | 298 expected_dir = DMA_DIRECTION_FROM_DEVICE; in esp_pci_dma_memory_rw() 333 esp_pci_dma_memory_rw(pci, buf, len, DMA_DIRECTION_FROM_DEVICE); in esp_pci_dma_memory_write()
|
H A D | scsi-disk.c | 495 DMA_DIRECTION_FROM_DEVICE); in scsi_do_read()
|
/openbmc/qemu/include/hw/pci/ |
H A D | pci_device.h | 286 DMA_DIRECTION_FROM_DEVICE, MEMTXATTRS_UNSPECIFIED); in pci_dma_write()
|
/openbmc/qemu/hw/ide/ |
H A D | ahci.c | 253 dma_memory_unmap(as, *ptr, len, DMA_DIRECTION_FROM_DEVICE, len); in map_page() 256 *ptr = dma_memory_map(as, addr, &len, DMA_DIRECTION_FROM_DEVICE, in map_page() 259 dma_memory_unmap(as, *ptr, len, DMA_DIRECTION_FROM_DEVICE, len); in map_page() 755 DMA_DIRECTION_FROM_DEVICE, 256); in ahci_unmap_fis_address() 782 DMA_DIRECTION_FROM_DEVICE, 1024); in ahci_unmap_clb_address()
|
/openbmc/qemu/hw/hyperv/ |
H A D | vmbus.c | 387 if (iter->dir == DMA_DIRECTION_FROM_DEVICE) { in gpadl_iter_io() 451 DMA_DIRECTION_FROM_DEVICE); in vmbus_iov_to_gpadl() 571 DMA_DIRECTION_FROM_DEVICE, MEMTXATTRS_UNSPECIFIED); in ringbuf_map_hdr() 574 DMA_DIRECTION_FROM_DEVICE, 0); in ringbuf_map_hdr() 585 dma_memory_unmap(ringbuf->as, rb, sizeof(*rb), DMA_DIRECTION_FROM_DEVICE, in ringbuf_unmap_hdr() 614 DMA_DIRECTION_FROM_DEVICE, chan->ringbuf_send_offset, in ringbufs_init()
|
/openbmc/qemu/hw/net/ |
H A D | spapr_llan.c | 427 VLAN_BD_LEN(bd), DMA_DIRECTION_FROM_DEVICE) in check_bd()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 814 DMA_DIRECTION_FROM_DEVICE, size); in virtqueue_unmap_sg() 1580 DMA_DIRECTION_FROM_DEVICE : in virtqueue_map_desc() 1630 DMA_DIRECTION_FROM_DEVICE : in virtqueue_map_iovec()
|