| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | fsl_diu_fb.c | 25 .xres = 800, 42 .xres = 800, 64 .xres = 1024, 80 .xres = 1280, 96 .xres = 1280, 112 .xres = 1920, 222 static struct diu_ad *allocate_fb(unsigned int xres, unsigned int yres, in allocate_fb() argument 225 unsigned long size = xres * yres * depth; in allocate_fb() 240 ad->aoi_size = cpu_to_le32((yres << 16) | xres); in allocate_fb() 241 ad->src_size_g_alpha = cpu_to_le32((yres << 12) | xres); in allocate_fb() [all …]
|
| H A D | videomodes.c | 200 GET_OPTION ("x:", pPar->xres) in video_get_params() 235 int video_get_video_mode(unsigned int *xres, unsigned int *yres, in video_get_video_mode() argument 250 *xres = simple_strtoul(p, &p, 10); in video_get_video_mode() 251 if (!*xres) in video_get_video_mode() 298 unsigned int i, xres, yres, depth, refresh; in video_get_ctfb_res_modes() local 304 if (!video_get_video_mode(&xres, &yres, &depth, &refresh, options)) in video_get_ctfb_res_modes() 308 if (res_mode_init[i].xres == xres && in video_get_ctfb_res_modes() 318 xres, yres, depth, refresh, (*mode_ret)->xres, in video_get_ctfb_res_modes() 407 mode->xres = EDID_DETAILED_TIMING_HORIZONTAL_ACTIVE(*t); in video_edid_dtd_to_ctfb_res_modes() 410 h_total = mode->xres + EDID_DETAILED_TIMING_HORIZONTAL_BLANKING(*t); in video_edid_dtd_to_ctfb_res_modes()
|
| H A D | sandbox_sdl.c | 29 ret = sandbox_sdl_init_display(plat->xres, plat->yres, plat->bpix); in sandbox_sdl_probe() 34 uc_priv->xsize = plat->xres; in sandbox_sdl_probe() 52 plat->xres = fdtdec_get_int(blob, node, "xres", LCD_MAX_WIDTH); in sandbox_sdl_bind() 55 uc_plat->size = plat->xres * plat->yres * (1 << plat->bpix) / 8; in sandbox_sdl_bind()
|
| H A D | mxsfb.c | 95 writel((mode->yres << LCDIF_TRANSFER_COUNT_V_COUNT_OFFSET) | mode->xres, in mxs_lcd_init() 107 mode->hsync_len + mode->xres), in mxs_lcd_init() 113 writel((0 << LCDIF_VDCTRL4_DOTCLK_DLY_SEL_OFFSET) | mode->xres, in mxs_lcd_init() 174 mode.xres, mode.yres, bpp); in video_hw_init() 176 panel.winSizeX = mode.xres; in video_hw_init() 178 panel.plnSizeX = mode.xres; in video_hw_init() 200 panel.memSize = mode.xres * mode.yres * panel.gdfBytesPP; in video_hw_init()
|
| H A D | fsl_dcu_fb.c | 91 .xres = 480, 110 .xres = 640, 126 .xres = 640, 142 .xres = 800, 158 .xres = 1024, 251 DCU_CTRLDESCLN_1_WIDTH(info.var.xres)); in layer_ctrldesc_init() 298 int fsl_dcu_init(unsigned int xres, unsigned int yres, in fsl_dcu_init() argument 305 info.var.xres * info.var.yres * (info.var.bits_per_pixel / 8); in fsl_dcu_init() 323 DCU_DISP_SIZE_DELTA_X(info.var.xres / 16)); in fsl_dcu_init() 409 info.var.xres = fsl_dcu_mode_db->xres; in video_hw_init() [all …]
|
| H A D | mxc_ipuv3_fb.c | 42 var->xres = mode->xres; in fb_videomode_to_var() 44 var->xres_virtual = mode->xres; in fb_videomode_to_var() 185 fbi->var.xres, in setup_disp_channel2() 194 fbi->var.xres, fbi->var.yres, in setup_disp_channel2() 265 fbi->var.xres, fbi->var.yres, in mxcfb_set_par() 300 if (var->xres_virtual < var->xres) in mxcfb_check_var() 301 var->xres_virtual = var->xres; in mxcfb_check_var() 381 htotal = var->xres + var->right_margin + var->hsync_len + in mxcfb_check_var() 534 fbi->fix.line_length = fbi->var.xres * (fbi->var.bits_per_pixel / 8); in mxcfb_probe() 550 panel.winSizeX = mode->xres; in mxcfb_probe() [all …]
|
| H A D | videomodes.h | 37 int xres; /* visible resolution */ member 81 int video_get_video_mode(unsigned int *xres, unsigned int *yres,
|
| /rk3399_rockchip-uboot/board/freescale/ls1021atwr/ |
| H A D | dcu.c | 27 int platform_dcu_init(unsigned int xres, unsigned int yres, in platform_dcu_init() argument 41 printf("DCU: Switching to %s monitor @ %ux%u\n", name, xres, yres); in platform_dcu_init() 44 fsl_dcu_init(xres, yres, pixel_format); in platform_dcu_init()
|
| /rk3399_rockchip-uboot/board/freescale/ls1021aiot/ |
| H A D | dcu.c | 27 int platform_dcu_init(unsigned int xres, unsigned int yres, in platform_dcu_init() argument 41 printf("DCU: Switching to %s monitor @ %ux%u\n", name, xres, yres); in platform_dcu_init() 44 fsl_dcu_init(xres, yres, pixel_format); in platform_dcu_init()
|
| /rk3399_rockchip-uboot/board/freescale/t104xrdb/ |
| H A D | diu.c | 66 int platform_diu_init(unsigned int xres, unsigned int yres, const char *port) in platform_diu_init() argument 81 printf("DIU: Switching to monitor DVI @ %ux%u\n", xres, yres); in platform_diu_init() 83 return fsl_diu_init(xres, yres, pixel_format, 0); in platform_diu_init()
|
| /rk3399_rockchip-uboot/board/freescale/ls1021aqds/ |
| H A D | dcu.c | 43 int platform_dcu_init(unsigned int xres, unsigned int yres, in platform_dcu_init() argument 86 printf("DCU: Switching to %s monitor @ %ux%u\n", name, xres, yres); in platform_dcu_init() 89 fsl_dcu_init(xres, yres, pixel_format); in platform_dcu_init()
|
| /rk3399_rockchip-uboot/board/freescale/mpc8610hpcd/ |
| H A D | mpc8610hpcd_diu.c | 41 int platform_diu_init(unsigned int xres, unsigned int yres, const char *port) in platform_diu_init() argument 67 printf("DIU: Switching to %s monitor @ %ux%u\n", name, xres, yres); in platform_diu_init() 70 return fsl_diu_init(xres, yres, pixel_format, gamma_fix); in platform_diu_init()
|
| /rk3399_rockchip-uboot/board/gdsys/p1022/ |
| H A D | diu.c | 66 int platform_diu_init(unsigned int xres, unsigned int yres, const char *port) in platform_diu_init() argument 77 printf("DIU: Switching to %ux%u\n", xres, yres); in platform_diu_init() 83 return fsl_diu_init(xres, yres, pixel_format, 0); in platform_diu_init()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | fsl_dcu_fb.h | 10 int fsl_dcu_init(unsigned int xres, unsigned int yres, 15 int platform_dcu_init(unsigned int xres, unsigned int yres,
|
| H A D | fsl_diu_fb.h | 11 int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix); 14 int platform_diu_init(unsigned int xres, unsigned int yres, const char *port);
|
| /rk3399_rockchip-uboot/board/freescale/t1040qds/ |
| H A D | diu.c | 71 int platform_diu_init(unsigned int xres, unsigned int yres, const char *port) in platform_diu_init() argument 93 printf("DIU: Switching to monitor @ %ux%u\n", xres, yres); in platform_diu_init() 96 return fsl_diu_init(xres, yres, pixel_format, 0); in platform_diu_init()
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/video/ |
| H A D | sandbox-fb.txt | 4 This uses the displaymode.txt binding except that only xres and yres are 11 xres = <800>;
|
| H A D | displaymode.txt | 7 - xres, yres: Display resolution 33 xres = <1920>;
|
| /rk3399_rockchip-uboot/board/toradex/colibri_vf/ |
| H A D | dcu.c | 31 int platform_dcu_init(unsigned int xres, unsigned int yres, in platform_dcu_init() argument 35 fsl_dcu_init(xres, yres, 32); in platform_dcu_init()
|
| /rk3399_rockchip-uboot/board/freescale/mx51evk/ |
| H A D | mx51evk_video.c | 22 .xres = 800, 38 .xres = 1024,
|
| /rk3399_rockchip-uboot/board/boundary/nitrogen6x/ |
| H A D | nitrogen6x.c | 516 .xres = 1024, 536 .xres = 1280, 556 .xres = 1280, 576 .xres = 1024, 596 .xres = 1024, 616 .xres = 1024, 636 .xres = 800, 656 .xres = 800, 676 .xres = 1024, 696 .xres = 800, [all …]
|
| /rk3399_rockchip-uboot/board/freescale/mx53loco/ |
| H A D | mx53loco_video.c | 20 .xres = 800, 36 .xres = 800,
|
| /rk3399_rockchip-uboot/drivers/video/sunxi/ |
| H A D | sunxi_display.c | 375 writel(mode->xres * 4, &de_fe->ch0_stride); in sunxi_frontend_mode_set() 379 writel(SUNXI_DE_FE_HEIGHT(mode->yres) | SUNXI_DE_FE_WIDTH(mode->xres), in sunxi_frontend_mode_set() 381 writel(SUNXI_DE_FE_HEIGHT(mode->yres) | SUNXI_DE_FE_WIDTH(mode->xres), in sunxi_frontend_mode_set() 386 writel(SUNXI_DE_FE_HEIGHT(mode->yres) | SUNXI_DE_FE_WIDTH(mode->xres), in sunxi_frontend_mode_set() 388 writel(SUNXI_DE_FE_HEIGHT(mode->yres) | SUNXI_DE_FE_WIDTH(mode->xres), in sunxi_frontend_mode_set() 477 writel(SUNXI_DE_BE_HEIGHT(mode->yres) | SUNXI_DE_BE_WIDTH(mode->xres), in sunxi_composer_mode_set() 479 writel(SUNXI_DE_BE_HEIGHT(mode->yres) | SUNXI_DE_BE_WIDTH(mode->xres), in sunxi_composer_mode_set() 482 writel(SUNXI_DE_BE_LAYER_STRIDE(mode->xres), &de_be->layer0_stride); in sunxi_composer_mode_set() 730 timing->hactive.typ = mode->xres; in sunxi_ctfb_mode_to_display_timing() 829 if (mode->xres * 100 / mode->yres < 156) [all …]
|
| /rk3399_rockchip-uboot/board/teejet/mt_ventoux/ |
| H A D | mt_ventoux.c | 55 u32 xres; member 324 printf("Panel: %dx%d\n", panel_resolution[index].xres, in board_video_init() 327 (panel_resolution[index].xres - 1); in board_video_init()
|
| /rk3399_rockchip-uboot/board/beckhoff/mx53cx9020/ |
| H A D | mx53cx9020_video.c | 23 .xres = 640,
|