Home
last modified time | relevance | path

Searched refs:color_mode (Results 1 – 18 of 18) sorted by relevance

/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c70 enum omap_color_mode color_mode, bool *five_taps,
809 enum omap_color_mode color_mode) in dispc_ovl_set_color_mode() argument
813 switch (color_mode) { in dispc_ovl_set_color_mode()
848 switch (color_mode) { in dispc_ovl_set_color_mode()
1454 bool ilace, enum omap_color_mode color_mode, u8 rotation) in dispc_ovl_set_accu_uv() argument
1510 switch (color_mode) { in dispc_ovl_set_accu_uv()
1544 bool fieldmode, enum omap_color_mode color_mode, in dispc_ovl_set_scaling_common() argument
1598 bool fieldmode, enum omap_color_mode color_mode, in dispc_ovl_set_scaling_uv() argument
1607 if ((color_mode != OMAP_DSS_COLOR_YUV2 && in dispc_ovl_set_scaling_uv()
1608 color_mode != OMAP_DSS_COLOR_UYVY && in dispc_ovl_set_scaling_uv()
[all …]
Doverlay.c119 if ((ovl->supported_modes & info->color_mode) == 0) { in dss_ovl_simple_check()
121 ovl->id, info->color_mode); in dss_ovl_simple_check()
Ddss_features.h82 enum omap_color_mode color_mode);
Ddss_features.c845 enum omap_color_mode color_mode) in dss_feat_color_mode_supported() argument
848 color_mode; in dss_feat_color_mode_supported()
Dapply.c139 op->info.color_mode = OMAP_DSS_COLOR_RGB16; in apply_init_priv()
631 replication = dss_ovl_use_replication(mp->lcd_config, oi->color_mode); in dss_ovl_write_regs()
/drivers/video/fbdev/omap/
Dlcdc.c50 enum omapfb_color_format color_mode; member
183 lcdc.color_mode == OMAPFB_COLOR_YUV420 || in setup_lcd_dma()
218 if (lcdc.color_mode == OMAPFB_COLOR_YUV420) in setup_lcd_dma()
283 int color_mode) in omap_lcdc_setup_plane() argument
310 lcdc.color_mode = color_mode; in omap_lcdc_setup_plane()
312 switch (color_mode) { in omap_lcdc_setup_plane()
347 dev_dbg(lcdc.fbdev->dev, "invalid color mode %d\n", color_mode); in omap_lcdc_setup_plane()
418 if (lcdc.color_mode != OMAPFB_COLOR_CLUT_8BPP || regno > 255) in omap_lcdc_setcolreg()
Dhwa742.c72 int color_mode; member
345 int color_mode = par->color_mode; in send_frame_handler() local
353 x, y, w, h, scr_width, color_mode, flags); in send_frame_handler()
356 switch (color_mode) { in send_frame_handler()
377 hwa742.prev_color_mode != color_mode) { in send_frame_handler()
379 hwa742.prev_color_mode = color_mode; in send_frame_handler()
395 color_mode); in send_frame_handler()
418 req->par.update.color_mode = color_mode;\
432 int color_mode; in create_req_list() local
436 color_mode = win->format & OMAPFB_FORMAT_MASK; in create_req_list()
[all …]
Domapfb_main.c191 var->xres, var->yres, plane->color_mode); in ctrl_change_mode()
243 switch (plane->color_mode) { in _setcolreg()
417 plane->color_mode = var->nonstd; in set_color_mode()
421 plane->color_mode = var->nonstd; in set_color_mode()
425 plane->color_mode = var->nonstd; in set_color_mode()
433 plane->color_mode = OMAPFB_COLOR_CLUT_1BPP; in set_color_mode()
436 plane->color_mode = OMAPFB_COLOR_CLUT_2BPP; in set_color_mode()
439 plane->color_mode = OMAPFB_COLOR_CLUT_4BPP; in set_color_mode()
442 plane->color_mode = OMAPFB_COLOR_CLUT_8BPP; in set_color_mode()
449 plane->color_mode = OMAPFB_COLOR_RGB444; in set_color_mode()
[all …]
Domapfb.h157 int height, int color_mode);
191 enum omapfb_color_format color_mode; member
/drivers/gpu/drm/tiny/
Dsimpledrm.c870 unsigned int color_mode; in simpledrm_probe() local
882 color_mode = drm_format_info_bpp(sdev->format, 0); in simpledrm_probe()
883 if (color_mode == 16) in simpledrm_probe()
884 color_mode = sdev->format->depth; // can be 15 or 16 in simpledrm_probe()
886 drm_fbdev_generic_setup(dev, color_mode); in simpledrm_probe()
Dofdrm.c1351 unsigned int color_mode; in ofdrm_probe() local
1363 color_mode = drm_format_info_bpp(odev->format, 0); in ofdrm_probe()
1364 if (color_mode == 16) in ofdrm_probe()
1365 color_mode = odev->format->depth; // can be 15 or 16 in ofdrm_probe()
1367 drm_fbdev_generic_setup(dev, color_mode); in ofdrm_probe()
/drivers/video/fbdev/
Dplatinumfb.c87 static inline int platinum_vram_reqd(int video_mode, int color_mode);
219 static inline int platinum_vram_reqd(int video_mode, int color_mode) in platinum_vram_reqd() argument
221 int baseval = vmode_attrs[video_mode-1].hres * (1<<color_mode); in platinum_vram_reqd()
223 if ((video_mode == VMODE_832_624_75) && (color_mode > CMODE_8)) in platinum_vram_reqd()
Dvalkyriefb.c241 static inline int valkyrie_vram_reqd(int video_mode, int color_mode) in valkyrie_vram_reqd() argument
246 if ((pitch = init->pitch[color_mode]) == 0) in valkyrie_vram_reqd()
/drivers/gpu/drm/
Ddrm_fb_helper.c1477 unsigned int color_mode) in drm_fb_helper_find_color_mode_format() argument
1482 switch (color_mode) { in drm_fb_helper_find_color_mode_format()
1489 bpp = depth = color_mode; in drm_fb_helper_find_color_mode_format()
1500 drm_info(dev, "unsupported color mode of %d\n", color_mode); in drm_fb_helper_find_color_mode_format()
/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.h307 enum color_mode { enum
Drockchip_drm_vop2.c109 u32 color_mode:1; member
1694 alpha->src_color_ctrl.bits.color_mode = src_color_mode; in vop2_parse_alpha()
1697 alpha->src_color_ctrl.bits.color_mode = src_color_mode; in vop2_parse_alpha()
1700 alpha->src_color_ctrl.bits.color_mode = ALPHA_SRC_PRE_MUL; in vop2_parse_alpha()
1711 alpha->dst_color_ctrl.bits.color_mode = dst_color_mode; in vop2_parse_alpha()
/drivers/media/platform/ti/omap/
Domap_vout.c315 info.color_mode = vout->dss_mode; in omapvid_setup_overlay()
337 info.color_mode, info.rotation, info.mirror, info.pos_x, in omapvid_setup_overlay()
/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c902 info.color_mode = mode; in omapfb_setup_overlay()