Home
last modified time | relevance | path

Searched refs:v_addr (Results 1 – 25 of 27) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/
Drga2_mmu_info.c332 img->v_addr = img->uv_addr + (img->vir_w * img->vir_h) / 0x2; in rga2_convert_addr()
334 img->v_addr = img->uv_addr + (img->vir_w * img->vir_h) / 0x4; in rga2_convert_addr()
514 req->src.v_addr = req->src.uv_addr + (src_vir_w * req->src.vir_h) / 0x4; in rga2_get_dma_info()
519 req->src.v_addr = req->src.uv_addr + (src_vir_w * req->src.vir_h) / 0x4; in rga2_get_dma_info()
525 req->src.v_addr = req->src.uv_addr + (src_vir_w * req->src.vir_h) / 0x4; in rga2_get_dma_info()
548 req->dst.v_addr = req->dst.uv_addr + (dst_vir_w * req->dst.vir_h) / 0x4; in rga2_get_dma_info()
553 req->dst.v_addr = req->dst.uv_addr + (dst_vir_w * req->dst.vir_h) / 0x4; in rga2_get_dma_info()
559 req->dst.v_addr = req->dst.uv_addr + (dst_vir_w * req->dst.vir_h) / 0x4; in rga2_get_dma_info()
573 req->src1.v_addr = req->src1.uv_addr + (req->src1.vir_w * req->src1.vir_h) / 0x4; in rga2_get_dma_info()
578 req->src1.v_addr = req->src1.uv_addr + (req->src1.vir_w * req->src1.vir_h) / 0x4; in rga2_get_dma_info()
[all …]
Drga2_reg_info.c496 …(unsigned int)(msg->src.v_addr + (msg->src.y_offset / ydiv) * uv_stride + (msg->src.x_offset / xdi… in RGA2_set_reg_src_info()
547 unsigned int yrgb_addr, u_addr, v_addr, s_yrgb_addr; in RGA2_set_reg_dst_info() local
989v_addr = (unsigned int)msg->dst.v_addr + (msg->dst.y_offset / y_div) * d_uv_stride + msg->dst.x_of… in RGA2_set_reg_dst_info()
993 v_lt_addr = v_addr; in RGA2_set_reg_dst_info()
1021 v_ld_addr = v_addr + ((msg->dst.act_h / y_div) - 1) * (d_uv_stride); in RGA2_set_reg_dst_info()
1024 v_rt_addr = v_addr + (msg->dst.act_w / x_div) - 1; in RGA2_set_reg_dst_info()
1034 v_addr = v_rd_addr; in RGA2_set_reg_dst_info()
1038 v_addr = v_ld_addr; in RGA2_set_reg_dst_info()
1044 v_addr = v_rt_addr; in RGA2_set_reg_dst_info()
1048 v_addr = v_lt_addr; in RGA2_set_reg_dst_info()
[all …]
Drga2.h172 u32 v_addr; member
284 unsigned long v_addr; /* cr mem addr */ member
302 uint32_t v_addr; /* cr mem addr */ member
Drga2_drv.c335 … req->src.uv_addr, req->src.v_addr, req->src.act_w, req->src.act_h, req->src.vir_w, req->src.vir_h, in print_debug_info()
337 if (req->src1.yrgb_addr != 0 || req->src1.uv_addr != 0 || req->src1.v_addr != 0) { in print_debug_info()
339 …req->src1.uv_addr, req->src1.v_addr, req->src1.act_w, req->src1.act_h, req->src1.vir_w, req->src1.… in print_debug_info()
343 … req->dst.uv_addr, req->dst.v_addr, req->dst.act_w, req->dst.act_h, req->dst.vir_w, req->dst.vir_h, in print_debug_info()
1900 req.src.v_addr = req.src.uv_addr + srcH * srcW; in rga2_slt()
1912 req.dst.v_addr = req.dst.uv_addr + dstH * dstW; in rga2_slt()
2103 req.src.v_addr = 0; in rga2_test_0()
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/rga2/
Drga2_mmu_info.c107 static unsigned int armv7_va_to_pa(unsigned int v_addr)
115 : "r" (v_addr)
362 img->v_addr = img->uv_addr + (img->vir_w * img->vir_h) / 2; in rga2_convert_addr()
364 img->v_addr = img->uv_addr + (img->vir_w * img->vir_h) / 4; in rga2_convert_addr()
546 req->src.v_addr = in rga2_get_dma_info()
553 req->src.v_addr = in rga2_get_dma_info()
561 req->src.v_addr = in rga2_get_dma_info()
588 req->dst.v_addr = in rga2_get_dma_info()
595 req->dst.v_addr = in rga2_get_dma_info()
603 req->dst.v_addr = in rga2_get_dma_info()
[all …]
Drga2_reg_info.c341 …*bRGA_SRC_BASE2 = (RK_U32)(msg->src.v_addr + (msg->src.y_offset / ydiv) * uv_stride + (msg->src.x_… in RGA2_set_reg_src_info()
393 RK_U32 yrgb_addr, u_addr, v_addr, s_yrgb_addr; in RGA2_set_reg_dst_info() local
588v_addr = (RK_U32)msg->dst.v_addr + (msg->dst.y_offset / y_div) * d_uv_stride + msg->dst.x_offset /… in RGA2_set_reg_dst_info()
592 v_lt_addr = v_addr; in RGA2_set_reg_dst_info()
624 v_ld_addr = v_addr + ((msg->dst.act_h / y_div) - 1) * (d_uv_stride); in RGA2_set_reg_dst_info()
627 v_rt_addr = v_addr + (msg->dst.act_w / x_div) - 1; in RGA2_set_reg_dst_info()
640 v_addr = v_rd_addr; in RGA2_set_reg_dst_info()
646 v_addr = v_ld_addr; in RGA2_set_reg_dst_info()
655 v_addr = v_rt_addr; in RGA2_set_reg_dst_info()
661 v_addr = v_lt_addr; in RGA2_set_reg_dst_info()
[all …]
Drga2.h166 u32 v_addr; member
316 unsigned long v_addr; /* cr mem addr */ member
336 uint32_t v_addr; /* cr mem addr */ member
Drga2_drv.c332 req->src.yrgb_addr, req->src.uv_addr, req->src.v_addr, in print_debug_info()
338 req->src1.v_addr != 0) { in print_debug_info()
340 req->src1.yrgb_addr, req->src1.uv_addr, req->src1.v_addr, in print_debug_info()
346 req->dst.yrgb_addr, req->dst.uv_addr, req->dst.v_addr, in print_debug_info()
1968 req.src.v_addr = req.src.uv_addr + srcH * srcW; in rga2_slt()
1980 req.dst.v_addr = req.dst.uv_addr + dstH * dstW; in rga2_slt()
2188 req.src.v_addr = 0; in rga2_test_0()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga2_mmu_info.c427 req->dst.v_addr, in rga2_mmu_flush_cache()
585 req->src.v_addr, in rga2_mmu_info_BitBlt_mode()
596 req->src1.v_addr, in rga2_mmu_info_BitBlt_mode()
608 req->dst.v_addr, in rga2_mmu_info_BitBlt_mode()
682 v_size = (req->src.v_addr in rga2_mmu_info_BitBlt_mode()
688 req->src.v_addr = (req->src.v_addr & (~PAGE_MASK)) | in rga2_mmu_info_BitBlt_mode()
791 v_size = (req->dst.v_addr in rga2_mmu_info_BitBlt_mode()
795 req->dst.v_addr = (req->dst.v_addr & (~PAGE_MASK)) | in rga2_mmu_info_BitBlt_mode()
878 req->dst.uv_addr, req->dst.v_addr, in rga2_mmu_info_color_palette_mode()
969 v_size = (req->dst.v_addr in rga2_mmu_info_color_palette_mode()
[all …]
Drga2_reg_info.c584 (u32) (msg->src.v_addr + in RGA2_set_reg_src_info()
639 u32 yrgb_addr, u_addr, v_addr, s_yrgb_addr; in RGA2_set_reg_dst_info() local
1124 v_addr = (u32) msg->dst.v_addr + in RGA2_set_reg_dst_info()
1130 v_lt_addr = v_addr; in RGA2_set_reg_dst_info()
1165 v_ld_addr = v_addr + ((msg->dst.act_h / y_div) - 1) * (d_uv_stride); in RGA2_set_reg_dst_info()
1168 v_rt_addr = v_addr + (msg->dst.act_w / x_div) - 1; in RGA2_set_reg_dst_info()
1178 v_addr = v_rd_addr; in RGA2_set_reg_dst_info()
1182 v_addr = v_ld_addr; in RGA2_set_reg_dst_info()
1188 v_addr = v_rt_addr; in RGA2_set_reg_dst_info()
1192 v_addr = v_lt_addr; in RGA2_set_reg_dst_info()
[all …]
Drga_dma_buf.c49 unsigned long v_addr, int format, uint32_t w, in rga_buf_size_cal() argument
120 start = min3(yrgb_addr, uv_addr, v_addr); in rga_buf_size_cal()
124 (v_addr + size_v)); in rga_buf_size_cal()
145 start = min3(yrgb_addr, uv_addr, v_addr); in rga_buf_size_cal()
149 (v_addr + size_v)); in rga_buf_size_cal()
544 channel_info->v_addr, format, in rga_viraddr_get_channel_info()
671 img->v_addr = in rga_convert_addr()
674 img->v_addr = in rga_convert_addr()
678 img->v_addr = 0; in rga_convert_addr()
Drga_debugger.c536 (unsigned long)req->src.v_addr, in rga_cmd_print_debug_info()
544 || req->pat.v_addr != 0) { in rga_cmd_print_debug_info()
548 (unsigned long)req->pat.v_addr, in rga_cmd_print_debug_info()
559 (unsigned long)req->dst.v_addr, in rga_cmd_print_debug_info()
Drga3_reg_info.c412 *bRGA3_WIN0_V_BASE = (u32) msg->win0.v_addr; in RGA3_set_reg_win0_info()
812 *bRGA3_WIN1_V_BASE = (u32) msg->win1.v_addr; in RGA3_set_reg_win1_info()
1050 *bRGA3_WR_V_BASE = (u32) msg->wr.v_addr; in RGA3_set_reg_wr_info()
1237 win->v_addr = img->v_addr; in addr_copy()
1910 req->win0.yrgb_addr, req->win0.uv_addr, req->win0.v_addr, in print_debug_info()
1923 || req->win1.v_addr != 0) { in print_debug_info()
1926 req->win1.v_addr, req->win1.src_act_w, in print_debug_info()
1941 req->wr.yrgb_addr, req->wr.uv_addr, req->wr.v_addr, in print_debug_info()
Drga_mm.c36 img->v_addr = in rga_convert_addr()
39 img->v_addr = in rga_convert_addr()
43 img->v_addr = 0; in rga_convert_addr()
/device/soc/rockchip/common/hardware/rga/include/
Drga.h184 unsigned long v_addr; /* cr mem addr */ member
188 unsigned int v_addr; /* cr mem addr */
382 unsigned long v_addr, /* v_addr */
391 unsigned int v_addr, /* v_addr */
408 unsigned long v_addr, /* v_addr */
417 unsigned int v_addr, /* v_addr */
/device/soc/allwinner/t507/hardware/rga/include/
Drga.h186 unsigned long v_addr; /* cr mem addr */ member
190 unsigned int v_addr; /* cr mem addr */
398 unsigned long v_addr, /* v_addr */
409 unsigned int v_addr, /* v_addr */
429 unsigned long v_addr, /* v_addr */
441 unsigned int v_addr, /* v_addr */
/device/soc/rockchip/rk3399/hardware/rga/include/
Drga.h185 unsigned long v_addr; /* cr mem addr */ member
189 unsigned int v_addr; /* cr mem addr */
394 unsigned long v_addr, /* v_addr */
405 unsigned int v_addr, /* v_addr */
426 unsigned long v_addr, /* v_addr */
438 unsigned int v_addr, /* v_addr */
/device/soc/rockchip/rk3568/hardware/rga/include/
Drga.h185 unsigned long v_addr; /* cr mem addr */ member
189 unsigned int v_addr; /* cr mem addr */
394 unsigned long v_addr, /* v_addr */
405 unsigned int v_addr, /* v_addr */
426 unsigned long v_addr, /* v_addr */
438 unsigned int v_addr, /* v_addr */
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/mmc/
Dsunxi-mmc-debug.c313 void __iomem *v_addr = NULL; in sunxi_remap_writel() local
315 v_addr = ioremap(phy_addr, 8); in sunxi_remap_writel()
316 if (v_addr == NULL) { in sunxi_remap_writel()
320 writel(val, v_addr); in sunxi_remap_writel()
321 printk("addr %x, val %x\n", (unsigned int)phy_addr, readl(v_addr)); in sunxi_remap_writel()
323 iounmap(v_addr); in sunxi_remap_writel()
330 void __iomem *v_addr = NULL; in sunxi_remap_readl() local
332 v_addr = ioremap(phy_addr, 8); in sunxi_remap_readl()
333 if (v_addr == NULL) { in sunxi_remap_readl()
338 *pval = readl(v_addr); in sunxi_remap_readl()
[all …]
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_RGA_Process.c114 Rga_Request.src.v_addr = 0; in rga_copy()
141 Rga_Request.dst.v_addr = 0; in rga_copy()
209 Rga_Request.src.v_addr = 0; in rga_crop_scale()
244 Rga_Request.dst.v_addr = 0; in rga_crop_scale()
328 Rga_Request.src.v_addr = 0; in rga_convert()
343 Rga_Request.dst.v_addr = 0; in rga_convert()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/
Drga_dma_buf.h15 unsigned long v_addr, int format, uint32_t w,
Drga.h297 unsigned long v_addr; member
332 uint64_t v_addr; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mjpeg/
Dvmjpeg_multi.c160 unsigned int v_addr; member
512 hw->buffer_spec[i].v_addr = addr; in vmjpeg_canvas_init()
563 hw->buffer_spec[i].v_addr, in vmjpeg_canvas_init()
569 hw->buffer_spec[i].v_addr; in vmjpeg_canvas_init()
899 hw->buffer_spec[i].v_addr = addr; in vmjpeg_v4l_alloc_buff_config_canvas()
952 hw->buffer_spec[i].v_addr, in vmjpeg_v4l_alloc_buff_config_canvas()
958 hw->buffer_spec[i].v_addr; in vmjpeg_v4l_alloc_buff_config_canvas()
/device/soc/rockchip/rk3588/hardware/rga/include/
Drga.h240 uint64_t v_addr; /* cr mem addr */ member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264/
Dvh264_mvc.c219 unsigned int v_addr; member
629 buffer_spec[i].v_addr = addr; in init_canvas()

12