/linux/drivers/infiniband/ulp/iser/ |
H A D | iser_initiator.c | 58 DMA_FROM_DEVICE); in iser_prepare_read_cmd() 80 iser_dma_unmap_task_data(iser_task, ISER_DIR_IN, 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() [all …]
|
/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()
|
/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()
|
H A D | sr_ioctl.c | 55 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tochdr() 89 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_tocentry() 409 cgc.data_direction = DMA_FROM_DEVICE; in sr_get_mcn() 520 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_cd() 563 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_sector()
|
H A D | zorro_esp.c | 283 DMA_FROM_DEVICE); in zorro_esp_send_blz1230_dma_cmd() 329 DMA_FROM_DEVICE); in zorro_esp_send_blz1230II_dma_cmd() 374 DMA_FROM_DEVICE); in zorro_esp_send_blz2060_dma_cmd() 424 DMA_FROM_DEVICE); in zorro_esp_send_cyber_dma_cmd() 474 DMA_FROM_DEVICE); in zorro_esp_send_cyberII_dma_cmd() 517 DMA_FROM_DEVICE); in zorro_esp_send_fastlane_dma_cmd()
|
/linux/include/linux/ |
H A D | dma-direction.h | 8 DMA_FROM_DEVICE = 2, enumerator 15 dir == DMA_FROM_DEVICE; in valid_dma_direction()
|
/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()
|
/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()
|
/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()
|
/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()
|
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_rx.c | 46 DMA_FROM_DEVICE); in octep_vf_oq_fill_ring_buffers() 63 dma_unmap_page(oq->dev, desc_ring[i].buffer_ptr, PAGE_SIZE, DMA_FROM_DEVICE); in octep_vf_oq_fill_ring_buffers() 95 PAGE_SIZE, DMA_FROM_DEVICE); in octep_vf_oq_refill() 210 PAGE_SIZE, DMA_FROM_DEVICE); in octep_vf_oq_free_ring_buffers() 371 PAGE_SIZE, DMA_FROM_DEVICE); in __octep_vf_oq_process_rx() 426 PAGE_SIZE, DMA_FROM_DEVICE); in __octep_vf_oq_process_rx()
|
/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()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_bl.c | 41 DMA_FROM_DEVICE); in qat_bl_free_bufl() 165 DMA_FROM_DEVICE); in __qat_bl_sgl_to_bufl() 207 DMA_FROM_DEVICE); in __qat_bl_sgl_to_bufl() 265 bl->buffers[i].len, DMA_FROM_DEVICE); in qat_bl_sgl_unmap() 297 DMA_FROM_DEVICE); in qat_bl_sgl_map() 315 DMA_FROM_DEVICE); in qat_bl_sgl_map()
|
/linux/drivers/media/usb/stk1160/ |
H A D | stk1160-video.c | 320 dma_sync_sgtable_for_cpu(dma_dev, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_isoc_irq() 330 dma_sync_sgtable_for_device(dma_dev, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_isoc_irq() 372 stk_urb->sgt, DMA_FROM_DEVICE); in stk_free_urb() 419 DMA_FROM_DEVICE, GFP_KERNEL, 0); in stk1160_fill_urb() 437 dma_free_noncontiguous(dma_dev, sb_size, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_fill_urb()
|
/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()
|
/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()
|
/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() 355 PAGE_SIZE, DMA_FROM_DEVICE); in octep_oq_next_pkt()
|
/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()
|
/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()
|
/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() 1086 priv->RcvCtl[ctx].len, DMA_FROM_DEVICE); in mpt_lan_receive_post_reply() [all …]
|
/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()
|
/linux/drivers/spi/ |
H A D | spi-ep93xx.c | 251 case DMA_FROM_DEVICE: in ep93xx_dma_data_to_trans_dir() 291 if (dir == DMA_FROM_DEVICE) { in ep93xx_spi_dma_prepare() 379 if (dir == DMA_FROM_DEVICE) { in ep93xx_spi_dma_finish() 395 ep93xx_spi_dma_finish(host, DMA_FROM_DEVICE); in ep93xx_spi_dma_callback() 405 rxd = ep93xx_spi_dma_prepare(host, DMA_FROM_DEVICE); in ep93xx_spi_dma_transfer() 413 ep93xx_spi_dma_finish(host, DMA_FROM_DEVICE); in ep93xx_spi_dma_transfer()
|
/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()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dbring.c | 32 DMA_FROM_DEVICE); in ath12k_dbring_bufs_replenish() 69 DMA_FROM_DEVICE); in ath12k_dbring_bufs_replenish() 314 DMA_FROM_DEVICE); in ath12k_dbring_buffer_release_event() 351 ring->buf_sz, DMA_FROM_DEVICE); in ath12k_dbring_buf_cleanup()
|
/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()
|