Home
last modified time | relevance | path

Searched refs:h_total (Results 1 – 25 of 58) sorted by relevance

123

/OK3568_Linux_fs/kernel/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() local
216 .run_count = h_total - 1, in ipu_di_sync_config_interlaced()
233 .offset_count = h_total / 2, in ipu_di_sync_config_interlaced()
255 .run_count = h_total / 2 - 1, in ipu_di_sync_config_interlaced()
268 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_noninterlaced() local
275 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
279 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
323 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
339 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
365 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_optc.c173 OTG_H_TOTAL, patched_crtc_timing.h_total - 1); in optc1_program_timing()
181 asic_blank_start = patched_crtc_timing.h_total - in optc1_program_timing()
567 h_blank = (timing->h_total - timing->h_addressable - in optc1_validate_timing()
588 if (timing->h_total > optc1->max_h_total || in optc1_validate_timing()
1297 hw_crtc_timing->h_total = s.h_total + 1; in optc1_get_hw_timing()
1298 hw_crtc_timing->h_addressable = s.h_total - ((s.h_total - s.h_blank_start) + s.h_blank_end); in optc1_get_hw_timing()
1299 hw_crtc_timing->h_front_porch = s.h_total + 1 - s.h_blank_start; in optc1_get_hw_timing()
1355 OTG_H_TOTAL, &s->h_total); in optc1_read_otg_state()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
H A Ddce110_clk_mgr.c106 vertical_blank_in_pixels = stream->timing.h_total * in dce110_get_min_vblank_time_us()
164 cfg->v_refresh /= stream->timing.h_total; in dce110_fill_display_configs()
241 pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz; in dce11_pplib_apply_display_requirements()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/nvidia/
H A Dnvidia.c301 int h_total = (info->var.xres + info->var.right_margin + in nvidia_calc_regs() local
304 int h_blank_e = h_total + 4; in nvidia_calc_regs()
325 h_start = h_total - 5; in nvidia_calc_regs()
326 h_end = h_total - 2; in nvidia_calc_regs()
327 h_blank_e = h_total + 4; in nvidia_calc_regs()
330 state->crtc[0x0] = Set8Bits(h_total); in nvidia_calc_regs()
369 state->horiz = SetBitField(h_total, 8: 8, 0:0) in nvidia_calc_regs()
380 h_total = (h_total >> 1) & ~1; in nvidia_calc_regs()
381 state->interlace = Set8Bits(h_total); in nvidia_calc_regs()
382 state->horiz |= SetBitField(h_total, 8: 8, 4:4); in nvidia_calc_regs()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_legacy_tv.c429 unsigned int h_total, v_total, f_total; in radeon_legacy_tv_init_restarts() local
439 h_total = const_ptr->hor_total; in radeon_legacy_tv_init_restarts()
486 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(NTSC_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts()
488 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(PAL_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts()
495 tv_dac->tv.hrestart = restart % h_total; in radeon_legacy_tv_init_restarts()
496 restart /= h_total; in radeon_legacy_tv_init_restarts()
/OK3568_Linux_fs/u-boot/drivers/video/
H A Dvideomodes.c391 int margin, h_total, v_total; in video_edid_dtd_to_ctfb_res_modes() local
410 h_total = mode->xres + EDID_DETAILED_TIMING_HORIZONTAL_BLANKING(*t); in video_edid_dtd_to_ctfb_res_modes()
413 (h_total * v_total); in video_edid_dtd_to_ctfb_res_modes()
H A Dipu_disp.c839 uint32_t h_total, v_total; in ipu_init_sync_panel() local
854 h_total = width + h_sync_width + h_start_width + h_end_width; in ipu_init_sync_panel()
914 h_total / 2 - 1,/* run count */ in ipu_init_sync_panel()
931 h_total - 1, /* run count */ in ipu_init_sync_panel()
1077 ipu_di_sync_config(disp, 1, h_total - 1, DI_SYNC_CLK, in ipu_init_sync_panel()
1083 ipu_di_sync_config(disp, DI_SYNC_HSYNC, h_total - 1, in ipu_init_sync_panel()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/
H A Daty128fb.c414 u32 h_total, h_sync_strt_wid; member
1020 aty_st_le32(CRTC_H_TOTAL_DISP, crtc->h_total); in aty128_set_crtc()
1038 u32 h_total, h_disp, h_sync_strt, h_sync_wid, h_sync_pol; in aty128_var_to_crtc() local
1098 h_total = (((xres + right + hslen + left) >> 3) - 1) & 0xFFFFL; in aty128_var_to_crtc()
1104 if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) { in aty128_var_to_crtc()
1132 crtc->h_total = h_total | (h_disp << 16); in aty128_var_to_crtc()
1227 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty128_crtc_to_var() local
1232 h_total = crtc->h_total & 0x1ff; in aty128_crtc_to_var()
1233 h_disp = (crtc->h_total >> 16) & 0xff; in aty128_crtc_to_var()
1249 left = ((h_total - h_sync_strt - h_sync_wid) << 3) - h_sync_dly; in aty128_crtc_to_var()
[all …]
H A Datyfb_base.c811 u32 h_total, h_disp, h_sync_strt, h_sync_end, h_sync_dly, h_sync_wid, h_sync_pol; in aty_var_to_crtc() local
886 h_total = h_sync_end + h_sync_dly + var->left_margin; in aty_var_to_crtc()
964 h_total = h_disp + par->lcd_hblank_len; in aty_var_to_crtc()
975 h_total = (h_total >> 3) - 1; in aty_var_to_crtc()
983 FAIL_MAX("h_total too large", h_total, 0x1ff); in aty_var_to_crtc()
1018 crtc->h_tot_disp = h_total | (h_disp << 16); in aty_var_to_crtc()
1160 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty_crtc_to_var() local
1166 h_total = crtc->h_tot_disp & 0x1ff; in aty_crtc_to_var()
1185 left = (h_total - h_sync_strt - h_sync_wid) * 8 - h_sync_dly; in aty_crtc_to_var()
1353 u32 h_disp, h_sync_strt, h_sync_end, h_total; in atyfb_set_par() local
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/tegra124/
H A Ddisplay.c30 int h_total, v_total, refresh; in tegra_dc_calc_refresh() local
33 h_total = timing->hactive.typ + timing->hfront_porch.typ + in tegra_dc_calc_refresh()
37 if (!pclk || !h_total || !v_total) in tegra_dc_calc_refresh()
39 refresh = pclk / h_total; in tegra_dc_calc_refresh()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.c671 uint32_t h_total, in get_dmif_switch_time_us() argument
684 if (!h_total || v_total || !pix_clk_khz) in get_dmif_switch_time_us()
689 pixels_per_frame = h_total * v_total; in get_dmif_switch_time_us()
718 uint32_t h_total, in dce_mi_allocate_dmif() argument
726 h_total, in dce_mi_allocate_dmif()
H A Ddce_clk_mgr.c536 cfg->v_refresh /= stream->timing.h_total; in dce110_fill_display_configs()
554 vertical_blank_in_pixels = stream->timing.h_total * in dce110_get_min_vblank_time_us()
661 pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz; in dce11_pplib_apply_display_requirements()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/calcs/
H A Ddce_calcs.c245 data->h_total[0] = data->h_total[4]; in calculate_bandwidth()
247 data->h_total[1] = data->h_total[4]; in calculate_bandwidth()
250 data->h_total[2] = data->h_total[5]; in calculate_bandwidth()
252 data->h_total[3] = data->h_total[5]; in calculate_bandwidth()
382 data->h_total[maximum_number_of_surfaces - 2] = data->h_total[5]; in calculate_bandwidth()
383 data->h_total[maximum_number_of_surfaces - 1] = data->h_total[5]; in calculate_bandwidth()
842 …al_blank_and_chunk_granularity_factor[i] = bw_div(data->h_total[i], (bw_div((bw_add(data->h_total[… in calculate_bandwidth()
844 …of_frame[i]), data->source_width_rounded_up_to_chunks[i]), (bw_div(data->h_total[i], data->pixel_r… in calculate_bandwidth()
1244 … data->v_scaler_efficiency), bw_div(data->source_width_rounded_up_to_chunks[i], data->h_total[i])); in calculate_bandwidth()
1289 …_mul((bw_sub(dceip->cursor_dcp_buffer_lines, bw_int_to_fixed(1))), data->h_total[i]), data->vsr[i]… in calculate_bandwidth()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_audio.c523 unsigned int h_active, h_total, hblank_delta, pixel_clk; in calc_hblank_early_prog() local
529 h_total = crtc_state->hw.adjusted_mode.crtc_htotal; in calc_hblank_early_prog()
545 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; in calc_hblank_early_prog()
546 link_clks_required = DIV_ROUND_UP(192000 * h_total, 1000 * pixel_clk) * (48 / lanes + 2); in calc_hblank_early_prog()
567 unsigned int h_active, h_total, pixel_clk; in calc_samples_room() local
571 h_total = crtc_state->hw.adjusted_mode.htotal; in calc_samples_room()
576 return ((h_total - h_active) * link_clk - 12 * pixel_clk) / in calc_samples_room()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/modules/freesync/
H A Dfreesync.c115 * 10000) * stream->timing.h_total, in calc_duration_in_us_from_v_total()
134 stream->timing.h_total), 1000000); in calc_v_total_from_refresh()
160 stream->timing.h_total), 1000); in calc_v_total_from_duration()
235 stream->timing.h_total), 1000); in update_v_total_for_static_ramp()
1163 unsigned int total = stream->timing.h_total * stream->timing.v_total; in mod_freesync_calc_nominal_field_rate()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/include/
H A Daudio_types.h37 uint32_t h_total; member
H A Dbios_parser_types.h170 uint32_t h_total; member
/OK3568_Linux_fs/buildroot/package/x11r7/xdriver_xf86-video-savage/
H A D0002-xorg-xserver120.patch18 pScrn->maxHValue = 2048 << 3; /* 11 bits of h_total 8-pixel units */
/OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/include/mach/
H A Ddp_info.h27 unsigned int h_total; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/
H A Dlontium-lt9611.c151 u32 h_total, hactive, hsync_len, hfront_porch, hsync_porch; in lt9611_mipi_video_setup() local
154 h_total = mode->htotal; in lt9611_mipi_video_setup()
173 regmap_write(lt9611->regmap, 0x8311, (u8)(h_total / 256)); in lt9611_mipi_video_setup()
174 regmap_write(lt9611->regmap, 0x8312, (u8)(h_total % 256)); in lt9611_mipi_video_setup()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.c310 bp_params.h_total = patched_crtc_timing.h_total; in dce110_timing_generator_program_timing_generator()
623 timing->h_total - 1, in dce110_timing_generator_program_blanking()
661 tmp = timing->h_total - in dce110_timing_generator_program_blanking()
1145 if (timing->h_total > tg110->max_h_total || in dce110_timing_generator_validate_timing()
1149 h_blank = (timing->h_total - timing->h_addressable - in dce110_timing_generator_validate_timing()
H A Ddce110_timing_generator_v.c263 timing->h_total - 1, in dce110_timing_generator_v_program_blanking()
280 tmp = timing->h_total - in dce110_timing_generator_v_program_blanking()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dmem_input.h123 uint32_t h_total,/* for current target */
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dit6616.c440 u16 h_total; member
2019 u16 h_total, h_active, h_front_porch, h_sync_w; in it6616_hdmi_rx_get_video_info() local
2025 h_total = ((it6616_hdmi_read(hdmi, 0x9C) & 0x3F) << 8) + it6616_hdmi_read(hdmi, 0x9B); in it6616_hdmi_rx_get_video_info()
2039 it6616->vinfo.h_total = h_total; in it6616_hdmi_rx_get_video_info()
2042 it6616->vinfo.h_back_porch = (h_total - h_active - h_front_porch - h_sync_w); in it6616_hdmi_rx_get_video_info()
2053 frame_rate /= it6616->vinfo.h_total; in it6616_hdmi_rx_get_video_info()
2059 dev_dbg(dev, "HTotal = %d\n", it6616->vinfo.h_total*2); in it6616_hdmi_rx_get_video_info()
2062 dev_dbg(dev, "HTotal = %d\n", it6616->vinfo.h_total); in it6616_hdmi_rx_get_video_info()
3387 htotal = it6616->vinfo.h_total; in it6616_get_detected_timings()
3395 htotal = it6616->vinfo.h_total * 2; in it6616_get_detected_timings()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/modules/info_packet/
H A Dinfo_packet.c439 && stream->timing.h_total >= 3840 in mod_build_hf_vsif_infopacket()

123