Home
last modified time | relevance | path

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

1234567891011

/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/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-tx6-lcd.dtsi115 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 Dimx6qdl-tx6-lvds.dtsi133 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 Dimx53-tx53-x03x.dts72 hactive = <640>;
88 hactive = <640>;
104 hactive = <320>;
120 hactive = <480>;
136 hactive = <800>;
152 hactive = <800>;
168 hactive = <320>;
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-simple.c179 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 …]
H A Dpanel-olimex-lcd-olinuxino.c29 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()
/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/linux/drivers/video/fbdev/geode/
H A Ddisplay_gx.c61 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 Ddisplay_gx1.c81 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/gpu/ipu-v3/
H A Dipu-di.c205 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()
513 mode->hactive); in ipu_di_adjust_videomode()
568 di->id, sig->mode.hactive, sig->mode.vactive); in ipu_di_init_sync_panel()
/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/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>;
/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 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()
/openbmc/linux/drivers/video/
H A Dvideomode.c17 vm->hactive = dt->hactive.typ; in videomode_from_timing()
/openbmc/linux/drivers/gpu/drm/sprd/
H A Dsprd_dsi.c470 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/linux/drivers/gpu/drm/imx/ipuv3/
H A Dipuv3-crtc.c307 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()
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/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/linux/drivers/media/i2c/
H A Dbt819.c61 int hactive; member
181 ((timing->hactive >> 8) & 0x03); in bt819_init()
185 init[0x07 * 2 - 1] = timing->hactive & 0xff; in bt819_init()
272 ((timing->hactive >> 8) & 0x03)); in bt819_s_std()
276 bt819_write(decoder, 0x07, timing->hactive & 0xff); in bt819_s_std()
/openbmc/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-ss.c136 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/drivers/gpu/drm/xen/
H A Dxen_drm_front_conn.c75 videomode.hactive = pipeline->width; in connector_get_modes()
77 width = videomode.hactive + videomode.hfront_porch + in connector_get_modes()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dtc358775.c379 u32 hback_porch, hsync_len, hfront_porch, hactive, htime1, htime2; in tc_bridge_enable() local
397 hactive = mode->hdisplay; in tc_bridge_enable()
401 htime2 = (hfront_porch << 16) + hactive; in tc_bridge_enable()
435 t1 = hactive * (tc->bpc * 3 / 8) / tc->num_dsi_lanes; in tc_bridge_enable()
436 t2 = ((100000 / clkdiv)) * (hactive + hback_porch + hsync_len + hfront_porch) / 1000; in tc_bridge_enable()
437 t3 = ((t2 * byteclk) / 100) - (hactive * (tc->bpc * 3 / 8) / in tc_bridge_enable()
440 vsdelay = (clkdiv * (t1 + t3) / byteclk) - hback_porch - hsync_len - hactive; in tc_bridge_enable()
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbmon.c1020 u32 hactive; member
1154 timings->hactive); in fb_timings_vfreq()
1155 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq()
1165 timings->hactive); in fb_timings_hfreq()
1166 timings->htotal = timings->hactive + timings->hblank; in fb_timings_hfreq()
1173 timings->hactive); in fb_timings_dclk()
1174 timings->htotal = timings->hactive + timings->hblank; in fb_timings_dclk()
1248 timings->hactive = var->xres; in fb_get_mode()
1316 fbmode->xres = vm->hactive; in fb_videomode_from_videomode()
1342 htotal = vm->hactive + vm->hfront_porch + vm->hback_porch + in fb_videomode_from_videomode()
[all …]

1234567891011