/openbmc/u-boot/drivers/video/rockchip/ |
H A D | rk_vop.c | 41 u32 hactive = edid->hactive.typ; in rkvop_enable() local 44 writel(V_ACT_WIDTH(hactive - 1) | V_ACT_HEIGHT(vactive - 1), in rkvop_enable() 51 writel(V_DSP_WIDTH(hactive - 1) | in rkvop_enable() 61 writel(V_RGB565_VIRWIDTH(hactive), ®s->win0_vir); in rkvop_enable() 65 writel(V_RGB888_VIRWIDTH(hactive), ®s->win0_vir); in rkvop_enable() 70 writel(V_ARGB888_VIRWIDTH(hactive), ®s->win0_vir); in rkvop_enable() 74 if (hactive > 2560) in rkvop_enable() 76 else if (hactive > 1920) in rkvop_enable() 78 else if (hactive > 1280) in rkvop_enable() 145 u32 hactive = edid->hactive.typ; in rkvop_mode_set() local [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-tx6-lcd.dtsi | 115 hactive = <640>; 132 hactive = <640>; 149 hactive = <320>; 166 hactive = <480>; 182 hactive = <800>; 199 hactive = <800>; 215 hactive = <320>; 232 hactive = <800>;
|
H A D | imx6qdl-tx6-lvds.dtsi | 133 hactive = <1024>; 147 hactive = <640>; 164 hactive = <1280>; 181 hactive = <800>; 198 hactive = <640>; 229 hactive = <1024>; 243 hactive = <640>; 259 hactive = <1280>;
|
H A D | imx53-tx53-x03x.dts | 72 hactive = <640>; 88 hactive = <640>; 104 hactive = <320>; 120 hactive = <480>; 136 hactive = <800>; 152 hactive = <800>; 168 hactive = <320>;
|
H A D | imx6ul-tx6ul.dtsi | 412 hactive = <640>; 428 hactive = <640>; 444 hactive = <320>; 460 hactive = <480>; 476 hactive = <800>; 492 hactive = <800>; 508 hactive = <320>;
|
/openbmc/u-boot/drivers/video/tegra124/ |
H A D | display.c | 30 h_total = timing->hactive.typ + timing->hfront_porch.typ + in tegra_dc_calc_refresh() 48 timing->hactive.typ, timing->vactive.typ, refresh / 1000, in print_mode() 72 writel(timing->hactive.typ | (timing->vactive.typ << 16), in update_display_mode() 136 .hactive = { .typ = 16 }, 179 writel(min_mode.hactive.typ | (min_mode.vactive.typ << 16), in tegra_dc_sor_disable_win_short_raster() 233 writel(((timing->vactive.typ << 16) | timing->hactive.typ), in update_window() 236 (timing->hactive.typ * fb_bits_per_pixel / 8)), in update_window() 238 writel(((timing->hactive.typ * fb_bits_per_pixel / 8 + 31) / in update_window() 306 printf("timing->hactive.typ = %d\n", timing->hactive.typ); in dump_config() 452 uc_priv->xsize = roundup(timing.hactive.typ, 16); in tegra124_lcd_init()
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A D | panel-olimex-lcd-olinuxino.c | 29 u32 hactive; member 154 lcd_mode->hactive, in lcd_olinuxino_get_modes() 161 mode->hdisplay = lcd_mode->hactive; in lcd_olinuxino_get_modes() 162 mode->hsync_start = lcd_mode->hactive + lcd_mode->hfp; in lcd_olinuxino_get_modes() 163 mode->hsync_end = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes() 165 mode->htotal = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
|
H A D | panel-simple.c | 179 dt->hactive.typ, dt->vactive.typ); in panel_simple_get_timings_modes() 528 if (!PANEL_SIMPLE_BOUNDS_CHECK(ot, dt, hactive) || in panel_simple_parse_panel_timing_node() 779 .hactive = { 800, 800, 800 }, 820 .hactive = { 800, 800, 800 }, 850 .hactive = { 800, 800, 800 }, 956 .hactive = { 800, 800, 800 }, 1032 .hactive = { 1280, 1280, 1280 }, 1056 .hactive = { 1920, 1920, 1920 }, 1110 .hactive = { 1920, 1920, 1920 }, 1140 .hactive = { 1280, 1280, 1280 }, [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/video/ |
H A D | display-timing.txt | 18 - hactive, vactive: display resolution 59 | porch # | hactive # porch | len | 82 hactive = <1920>; 102 hactive = <1920>;
|
/openbmc/u-boot/drivers/video/sunxi/ |
H A D | lcdc.c | 90 writel(SUNXI_LCDC_X(mode->hactive.typ) | in lcdc_tcon0_mode_set() 94 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon0_mode_set() 169 writel(SUNXI_LCDC_X(mode->hactive.typ) | SUNXI_LCDC_Y(yres), in lcdc_tcon1_mode_set() 171 writel(SUNXI_LCDC_X(mode->hactive.typ) | SUNXI_LCDC_Y(yres), in lcdc_tcon1_mode_set() 173 writel(SUNXI_LCDC_X(mode->hactive.typ) | SUNXI_LCDC_Y(yres), in lcdc_tcon1_mode_set() 177 total = mode->hactive.typ + mode->hfront_porch.typ + bp; in lcdc_tcon1_mode_set()
|
H A D | sunxi_de2.c | 81 u32 size = SUNXI_DE2_WH(mode->hactive.typ, mode->vactive.typ); in sunxi_de2_mode_set() 172 writel((bpp / 8) * mode->hactive.typ, &de_ui_regs->cfg[0].pitch); in sunxi_de2_mode_set() 220 uc_priv->xsize = timing.hactive.typ; in sunxi_de2_init() 227 ALIGN(timing.hactive.typ * timing.vactive.typ * in sunxi_de2_init()
|
/openbmc/linux/drivers/gpu/drm/imx/ipuv3/ |
H A D | ipuv3-crtc.c | 307 if (!IS_ALIGNED(sig_cfg.mode.hactive, 8)) { in ipu_crtc_mode_set_nofb() 308 unsigned int new_hactive = ALIGN(sig_cfg.mode.hactive, 8); in ipu_crtc_mode_set_nofb() 310 dev_warn(ipu_crtc->dev, "8-pixel align hactive %d -> %d\n", in ipu_crtc_mode_set_nofb() 311 sig_cfg.mode.hactive, new_hactive); in ipu_crtc_mode_set_nofb() 313 sig_cfg.mode.hfront_porch -= new_hactive - sig_cfg.mode.hactive; in ipu_crtc_mode_set_nofb() 314 sig_cfg.mode.hactive = new_hactive; in ipu_crtc_mode_set_nofb() 319 imx_crtc_state->bus_format, sig_cfg.mode.hactive); in ipu_crtc_mode_set_nofb()
|
/openbmc/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-di.c | 205 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_interlaced() 251 .repeat_count = sig->mode.hactive, in ipu_di_sync_config_interlaced() 268 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_noninterlaced() 307 .repeat_count = sig->mode.hactive, in ipu_di_sync_config_noninterlaced() 348 .repeat_count = sig->mode.hactive, in ipu_di_sync_config_noninterlaced() 510 if (!IS_ALIGNED(mode->hactive, 8) && in ipu_di_adjust_videomode() 511 mode->hfront_porch < ALIGN(mode->hactive, 8) - mode->hactive) { in ipu_di_adjust_videomode() 512 …dev_err(di->ipu->dev, "hactive %d is not aligned to 8 and front porch is too small to compensate\n… in ipu_di_adjust_videomode() 513 mode->hactive); in ipu_di_adjust_videomode() 568 di->id, sig->mode.hactive, sig->mode.vactive); in ipu_di_init_sync_panel()
|
/openbmc/linux/drivers/video/fbdev/geode/ |
H A D | display_gx.c | 61 int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; in gx_set_mode() local 129 hactive = info->var.xres; in gx_set_mode() 130 hblankstart = hactive; in gx_set_mode() 143 write_dc(par, DC_H_ACTIVE_TIMING, (hactive - 1) | in gx_set_mode()
|
H A D | display_gx1.c | 81 int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; in gx1_set_mode() local 147 hactive = info->var.xres; in gx1_set_mode() 148 hblankstart = hactive; in gx1_set_mode() 161 val = (hactive - 1) | ((htotal - 1) << 16); in gx1_set_mode()
|
/openbmc/linux/drivers/video/ |
H A D | videomode.c | 17 vm->hactive = dt->hactive.typ; in videomode_from_timing()
|
/openbmc/linux/drivers/gpu/drm/sprd/ |
H A D | sprd_dsi.c | 470 video_size = round_video_size(coding, vm->hactive); in sprd_dsi_dpi_video() 474 hline = vm->hactive + vm->hsync_len + vm->hfront_porch + in sprd_dsi_dpi_video() 516 bytes_per_chunk = vm->hactive * bpp_x100 / 100 + pkt_header; in sprd_dsi_dpi_video() 519 total_bytes = (vm->hactive + vm->hfront_porch) * in sprd_dsi_dpi_video() 534 video_size < vm->hactive; in sprd_dsi_dpi_video() 536 if (vm->hactive * 1000 / video_size % 1000) in sprd_dsi_dpi_video() 539 chunks = vm->hactive / video_size; in sprd_dsi_dpi_video() 563 for (video_size = vm->hactive; in sprd_dsi_dpi_video() 586 u32 hactive = ctx->vm.hactive; in sprd_dsi_edpi_video() local 599 if (max_fifo_len > hactive) in sprd_dsi_edpi_video() [all …]
|
/openbmc/u-boot/board/BuR/common/ |
H A D | common.c | 95 pnltmp.hactive = env_get_ulong("ds1_hactive", 10, ~0UL); in load_lcdtiming() 111 ~0UL == (pnltmp.hactive) || in load_lcdtiming() 128 "hactive: %d\n" in load_lcdtiming() 140 pnltmp.hactive, pnltmp.vactive, pnltmp.bpp, in load_lcdtiming() 239 panel_info.vl_col = lcd_panel.hactive; in lcd_ctrl_init()
|
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-ss.c | 136 vm->hactive - 1; in dcss_ss_sync_set() 143 vm->hactive - 1; in dcss_ss_sync_set() 163 de_lrc_x = vm->hsync_len + vm->hback_porch + vm->hactive - 1; in dcss_ss_sync_set()
|
/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | display-timings.yaml | 51 hactive = <1920>; 63 hactive = <1920>;
|
/openbmc/linux/drivers/gpu/drm/xen/ |
H A D | xen_drm_front_conn.c | 75 videomode.hactive = pipeline->width; in connector_get_modes() 77 width = videomode.hactive + videomode.hfront_porch + in connector_get_modes()
|
/openbmc/u-boot/drivers/video/ |
H A D | atmel_lcdfb.c | 134 value = (timing->hactive.typ * timing->vactive.typ * in atmel_fb_init() 178 value = (timing->hactive.typ - 1) << ATMEL_LCDC_HOZVAL_OFFSET; in atmel_fb_init() 220 timing.hactive.typ = panel_info.vl_col; in lcd_ctrl_init() 257 uc_priv->xsize = timing->hactive.typ; in atmel_fb_lcd_probe()
|
H A D | am335x-fb.c | 68 #define FBSIZE(x) ((x->hactive * x->vactive * x->bpp) >> 3) 153 panel->hactive, panel->vactive, panel->bpp, in am335xfb_init() 211 lcdhw->raster_timing0 = LCD_HORLSB(panel->hactive) | in am335xfb_init() 212 LCD_HORMSB(panel->hactive) | in am335xfb_init()
|
H A D | mali_dp.c | 173 val = MALIDP_H_ACTIVE(timings->hactive.typ) | in malidp_setup_timings() 210 MALIDP_CMP_H_SIZE(timings->hactive.typ); in malidp_setup_layer() 215 MALIDP_IN_H_SIZE(timings->hactive.typ); in malidp_setup_layer() 218 writel(timings->hactive.typ << 2, malidp->base_addr + layer_offset + in malidp_setup_layer()
|
/openbmc/linux/arch/arm/boot/dts/nxp/mxs/ |
H A D | imx28-tx28.dts | 327 hactive = <640>; 344 hactive = <640>; 361 hactive = <320>; 378 hactive = <480>; 395 hactive = <800>; 412 hactive = <320>;
|