/device/soc/rockchip/common/sdk_linux/drivers/tty/serial/8250/ |
H A D | 8250_dma.c | 10 #include <linux/dma-mapping.h> 23 struct uart_8250_dma *dma = p->dma; in _dma_tx_complete() local 28 dma_sync_single_for_cpu(dma->txchan->device->dev, dma->tx_addr, UART_XMIT_SIZE, DMA_TO_DEVICE); in _dma_tx_complete() 32 dma->tx_running = 0; in _dma_tx_complete() 34 xmit->tail += dma->tx_size; in _dma_tx_complete() 36 p->port.icount.tx += dma->tx_size; in _dma_tx_complete() 55 struct uart_8250_dma *dma = p->dma; in _dma_rx_complete() local 87 struct uart_8250_dma *dma = p->dma; _dma_rx_complete() local 107 struct uart_8250_dma *dma = p->dma; serial8250_tx_dma() local 172 struct uart_8250_dma *dma = p->dma; serial8250_rx_dma() local 201 struct uart_8250_dma *dma = p->dma; serial8250_start_rx_dma() local 224 struct uart_8250_dma *dma = p->dma; serial8250_rx_dma() local 252 struct uart_8250_dma *dma = p->dma; serial8250_rx_dma_flush() local 264 struct uart_8250_dma *dma = p->dma; serial8250_request_dma() local 358 struct uart_8250_dma *dma = p->dma; serial8250_release_dma() local [all...] |
H A D | 8250_dw.c | 488 data->data.dma.rx_param = p->dev->parent;
in dw8250_quirks() 489 data->data.dma.tx_param = p->dev->parent;
in dw8250_quirks() 490 data->data.dma.fn = dw8250_idma_filter;
in dw8250_quirks() 539 data->data.dma.fn = dw8250_fallback_dma_filter;
in dw8250_probe() 655 data->data.dma.rxconf.src_maxburst = p->fifosize / 0x4;
in dw8250_probe() 656 data->data.dma.txconf.dst_maxburst = p->fifosize / 0x4;
in dw8250_probe() 657 up->dma = &data->data.dma;
in dw8250_probe()
|
H A D | 8250_port.c | 1598 if (up->dma && up->dma->txchan && !up->dma->tx_dma(up)) {
in __start_tx() 1602 if (up->dma && !up->dma->tx_dma(up)) {
in __start_tx() 1956 return up->dma->rx_dma(up);
in handle_rx_dma() 1968 return up->dma->rx_dma(up);
in handle_rx_dma() 1992 if (up->dma && up->dma->rxchan) {
in serial8250_handle_irq() 1996 if (!up->dma || dma_er in serial8250_handle_irq() [all...] |
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_iommu.c | 12 #include <linux/dma-buf-cache.h> 13 #include <linux/dma-iommu.h> 22 #include <asm/dma-iommu.h> 29 static struct mpp_dma_buffer *mpp_dma_find_buffer_fd(struct mpp_dma_session *dma, int fd) in mpp_dma_find_buffer_fd() argument 40 mutex_lock(&dma->list_mutex); in mpp_dma_find_buffer_fd() 41 list_for_each_entry_safe(buffer, n, &dma->used_list, link) in mpp_dma_find_buffer_fd() 52 mutex_unlock(&dma->list_mutex); in mpp_dma_find_buffer_fd() 63 buffer->dma->buffer_count--; in mpp_dma_release_buffer() 64 list_move_tail(&buffer->link, &buffer->dma->unused_list); in mpp_dma_release_buffer() 72 static int mpp_dma_remove_extra_buffer(struct mpp_dma_session *dma) in mpp_dma_remove_extra_buffer() argument 96 mpp_dma_release(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_release() argument 105 mpp_dma_release_fd(struct mpp_dma_session *dma, int fd) mpp_dma_release_fd() argument 163 mpp_dma_import_fd(struct mpp_iommu_info *iommu_info, struct mpp_dma_session *dma, int fd) mpp_dma_import_fd() argument 253 mpp_dma_unmap_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_unmap_kernel() argument 270 mpp_dma_map_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_map_kernel() argument 304 mpp_dma_session_destroy(struct mpp_dma_session *dma) mpp_dma_session_destroy() argument 327 struct mpp_dma_session *dma = NULL; mpp_dma_session_create() local [all...] |
H A D | mpp_iommu.h | 15 #include <linux/dma-mapping.h> 18 /* link to dma session buffer list */ 21 /* dma session belong */ 22 struct mpp_dma_session *dma; member 79 int mpp_dma_session_destroy(struct mpp_dma_session *dma); 84 struct mpp_dma_buffer *mpp_dma_import_fd(struct mpp_iommu_info *iommu_info, struct mpp_dma_session *dma, int fd); 85 int mpp_dma_release(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer); 86 int mpp_dma_release_fd(struct mpp_dma_session *dma, int fd); 88 int mpp_dma_unmap_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer); 89 int mpp_dma_map_kernel(struct mpp_dma_session *dma, struc [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_iommu.c | 12 #include <linux/dma-buf.h> 13 #include <linux/dma-iommu.h> 22 #include <asm/dma-iommu.h> 30 mpp_dma_find_buffer_fd(struct mpp_dma_session *dma, int fd) in mpp_dma_find_buffer_fd() argument 40 mutex_lock(&dma->list_mutex); in mpp_dma_find_buffer_fd() 42 &dma->used_list, link) { in mpp_dma_find_buffer_fd() 52 mutex_unlock(&dma->list_mutex); in mpp_dma_find_buffer_fd() 64 buffer->dma->buffer_count--; in mpp_dma_release_buffer() 65 list_move_tail(&buffer->link, &buffer->dma->unused_list); in mpp_dma_release_buffer() 74 mpp_dma_remove_extra_buffer(struct mpp_dma_session *dma) in mpp_dma_remove_extra_buffer() argument 99 mpp_dma_release(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_release() argument 109 mpp_dma_release_fd(struct mpp_dma_session *dma, int fd) mpp_dma_release_fd() argument 167 mpp_dma_import_fd(struct mpp_iommu_info *iommu_info, struct mpp_dma_session *dma, int fd) mpp_dma_import_fd() argument 258 mpp_dma_unmap_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_unmap_kernel() argument 276 mpp_dma_map_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_map_kernel() argument 310 mpp_dma_session_destroy(struct mpp_dma_session *dma) mpp_dma_session_destroy() argument 334 struct mpp_dma_session *dma = NULL; mpp_dma_session_create() local [all...] |
H A D | mpp_iommu.h | 15 #include <linux/dma-mapping.h> 18 /* link to dma session buffer list */ 21 /* dma session belong */ 22 struct mpp_dma_session *dma; member 80 int mpp_dma_session_destroy(struct mpp_dma_session *dma); 88 struct mpp_dma_session *dma, int fd); 89 int mpp_dma_release(struct mpp_dma_session *dma, 91 int mpp_dma_release_fd(struct mpp_dma_session *dma, int fd); 93 int mpp_dma_unmap_kernel(struct mpp_dma_session *dma, 95 int mpp_dma_map_kernel(struct mpp_dma_session *dma, [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | bcmsdpcm.h | 239 (void *)(uintptr)&((h)->regs->dma.sdiod32.dma32regs[chnl].xmt) : \ 240 (void *)(uintptr)&((h)->regs->dma.sdiod32.dma32regs[chnl].rcv)) 244 (void *)(uintptr)&((h)->regs->dma.sdiod64.dma64regs[chnl].xmt) : \ 245 (void *)(uintptr)&((h)->regs->dma.sdiod64.dma64regs[chnl].rcv)) 254 (void *)(uintptr)&((h)->regs->dma.pcm32.dmaregs.xmt) : \ 255 (void *)(uintptr)&((h)->regs->dma.pcm32.dmaregs.rcv)) 264 ((dma32diag_t *)(uintptr)&((h)->regs->dma.sdiod32.dmafifo)) : \ 265 ((dma32diag_t *)(uintptr)&((h)->regs->dma.sdiod64.dmafifo))) 268 ((dma32diag_t *)(uintptr)&((h)->regs->dma.pcm32.dmafifo))
|
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/ |
H A D | hwif.h | 222 stmmac_do_callback(__priv, dma, reset, __args) 224 stmmac_do_void_callback(__priv, dma, init, __args) 226 stmmac_do_void_callback(__priv, dma, init_chan, __args) 228 stmmac_do_void_callback(__priv, dma, init_rx_chan, __args) 230 stmmac_do_void_callback(__priv, dma, init_tx_chan, __args) 232 stmmac_do_void_callback(__priv, dma, axi, __args) 234 stmmac_do_void_callback(__priv, dma, dump_regs, __args) 236 stmmac_do_void_callback(__priv, dma, dma_rx_mode, __args) 238 stmmac_do_void_callback(__priv, dma, dma_tx_mode, __args) 240 stmmac_do_void_callback(__priv, dma, dma_diagnostic_f [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/ |
H A D | drv_osal_sys_linux.c | 35 compat_addr dma; member 87 hi_log_error("dma alloc coherent with invalid size(0x%x).\n", size); in cipher_dma_alloc_coherent() 99 hi_log_error("cipher dma set mask failed.\n"); in cipher_dma_alloc_coherent() 114 addr_u64(g_local_map_table[i].dma) = addr_u64(mem->dma_addr); in cipher_dma_alloc_coherent() 150 hi_log_error("cipher dma set mask failed.\n"); in cipher_dma_free_coherent() 158 if (g_local_map_table[i].valid && addr_u64(g_local_map_table[i].dma) == addr_u64(mem_temp.dma_addr)) { in cipher_dma_free_coherent() 159 addr_u64(g_local_map_table[i].dma) = 0x00; in cipher_dma_free_coherent() 215 addr_u64(g_local_map_table[i].dma) = addr_u64(mem->dma_addr); in hash_mem_alloc_remap() 238 addr_u64(g_local_map_table[i].dma) == addr_u64(mem->dma_addr)) { in hash_mem_release_unmap() 239 addr_u64(g_local_map_table[i].dma) in hash_mem_release_unmap() [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | dmaengine.h | 49 * automatically set as dma devices are registered. 73 * enum dma_transfer_direction - dma transfer mode and direction indicator 313 * @device: ptr to the dma device who supplies this channel, always !%NULL 385 * struct dma_slave_config - dma slave channel runtime config 419 * @slave_id: Slave requester id. Only valid for slave channels. The dma 420 * slave peripheral will have unique id as dma requester which need to be 488 * each type, the dma controller should set BIT(<TYPE>) and same 579 * ---dma generic offload fields--- 783 * @dev: struct device reference for dma mapping api 791 * each type, the dma controlle 1214 dma_set_maxpq(struct dma_device *dma, int maxpq, int has_pq_continue) dma_set_maxpq() argument 1234 dma_dev_has_pq_continue(struct dma_device *dma) dma_dev_has_pq_continue() argument 1239 dma_dev_to_maxpq(struct dma_device *dma) dma_dev_to_maxpq() argument 1257 dma_maxpq(struct dma_device *dma, enum dma_ctrl_flags flags) dma_maxpq() argument [all...] |
H A D | dma-buf-cache.h | 8 #include <linux/dma-buf.h> 21 /* Replace dma-buf apis to cached apis */
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory_secure.c | 17 #include <linux/dma-mapping.h> 18 #include <linux/dma-buf.h> 19 #include <linux/dma-direct.h> 26 /* get dma buffer */ in mali_mem_secure_attach_dma_buf() 29 MALI_DEBUG_PRINT_ERROR(("Failed to get dma buf!\n")); in mali_mem_secure_attach_dma_buf() 34 MALI_DEBUG_PRINT_ERROR(("The secure mem size not match to the dma buf size!\n")); in mali_mem_secure_attach_dma_buf() 41 MALI_DEBUG_PRINT_ERROR(("Failed to get dma buf attachment!\n")); in mali_mem_secure_attach_dma_buf() 47 MALI_DEBUG_PRINT_ERROR(("Failed to map dma buf attachment\n")); in mali_mem_secure_attach_dma_buf()
|
H A D | mali_internal_sync.h | 34 #include <linux/dma-fence.h> 43 #include <linux/dma-fence-array.h>
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory_secure.c | 16 #include <linux/dma-mapping.h> 17 #include <linux/dma-buf.h> 18 #include <linux/dma-direct.h> 25 /* get dma buffer */ in mali_mem_secure_attach_dma_buf() 28 MALI_DEBUG_PRINT_ERROR(("Failed to get dma buf!\n")); in mali_mem_secure_attach_dma_buf() 33 MALI_DEBUG_PRINT_ERROR(("The secure mem size not match to the dma buf size!\n")); in mali_mem_secure_attach_dma_buf() 40 MALI_DEBUG_PRINT_ERROR(("Failed to get dma buf attachment!\n")); in mali_mem_secure_attach_dma_buf() 46 MALI_DEBUG_PRINT_ERROR(("Failed to map dma buf attachment\n")); in mali_mem_secure_attach_dma_buf()
|
H A D | mali_internal_sync.h | 33 #include <linux/dma-fence.h> 42 #include <linux/dma-fence-array.h>
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/ |
H A D | rga_drv.h | 16 #include <linux/dma-buf-cache.h> 17 #include <linux/dma-mapping.h> 52 #include <linux/dma-iommu.h> 53 #include <linux/dma-map-ops.h>
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_mem_lowlevel.h | 23 #include <linux/dma-mapping.h>
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_mem_lowlevel.h | 27 #include <linux/dma-mapping.h>
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_cache.c | 24 #include <linux/dma-direction.h>
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
H A D | osal_cache.c | 22 #include <linux/dma-direction.h>
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/ |
H A D | module_config.mk | 5 CCFLAGS += -I$(MAIN_TOPDIR)/platform/drivers/dma \
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | isp_external.h | 28 dma_addr_t dma; member
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | isp_external.h | 31 dma_addr_t dma; member
|
/device/soc/rockchip/rk3588/kernel/include/linux/ |
H A D | dma-buf-cache.h | 8 #include <linux/dma-buf.h> 25 /* Replace dma-buf apis to cached apis */
|