Home
last modified time | relevance | path

Searched refs:pat (Results 1 – 25 of 32) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/
Drga2_reg_info.c1191 *bRGA_PAT_CON = (msg->pat.act_w - 1) | ((msg->pat.act_h - 1) << RGA2_INDEX_EI) | in RGA2_set_reg_rop_info()
1192 (msg->pat.x_offset << RGA2_INDEX_SIX) | (msg->pat.y_offset << RGA2_INDEX_TWEF); in RGA2_set_reg_rop_info()
1330 *bRGA_MASK_ADDR = (unsigned int)msg->pat.yrgb_addr; in RGA2_set_reg_color_fill()
1331 *bRGA_PAT_CON = (msg->pat.act_w - 1) | ((msg->pat.act_h - 1) << RGA2_INDEX_EI) | in RGA2_set_reg_color_fill()
1332 … (msg->pat.x_offset << RGA2_INDEX_SIX) | (msg->pat.y_offset << RGA2_INDEX_TWEF); in RGA2_set_reg_color_fill()
1346 *bRGA_MASK_BASE = (unsigned int)msg->pat.yrgb_addr; in RGA2_set_reg_update_palette_table()
1356 rga_img_info_t *pat; in RGA2_set_reg_update_patten_buff() local
1360 pat = &msg->pat; in RGA2_set_reg_update_patten_buff()
1362 num = (pat->act_w * pat->act_h) - 1; in RGA2_set_reg_update_patten_buff()
1364 offset = pat->act_w * pat->y_offset + pat->x_offset; in RGA2_set_reg_update_patten_buff()
[all …]
Drga2_mmu_info.c359 els = &req->pat; in rga2_get_dma_info()
1482 …LutPageCount = rga2_buf_size_cal(req->pat.yrgb_addr, req->pat.uv_addr, req->pat.v_addr, req->pat.f… in rga2_mmu_info_update_palette_table_mode()
1483 req->pat.vir_w, req->pat.vir_h, &LutStart); in rga2_mmu_info_update_palette_table_mode()
1526 req->pat.yrgb_addr = (req->pat.yrgb_addr & (~PAGE_MASK)); in rga2_mmu_info_update_palette_table_mode()
1528 uv_size = (req->pat.uv_addr - (LutStart << PAGE_SHIFT)) >> PAGE_SHIFT; in rga2_mmu_info_update_palette_table_mode()
1529 v_size = (req->pat.v_addr - (LutStart << PAGE_SHIFT)) >> PAGE_SHIFT; in rga2_mmu_info_update_palette_table_mode()
1530 req->pat.uv_addr = (req->pat.uv_addr & (~PAGE_MASK)) | ((uv_size) << PAGE_SHIFT); in rga2_mmu_info_update_palette_table_mode()
1531 req->pat.v_addr = (req->pat.v_addr & (~PAGE_MASK)) | ((v_size) << PAGE_SHIFT); in rga2_mmu_info_update_palette_table_mode()
Drga2.h331 rga_img_info_t pat; /* patten image info */ member
406 rga_img_info_32_t pat; /* patten image info */ member
462 rga_img_info_t pat; // patten active window member
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/rga2/
Drga2_reg_info.c803 *bRGA_PAT_CON = (msg->pat.act_w-1) | ((msg->pat.act_h-1) << 8) in RGA2_set_reg_rop_info()
804 | (msg->pat.x_offset << 16) | (msg->pat.y_offset << 24); in RGA2_set_reg_rop_info()
958 *bRGA_MASK_ADDR = (RK_U32)msg->pat.yrgb_addr; in RGA2_set_reg_color_fill()
959 *bRGA_PAT_CON = (msg->pat.act_w - 1) | ((msg->pat.act_h - 1) << 8) in RGA2_set_reg_color_fill()
960 | (msg->pat.x_offset << 16) | (msg->pat.y_offset << 24); in RGA2_set_reg_color_fill()
974 *bRGA_MASK_BASE = (RK_U32)msg->pat.yrgb_addr; in RGA2_set_reg_update_palette_table()
985 rga_img_info_t *pat; in RGA2_set_reg_update_patten_buff() local
989 pat = &msg->pat; in RGA2_set_reg_update_patten_buff()
991 num = (pat->act_w * pat->act_h) - 1; in RGA2_set_reg_update_patten_buff()
993 offset = pat->act_w * pat->y_offset + pat->x_offset; in RGA2_set_reg_update_patten_buff()
[all …]
Drga2_mmu_info.c388 els = &req->pat; in rga2_get_dma_info()
1637 LutPageCount = rga2_buf_size_cal(req->pat.yrgb_addr, req->pat.uv_addr, req->pat.v_addr, in rga2_mmu_info_update_palette_table_mode()
1638 req->pat.format, req->pat.vir_w, req->pat.vir_h, in rga2_mmu_info_update_palette_table_mode()
1684 req->pat.yrgb_addr = (req->pat.yrgb_addr & (~PAGE_MASK)); in rga2_mmu_info_update_palette_table_mode()
1686 uv_size = (req->pat.uv_addr in rga2_mmu_info_update_palette_table_mode()
1688 v_size = (req->pat.v_addr in rga2_mmu_info_update_palette_table_mode()
1690 req->pat.uv_addr = (req->pat.uv_addr & (~PAGE_MASK)) | in rga2_mmu_info_update_palette_table_mode()
1692 req->pat.v_addr = (req->pat.v_addr & (~PAGE_MASK)) | in rga2_mmu_info_update_palette_table_mode()
1730 …SrcMemSize = rga2_mem_size_cal(req->pat.yrgb_addr, req->pat.act_w * req->pat.act_h * 4, &SrcStart);
Drga2.h366 rga_img_info_t pat; /* patten image info */ member
442 rga_img_info_32_t pat; /* patten image info */ member
501 rga_img_info_t pat; // patten active window member
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga_debugger.c543 if (req->pat.yrgb_addr != 0 || req->pat.uv_addr != 0 in rga_cmd_print_debug_info()
544 || req->pat.v_addr != 0) { in rga_cmd_print_debug_info()
546 (unsigned long)req->pat.yrgb_addr, in rga_cmd_print_debug_info()
547 (unsigned long)req->pat.uv_addr, in rga_cmd_print_debug_info()
548 (unsigned long)req->pat.v_addr, in rga_cmd_print_debug_info()
549 req->pat.act_w, req->pat.act_h, in rga_cmd_print_debug_info()
550 req->pat.vir_w, req->pat.vir_h); in rga_cmd_print_debug_info()
552 req->pat.x_offset, req->pat.y_offset, in rga_cmd_print_debug_info()
553 req->pat.format, req->pat.rd_mode); in rga_cmd_print_debug_info()
Drga2_reg_info.c1378 *bRGA_PAT_CON = (msg->pat.act_w - 1) | ((msg->pat.act_h - 1) << 8) in RGA2_set_reg_rop_info()
1379 | (msg->pat.x_offset << 16) | (msg->pat.y_offset << 24); in RGA2_set_reg_rop_info()
1529 *bRGA_MASK_ADDR = (u32) msg->pat.yrgb_addr; in RGA2_set_reg_color_fill()
1531 (msg->pat.act_w - 1) | ((msg->pat.act_h - 1) << 8) in RGA2_set_reg_color_fill()
1532 | (msg->pat.x_offset << 16) | (msg->pat.y_offset << 24); in RGA2_set_reg_color_fill()
1547 *bRGA_MASK_BASE = (u32) msg->pat.yrgb_addr; in RGA2_set_reg_update_palette_table()
1557 struct rga_img_info_t *pat; in RGA2_set_reg_update_patten_buff() local
1561 pat = &msg->pat; in RGA2_set_reg_update_patten_buff()
1563 num = (pat->act_w * pat->act_h) - 1; in RGA2_set_reg_update_patten_buff()
1565 offset = pat->act_w * pat->y_offset + pat->x_offset; in RGA2_set_reg_update_patten_buff()
[all …]
Drga2_mmu_info.c1165 rga_buf_size_cal(req->pat.yrgb_addr, in rga2_mmu_info_update_palette_table_mode()
1166 req->pat.uv_addr, req->pat.v_addr, in rga2_mmu_info_update_palette_table_mode()
1167 req->pat.format, req->pat.vir_w, in rga2_mmu_info_update_palette_table_mode()
1168 req->pat.vir_h, &LutStart, NULL); in rga2_mmu_info_update_palette_table_mode()
1212 req->pat.yrgb_addr = in rga2_mmu_info_update_palette_table_mode()
1213 (req->pat.yrgb_addr & (~PAGE_MASK)); in rga2_mmu_info_update_palette_table_mode()
1215 uv_size = (req->pat.uv_addr in rga2_mmu_info_update_palette_table_mode()
1217 v_size = (req->pat.v_addr in rga2_mmu_info_update_palette_table_mode()
1219 req->pat.uv_addr = (req->pat.uv_addr & (~PAGE_MASK)) | in rga2_mmu_info_update_palette_table_mode()
1221 req->pat.v_addr = (req->pat.v_addr & (~PAGE_MASK)) | in rga2_mmu_info_update_palette_table_mode()
Drga_job.c78 src1 = &job->rga_command_base.pat; in rga_job_get_current_mm()
80 els = &job->rga_command_base.pat; in rga_job_get_current_mm()
186 if (req->pat.yrgb_addr > 0) { in rga_job_judgment_support_core()
187 ret = rga_mm_lookup_flag(mm, req->pat.yrgb_addr); in rga_job_judgment_support_core()
Drga_dma_buf.c1015 src1 = &job->rga_command_base.pat; in rga_dma_buf_get()
1017 els = &job->rga_command_base.pat; in rga_dma_buf_get()
1086 src1 = &job->rga_command_base.pat; in rga_dma_get_info()
1088 els = &job->rga_command_base.pat; in rga_dma_get_info()
Drga_mm.c1000 if (likely(req->pat.yrgb_addr > 0)) { in rga_mm_get_handle_info()
1008 ret = rga_mm_get_channel_handle_info(mm, job, &req->pat, in rga_mm_get_handle_info()
1012 ret = rga_mm_get_channel_handle_info(mm, job, &req->pat, in rga_mm_get_handle_info()
Drga_policy.c173 struct rga_img_info_t *src1 = &job->rga_command_base.pat; in rga_job_assign()
/device/soc/rockchip/rk3588/hardware/rga/include/
Dim2d_common.h49 void empty_structure(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat,
67 IM_STATUS rga_check_blend(rga_buffer_t src, rga_buffer_t pat, rga_buffer_t dst, int pat_enable, int…
69 IM_STATUS rga_check_feature(rga_buffer_t src, rga_buffer_t pat, rga_buffer_t dst,
Dim2d.h214 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
220 … rga_check_perpare((rga_buffer_t *)(&src), (rga_buffer_t *)(&dst), (rga_buffer_t *)(&pat), \
222 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
224 … rga_check_perpare((rga_buffer_t *)(&src), (rga_buffer_t *)(&dst), (rga_buffer_t *)(&pat), \
226 __ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, __args[0]); \
233 IM_API void rga_check_perpare(rga_buffer_t *src, rga_buffer_t *dst, rga_buffer_t *pat,
235 IM_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat,
734 IM_API IM_STATUS improcess(rga_buffer_t src, rga_buffer_t dst, rga_buffer_t pat,
Dim2d.hpp334 IM_API IM_STATUS improcess(rga_buffer_t src, rga_buffer_t dst, rga_buffer_t pat,
337 IM_API IM_STATUS improcess(rga_buffer_t src, rga_buffer_t dst, rga_buffer_t pat,
/device/soc/allwinner/t507/hardware/rga/include/
Dim2d.h378 rga_buffer_t pat; \
380 int tmp = memset_s(&pat, 0, sizeof(rga_buffer_t), 0); \
391 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
393 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); \
400 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
406 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
408 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); \
415 IM_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat,
888 IM_API IM_STATUS improcess(rga_buffer_t src, rga_buffer_t dst, rga_buffer_t pat,
Drga.h302 rga_img_info_t pat; /* patten image info */ member
/device/soc/rockchip/common/hardware/rga/include/
Dim2d.h378 …rga_buffer_t pat; …
380 …errno_t eok = memset_s(&pat, sizeof(rga_buffer_t), 0, sizeof(rga_buffer_t)); …
391 …ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); …
393 …ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); …
400 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) … argument
406 …ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); …
408 …ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); …
415 IM_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat,
895 IM_API IM_STATUS improcess(rga_buffer_t src, rga_buffer_t dst, rga_buffer_t pat, im_rect srect, im_…
Drga.h290 rga_img_info_t pat; /* patten image info */ member
/device/soc/rockchip/rk3568/hardware/rga/include/
Dim2d.h388 rga_buffer_t pat; \
390 errno_t eok = memset_s(&pat, sizeof(rga_buffer_t), 0, sizeof(rga_buffer_t)); \
401 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
403 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); \
410 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
416 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
418 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); \
425 IM_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat,
898 IM_API IM_STATUS improcess(rga_buffer_t src, rga_buffer_t dst, rga_buffer_t pat,
Drga.h298 rga_img_info_t pat; /* patten image info */ member
/device/soc/rockchip/rk3399/hardware/rga/include/
Dim2d.h388 rga_buffer_t pat; \
390 errno_t eok = memset_s(&pat, sizeof(rga_buffer_t), 0, sizeof(rga_buffer_t)); \
401 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
403 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); \
410 #define imcheck_composite(src, dst, pat, src_rect, dst_rect, pat_rect, ...) \ argument
416 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, 0); \
418 ret = imcheck_t(src, dst, pat, src_rect, dst_rect, pat_rect, args[0]); \
425 IM_API IM_STATUS imcheck_t(const rga_buffer_t src, const rga_buffer_t dst, const rga_buffer_t pat,
898 IM_API IM_STATUS improcess(rga_buffer_t src, rga_buffer_t dst, rga_buffer_t pat,
Drga.h298 rga_img_info_t pat; /* patten image info */ member
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/
Drga.h364 struct rga_img_info_t pat; member
477 struct rga_img_info_t pat; member

12