Home
last modified time | relevance | path

Searched refs:hactive (Results 1 – 25 of 79) sorted by relevance

1234

/openbmc/u-boot/drivers/video/rockchip/
H A Drk_vop.c41 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), &regs->win0_vir); in rkvop_enable()
65 writel(V_RGB888_VIRWIDTH(hactive), &regs->win0_vir); in rkvop_enable()
70 writel(V_ARGB888_VIRWIDTH(hactive), &regs->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/u-boot/doc/device-tree-bindings/video/
H A Ddisplay-timing.txt18 - hactive, vactive: display resolution
59 | porch # | hactive # porch | len |
82 hactive = <1920>;
102 hactive = <1920>;
H A Datmel-hlcdc.txt32 hactive = <480>;
H A Drockchip-lvds.txt67 hactive = <1920>;
/openbmc/u-boot/drivers/video/tegra124/
H A Ddisplay.c30 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/u-boot/drivers/video/sunxi/
H A Dlcdc.c90 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 Dsunxi_de2.c81 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/u-boot/drivers/video/
H A Dam335x-fb.c68 #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 Datmel_lcdfb.c134 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 Dam335x-fb.h46 unsigned int hactive; /* Horizontal active area */ member
H A Dmali_dp.c173 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()
H A Dihs_video_out.c260 timing.hactive.typ = 1024; in ihs_video_out_probe()
266 timing.hactive.typ = 720; in ihs_video_out_probe()
272 timing.hactive.typ = 640; in ihs_video_out_probe()
H A Datmel_hlcdfb.c399 value |= LCDC_LCDCFG4_PPL(timing->hactive.typ - 1); in atmel_hlcdc_init()
489 uc_priv->xsize = priv->timing.hactive.typ; in atmel_hlcdc_probe()
517 if (priv->timing.hactive.typ > LCD_MAX_WIDTH) in atmel_hlcdc_ofdata_to_platdata()
518 priv->timing.hactive.typ = LCD_MAX_WIDTH; in atmel_hlcdc_ofdata_to_platdata()
H A Dtegra.c116 writel(dt->hactive.typ | (dt->vactive.typ << 16), &disp->disp_active); in update_display_mode()
366 priv->width = timing->hactive.typ; in tegra_lcd_ofdata_to_platdata()
H A Ddw_hdmi.c493 hdmi_write(hdmi, edid->hactive.typ >> 8, HDMI_FC_INHACTV1); in hdmi_av_composer()
494 hdmi_write(hdmi, edid->hactive.typ, HDMI_FC_INHACTV0); in hdmi_av_composer()
972 edid->pixelclock.typ, edid->hactive.typ, edid->vactive.typ); in dw_hdmi_enable()
/openbmc/u-boot/board/BuR/common/
H A Dcommon.c95 pnltmp.hactive = env_get_ulong("ds1_hactive", 10, ~0UL); in load_lcdtiming()
111 ~0UL == (pnltmp.hactive) || 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/u-boot/arch/arm/dts/
H A Dat91sam9g45-gurnard.dts43 hactive = <480>;
57 hactive = <480>;
H A Dat91sam9x5dm.dtsi37 hactive = <800>;
H A Dsama5d3xdm.dtsi26 hactive = <800>;
H A Dam335x-pxm50.dts46 hactive = <1376>;
H A Dtegra20-colibri.dts32 hactive = <640>;
H A Dat91sam9rlek.dts52 hactive = <240>;
/openbmc/u-boot/drivers/video/stm32/
H A Dstm32_ltdc.c225 acc_act_w = acc_hbp + timing->hactive.typ; in stm32_ltdc_set_mode()
403 priv->crop_w = priv->timing.hactive.typ; in stm32_ltdc_probe()
408 priv->timing.hactive.typ, priv->timing.vactive.typ, in stm32_ltdc_probe()
419 uc_priv->xsize = priv->timing.hactive.typ; in stm32_ltdc_probe()
/openbmc/u-boot/drivers/video/meson/
H A Dmeson_venc.c696 if (mode->hactive.typ < 640 || mode->hactive.typ > 1920) in meson_venc_hdmi_supported_mode()
714 dmt_mode->encp.max_pxcnt = mode->hactive.typ + in meson_venc_hdmi_get_dmt_vmode()
723 mode->hactive.typ - 1; in meson_venc_hdmi_get_dmt_vmode()
814 total_pixels_venc = mode->hback_porch.typ + mode->hactive.typ + in meson_venc_hdmi_mode_set()
821 active_pixels_venc = mode->hactive.typ; in meson_venc_hdmi_mode_set()
1266 mode->hactive.typ + in meson_venc_hdmi_mode_set()
H A Dmeson_vpu.c46 uc_priv->xsize = timing.hactive.typ; in meson_vpu_setup_mode()

1234