/linux-5.19.10/drivers/infiniband/hw/qib/ |
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-5.19.10/include/linux/ |
D | dma-direction.h | 8 DMA_FROM_DEVICE = 2, enumerator 15 dir == DMA_FROM_DEVICE; in valid_dma_direction()
|
/linux-5.19.10/drivers/scsi/ |
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()
|
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() 406 cgc.data_direction = DMA_FROM_DEVICE; in sr_get_mcn() 514 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_cd() 557 cgc.data_direction = DMA_FROM_DEVICE; in sr_read_sector()
|
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-5.19.10/drivers/infiniband/ulp/iser/ |
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() 168 ISER_RX_LOGIN_SIZE, DMA_FROM_DEVICE); in iser_free_login_buf() 200 DMA_FROM_DEVICE); in iser_alloc_login_buf() 249 ISER_RX_PAYLOAD_SIZE, DMA_FROM_DEVICE); in iser_alloc_rx_descriptors() 267 ISER_RX_PAYLOAD_SIZE, DMA_FROM_DEVICE); in iser_alloc_rx_descriptors() 291 ISER_RX_PAYLOAD_SIZE, DMA_FROM_DEVICE); in iser_free_rx_descriptors() 549 DMA_FROM_DEVICE); in iser_login_rsp() 565 DMA_FROM_DEVICE); in iser_login_rsp() 645 DMA_FROM_DEVICE); in iser_task_rsp() [all …]
|
/linux-5.19.10/drivers/media/pci/saa7134/ |
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-5.19.10/drivers/usb/storage/ |
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-5.19.10/arch/arc/mm/ |
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-5.19.10/arch/nios2/mm/ |
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-5.19.10/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige_rx.c | 109 &rx_buf_dma, DMA_FROM_DEVICE); in mlxbf_gige_rx_init() 166 MLXBF_GIGE_DEFAULT_BUF_SZ, DMA_FROM_DEVICE); in mlxbf_gige_rx_init() 195 DMA_FROM_DEVICE); in mlxbf_gige_rx_deinit() 256 &rx_buf_dma, DMA_FROM_DEVICE); in mlxbf_gige_rx_packet() 261 MLXBF_GIGE_DEFAULT_BUF_SZ, DMA_FROM_DEVICE); in mlxbf_gige_rx_packet()
|
/linux-5.19.10/drivers/net/ethernet/marvell/octeon_ep/ |
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() 210 PAGE_SIZE, DMA_FROM_DEVICE); in octep_oq_free_ring_buffers() 370 PAGE_SIZE, DMA_FROM_DEVICE); in __octep_oq_process_rx() 423 PAGE_SIZE, DMA_FROM_DEVICE); in __octep_oq_process_rx()
|
/linux-5.19.10/arch/csky/mm/ |
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-5.19.10/drivers/media/usb/stk1160/ |
D | stk1160-video.c | 317 dma_sync_sgtable_for_cpu(dma_dev, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_isoc_irq() 327 dma_sync_sgtable_for_device(dma_dev, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_isoc_irq() 369 stk_urb->sgt, DMA_FROM_DEVICE); in stk_free_urb() 416 DMA_FROM_DEVICE, GFP_KERNEL, 0); in stk1160_fill_urb() 434 dma_free_noncontiguous(dma_dev, sb_size, stk_urb->sgt, DMA_FROM_DEVICE); in stk1160_fill_urb()
|
/linux-5.19.10/drivers/net/ |
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-5.19.10/arch/mips/mm/ |
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-5.19.10/drivers/net/ethernet/dec/tulip/ |
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-5.19.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-trng.c | 50 dma_dst = dma_map_single(ce->dev, d, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read() 92 dma_unmap_single(ce->dev, dma_dst, todo, DMA_FROM_DEVICE); in sun8i_ce_trng_read()
|
/linux-5.19.10/drivers/net/wireless/ath/ath11k/ |
D | mhi.c | 42 .dir = DMA_FROM_DEVICE, 70 .dir = DMA_FROM_DEVICE, 135 .dir = DMA_FROM_DEVICE, 163 .dir = DMA_FROM_DEVICE,
|
/linux-5.19.10/drivers/spi/ |
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(master, DMA_FROM_DEVICE); in ep93xx_spi_dma_callback() 409 rxd = ep93xx_spi_dma_prepare(master, DMA_FROM_DEVICE); in ep93xx_spi_dma_transfer() 417 ep93xx_spi_dma_finish(master, DMA_FROM_DEVICE); in ep93xx_spi_dma_transfer()
|
D | spi-fsl-cpm.c | 139 DMA_FROM_DEVICE); in fsl_spi_cpm_bufs() 174 dma_unmap_single(dev, mspi->rx_dma, t->len, DMA_FROM_DEVICE); in fsl_spi_cpm_bufs_complete() 344 DMA_FROM_DEVICE); in fsl_spi_cpm_init() 392 dma_unmap_single(dev, mspi->dma_dummy_rx, SPI_MRBLR, DMA_FROM_DEVICE); in fsl_spi_cpm_free()
|
/linux-5.19.10/drivers/media/v4l2-core/ |
D | videobuf-dma-sg.c | 160 case DMA_FROM_DEVICE: in videobuf_dma_init_user_locked() 353 dma->direction == DMA_FROM_DEVICE); in videobuf_dma_free() 523 DMA_FROM_DEVICE, in __videobuf_iolock() 530 DMA_FROM_DEVICE, in __videobuf_iolock() 541 DMA_FROM_DEVICE, in __videobuf_iolock() 558 err = videobuf_dma_init_overlay(&mem->dma, DMA_FROM_DEVICE, in __videobuf_iolock()
|
/linux-5.19.10/drivers/message/fusion/ |
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-5.19.10/drivers/block/ |
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()
|
/linux-5.19.10/drivers/crypto/caam/ |
D | blob_gen.c | 96 DMA_FROM_DEVICE); in caam_process_blob() 140 dma_unmap_single(jrdev, dma_out, output_len, DMA_FROM_DEVICE); in caam_process_blob()
|