Home
last modified time | relevance | path

Searched refs:DMA_FROM_DEVICE (Results 1 – 25 of 72) sorted by relevance

123

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/utility/
Dvin_os.c64 sgt = dma_buf_map_attachment(attachment, DMA_FROM_DEVICE); in vin_get_ion_phys()
87 dma_buf_unmap_attachment(mem_man->attachment, mem_man->sgt, DMA_FROM_DEVICE); in vin_free_ion_phys()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
Dmpp_iommu.c265 dma_buf_end_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_unmap_kernel()
280 ret = dma_buf_begin_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_map_kernel()
298 dma_buf_end_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_map_kernel()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
Dmpp_iommu.c271 dma_buf_end_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_unmap_kernel()
286 ret = dma_buf_begin_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_map_kernel()
304 dma_buf_end_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_map_kernel()
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/
Dmpp_iommu.c271 dma_buf_end_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_unmap_kernel()
286 ret = dma_buf_begin_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_map_kernel()
304 dma_buf_end_cpu_access(dmabuf, DMA_FROM_DEVICE); in mpp_dma_map_kernel()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/hw_demux/
Dasyncfifo.c204 DMA_FROM_DEVICE); in dvr_process_channel()
240 DMA_FROM_DEVICE); in dvr_process_channel()
389 (void *)afifo->pages, afifo->buf_len, DMA_FROM_DEVICE); in _asyncfifo_set_buffer()
397 afifo->pages_map, afifo->buf_len, DMA_FROM_DEVICE); in _asyncfifo_put_buffer()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Ddisp_private.c159 sgt = dma_buf_map_attachment(attachment, DMA_FROM_DEVICE); in disp_dma_map_core()
174 dma_buf_unmap_attachment(attachment, sgt, DMA_FROM_DEVICE); in disp_dma_map_core()
188 dma_buf_unmap_attachment(item->attachment, item->sgt, DMA_FROM_DEVICE); in disp_dma_unmap_core()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/hw_demux/
Daml_dmx.c752 (1 << 0x0c), DMA_FROM_DEVICE); in hardware_match_section()
785 (1 << 0x0c), DMA_FROM_DEVICE); in software_match_section()
974 DMA_FROM_DEVICE); in process_smallsection()
987 DMA_FROM_DEVICE); in process_smallsection()
1178 DMA_FROM_DEVICE); in process_sub()
1182 DMA_FROM_DEVICE); in process_sub()
1234 (dma_addr_t)buffer1_phys, len1, DMA_FROM_DEVICE); in process_pes()
1239 (dma_addr_t)buffer2_phys, len2, DMA_FROM_DEVICE); in process_pes()
1438 DMA_FROM_DEVICE); in dvr_process_channel()
1472 DMA_FROM_DEVICE); in dvr_process_channel()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/
Dsecmem.c330 sgt = dma_buf_map_attachment(attach, DMA_FROM_DEVICE); in secmem_import()
339 dma_buf_unmap_attachment(attach, sgt, DMA_FROM_DEVICE); in secmem_import()
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/
Dsecmem.c313 sgt = dma_buf_map_attachment(attach, DMA_FROM_DEVICE); in secmem_import()
322 dma_buf_unmap_attachment(attach, sgt, DMA_FROM_DEVICE); in secmem_import()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dframe_check.c428 tmp_size, DMA_FROM_DEVICE); in memcpy_phy_to_virt()
679 tmp_size, DMA_FROM_DEVICE); in crc32_vmap_le()
934 mgr->canvas_w * mgr->canvas_h, DMA_FROM_DEVICE); in decoder_do_frame_check()
937 flush_size, DMA_FROM_DEVICE); in decoder_do_frame_check()
940 flush_size, DMA_FROM_DEVICE); in decoder_do_frame_check()
/device/soc/amlogic/a311d/soc/amlogic/ge2d/
Dge2d_dmabuf.c457 if (dma_buf->dma_dir == DMA_FROM_DEVICE) {
458 dma_sync_single_for_cpu(dma_buf->dev, dma_buf->dma_addr, dma_buf->size, DMA_FROM_DEVICE);
749 dma_sync_single_for_cpu(buf->dev, buf->dma_addr, buf->size, DMA_FROM_DEVICE);
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dlinux_osl.c611 dma_sync_single_for_cpu(OSH_NULL, virt_to_dma(OSH_NULL, va), size, DMA_FROM_DEVICE); in osl_cache_inv()
1607 (direction == DMA_TX ? DMA_TO_DEVICE:DMA_FROM_DEVICE)); in osl_sec_dma_map_txmeta()
1698 (direction == DMA_TX ? DMA_TO_DEVICE:DMA_FROM_DEVICE)); in osl_sec_dma_map()
1722 (direction == DMA_TX ? DMA_TO_DEVICE:DMA_FROM_DEVICE)); in osl_sec_dma_dd_map()
1774 dma_unmap_page(OSH_NULL, pa_cma, size, DMA_FROM_DEVICE); in osl_sec_dma_unmap()
1826 sec_mem_elem->direction == DMA_TX ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in osl_sec_dma_unmap_all()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dlinux_osl.c622 DMA_FROM_DEVICE); in osl_cache_inv()
1612 (direction == DMA_TX ? DMA_TO_DEVICE : DMA_FROM_DEVICE)); in osl_sec_dma_map_txmeta()
1693 (direction == DMA_TX ? DMA_TO_DEVICE : DMA_FROM_DEVICE)); in osl_sec_dma_map()
1717 (direction == DMA_TX ? DMA_TO_DEVICE : DMA_FROM_DEVICE)); in osl_sec_dma_dd_map()
1766 dma_unmap_page(OSH_NULL, pa_cma, size, DMA_FROM_DEVICE); in osl_sec_dma_unmap()
1814 : DMA_FROM_DEVICE); in osl_sec_dma_unmap_all()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs/
Davs.c340 DMA_FROM_DEVICE); in userdata_push_do_work()
1522 SVA_STREAM_BUF_SIZE, DMA_FROM_DEVICE); in init_avsp_long_cabac_buf()
1755 MAX_CODED_FRAME_SIZE, DMA_FROM_DEVICE); in amvdec_avs_remove()
1772 SVA_STREAM_BUF_SIZE, DMA_FROM_DEVICE); in amvdec_avs_remove()
/device/soc/hisilicon/common/platform/mmc/himci_v200/
Dhimci.h136 DMA_FROM_DEVICE = 2, enumerator
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
Ddrv_mmz_intf.c166 dma_buf_begin_cpu_access(mmb->handle, DMA_FROM_DEVICE); in flush_cache_kern()
/device/board/isoftstone/yangfan/kernel/src/driv/net/stmmac/
Ddwmac-rk-tool.c550 DMA_FROM_DEVICE); in dwmac_rk_rx_fill()
584 lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_rx_clean()
620 DMA_FROM_DEVICE); in dwmac_rk_rx_validate()
988 lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_dma_free_rx_skbufs()
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk-tool.c550 DMA_FROM_DEVICE); in dwmac_rk_rx_fill()
584 lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_rx_clean()
620 DMA_FROM_DEVICE); in dwmac_rk_rx_validate()
988 lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_dma_free_rx_skbufs()
/device/soc/rockchip/common/vendor/drivers/net/ethernet/
Ddwmac-rk-tool.c548 …riv->rx_skbuff_dma = dma_map_single(priv->device, skb->data, lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_rx_fill()
579 … dma_unmap_single(priv->device, lb_priv->rx_skbuff_dma, lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_rx_clean()
610 dma_unmap_single(priv->device, lb_priv->rx_skbuff_dma, lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_rx_validate()
967 … dma_unmap_single(priv->device, lb_priv->rx_skbuff_dma, lb_priv->dma_buf_sz, DMA_FROM_DEVICE); in dwmac_rk_dma_free_rx_skbufs()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dlinux_osl.c688 dma_sync_single_for_cpu(OSH_NULL, virt_to_dma(OSH_NULL, va), size, DMA_FROM_DEVICE); in osl_cache_inv()
2414 (direction == DMA_TX ? DMA_TO_DEVICE:DMA_FROM_DEVICE)); in osl_sec_dma_map_txmeta()
2467 (direction == DMA_TX ? DMA_TO_DEVICE:DMA_FROM_DEVICE)); in osl_sec_dma_map()
2489 (direction == DMA_TX ? DMA_TO_DEVICE:DMA_FROM_DEVICE)); in osl_sec_dma_dd_map()
2529 dma_unmap_page(OSH_NULL, pa_cma, size, DMA_FROM_DEVICE); in osl_sec_dma_unmap()
2548 sec_mem_elem->direction == DMA_TX ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in osl_sec_dma_unmap_all()
/device/soc/hisilicon/common/platform/mmc/sdhci/
Dsdhci.h217 DMA_FROM_DEVICE = 2, enumerator
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs_multi/
Davs_multi.c825 DMA_FROM_DEVICE); in userdata_push_process()
2642 SVA_STREAM_BUF_SIZE, DMA_FROM_DEVICE); in init_avsp_long_cabac_buf()
2929 MAX_CODED_FRAME_SIZE, DMA_FROM_DEVICE); in amvdec_avs_remove()
2946 SVA_STREAM_BUF_SIZE, DMA_FROM_DEVICE); in amvdec_avs_remove()
3910 hw->lmem_addr, LMEM_BUF_SIZE, DMA_FROM_DEVICE); in ammvdec_avs_probe()
4034 hw->lmem_phy_addr, LMEM_BUF_SIZE, DMA_FROM_DEVICE); in ammvdec_avs_remove()
4446 hw->lmem_addr, LMEM_BUF_SIZE, DMA_FROM_DEVICE); in ammvdec_avs_probe2()
4554 MAX_CODED_FRAME_SIZE, DMA_FROM_DEVICE); in ammvdec_avs_remove2()
4571 SVA_STREAM_BUF_SIZE, DMA_FROM_DEVICE); in ammvdec_avs_remove2()
/device/soc/rockchip/common/sdk_linux/include/linux/mmc/
Dhost.h591 return data->flags & MMC_DATA_WRITE ? DMA_TO_DEVICE : DMA_FROM_DEVICE; in mmc_get_dma_dir()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Ddbus.h450 #define DMA_FROM_DEVICE PCI_DMA_FROMDEVICE macro
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Ddbus.h450 #define DMA_FROM_DEVICE PCI_DMA_FROMDEVICE macro

123