Home
last modified time | relevance | path

Searched refs:vaddr (Results 1 – 25 of 241) sorted by relevance

12345678910

/device/soc/esp/esp32/components/esp32/
Dcache_sram_mmu.c50 unsigned int cache_sram_mmu_set_rom(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, in…
61 unsigned int IRAM_ATTR cache_sram_mmu_set(int cpu_no, int pid, unsigned int vaddr, unsigned int pad… in cache_sram_mmu_set() argument
66 return cache_sram_mmu_set_rom(cpu_no, pid, vaddr, paddr, psize, num); in cache_sram_mmu_set()
73 if( (ADDRESS_CHECK(vaddr,psize)) || (ADDRESS_CHECK(paddr,psize)) ){ in cache_sram_mmu_set()
99 if(vaddr >= PRO_DRAM1_START_ADDR && vaddr < PRO_DRAM1_END_ADDR(psize)){ in cache_sram_mmu_set()
100 mmu_addr = 1152 + ((vaddr & (0x3FFFFF >> mask_s)) >> shift); in cache_sram_mmu_set()
105 if(vaddr >= PRO_DRAM1_START_ADDR && vaddr < PRO_DRAM1_END_ADDR(psize)){ in cache_sram_mmu_set()
106 mmu_addr = (1024 + (pid<<7)) + ((vaddr & (0x3FFFFF >> mask_s)) >> shift); in cache_sram_mmu_set()
137 unsigned int cache_sram_mmu_set(int cpu_no, int pid, unsigned int vaddr, unsigned int paddr, int ps… in cache_sram_mmu_set() argument
138 return cache_sram_mmu_set_rom(cpu_no, pid, vaddr, paddr, psize, num); in cache_sram_mmu_set()
/device/soc/esp/esp32/components/esp_system/port/arch/xtensa/
Dpanic_arch.c183 uint32_t vaddr = 0, size = 0; in print_cache_err_details() local
190 vaddr = REG_READ(EXTMEM_PRO_ICACHE_MEM_SYNC0_REG); in print_cache_err_details()
193 panic_print_hex(vaddr); in print_cache_err_details()
199 vaddr = REG_READ(EXTMEM_PRO_ICACHE_PRELOAD_ADDR_REG); in print_cache_err_details()
202 panic_print_hex(vaddr); in print_cache_err_details()
208 vaddr = REG_READ(EXTMEM_PRO_ICACHE_REJECT_VADDR_REG); in print_cache_err_details()
210 panic_print_hex(vaddr); in print_cache_err_details()
222 vaddr = REG_READ(EXTMEM_PRO_DCACHE_MEM_SYNC0_REG); in print_cache_err_details()
225 panic_print_hex(vaddr); in print_cache_err_details()
231 vaddr = REG_READ(EXTMEM_PRO_DCACHE_PRELOAD_ADDR_REG); in print_cache_err_details()
[all …]
/device/qemu/drivers/char/mmz/
Dmmz.c65 VADDR_T vaddr; in MmzAlloc() local
95 vaddr = vmRegion->range.base; in MmzAlloc()
105 status = LOS_ArchMmuMap(&curVmSpace->archMmu, vaddr, paddr, 1, vmFlags); in MmzAlloc()
113 vaddr += PAGE_SIZE; in MmzAlloc()
116 mmzm->vaddr = (void *)vmRegion->range.base; in MmzAlloc()
131 VADDR_T vaddr; in MmzMap() local
152 mmzm->vaddr = (void *)vmRegion->range.base; in MmzMap()
153 vaddr = vmRegion->range.base; in MmzMap()
163 status = LOS_ArchMmuMap(&curVmSpace->archMmu, vaddr, paddr, 1, in MmzMap()
172 vaddr += PAGE_SIZE; in MmzMap()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
Dcma_heap.c39 void *vaddr; member
122 invalidate_kernel_vmap_range(buffer->vaddr, buffer->len); in cma_heap_dma_buf_begin_cpu_access()
144 flush_kernel_vmap_range(buffer->vaddr, buffer->len); in cma_heap_dma_buf_end_cpu_access()
195 void *vaddr; in cma_heap_do_vmap() local
197 vaddr = vmap(buffer->pages, buffer->pagecount, VM_MAP, PAGE_KERNEL); in cma_heap_do_vmap()
198 if (!vaddr) { in cma_heap_do_vmap()
202 return vaddr; in cma_heap_do_vmap()
208 void *vaddr; in cma_heap_vmap() local
213 vaddr = buffer->vaddr; in cma_heap_vmap()
217 vaddr = cma_heap_do_vmap(buffer); in cma_heap_vmap()
[all …]
Dsystem_heap.c37 void *vaddr; member
179 invalidate_kernel_vmap_range(buffer->vaddr, buffer->len); in system_heap_dma_buf_begin_cpu_access()
204 flush_kernel_vmap_range(buffer->vaddr, buffer->len); in system_heap_dma_buf_end_cpu_access()
257 void *vaddr; in system_heap_do_vmap() local
273 vaddr = vmap(pages, npages, VM_MAP, pgprot); in system_heap_do_vmap()
276 if (!vaddr) { in system_heap_do_vmap()
280 return vaddr; in system_heap_do_vmap()
286 void *vaddr; in system_heap_vmap() local
291 vaddr = buffer->vaddr; in system_heap_vmap()
295 vaddr = system_heap_do_vmap(buffer); in system_heap_vmap()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/app/v4l2_interface/
Disp-vb2-cmalloc.c33 void *vaddr = NULL; in cma_alloc() local
49 vaddr = (void *)cma_pages; in cma_alloc()
51 return vaddr; in cma_alloc()
63 cma_pages = buf->vaddr; in cma_free()
72 buf->vaddr = NULL; in cma_free()
101 buf->vaddr = cma_alloc(dev, buf->size);
108 if (!buf->vaddr) {
123 void *vb2_get_userptr(struct device *dev, unsigned long vaddr, argument
136 buf->vaddr = (void *)vaddr;
157 if (!buf->vaddr) {
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/lcd_fb/
Dlogo.c166 void *vaddr = NULL; in Fb_map_kernel() local
176 vaddr = vmap(pages, npages, VM_MAP, pgprot); in Fb_map_kernel()
179 return vaddr; in Fb_map_kernel()
182 static void Fb_unmap_kernel(void *vaddr) in Fb_unmap_kernel() argument
184 vunmap(vaddr); in Fb_unmap_kernel()
189 void *vaddr = NULL; in Fb_map_kernel_logo() local
207 vaddr = (void *)Fb_map_kernel(paddr, sizeof(struct bmp_header)); in Fb_map_kernel_logo()
208 if (vaddr == NULL) { in Fb_map_kernel_logo()
214 memcpy(&bmp_pad_header.signature[0], vaddr + offset, in Fb_map_kernel_logo()
219 Fb_unmap_kernel(vaddr); in Fb_map_kernel_logo()
[all …]
/device/soc/amlogic/a311d/soc/amlogic/ge2d/
Dge2d_dmabuf.c50 void *vaddr; in aml_mm_vmap() local
65 vaddr = vmap(pages, npages, VM_MAP, pgprot); in aml_mm_vmap()
66 if (!vaddr) { in aml_mm_vmap()
72 …ge2d_log_dbg("[HIGH-MEM-MAP] pa(%lx) to va(%p), size: %d\n", (unsigned long)phys, vaddr, npages <<… in aml_mm_vmap()
73 return vaddr; in aml_mm_vmap()
78 void *vaddr = NULL; in aml_map_phyaddr_to_virt() local
83 vaddr = aml_mm_vmap(phys, size); in aml_map_phyaddr_to_virt()
84 return vaddr; in aml_map_phyaddr_to_virt()
92 void *vaddr = (void *)(PAGE_MASK & (ulong)buf->vaddr); local
100 if (is_vmalloc_or_module_addr(vaddr)) {
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/
Daml_vcodec_util.c47 mem->vaddr = codec_mm_dma_alloc_coherent(dev_name(dev), size, in aml_vcodec_mem_alloc()
49 if (!mem->vaddr) { in aml_vcodec_mem_alloc()
56 memset(mem->vaddr, 0, size); in aml_vcodec_mem_alloc()
58 v4l_dbg(ctx, V4L_DEBUG_CODEC_PRINFO, "va: %p\n", mem->vaddr); in aml_vcodec_mem_alloc()
73 if (!mem->vaddr) { in aml_vcodec_mem_free()
80 v4l_dbg(ctx, V4L_DEBUG_CODEC_PRINFO, "va: %p\n", mem->vaddr); in aml_vcodec_mem_free()
84 dma_free_coherent(dev, size, mem->vaddr, mem->dma_addr); in aml_vcodec_mem_free()
85 mem->vaddr = NULL; in aml_vcodec_mem_free()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/vin-vipp/
Dvipp_reg.c153 int vipp_map_osd_para_load_addr(unsigned int id, unsigned long vaddr) in vipp_map_osd_para_load_addr() argument
159 vipp_osd_para_load_addr[id].vipp_osd_overlay_cfg = (VIPP_OSD_OVERLAY_CFG_REG_t *)vaddr; in vipp_map_osd_para_load_addr()
160 …vipp_osd_para_load_addr[id].vipp_osd_cover_cfg = (VIPP_OSD_COVER_CFG_REG_t *)(vaddr + MAX_OVERLAY_… in vipp_map_osd_para_load_addr()
161 …vipp_osd_para_load_addr[id].vipp_osd_cover_data = (VIPP_OSD_COVER_DATA_REG_t *)(vaddr + MAX_OVERLA… in vipp_map_osd_para_load_addr()
181 int vipp_map_reg_load_addr(unsigned int id, unsigned long vaddr) in vipp_map_reg_load_addr() argument
186 vipp_reg_load_addr[id].vipp_module_en = (VIPP_MODULE_EN_REG_t *)(vaddr + VIPP_MODULE_EN_REG_OFF); in vipp_map_reg_load_addr()
187 vipp_reg_load_addr[id].vipp_scaler_cfg = (VIPP_SCALER_CFG_REG_t *)(vaddr + VIPP_SC_CFG_REG_OFF); in vipp_map_reg_load_addr()
188 …vipp_reg_load_addr[id].vipp_scaler_output_size = (VIPP_SCALER_OUTPUT_SIZE_REG_t *)(vaddr + VIPP_SC… in vipp_map_reg_load_addr()
189 vipp_reg_load_addr[id].vipp_output_fmt = (VIPP_OUTPUT_FMT_REG_t *)(vaddr + VIPP_MODE_REG_OFF); in vipp_map_reg_load_addr()
190 vipp_reg_load_addr[id].vipp_osd_cfg = (VIPP_OSD_CFG_REG_t *)(vaddr + VIPP_OSD_CFG_REG_OFF); in vipp_map_reg_load_addr()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dvideobuf2-rdma-sg.c18 void *vaddr; member
78 buf->vaddr = NULL; in vb2_dma_sg_alloc()
143 if (buf->vaddr) in vb2_dma_sg_put()
144 vm_unmap_ram(buf->vaddr, buf->num_pages); in vb2_dma_sg_put()
169 static void *vb2_dma_sg_get_userptr(struct device *dev, unsigned long vaddr, in vb2_dma_sg_get_userptr() argument
184 buf->vaddr = NULL; in vb2_dma_sg_get_userptr()
187 buf->offset = vaddr & ~PAGE_MASK; in vb2_dma_sg_get_userptr()
190 vec = vb2_create_framevec(vaddr, size); in vb2_dma_sg_get_userptr()
235 if (buf->vaddr) in vb2_dma_sg_put_userptr()
236 vm_unmap_ram(buf->vaddr, buf->num_pages); in vb2_dma_sg_put_userptr()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dvideobuf2-rdma-sg.c18 void *vaddr; member
78 buf->vaddr = NULL; in vb2_dma_sg_alloc()
143 if (buf->vaddr) in vb2_dma_sg_put()
144 vm_unmap_ram(buf->vaddr, buf->num_pages); in vb2_dma_sg_put()
169 static void *vb2_dma_sg_get_userptr(struct device *dev, unsigned long vaddr, in vb2_dma_sg_get_userptr() argument
184 buf->vaddr = NULL; in vb2_dma_sg_get_userptr()
187 buf->offset = vaddr & ~PAGE_MASK; in vb2_dma_sg_get_userptr()
190 vec = vb2_create_framevec(vaddr, size); in vb2_dma_sg_get_userptr()
235 if (buf->vaddr) in vb2_dma_sg_put_userptr()
236 vm_unmap_ram(buf->vaddr, buf->num_pages); in vb2_dma_sg_put_userptr()
[all …]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dvideobuf2-rdma-sg.c18 void *vaddr; member
81 buf->vaddr = NULL; in vb2_dma_sg_alloc()
146 if (buf->vaddr) { in vb2_dma_sg_put()
147 vm_unmap_ram(buf->vaddr, buf->num_pages); in vb2_dma_sg_put()
173 static void *vb2_dma_sg_get_userptr(struct device *dev, unsigned long vaddr, unsigned long size, in vb2_dma_sg_get_userptr() argument
189 buf->vaddr = NULL; in vb2_dma_sg_get_userptr()
192 buf->offset = vaddr & ~PAGE_MASK; in vb2_dma_sg_get_userptr()
195 vec = vb2_create_framevec(vaddr, size); in vb2_dma_sg_get_userptr()
242 if (buf->vaddr) { in vb2_dma_sg_put_userptr()
243 vm_unmap_ram(buf->vaddr, buf->num_pages); in vb2_dma_sg_put_userptr()
[all …]
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
Dmpp_iommu.c136 buffer->vaddr = dma_alloc_coherent(dev, align_size, &iova, GFP_KERNEL); in mpp_dma_alloc()
137 if (!buffer->vaddr) { in mpp_dma_alloc()
153 dma_free_coherent(buffer->dev, buffer->size, buffer->vaddr, buffer->iova); in mpp_dma_free()
154 buffer->vaddr = NULL; in mpp_dma_free()
255 void *vaddr = buffer->vaddr; in mpp_dma_unmap_kernel() local
258 if (IS_ERR_OR_NULL(vaddr) || IS_ERR_OR_NULL(dmabuf)) { in mpp_dma_unmap_kernel()
262 dma_buf_vunmap(dmabuf, vaddr); in mpp_dma_unmap_kernel()
263 buffer->vaddr = NULL; in mpp_dma_unmap_kernel()
273 void *vaddr; in mpp_dma_map_kernel() local
286 vaddr = dma_buf_vmap(dmabuf); in mpp_dma_map_kernel()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
Dmpp_iommu.c140 buffer->vaddr = dma_alloc_coherent(dev, align_size, &iova, GFP_KERNEL); in mpp_dma_alloc()
141 if (!buffer->vaddr) in mpp_dma_alloc()
157 buffer->vaddr, buffer->iova); in mpp_dma_free()
158 buffer->vaddr = NULL; in mpp_dma_free()
261 void *vaddr = buffer->vaddr; in mpp_dma_unmap_kernel() local
264 if (IS_ERR_OR_NULL(vaddr) || in mpp_dma_unmap_kernel()
268 dma_buf_vunmap(dmabuf, vaddr); in mpp_dma_unmap_kernel()
269 buffer->vaddr = NULL; in mpp_dma_unmap_kernel()
280 void *vaddr; in mpp_dma_map_kernel() local
292 vaddr = dma_buf_vmap(dmabuf); in mpp_dma_map_kernel()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/
Dmpp_iommu.c140 buffer->vaddr = dma_alloc_coherent(dev, align_size, &iova, GFP_KERNEL); in mpp_dma_alloc()
141 if (!buffer->vaddr) in mpp_dma_alloc()
157 buffer->vaddr, buffer->iova); in mpp_dma_free()
158 buffer->vaddr = NULL; in mpp_dma_free()
261 void *vaddr = buffer->vaddr; in mpp_dma_unmap_kernel() local
264 if (IS_ERR_OR_NULL(vaddr) || in mpp_dma_unmap_kernel()
268 dma_buf_vunmap(dmabuf, vaddr); in mpp_dma_unmap_kernel()
269 buffer->vaddr = NULL; in mpp_dma_unmap_kernel()
280 void *vaddr; in mpp_dma_map_kernel() local
292 vaddr = dma_buf_vmap(dmabuf); in mpp_dma_map_kernel()
[all …]
/device/soc/esp/esp32/components/esp_rom/include/esp32/rom/
Dcache.h69 static inline unsigned int IRAM_ATTR cache_flash_mmu_set(int cpu_no, int pid, unsigned int vaddr, u… in cache_flash_mmu_set() argument
71 …extern unsigned int cache_flash_mmu_set_rom(int cpu_no, int pid, unsigned int vaddr, unsigned int … in cache_flash_mmu_set()
76 ret = cache_flash_mmu_set_rom(cpu_no, pid, vaddr, paddr, psize, num); in cache_flash_mmu_set()
112 unsigned int IRAM_ATTR cache_sram_mmu_set(int cpu_no, int pid, unsigned int vaddr, unsigned int pad…
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/de/
Deink_buffer_manager.c28 disp_free((void *)buffer_mgr->image_slot[i].vaddr,
109 memset((void *)buffer_mgr->image_slot[i].vaddr, in __clear_ring_queue_image()
288 __save_buf2storg((void *)buffer_mgr->image_slot[in_index].vaddr, in __queue_image()
299 image_slot[in_index].vaddr); in __queue_image()
301 __put_gary2buf((void *)buffer_mgr->image_slot[in_index].vaddr, in __queue_image()
305 __save_buf2storg((void *)buffer_mgr->image_slot[in_index].vaddr, in __queue_image()
313 __func__, in_index, buffer_mgr->image_slot[in_index].vaddr, in __queue_image()
442 buffer_mgr->image_slot[i].vaddr = in ring_buffer_manager_init()
445 if (!buffer_mgr->image_slot[i].vaddr) { in ring_buffer_manager_init()
454 memset((void *)buffer_mgr->image_slot[i].vaddr, 0xff, in ring_buffer_manager_init()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/
Dparams_v20.c21 if (!params_vdev->buf_fec[buf_idx].vaddr) { in fec_enable()
57 if (!params_vdev->buf_fec[i].vaddr) { in fec_config()
63 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
67 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
108 data = (struct rkispp_fec_head *)vdev->buf_fec[i].vaddr; in fec_data_abandon()
132 new_params = (struct fec_params_cfg *)(params_vdev->cur_buf->vaddr[0]); in rkispp_params_cfg()
153 new_params = (struct fec_params_cfg *)(params_vdev->cur_buf->vaddr[0]); in rkispp_params_cfg()
195 params_buf->vaddr[0] = new_params; in params_vb2_buf_queue()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dparams_v20.c21 if (!params_vdev->buf_fec[buf_idx].vaddr) { in fec_enable()
55 if (!params_vdev->buf_fec[i].vaddr) { in fec_config()
61 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
65 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
106 data = (struct rkispp_fec_head *)vdev->buf_fec[i].vaddr; in fec_data_abandon()
130 new_params = (struct fec_params_cfg *)(params_vdev->cur_buf->vaddr[0]); in rkispp_params_cfg()
152 new_params = (struct fec_params_cfg *)(params_vdev->cur_buf->vaddr[0]); in rkispp_params_cfg()
192 params_buf->vaddr[0] = new_params; in params_vb2_buf_queue()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dparams_v20.c21 if (!params_vdev->buf_fec[buf_idx].vaddr) { in fec_enable()
57 if (!params_vdev->buf_fec[i].vaddr) { in fec_config()
63 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
67 fec_data = (struct rkispp_fec_head *)params_vdev->buf_fec[buf_idx].vaddr; in fec_config()
108 data = (struct rkispp_fec_head *)vdev->buf_fec[i].vaddr; in fec_data_abandon()
132 new_params = (struct fec_params_cfg *)(params_vdev->cur_buf->vaddr[0]); in rkispp_params_cfg()
153 new_params = (struct fec_params_cfg *)(params_vdev->cur_buf->vaddr[0]); in rkispp_params_cfg()
195 params_buf->vaddr[0] = new_params; in params_vb2_buf_queue()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dframe_check.c377 void *vaddr = NULL; in memcpy_phy_to_virt() local
387 vaddr = kmap_atomic(phys_to_page(phy_from)); in memcpy_phy_to_virt()
391 vaddr += offset; in memcpy_phy_to_virt()
393 vaddr = kmap_atomic(phys_to_page(phy_from)); in memcpy_phy_to_virt()
394 vaddr += offset; in memcpy_phy_to_virt()
398 if (vaddr == NULL) { in memcpy_phy_to_virt()
404 memcpy(to_virt, vaddr, tmp_size); in memcpy_phy_to_virt()
407 kunmap_atomic(vaddr - offset); in memcpy_phy_to_virt()
413 vaddr = codec_mm_vmap(phy_from, VMAP_STRIDE_SIZE); in memcpy_phy_to_virt()
418 vaddr = codec_mm_vmap(phy_from, size); in memcpy_phy_to_virt()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/
Ddma-map-ops.h18 void (*free)(struct device *dev, size_t size, void *vaddr,
23 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr,
28 void (*free_noncoherent)(struct device *dev, size_t size, void *vaddr,
64 void (*cache_sync)(struct device *dev, void *vaddr, size_t size,
181 int dma_release_from_dev_coherent(struct device *dev, int order, void *vaddr);
187 int dma_release_from_global_coherent(int order, void *vaddr);
200 #define dma_release_from_dev_coherent(dev, order, vaddr) (0) argument
201 #define dma_mmap_from_dev_coherent(dev, vma, vaddr, order, ret) (0) argument
209 static inline int dma_release_from_global_coherent(int order, void *vaddr) in dma_release_from_global_coherent() argument
230 void dma_common_free_pages(struct device *dev, size_t size, struct page *vaddr,
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_gem.c71 sunxi_gem_obj->vaddr = dma_alloc_attrs(dev->dev, sunxi_gem_obj->size, in sunxi_drm_alloc_buf()
74 if (!sunxi_gem_obj->vaddr) { in sunxi_drm_alloc_buf()
79 ret = dma_get_sgtable_attrs(dev->dev, &sgt, sunxi_gem_obj->vaddr, in sunxi_drm_alloc_buf()
104 dma_free_attrs(dev->dev, sunxi_gem_obj->size, sunxi_gem_obj->vaddr, in sunxi_drm_alloc_buf()
124 dma_free_attrs(dev->dev, sunxi_gem_obj->size, sunxi_gem_obj->vaddr, in sunxi_drm_free_buf()
140 (unsigned long)sunxi_gem_obj->vaddr, in sunxi_gem_dump()
156 (unsigned long)sunxi_gem_obj->vaddr + offset, in sunxi_drm_gem_show()
482 ret = dma_mmap_attrs(drm_dev->dev, vma, sunxi_gem_obj->vaddr, in sunxi_drm_gem_mmap_buffer()
689 return sunxi_obj->vaddr; in sunxi_drm_gem_prime_vmap()
703 void sunxi_drm_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr) in sunxi_drm_gem_prime_vunmap() argument
/device/qemu/riscv32_virt/liteos_m/board/driver/
Dvirtmmio.h29 #define VMM_TO_DMA_ADDR(vaddr) (vaddr) argument
30 #define DMA_TO_VMM_ADDR(vaddr) (vaddr) argument

12345678910