| /OK3568_Linux_fs/kernel/drivers/media/i2c/rk628/ |
| H A D | rk628.c | 281 src_htotal = src->hsync_len + src->hback_porch + src->hactive + in calc_dsp_frm_hst_vst() 285 dsp_htotal = dst->hsync_len + dst->hback_porch + dst->hactive + in calc_dsp_frm_hst_vst() 326 dsp_htotal = dst->hsync_len + dst->hback_porch + dst->hactive + in rk628_post_process_scaler_init() 332 dsp_hbor_end = dst->hsync_len + dst->hback_porch + dst->hactive; in rk628_post_process_scaler_init() 345 if (src->hactive > dst->hactive) { in rk628_post_process_scaler_init() 349 if ((src->hactive - 1) / (dst->hactive - 1) > 2) in rk628_post_process_scaler_init() 350 scl_h_factor = ((src->hactive - 1) << 14) / in rk628_post_process_scaler_init() 351 (dst->hactive - 1); in rk628_post_process_scaler_init() 353 scl_h_factor = ((src->hactive - 2) << 14) / in rk628_post_process_scaler_init() 354 (dst->hactive - 1); in rk628_post_process_scaler_init() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/rockchip/ |
| H A D | rk_vop.c | 42 u32 hactive = edid->hactive.typ; in rkvop_enable() local 45 writel(V_ACT_WIDTH(hactive - 1) | V_ACT_HEIGHT(vactive - 1), in rkvop_enable() 52 writel(V_DSP_WIDTH(hactive - 1) | in rkvop_enable() 62 writel(V_RGB565_VIRWIDTH(hactive), ®s->win0_vir); in rkvop_enable() 66 writel(V_RGB888_VIRWIDTH(hactive), ®s->win0_vir); in rkvop_enable() 71 writel(V_ARGB888_VIRWIDTH(hactive), ®s->win0_vir); in rkvop_enable() 75 if (hactive > 2560) in rkvop_enable() 77 else if (hactive > 1920) in rkvop_enable() 79 else if (hactive > 1280) in rkvop_enable() 146 u32 hactive = edid->hactive.typ; in rkvop_mode_set() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk628/ |
| H A D | rk628_post_process.c | 60 src_htotal = src->hsync_len + src->hback_porch + src->hactive + in calc_dsp_frm_hst_vst() 64 dsp_htotal = dst->hsync_len + dst->hback_porch + dst->hactive + in calc_dsp_frm_hst_vst() 109 dsp_htotal = dst.hsync_len + dst.hback_porch + dst.hactive + in rk628_post_process_scaler_init() 115 dsp_hbor_end = dst.hsync_len + dst.hback_porch + dst.hactive; in rk628_post_process_scaler_init() 128 if (src.hactive > dst.hactive) { in rk628_post_process_scaler_init() 132 if ((src.hactive - 1) / (dst.hactive - 1) > 2) in rk628_post_process_scaler_init() 133 scl_h_factor = ((src.hactive - 1) << 14) / in rk628_post_process_scaler_init() 134 (dst.hactive - 1); in rk628_post_process_scaler_init() 136 scl_h_factor = ((src.hactive - 2) << 14) / in rk628_post_process_scaler_init() 137 (dst.hactive - 1); in rk628_post_process_scaler_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/rk618/ |
| H A D | rk618_scaler.c | 96 src_htotal = src->hsync_len + src->hback_porch + src->hactive + in calc_dsp_frm_hst_vst() 100 dsp_htotal = dst->hsync_len + dst->hback_porch + dst->hactive + in calc_dsp_frm_hst_vst() 145 dsp_htotal = dst.hsync_len + dst.hback_porch + dst.hactive + in rk618_scaler_init() 151 dsp_hbor_end = dst.hsync_len + dst.hback_porch + dst.hactive; in rk618_scaler_init() 164 if (src.hactive > dst.hactive) { in rk618_scaler_init() 168 if ((src.hactive - 1) / (dst.hactive - 1) > 2) in rk618_scaler_init() 169 scl_h_factor = ((src.hactive - 1) << 14) / in rk618_scaler_init() 170 (dst.hactive - 1); in rk618_scaler_init() 172 scl_h_factor = ((src.hactive - 2) << 14) / in rk618_scaler_init() 173 (dst.hactive - 1); in rk618_scaler_init() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| 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 | 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 | 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>;
|
| /OK3568_Linux_fs/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()
|
| /OK3568_Linux_fs/u-boot/drivers/video/tegra124/ |
| H A D | display.c | 33 h_total = timing->hactive.typ + timing->hfront_porch.typ + in tegra_dc_calc_refresh() 51 timing->hactive.typ, timing->vactive.typ, refresh / 1000, in print_mode() 75 writel(timing->hactive.typ | (timing->vactive.typ << 16), in update_display_mode() 139 .hactive = { .typ = 16 }, 182 writel(min_mode.hactive.typ | (min_mode.vactive.typ << 16), in tegra_dc_sor_disable_win_short_raster() 236 writel(((timing->vactive.typ << 16) | timing->hactive.typ), in update_window() 239 (timing->hactive.typ * fb_bits_per_pixel / 8)), in update_window() 241 writel(((timing->hactive.typ * fb_bits_per_pixel / 8 + 31) / in update_window() 309 printf("timing->hactive.typ = %d\n", timing->hactive.typ); in dump_config() 455 uc_priv->xsize = roundup(timing.hactive.typ, 16); in tegra124_lcd_init()
|
| /OK3568_Linux_fs/kernel/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 | 323 dt->hactive.typ, dt->vactive.typ); in panel_simple_get_timings_modes() 754 if (!PANEL_SIMPLE_BOUNDS_CHECK(ot, dt, hactive) || in panel_simple_parse_panel_timing_node() 1077 .hactive = { 800, 800, 800 }, 1128 .hactive = { 1280, 1280, 1280 }, 1279 .hactive = { 800, 800, 800 }, 1377 .hactive = { 1920, 1920, 1920 }, 1431 .hactive = { 1920, 1920, 1920 }, 1461 .hactive = { 1280, 1280, 1280 }, 1491 .hactive = { 1920, 1920, 1920 }, 1838 .hactive = { 1280, 1280, 1280 }, [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | am335x-fb.c | 64 #define FBSIZE(x) ((x->hactive * x->vactive * x->bpp) >> 3) 136 panel->hactive, panel->vactive, panel->bpp, in am335xfb_init() 164 lcdhw->raster_timing0 = LCD_HORLSB(panel->hactive) | in am335xfb_init() 165 LCD_HORMSB(panel->hactive) | in am335xfb_init()
|
| H A D | atmel_lcdfb.c | 135 value = (timing->hactive.typ * timing->vactive.typ * in atmel_fb_init() 179 value = (timing->hactive.typ - 1) << ATMEL_LCDC_HOZVAL_OFFSET; in atmel_fb_init() 221 timing.hactive.typ = panel_info.vl_col; in lcd_ctrl_init() 258 uc_priv->xsize = timing->hactive.typ; in atmel_fb_lcd_probe()
|
| /OK3568_Linux_fs/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>;
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk1808-evb-x4.dts | 79 hactive = <3840>; 94 hactive = <3840>; 109 hactive = <4096>; 124 hactive = <5760>;
|
| H A D | rk1808-evb-x4-second.dts | 80 hactive = <3840>; 95 hactive = <3840>; 110 hactive = <4096>; 125 hactive = <5760>;
|
| H A D | rk3588-vehicle-maxim-serdes.dtsi | 288 hactive = <1920>; 386 hactive = <1920>; 483 hactive = <1920>; 582 hactive = <1920>; 680 hactive = <1920>; 778 hactive = <1920>;
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | bt819.c | 61 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()
|
| /OK3568_Linux_fs/kernel/drivers/video/ |
| H A D | videomode.c | 17 vm->hactive = dt->hactive.typ; in videomode_from_timing()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | tc358775.c | 378 u32 hback_porch, hsync_len, hfront_porch, hactive, htime1, htime2; in tc_bridge_enable() local 396 hactive = mode->hdisplay; in tc_bridge_enable() 400 htime2 = (hfront_porch << 16) + hactive; in tc_bridge_enable() 434 t1 = hactive * (tc->bpc * 3 / 8) / tc->num_dsi_lanes; in tc_bridge_enable() 435 t2 = ((100000 / clkdiv)) * (hactive + hback_porch + hsync_len + hfront_porch) / 1000; in tc_bridge_enable() 436 t3 = ((t2 * byteclk) / 100) - (hactive * (tc->bpc * 3 / 8) / in tc_bridge_enable() 439 vsdelay = (clkdiv * (t1 + t3) / byteclk) - hback_porch - hsync_len - hactive; in tc_bridge_enable()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/core/ |
| H A D | fbmon.c | 1019 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/xen/ |
| H A D | xen_drm_front_conn.c | 74 videomode.hactive = pipeline->width; in connector_get_modes() 76 width = videomode.hactive + videomode.hfront_porch + in connector_get_modes()
|