/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | linux_osl.h | 197 #define DMA_FREE_CONSISTENT(osh, va, size, pa, dmah) \ 198 osl_dma_free_consistent((osh), (void*)(va), (size), (pa)) 202 #define DMA_FREE_CONSISTENT_FORCE32(osh, va, size, pa, dmah) \ 203 osl_dma_free_consistent((osh), (void*)(va), (size), (pa)) 208 extern void osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa); 218 extern void osl_dma_flush(osl_t *osh, void *va, uint size, int direction, void *p, 220 extern dmaaddr_t osl_dma_map(osl_t *osh, void *va, uint size, int direction, void *p, 228 #define VIRT_TO_PHYS(va) osl_virt_to_phys(va) 231 extern void * osl_virt_to_phys(void * va); 547 void *va; /**< virtual address of driver pkt */ global() member [all...] |
H A D | osl.h | 311 #define SECURE_DMA_MAP(osh, va, size, direction, p, dmah, pcma, offset) ((dmaaddr_t) ((0))) 313 #define SECURE_DMA_MAP(osh, va, size, direction, p, dmah, pcma, offset) \ 316 #define SECURE_DMA_DD_MAP(osh, va, size, direction, p, dmah) 0 318 #define SECURE_DMA_MAP_TXMETA(osh, va, size, direction, p, dmah, pcma) ((dmaaddr_t) ((0))) 320 #define SECURE_DMA_MAP_TXMETA(osh, va, size, direction, p, dmah, pcma) \
|
H A D | bcmpcie.h | 529 #define HOST_RING_BASE(x) ((x)->dma_buf.va)
|
/device/soc/rockchip/rk2206/sdk_liteos/platform/system/ |
H A D | printf.c | 686 static int vsnprintf_s(out_fct_type out, char* buffer, const size_t maxlen, const char* format, va_list va) in vsnprintf_s() argument 750 const int w = va_arg(va, int); in vsnprintf_s() 768 const int prec = (int)va_arg(va, int); in vsnprintf_s() 852 const long long value = va_arg(va, long long); in vsnprintf_s() 858 const long value = va_arg(va, long); in vsnprintf_s() 863 const int value = (flags & FLAGS_CHAR) ? (char)va_arg(va, int) in vsnprintf_s() 864 : (flags & FLAGS_SHORT) ? (short int)va_arg(va, int) : va_arg(va, int); in vsnprintf_s() 874 va_arg(va, unsigned long long), in vsnprintf_s() 879 va_arg(va, unsigne in vsnprintf_s() 1011 va_list va; __wrap_printf() local 1024 va_list va; __wrap_snprintf() local 1031 __wrap_vsnprintf(char* buffer, size_t count, const char* format, va_list va) __wrap_vsnprintf() argument 1039 va_list va; fctprintf() local [all...] |
H A D | printf.h | 43 * \param va A value identifying a variable arguments list 51 int vsnprintf_(char* buffer, size_t count, const char* format, va_list va);
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | linux_osl.c | 93 static sec_mem_elem_t * osl_sec_dma_alloc_mem_elem(osl_t *osh, void *va, uint size, 99 static void osl_sec_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa); 592 osl_cache_flush(void *va, uint size) in osl_cache_flush() argument 597 dma_sync_single_for_device(OSH_NULL, virt_to_phys(va), size, DMA_TX); in osl_cache_flush() 599 dma_sync_single_for_device(OSH_NULL, virt_to_dma(OSH_NULL, va), size, in osl_cache_flush() 605 osl_cache_inv(void *va, uint size) in osl_cache_inv() argument 609 dma_sync_single_for_cpu(OSH_NULL, virt_to_phys(va), size, DMA_RX); in osl_cache_inv() 611 dma_sync_single_for_cpu(OSH_NULL, virt_to_dma(OSH_NULL, va), size, DMA_FROM_DEVICE); in osl_cache_inv() 921 void *va; in osl_dma_alloc_consistent() local 932 va in osl_dma_alloc_consistent() 961 osl_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa) osl_dma_free_consistent() argument 986 osl_virt_to_phys(void *va) osl_virt_to_phys() argument 993 osl_dma_flush(osl_t *osh, void *va, uint size, int direction, void *p, hnddma_seg_map_t *dmah) osl_dma_flush() argument 999 osl_dma_map(osl_t *osh, void *va, uint size, int direction, void *p, hnddma_seg_map_t *dmah) osl_dma_map() argument 1470 osl_sec_dma_alloc_mem_elem(osl_t *osh, void *va, uint size, int direction, struct sec_cma_info *ptr_cma_info, uint offset) osl_sec_dma_alloc_mem_elem() argument 1589 osl_sec_dma_map_txmeta(osl_t *osh, void *va, uint size, int direction, void *p, hnddma_seg_map_t *dmah, void *ptr_cma_info) osl_sec_dma_map_txmeta() argument 1617 osl_sec_dma_map(osl_t *osh, void *va, uint size, int direction, void *p, hnddma_seg_map_t *dmah, void *ptr_cma_info, uint offset) osl_sec_dma_map() argument 1709 osl_sec_dma_dd_map(osl_t *osh, void *va, uint size, int direction, void *p, hnddma_seg_map_t *map) osl_sec_dma_dd_map() argument 1738 void *va; osl_sec_dma_unmap() local 1880 osl_sec_dma_free_consistent(osl_t *osh, void *va, uint size, dmaaddr_t pa) osl_sec_dma_free_consistent() argument [all...] |
H A D | dhd_msgbuf.c | 408 dhd_dma_buf_t dma_buf; /* DMA-able buffer: pa, va, len, dmah, secdma */ 428 #define DHD_RING_BGN_VA(ring) ((ring)->dma_buf.va) 874 " tot<%lu> dma_buf va<%p> msg<%p> curr_rd<%d> rd<%d> wr<%d>\n", in dhd_prot_d2h_sync_livelock() 877 ring->dma_buf.va, msg, ring->curr_rd, ring->rd, ring->wr)); in dhd_prot_d2h_sync_livelock() 1404 ASSERT(dma_buf->va == NULL); in dhd_dma_buf_alloc() 1411 dma_buf->va = DMA_ALLOC_CONSISTENT(osh, buf_len + dma_pad, in dhd_dma_buf_alloc() 1414 if (dma_buf->va == NULL) { in dhd_dma_buf_alloc() 1438 if ((dma_buf == NULL) || (dma_buf->va == NULL)) in dhd_dma_buf_reset() 1444 memset((void*)dma_buf->va, 0, dma_buf->len); in dhd_dma_buf_reset() 1445 OSL_CACHE_FLUSH((void *)dma_buf->va, dma_bu in dhd_dma_buf_reset() 1477 dhd_dma_buf_init(dhd_pub_t *dhd, void *dhd_dma_buf, void *va, uint32 len, dmaaddr_t pa, void *dmah, void *secdma) dhd_dma_buf_init() argument 10921 dhd_get_hscb_info(dhd_pub_t *dhd, void ** va, uint32 *len) dhd_get_hscb_info() argument [all...] |
H A D | dhd_proto.h | 147 void *va, uint32 len, dmaaddr_t pa, void *dmah, void *secdma); 230 int dhd_get_hscb_info(dhd_pub_t *dhd, void ** va, uint32 *len);
|
H A D | linux_osl_priv.h | 166 void *va; member
|
H A D | sbutils.c | 54 #define REGS2SB(va) (sbconfig_t*) ((volatile int8*)(va) + SBCONFIGOFF)
|
H A D | dhd.h | 593 void *va; /* virtual address of buffer */ member
|
H A D | dhd_common.c | 7300 if (dhd->edl_ring_mem.va != NULL) in dhd_edl_mem_deinit()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hi_early_debug.h | 28 int vprintf(const char *fmt, va_list va);
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 466 va_list va; in nouveau_drm_errorf() local 468 va_start(va, fmt); in nouveau_drm_errorf() 470 vaf.va = &va; in nouveau_drm_errorf() 472 va_end(va); in nouveau_drm_errorf() 479 va_list va; in nouveau_drm_debugf() local 481 va_start(va, fmt); in nouveau_drm_debugf() 483 vaf.va = &va; in nouveau_drm_debugf() 485 va_end(va); in nouveau_drm_debugf() [all...] |
/device/soc/rockchip/rk3588/hardware/rga/include/ |
H A D | im2d.hpp | 35 * @param fd/va/pa 43 IM_API rga_buffer_handle_t importbuffer_virtualaddr(void *va, int size); 49 * @param fd/va/pa 61 IM_API rga_buffer_handle_t importbuffer_virtualaddr(void *va, int width, int height, int format);
|
H A D | im2d.h | 59 * @param fd/va/pa 67 IM_API rga_buffer_handle_t importbuffer_virtualaddr(void *va, im_handle_param_t *param);
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_mem_linux.c | 2453 void *va; local 2476 va = dma_alloc_attrs(kctx->kbdev->dev, size, &dma_pa, GFP_KERNEL, 2480 va = dma_alloc_attrs(kctx->kbdev->dev, size, &dma_pa, GFP_KERNEL, 2483 va = dma_alloc_writecombine(kctx->kbdev->dev, size, &dma_pa, GFP_KERNEL); 2485 if (!va) 2489 handle->cpu_va = va; 2516 res = kbase_gpu_mmap(kctx, reg, (uintptr_t) va, pages, 1); 2521 return va; 2531 dma_free_attrs(kctx->kbdev->dev, size, va, dma_pa, attrs); 2533 dma_free_attrs(kctx->kbdev->dev, size, va, dma_p [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_mem_linux.c | 2451 void *va;
local 2474 va = dma_alloc_attrs(kctx->kbdev->dev, size, &dma_pa, GFP_KERNEL, attrs);
2477 va = dma_alloc_attrs(kctx->kbdev->dev, size, &dma_pa, GFP_KERNEL, &attrs);
2479 va = dma_alloc_writecombine(kctx->kbdev->dev, size, &dma_pa, GFP_KERNEL);
2481 if (!va) {
2486 handle->cpu_va = va;
2516 res = kbase_gpu_mmap(kctx, reg, (uintptr_t)va, pages, 1);
2522 return va;
2532 dma_free_attrs(kctx->kbdev->dev, size, va, dma_pa, attrs);
2534 dma_free_attrs(kctx->kbdev->dev, size, va, dma_p [all...] |
/device/qemu/riscv32_virt/liteos_m/board/driver/ |
H A D | virtgpu.c | 620 uint64_t va; in VirtgpuInitResourceHelper() local 628 va = u32_to_u64((uint32_t)g_virtGpu->fb); in VirtgpuInitResourceHelper() 636 if (!CMDResourceAttachBacking(resourceId, va, len)) { in VirtgpuInitResourceHelper()
|
/device/qemu/drivers/virtio/ |
H A D | virtgpu.c | 608 uint64_t va; in VirtgpuInitResourceHelper() local 616 va = (uint64_t)g_virtGpu->fb; in VirtgpuInitResourceHelper() 624 if (!CMDResourceAttachBacking(resourceId, va, len)) { in VirtgpuInitResourceHelper()
|
/device/soc/rockchip/common/sdk_linux/drivers/irqchip/ |
H A D | irq-gic-v3-its.c | 1379 void *va;
in lpi_write_config() local 1383 va = page_address(map->vm->vprop_page);
in lpi_write_config() 1390 va = gic_rdists->prop_table_va;
in lpi_write_config() 1394 cfg = va + hwirq - 0x2000;
in lpi_write_config() 2168 static void gic_reset_prop_table(void *va)
in gic_reset_prop_table() argument 2171 memset(va, LPI_PROP_DEFAULT_PRIO | LPI_PROP_GROUP1, LPI_PROPBASE_SZ);
in gic_reset_prop_table() 2174 gic_flush_dcache_to_poc(va, LPI_PROPBASE_SZ);
in gic_reset_prop_table()
|
/device/soc/hisilicon/common/hal/middleware/ffmpeg_adapt/ |
H A D | configure_llvm | 5474 check_ldflags -Wl,--high-entropy-va # binutils 2.25 6692 check_pkg_config vaapi "libva >= 0.35.0" "va/va.h" vaInitialize 6695 check_pkg_config vaapi_drm "libva-drm" "va/va_drm.h" vaGetDisplayDRM 6698 check_pkg_config vaapi_x11 "libva-x11" "va/va_x11.h" vaGetDisplay 6701 check_cpp_condition vaapi_1 "va/va.h" "VA_CHECK_VERSION(1, 0, 0)" 6703 check_type "va/va.h va/va_dec_hev [all...] |