/openbmc/linux/drivers/accel/qaic/ |
H A D | mhi_controller.c | 46 .dir = DMA_FROM_DEVICE, 78 .dir = DMA_FROM_DEVICE, 110 .dir = DMA_FROM_DEVICE, 142 .dir = DMA_FROM_DEVICE, 174 .dir = DMA_FROM_DEVICE, 206 .dir = DMA_FROM_DEVICE, 238 .dir = DMA_FROM_DEVICE, 270 .dir = DMA_FROM_DEVICE, 302 .dir = DMA_FROM_DEVICE, 334 .dir = DMA_FROM_DEVICE, [all …]
|
/openbmc/linux/include/linux/ |
H A D | dma-direction.h | 8 DMA_FROM_DEVICE = 2, enumerator 15 dir == DMA_FROM_DEVICE; in valid_dma_direction()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_user_pages.c | 63 phys = dma_map_page(&hwdev->dev, page, 0, PAGE_SIZE, DMA_FROM_DEVICE); in qib_map_page() 68 dma_unmap_page(&hwdev->dev, phys, PAGE_SIZE, DMA_FROM_DEVICE); in qib_map_page() 70 DMA_FROM_DEVICE); in qib_map_page()
|
/openbmc/linux/drivers/scsi/ |
H A D | sr_vendor.c | 201 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 228 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 257 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 285 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check() 303 cgc.data_direction = DMA_FROM_DEVICE; in sr_cd_check()
|
/openbmc/linux/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 58 DMA_FROM_DEVICE); in iser_prepare_read_cmd() 172 ISER_RX_LOGIN_SIZE, DMA_FROM_DEVICE); in iser_free_login_buf() 204 DMA_FROM_DEVICE); in iser_alloc_login_buf() 253 ISER_RX_PAYLOAD_SIZE, DMA_FROM_DEVICE); in iser_alloc_rx_descriptors() 271 ISER_RX_PAYLOAD_SIZE, DMA_FROM_DEVICE); in iser_alloc_rx_descriptors() 295 ISER_RX_PAYLOAD_SIZE, DMA_FROM_DEVICE); in iser_free_rx_descriptors() 550 DMA_FROM_DEVICE); in iser_login_rsp() 566 DMA_FROM_DEVICE); in iser_login_rsp() 649 DMA_FROM_DEVICE); in iser_task_rsp() 667 DMA_FROM_DEVICE); in iser_task_rsp() [all …]
|
/openbmc/linux/arch/nios2/mm/ |
H A D | dma-mapping.c | 27 case DMA_FROM_DEVICE: in arch_sync_dma_for_device() 52 case DMA_FROM_DEVICE: in arch_sync_dma_for_cpu()
|
/openbmc/linux/arch/arc/mm/ |
H A D | dma.c | 59 case DMA_FROM_DEVICE: in arch_sync_dma_for_device() 80 case DMA_FROM_DEVICE: in arch_sync_dma_for_cpu()
|
/openbmc/linux/drivers/media/pci/saa7134/ |
H A D | saa7134-go7007.c | 232 saa->bottom_dma, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_irq_ts_done() 237 saa->top_dma, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_irq_ts_done() 249 0, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_stream_start() 254 0, PAGE_SIZE, DMA_FROM_DEVICE); in saa7134_go7007_stream_start() 257 DMA_FROM_DEVICE); in saa7134_go7007_stream_start() 323 DMA_FROM_DEVICE); in saa7134_go7007_stream_stop() 325 DMA_FROM_DEVICE); in saa7134_go7007_stream_stop()
|
/openbmc/linux/drivers/usb/storage/ |
H A D | sddr55.c | 113 unsigned int pipe = (direction == DMA_FROM_DEVICE) ? in sddr55_bulk_transport() 149 DMA_FROM_DEVICE, status, 4); in sddr55_status() 176 DMA_FROM_DEVICE, status, 2); in sddr55_status() 265 DMA_FROM_DEVICE, buffer, len); in sddr55_read_data() 274 DMA_FROM_DEVICE, status, 2); in sddr55_read_data() 457 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, status, 6); in sddr55_write_data() 532 DMA_FROM_DEVICE, content, 4); in sddr55_read_deviceID() 542 DMA_FROM_DEVICE, content, 2); in sddr55_read_deviceID() 672 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, buffer, numblocks * 2); in sddr55_read_map() 679 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, command, 2); in sddr55_read_map()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_rx.c | 46 DMA_FROM_DEVICE); in octep_oq_fill_ring_buffers() 63 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, PAGE_SIZE, DMA_FROM_DEVICE); in octep_oq_fill_ring_buffers() 95 PAGE_SIZE, DMA_FROM_DEVICE); in octep_oq_refill() 209 PAGE_SIZE, DMA_FROM_DEVICE); in octep_oq_free_ring_buffers() 369 PAGE_SIZE, DMA_FROM_DEVICE); in __octep_oq_process_rx() 422 PAGE_SIZE, DMA_FROM_DEVICE); in __octep_oq_process_rx()
|
/openbmc/linux/arch/csky/mm/ |
H A D | dma-mapping.c | 65 case DMA_FROM_DEVICE: in arch_sync_dma_for_device() 80 case DMA_FROM_DEVICE: in arch_sync_dma_for_cpu()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_rx.c | 147 &rx_buf_dma, DMA_FROM_DEVICE); in mlxbf_gige_rx_init() 204 MLXBF_GIGE_DEFAULT_BUF_SZ, DMA_FROM_DEVICE); in mlxbf_gige_rx_init() 233 DMA_FROM_DEVICE); in mlxbf_gige_rx_deinit() 288 &rx_buf_dma, DMA_FROM_DEVICE); in mlxbf_gige_rx_packet() 293 MLXBF_GIGE_DEFAULT_BUF_SZ, DMA_FROM_DEVICE); in mlxbf_gige_rx_packet()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_bl.c | 41 DMA_FROM_DEVICE); in qat_bl_free_bufl() 163 DMA_FROM_DEVICE); in __qat_bl_sgl_to_bufl() 205 DMA_FROM_DEVICE); in __qat_bl_sgl_to_bufl() 263 bl->buffers[i].len, DMA_FROM_DEVICE); in qat_bl_sgl_unmap() 295 DMA_FROM_DEVICE); in qat_bl_sgl_map() 313 DMA_FROM_DEVICE); in qat_bl_sgl_map()
|
/openbmc/linux/arch/mips/mm/ |
H A D | dma-noncoherent.c | 64 case DMA_FROM_DEVICE: in dma_sync_virt_for_device() 81 case DMA_FROM_DEVICE: in dma_sync_virt_for_cpu()
|
/openbmc/linux/drivers/net/ |
H A D | mhi_net.c | 176 free_desc_count = mhi_get_free_desc_count(mhi_dev, DMA_FROM_DEVICE); in mhi_net_dl_callback() 280 while (!mhi_queue_is_full(mdev, DMA_FROM_DEVICE)) { in mhi_net_rx_refill_work() 285 err = mhi_queue_skb(mdev, DMA_FROM_DEVICE, skb, size, MHI_EOT); in mhi_net_rx_refill_work() 300 if (mhi_get_free_desc_count(mdev, DMA_FROM_DEVICE) == mhi_netdev->rx_queue_sz) in mhi_net_rx_refill_work() 327 mhi_netdev->rx_queue_sz = mhi_get_free_desc_count(mhi_dev, DMA_FROM_DEVICE); in mhi_net_newlink()
|
/openbmc/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-video.c | 326 dma_sync_sgtable_for_cpu(dma_dev, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_isoc_irq() 336 dma_sync_sgtable_for_device(dma_dev, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_isoc_irq() 378 stk_urb->sgt, DMA_FROM_DEVICE); in stk_free_urb() 425 DMA_FROM_DEVICE, GFP_KERNEL, 0); in stk1160_fill_urb() 443 dma_free_noncontiguous(dma_dev, sb_size, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_fill_urb()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | dma-noncoherent.c | 77 case DMA_FROM_DEVICE: in arch_sync_dma_for_device() 105 case DMA_FROM_DEVICE: in arch_sync_dma_for_cpu()
|
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/ |
H A D | sun8i-ce-trng.c | 50 dma_dst = dma_map_single(ce->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read() 90 dma_unmap_single(ce->dev, dma_dst, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read()
|
/openbmc/linux/drivers/net/ethernet/dec/tulip/ |
H A D | interrupt.c | 78 PKT_BUF_SZ, DMA_FROM_DEVICE); in tulip_refill_rx() 216 DMA_FROM_DEVICE); in tulip_poll() 229 DMA_FROM_DEVICE); in tulip_poll() 248 DMA_FROM_DEVICE); in tulip_poll() 446 DMA_FROM_DEVICE); in tulip_rx() 459 DMA_FROM_DEVICE); in tulip_rx() 477 PKT_BUF_SZ, DMA_FROM_DEVICE); in tulip_rx()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | mhi.c | 42 .dir = DMA_FROM_DEVICE, 70 .dir = DMA_FROM_DEVICE, 135 .dir = DMA_FROM_DEVICE, 163 .dir = DMA_FROM_DEVICE,
|
/openbmc/u-boot/include/linux/ |
H A D | dma-direction.h | 10 DMA_FROM_DEVICE = 2, enumerator
|
/openbmc/linux/drivers/block/ |
H A D | n64cart.c | 71 dma_addr = dma_map_bvec(dev, bv, DMA_FROM_DEVICE, 0); in n64cart_do_bvec() 83 dma_unmap_page(dev, dma_addr, bv->bv_len, DMA_FROM_DEVICE); in n64cart_do_bvec()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | videobuf-dma-sg.c | 160 case DMA_FROM_DEVICE: in videobuf_dma_init_user_locked() 349 dma->direction == DMA_FROM_DEVICE); in videobuf_dma_free() 519 DMA_FROM_DEVICE, in __videobuf_iolock() 526 DMA_FROM_DEVICE, in __videobuf_iolock() 537 DMA_FROM_DEVICE, in __videobuf_iolock() 554 err = videobuf_dma_init_overlay(&mem->dma, DMA_FROM_DEVICE, in __videobuf_iolock()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-ep93xx.c | 255 case DMA_FROM_DEVICE: in ep93xx_dma_data_to_trans_dir() 295 if (dir == DMA_FROM_DEVICE) { in ep93xx_spi_dma_prepare() 383 if (dir == DMA_FROM_DEVICE) { in ep93xx_spi_dma_finish() 399 ep93xx_spi_dma_finish(host, DMA_FROM_DEVICE); in ep93xx_spi_dma_callback() 409 rxd = ep93xx_spi_dma_prepare(host, DMA_FROM_DEVICE); in ep93xx_spi_dma_transfer() 417 ep93xx_spi_dma_finish(host, DMA_FROM_DEVICE); in ep93xx_spi_dma_transfer()
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptlan.c | 521 priv->RcvCtl[i].len, DMA_FROM_DEVICE); in mpt_lan_close() 875 DMA_FROM_DEVICE); in mpt_lan_receive_post_turbo() 882 DMA_FROM_DEVICE); in mpt_lan_receive_post_turbo() 891 priv->RcvCtl[ctx].len, DMA_FROM_DEVICE); in mpt_lan_receive_post_turbo() 936 priv->RcvCtl[ctx].len, DMA_FROM_DEVICE); in mpt_lan_receive_post_free() 1039 DMA_FROM_DEVICE); in mpt_lan_receive_post_reply() 1045 DMA_FROM_DEVICE); in mpt_lan_receive_post_reply() 1067 DMA_FROM_DEVICE); in mpt_lan_receive_post_reply() 1074 DMA_FROM_DEVICE); in mpt_lan_receive_post_reply() 1210 DMA_FROM_DEVICE); in mpt_lan_post_receive_buckets() [all …]
|