/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/ |
D | rga3_reg_info.c | 398 stride = (((msg->win0.vir_w * pixel_width) + 15) & ~15) >> 2; in RGA3_set_reg_win0_info() 400 stride = ((msg->win0.vir_w + 15) & ~15) >> 2; in RGA3_set_reg_win0_info() 406 uv_stride = ((msg->win0.vir_w + 15) & ~15) >> 2; in RGA3_set_reg_win0_info() 798 stride = (((msg->win1.vir_w * pixel_width) + 15) & ~15) >> 2; in RGA3_set_reg_win1_info() 800 stride = ((msg->win1.vir_w + 15) & ~15) >> 2; in RGA3_set_reg_win1_info() 806 uv_stride = ((msg->win1.vir_w + 15) & ~15) >> 2; in RGA3_set_reg_win1_info() 1024 stride = (((msg->wr.vir_w * pixel_width) + 15) & ~15) >> 2; in RGA3_set_reg_wr_info() 1026 uv_stride = ((msg->wr.vir_w + 15) & ~15) >> 2; in RGA3_set_reg_wr_info() 1028 stride = ((msg->wr.vir_w + 15) & ~15) >> 2; in RGA3_set_reg_wr_info() 1034 uv_stride = ((msg->wr.vir_w + 15) & ~15); in RGA3_set_reg_wr_info() [all …]
|
D | rga2_reg_info.c | 555 stride = (((msg->src.vir_w * pixel_width) + 3) & ~3) >> 2; in RGA2_set_reg_src_info() 556 uv_stride = ((msg->src.vir_w / xdiv + 3) & ~3); in RGA2_set_reg_src_info() 1040 s_stride = ((msg->src1.vir_w * spw + 3) & ~3) >> 2; in RGA2_set_reg_dst_info() 1041 d_stride = ((msg->dst.vir_w * dpw + 3) & ~3) >> 2; in RGA2_set_reg_dst_info() 1051 if ((msg->dst.vir_w % 2 != 0) && in RGA2_set_reg_dst_info() 1461 sw = msg->src.vir_w; in RGA2_set_reg_color_palette() 1992 ((req->src.vir_w <= 0) || (req->src.vir_w > 8192) in rga2_check_param() 1995 req->src.vir_w, req->src.vir_h); in rga2_check_param() 2010 ((req->dst.vir_w <= 0) || (req->dst.vir_w > 4096) in rga2_check_param() 2013 req->dst.vir_w, req->dst.vir_h); in rga2_check_param() [all …]
|
D | rga2_mmu_info.c | 429 req->dst.vir_w, in rga2_mmu_flush_cache() 460 req->dst.vir_w, in rga2_mmu_flush_cache() 587 req->src.vir_w, in rga2_mmu_info_BitBlt_mode() 598 req->src1.vir_w, in rga2_mmu_info_BitBlt_mode() 610 req->dst.vir_w, in rga2_mmu_info_BitBlt_mode() 664 req->src.vir_w, in rga2_mmu_info_BitBlt_mode() 768 req->dst.vir_w, in rga2_mmu_info_BitBlt_mode() 848 sw = req->src.vir_w * req->src.vir_h; in rga2_mmu_info_color_palette_mode() 879 req->dst.format, req->dst.vir_w, in rga2_mmu_info_color_palette_mode() 917 req->src.vir_w, req->src.vir_h, in rga2_mmu_info_color_palette_mode() [all …]
|
D | rga_debugger.c | 538 req->src.vir_w, req->src.vir_h); in rga_cmd_print_debug_info() 550 req->pat.vir_w, req->pat.vir_h); in rga_cmd_print_debug_info() 561 req->dst.vir_w, req->dst.vir_h); in rga_cmd_print_debug_info()
|
D | rga_dma_buf.c | 545 channel_info->vir_w, channel_info->vir_h, in rga_viraddr_get_channel_info() 667 img->uv_addr = img->yrgb_addr + (img->vir_w * img->vir_h); in rga_convert_addr() 672 img->uv_addr + (img->vir_w * img->vir_h) / 2; in rga_convert_addr() 675 img->uv_addr + (img->vir_w * img->vir_h) / 4; in rga_convert_addr() 782 ret = rga_virtual_memory_check(vaddr, img->vir_w, in rga_dma_memory_check()
|
D | rga_mm.c | 32 img->uv_addr = img->yrgb_addr + (img->vir_w * img->vir_h); in rga_convert_addr() 37 img->uv_addr + (img->vir_w * img->vir_h) / 2; in rga_convert_addr() 40 img->uv_addr + (img->vir_w * img->vir_h) / 4; in rga_convert_addr()
|
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
D | rga2_mmu_info.c | 247 … ret = rga2_virtual_memory_check(vaddr, img->vir_w, img->vir_h, img->format, img->yrgb_addr); in rga2_dma_memory_check() 330 img->uv_addr = img->yrgb_addr + (img->vir_w * img->vir_h); in rga2_convert_addr() 332 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() 486 src_vir_w = req->src.vir_w; in rga2_get_dma_info() 487 dst_vir_w = req->dst.vir_w; in rga2_get_dma_info() 505 … rga2_memory_check(vaddr, req->src.vir_w, req->src.vir_h, req->src.format, req->src.yrgb_addr); in rga2_get_dma_info() 539 … rga2_memory_check(vaddr, req->dst.vir_w, req->dst.vir_h, req->dst.format, req->dst.yrgb_addr); in rga2_get_dma_info() 572 req->src1.uv_addr = req->src1.yrgb_addr + (req->src1.vir_w * req->src1.vir_h); 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() [all …]
|
D | rga2_drv.c | 335 … 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() 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() 355 if ((req->src.vir_w % 0x10) || (req->src.x_offset % 0x2) || (req->src.act_w % 0x2) || in rga2_align_check() 361 if ((req->dst.vir_w % 0x10) || (req->dst.x_offset % 0x2) || (req->dst.act_w % 0x2) || in rga2_align_check() 367 if ((req->src.vir_w % 0x8) || (req->src.x_offset % 0x2) || (req->src.act_w % 0x2) || in rga2_align_check() 373 if ((req->dst.vir_w % 0x8) || (req->dst.x_offset % 0x2) || (req->dst.act_w % 0x2) || in rga2_align_check() 690 if (unlikely((req->src.vir_w <= 0) || (req->src.vir_w > 0x2000) || (req->src.vir_h <= 0) || in rga2_check_param() 692 … printk("invalid source resolution vir_w = %d, vir_h = %d\n", req->src.vir_w, req->src.vir_h); in rga2_check_param() 704 if (unlikely((req->dst.vir_w <= 0) || (req->dst.vir_w > 0x1000) || (req->dst.vir_h <= 0) || in rga2_check_param() [all …]
|
D | rga2.h | 292 unsigned short vir_w; member 308 unsigned short vir_w; member
|
D | rga2_reg_info.c | 474 stride = (((msg->src.vir_w * pixel_width) + RGA2_INDEX_TH) & ~RGA2_INDEX_TH) >> RGA2_INDEX_TW; in RGA2_set_reg_src_info() 475 uv_stride = ((msg->src.vir_w / xdiv + RGA2_INDEX_TH) & ~RGA2_INDEX_TH); in RGA2_set_reg_src_info() 918 s_stride = ((msg->src1.vir_w * spw + RGA2_INDEX_TH) & ~RGA2_INDEX_TH) >> RGA2_INDEX_TW; in RGA2_set_reg_dst_info() 919 d_stride = ((msg->dst.vir_w * dpw + RGA2_INDEX_TH) & ~RGA2_INDEX_TH) >> RGA2_INDEX_TW; in RGA2_set_reg_dst_info() 929 if ((msg->dst.vir_w % RGA2_INDEX_TW != 0) && (msg->dst.act_w == msg->src.act_w) && in RGA2_set_reg_dst_info() 1272 sw = msg->src.vir_w; in RGA2_set_reg_color_palette() 1897 dst->vir_w = src->vir_w; in memcpy_img_info()
|
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/rga2/ |
D | rga2_mmu_info.c | 275 ret = rga2_virtual_memory_check(vaddr, img->vir_w, img->vir_h, in rga2_dma_memory_check() 360 img->uv_addr = img->yrgb_addr + (img->vir_w * img->vir_h); in rga2_convert_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() 515 src_vir_w = req->src.vir_w; in rga2_get_dma_info() 516 dst_vir_w = req->dst.vir_w; in rga2_get_dma_info() 535 rga2_memory_check(vaddr, req->src.vir_w, req->src.vir_h, in rga2_get_dma_info() 577 rga2_memory_check(vaddr, req->dst.vir_w, req->dst.vir_h, in rga2_get_dma_info() 620 req->src1.yrgb_addr + (req->src1.vir_w * req->src1.vir_h); in rga2_get_dma_info() 622 req->src1.uv_addr + (req->src1.vir_w * req->src1.vir_h) / 4; in rga2_get_dma_info() [all …]
|
D | rga2_drv.c | 333 req->src.act_w, req->src.act_h, req->src.vir_w, req->src.vir_h, in print_debug_info() 341 req->src1.act_w, req->src1.act_h, req->src1.vir_w, req->src1.vir_h, in print_debug_info() 347 req->dst.act_w, req->dst.act_h, req->dst.vir_w, req->dst.vir_h, in print_debug_info() 364 if ((req->src.vir_w % 16) || (req->src.x_offset % 2) || in rga2_align_check() 369 if ((req->dst.vir_w % 16) || (req->dst.x_offset % 2) || in rga2_align_check() 374 if ((req->src.vir_w % 8) || (req->src.x_offset % 2) || in rga2_align_check() 379 if ((req->dst.vir_w % 8) || (req->dst.x_offset % 2) || in rga2_align_check() 711 …if (unlikely((req->src.vir_w <= 0) || (req->src.vir_w > 8192) || (req->src.vir_h <= 0) || (req->sr… in rga2_check_param() 713 printk("invalid source resolution vir_w = %d, vir_h = %d\n", req->src.vir_w, req->src.vir_h); in rga2_check_param() 725 …if (unlikely((req->dst.vir_w <= 0) || (req->dst.vir_w > 4096) || (req->dst.vir_h <= 0) || (req->ds… in rga2_check_param() [all …]
|
D | rga2.h | 324 unsigned short vir_w; member 342 unsigned short vir_w; member
|
D | rga2_reg_info.c | 311 stride = (((msg->src.vir_w * pixel_width) + 3) & ~3) >> 2; in RGA2_set_reg_src_info() 312 uv_stride = ((msg->src.vir_w / xdiv + 3) & ~3); in RGA2_set_reg_src_info() 322 stride = (((msg->src.vir_w * 10 + 31) & (~31)) >> 3) >> 2; in RGA2_set_reg_src_info() 521 s_stride = ((msg->src1.vir_w * spw + 3) & ~3) >> 2; in RGA2_set_reg_dst_info() 522 d_stride = ((msg->dst.vir_w * dpw + 3) & ~3) >> 2; in RGA2_set_reg_dst_info() 532 if ((msg->dst.vir_w % 2 != 0) && in RGA2_set_reg_dst_info() 884 sw = msg->src.vir_w; in RGA2_set_reg_color_palette() 1439 dst->vir_w = src->vir_w; in memcpy_img_info()
|
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
D | Rockchip_OSAL_RGA_Process.c | 50 int vir_w; member 115 Rga_Request.src.vir_w = plane->stride; in rga_copy() 142 Rga_Request.dst.vir_w = Width; in rga_copy() 210 Rga_Request.src.vir_w = plane->stride; in rga_crop_scale() 245 Rga_Request.dst.vir_w = new_width; in rga_crop_scale() 295 info->vir_w = v_w; in rga_set_info() 314 Rga_Request.src.uv_addr = src->fd + src->vir_w * src->vir_h; in rga_convert() 329 Rga_Request.src.vir_w = src->vir_w; in rga_convert() 344 Rga_Request.dst.vir_w = dst->vir_w; in rga_convert() 348 Rga_Request.clip.xmax = dst->vir_w - 1; in rga_convert()
|
/device/soc/rockchip/common/hardware/rga/include/ |
D | rga.h | 196 unsigned short vir_w; member 383 unsigned int vir_w, /* vir width */ 392 unsigned int vir_w, /* vir width */ 409 unsigned int vir_w, /* vir width */ 418 unsigned int vir_w, /* vir width */
|
/device/soc/allwinner/t507/hardware/rga/include/ |
D | rga.h | 198 unsigned short vir_w; member 399 unsigned int vir_w, /* vir width */ 410 unsigned int vir_w, /* vir width */ 430 unsigned int vir_w, /* vir width */ 442 unsigned int vir_w, /* vir width */
|
/device/soc/rockchip/rk3399/hardware/rga/include/ |
D | rga.h | 197 unsigned short vir_w; member 395 unsigned int vir_w, /* vir width */ 406 unsigned int vir_w, /* vir width */ 427 unsigned int vir_w, /* vir width */ 439 unsigned int vir_w, /* vir width */
|
/device/soc/rockchip/rk3568/hardware/rga/include/ |
D | rga.h | 197 unsigned short vir_w; member 395 unsigned int vir_w, /* vir width */ 406 unsigned int vir_w, /* vir width */ 427 unsigned int vir_w, /* vir width */ 439 unsigned int vir_w, /* vir width */
|
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/ |
D | rga.h | 310 unsigned short vir_w; member 341 uint16_t vir_w; member
|
/device/soc/rockchip/rk3588/hardware/rga/include/ |
D | rga.h | 248 uint16_t vir_w; member
|