| /drivers/gpu/drm/panel/ |
| A D | panel-simple.c | 863 .hactive = { 800, 800, 800 }, 904 .hactive = { 800, 800, 800 }, 934 .hactive = { 800, 800, 800 }, 1040 .hactive = { 800, 800, 800 }, 1600 .hactive = { 480, 480, 480 }, 1833 .hactive = { 480, 480, 480 }, 2219 .hactive = { 334, 334, 334 }, 2246 .hactive = { 640, 640, 640 }, 2274 .hactive = { 800, 800, 800 }, 2409 .hactive = { 320, 320, 320 }, [all …]
|
| A D | panel-olimex-lcd-olinuxino.c | 29 u32 hactive; member 118 lcd_mode->hactive, in lcd_olinuxino_get_modes() 125 mode->hdisplay = lcd_mode->hactive; in lcd_olinuxino_get_modes() 126 mode->hsync_start = lcd_mode->hactive + lcd_mode->hfp; in lcd_olinuxino_get_modes() 127 mode->hsync_end = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes() 129 mode->htotal = lcd_mode->hactive + lcd_mode->hfp + in lcd_olinuxino_get_modes()
|
| /drivers/gpu/ipu-v3/ |
| 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() 513 mode->hactive); in ipu_di_adjust_videomode() 568 di->id, sig->mode.hactive, sig->mode.vactive); in ipu_di_init_sync_panel()
|
| /drivers/video/fbdev/geode/ |
| A D | display_gx.c | 62 int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; in gx_set_mode() local 130 hactive = info->var.xres; in gx_set_mode() 131 hblankstart = hactive; in gx_set_mode() 144 write_dc(par, DC_H_ACTIVE_TIMING, (hactive - 1) | in gx_set_mode()
|
| 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()
|
| /drivers/gpu/drm/sprd/ |
| 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 …]
|
| /drivers/gpu/drm/imx/ipuv3/ |
| 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() 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()
|
| /drivers/media/i2c/ |
| 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()
|
| /drivers/video/ |
| A D | videomode.c | 17 vm->hactive = dt->hactive.typ; in videomode_from_timing()
|
| /drivers/gpu/drm/imx/dcss/ |
| A D | dcss-ss.c | 130 vm->hactive - 1; in dcss_ss_sync_set() 137 vm->hactive - 1; in dcss_ss_sync_set() 157 de_lrc_x = vm->hsync_len + vm->hback_porch + vm->hactive - 1; in dcss_ss_sync_set()
|
| /drivers/gpu/drm/bridge/ |
| A D | tc358775.c | 377 u32 hback_porch, hsync_len, hfront_porch, hactive, htime1, htime2; in tc_bridge_atomic_enable() local 398 hactive = mode->hdisplay; in tc_bridge_atomic_enable() 402 htime2 = (hfront_porch << 16) + hactive; in tc_bridge_atomic_enable() 442 t1 = hactive * (tc->bpc * 3 / 8) / tc->num_dsi_lanes; in tc_bridge_atomic_enable() 443 t2 = ((100000 / clkdiv)) * (hactive + hback_porch + hsync_len + hfront_porch) / 1000; in tc_bridge_atomic_enable() 444 t3 = ((t2 * byteclk) / 100) - (hactive * (tc->bpc * 3 / 8) / in tc_bridge_atomic_enable() 447 vsdelay = (clkdiv * (t1 + t3) / byteclk) - hback_porch - hsync_len - hactive; in tc_bridge_atomic_enable()
|
| A D | lontium-lt8912b.c | 286 u32 hactive, h_total, hpw, hfp, hbp; in lt8912_video_setup() local 294 hactive = lt->mode.hactive; in lt8912_video_setup() 298 h_total = hactive + hfp + hpw + hbp; in lt8912_video_setup() 317 ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x1c, hactive & 0xff); in lt8912_video_setup() 318 ret |= regmap_write(lt->regmap[I2C_CEC_DSI], 0x1d, hactive >> 8); in lt8912_video_setup()
|
| A D | tc358768.c | 750 hact = vm.hactive * 3; in tc358768_bridge_atomic_pre_enable() 755 hact = vm.hactive * 3; in tc358768_bridge_atomic_pre_enable() 761 hact = vm.hactive * 18 / 8; in tc358768_bridge_atomic_pre_enable() 767 hact = vm.hactive * 2; in tc358768_bridge_atomic_pre_enable() 792 dpi_htot = vm.hactive + vm.hfront_porch + vm.hsync_len + vm.hback_porch; in tc358768_bridge_atomic_pre_enable() 796 vm.hsync_len, vm.hback_porch, vm.hactive, vm.hfront_porch, in tc358768_bridge_atomic_pre_enable() 802 tc358768_dpi_to_ns(vm.hactive, vm.pixelclock), in tc358768_bridge_atomic_pre_enable()
|
| /drivers/video/fbdev/core/ |
| A D | fbmon.c | 1022 u32 hactive; member 1156 timings->hactive); in fb_timings_vfreq() 1157 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq() 1167 timings->hactive); in fb_timings_hfreq() 1168 timings->htotal = timings->hactive + timings->hblank; in fb_timings_hfreq() 1175 timings->hactive); in fb_timings_dclk() 1176 timings->htotal = timings->hactive + timings->hblank; in fb_timings_dclk() 1250 timings->hactive = var->xres; in fb_get_mode() 1318 fbmode->xres = vm->hactive; in fb_videomode_from_videomode() 1344 htotal = vm->hactive + vm->hfront_porch + vm->hback_porch + in fb_videomode_from_videomode() [all …]
|
| /drivers/gpu/drm/xen/ |
| 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()
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
| A D | display_rq_dlg_calc_21.c | 99 unsigned int hactive, in get_refcyc_per_delivery() argument 110 * dml_min((double) recout_width, (double) hactive / 2.0) in get_refcyc_per_delivery() 718 hactive_half = pipe_param->dest.hactive / 2; in get_surf_rq_param() 1260 dst->hactive, in dml_rq_dlg_get_dlg_params() 1272 dst->hactive, in dml_rq_dlg_get_dlg_params() 1299 dst->hactive, in dml_rq_dlg_get_dlg_params() 1311 dst->hactive, in dml_rq_dlg_get_dlg_params() 1342 dst->hactive, in dml_rq_dlg_get_dlg_params() 1353 dst->hactive, in dml_rq_dlg_get_dlg_params() 1378 dst->hactive, in dml_rq_dlg_get_dlg_params() [all …]
|
| /drivers/gpu/drm/ |
| A D | drm_displayid_internal.h | 118 __le16 hactive; member 135 __le16 hactive; member
|
| A D | drm_modes.c | 329 unsigned int hactive, in fill_analog_mode() argument 350 hactive, vactive, in fill_analog_mode() 356 if (pixel_clock_hz == 13500000 && hactive > max_hact && hactive <= 720) { in fill_analog_mode() 372 hact_duration_ns = hactive * pixel_duration_ns; in fill_analog_mode() 381 hblk = htotal - hactive; in fill_analog_mode() 452 if (htotal != (hactive + hfp + hslen + hbp)) in fill_analog_mode() 456 mode->hdisplay = hactive; in fill_analog_mode() 1074 dmode->hdisplay = vm->hactive; in drm_display_mode_from_videomode() 1115 vm->hactive = dmode->hdisplay; in drm_display_mode_to_videomode() 1207 np, vm.hactive, vm.vactive, DRM_MODE_ARG(dmode)); in of_get_drm_display_mode()
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
| A D | display_rq_dlg_calc_30.c | 47 unsigned int hactive, in get_refcyc_per_delivery() argument 58 * dml_min((double)recout_width, (double)hactive / ((unsigned int)odm_combine*2)) in get_refcyc_per_delivery() 687 hactive_odm = pipe_param->dest.hactive / ((unsigned int) pipe_param->dest.odm_combine*2); in get_surf_rq_param() 1362 dst->hactive, in dml_rq_dlg_get_dlg_params() 1373 dst->hactive, in dml_rq_dlg_get_dlg_params() 1398 dst->hactive, in dml_rq_dlg_get_dlg_params() 1409 dst->hactive, in dml_rq_dlg_get_dlg_params() 1452 dst->hactive, in dml_rq_dlg_get_dlg_params() 1462 dst->hactive, in dml_rq_dlg_get_dlg_params() 1484 dst->hactive, in dml_rq_dlg_get_dlg_params() [all …]
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
| A D | display_rq_dlg_calc_31.c | 48 unsigned int hactive, in get_refcyc_per_delivery() argument 59 …* dml_min((double) recout_width, (double) hactive / ((unsigned int) odm_combine * 2)) / pclk_freq_… in get_refcyc_per_delivery() 683 hactive_odm = pipe_param->dest.hactive / ((unsigned int) pipe_param->dest.odm_combine * 2); in get_surf_rq_param() 1207 dst->hactive, in dml_rq_dlg_get_dlg_params() 1219 dst->hactive, in dml_rq_dlg_get_dlg_params() 1245 dst->hactive, in dml_rq_dlg_get_dlg_params() 1257 dst->hactive, in dml_rq_dlg_get_dlg_params() 1292 dst->hactive, in dml_rq_dlg_get_dlg_params() 1304 dst->hactive, in dml_rq_dlg_get_dlg_params() 1330 dst->hactive, in dml_rq_dlg_get_dlg_params() [all …]
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
| A D | display_rq_dlg_calc_314.c | 136 unsigned int hactive, in get_refcyc_per_delivery() argument 771 hactive_odm = pipe_param->dest.hactive / ((unsigned int) pipe_param->dest.odm_combine * 2); in get_surf_rq_param() 1069 (vba__min_dst_y_next_start * dst->hactive) / (unsigned int) dst->pixel_rate_mhz; in dml_rq_dlg_get_dlg_params() 1295 dst->hactive, in dml_rq_dlg_get_dlg_params() 1307 dst->hactive, in dml_rq_dlg_get_dlg_params() 1333 dst->hactive, in dml_rq_dlg_get_dlg_params() 1345 dst->hactive, in dml_rq_dlg_get_dlg_params() 1380 dst->hactive, in dml_rq_dlg_get_dlg_params() 1392 dst->hactive, in dml_rq_dlg_get_dlg_params() 1418 dst->hactive, in dml_rq_dlg_get_dlg_params() [all …]
|
| /drivers/gpu/drm/exynos/ |
| A D | exynos_drm_mic.c | 170 MIC_V_PERIOD_LINE(vm.hsync_len + vm.hactive + in mic_set_porch_timing() 184 reg = MIC_IMG_H_SIZE(vm->hactive) + in mic_set_img_size() 195 DRM_DEV_DEBUG(mic->dev, "w: %u, h: %u\n", vm.hactive, vm.vactive); in mic_set_output_timing() 196 bs_size_2d = ((vm.hactive >> 2) << 1) + (vm.vactive % 4); in mic_set_output_timing()
|
| /drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
| A D | display_rq_dlg_calc_20.c | 123 unsigned int hactive, in get_refcyc_per_delivery() argument 134 * dml_min((double) recout_width, (double) hactive / 2.0) in get_refcyc_per_delivery() 1206 dst->hactive, in dml20_rq_dlg_get_dlg_params() 1217 dst->hactive, in dml20_rq_dlg_get_dlg_params() 1242 dst->hactive, in dml20_rq_dlg_get_dlg_params() 1253 dst->hactive, in dml20_rq_dlg_get_dlg_params() 1281 dst->hactive, in dml20_rq_dlg_get_dlg_params() 1291 dst->hactive, in dml20_rq_dlg_get_dlg_params() 1313 dst->hactive, in dml20_rq_dlg_get_dlg_params() 1323 dst->hactive, in dml20_rq_dlg_get_dlg_params()
|
| A D | display_rq_dlg_calc_20v2.c | 123 unsigned int hactive, in get_refcyc_per_delivery() argument 134 * dml_min((double) recout_width, (double) hactive / 2.0) in get_refcyc_per_delivery() 1207 dst->hactive, in dml20v2_rq_dlg_get_dlg_params() 1218 dst->hactive, in dml20v2_rq_dlg_get_dlg_params() 1243 dst->hactive, in dml20v2_rq_dlg_get_dlg_params() 1254 dst->hactive, in dml20v2_rq_dlg_get_dlg_params() 1282 dst->hactive, in dml20v2_rq_dlg_get_dlg_params() 1292 dst->hactive, in dml20v2_rq_dlg_get_dlg_params() 1314 dst->hactive, in dml20v2_rq_dlg_get_dlg_params() 1324 dst->hactive, in dml20v2_rq_dlg_get_dlg_params()
|
| /drivers/media/pci/tw68/ |
| A D | tw68-video.c | 255 int hactive, hdelay, hscale; in tw68_set_scale() local 279 hactive = norm->h_stop - norm->h_start + 1; in tw68_set_scale() 281 hscale = (hactive * 256) / (width); in tw68_set_scale() 294 hactive, hdelay, hscale, vactive, vdelay, vscale); in tw68_set_scale() 299 ((hactive & 0x300) >> 8); in tw68_set_scale() 301 __func__, comb, vdelay, vactive, hdelay, hactive); in tw68_set_scale() 306 tw_writeb(TW68_HACTIVE_LO, hactive & 0xff); in tw68_set_scale()
|