Home
last modified time | relevance | path

Searched refs:h_active (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/u-boot/common/
H A Dedid.c286 uint32_t pixclock, h_active, h_blanking, v_active, v_blanking; in edid_print_dtd() local
290 h_active = EDID_DETAILED_TIMING_HORIZONTAL_ACTIVE(*timing); in edid_print_dtd()
295 h_total = h_active + h_blanking; in edid_print_dtd()
301 printf("\t%dx%d\%c\t%d Hz (detailed)\n", h_active, in edid_print_dtd()
302 v_active, h_active > 1000 ? ' ' : '\t', vfreq); in edid_print_dtd()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_optc.c55 int h_active = timing->h_addressable + timing->h_border_left + timing->h_border_right; in optc314_set_odm_combine() local
56 int mpcc_hactive = h_active / opp_cnt; in optc314_set_odm_combine()
58 int odm_mem_count = (h_active + 2047) / 2048; in optc314_set_odm_combine()
/openbmc/linux/drivers/staging/media/max96712/
H A Dmax96712.c166 const u32 h_active = 1920; in max96712_pattern_enable() local
170 const u32 h_tot = h_active + h_fp + h_sw + h_bp; in max96712_pattern_enable()
193 max96712_write_bulk_value(priv, 0x1060, h_active + h_fp + h_bp, 2); in max96712_pattern_enable()
197 max96712_write_bulk_value(priv, 0x1067, h_active, 2); in max96712_pattern_enable()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_optc.c50 int h_active = timing->h_addressable + timing->h_border_left + timing->h_border_right; in optc32_set_odm_combine() local
51 int mpcc_hactive = h_active / opp_cnt; in optc32_set_odm_combine()
53 int odm_mem_count = (h_active + 2047) / 2048; in optc32_set_odm_combine()
H A Ddcn32_dpp.c67 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
81 if (scl_data->viewport.width == scl_data->h_active && in dscl32_calc_lb_num_partitions()
/openbmc/u-boot/drivers/video/
H A Dlogicore_dp_tx.c138 u16 h_active; member
1959 words_per_line = (msa_config->h_active * bits_per_pixel); in cfg_msa_recalculate()
2014 h_blank = msa_config->h_total - msa_config->h_active; in set_line_reset()
2077 printf(" set MSA %u x %u\n", msa_config->h_active, in set_msa_values()
2088 set_reg(dev, REG_MAIN_STREAM_HRES, msa_config->h_active); in set_msa_values()
2128 dp_tx->main_stream_attributes.h_active = msa->h_active; in logicore_dp_tx_set_msa()
2202 .h_active = 640, in logicore_dp_tx_enable()
2219 .h_active = 720, in logicore_dp_tx_enable()
2236 .h_active = 1024, in logicore_dp_tx_enable()
H A Dlogicore_dp_tx.h40 u16 h_active; member
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_audio.c426 unsigned int h_active, h_total, hblank_delta, pixel_clk; in calc_hblank_early_prog() local
431 h_active = crtc_state->hw.adjusted_mode.crtc_hdisplay; in calc_hblank_early_prog()
443 h_active, link_clk, lanes, vdsc_bpp, cdclk); in calc_hblank_early_prog()
448 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; in calc_hblank_early_prog()
459 tu_line = div64_u64(h_active * mul_u32_u32(link_clk, fec_coeff), in calc_hblank_early_prog()
465 return h_active - hblank_rise + hblank_delta; in calc_hblank_early_prog()
470 unsigned int h_active, h_total, pixel_clk; in calc_samples_room() local
473 h_active = crtc_state->hw.adjusted_mode.hdisplay; in calc_samples_room()
479 return ((h_total - h_active) * link_clk - 12 * pixel_clk) / in calc_samples_room()
H A Dintel_sdvo_regs.h79 u8 h_active; /* lower 8 bits (pixels) */ member
/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Daudio_types.h38 uint32_t h_active; member
/openbmc/linux/drivers/video/fbdev/via/
H A Dchip.h128 int h_active; member
H A Ddvi.c331 if ((viaparinfo->tmds_setting_info->h_active == 1600) && in dvi_patch_skew_dvp0()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_dpp.c188 if (scl_data->viewport.width != scl_data->h_active && in dpp201_get_optimal_number_of_taps()
194 if (scl_data->viewport.width > scl_data->h_active && in dpp201_get_optimal_number_of_taps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dtransform.h169 int h_active; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/accessories/
H A Dlink_dp_cts.c433 int h_active = pipe_ctx->stream->timing.h_addressable + in set_crtc_test_pattern() local
446 odm_slice_width = h_active / odm_cnt; in set_crtc_test_pattern()
447 last_odm_slice_width = h_active - odm_slice_width * (odm_cnt - 1); in set_crtc_test_pattern()
/openbmc/linux/drivers/gpu/drm/kmb/
H A Dkmb_dsi.h288 u32 h_active; member
H A Dkmb_dsi.c567 val = (fg_cfg->h_active * sysclk * 1000) / in mipi_tx_fg_cfg_regs()
606 fg_t_cfg.h_active = wc; in mipi_tx_fg_cfg()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1501 sd->h_active /= 2; in dcn20_split_stream_for_odm()
1504 if (sd->recout.x + 16 >= sd->h_active) in dcn20_split_stream_for_odm()
1506 new_width = sd->h_active - sd->recout.x; in dcn20_split_stream_for_odm()
1516 sd->h_active /= 2; in dcn20_split_stream_for_odm()
1520 new_width = sd->recout.width + sd->recout.x - sd->h_active; in dcn20_split_stream_for_odm()
1527 sd->ratios.horz, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
1529 sd->ratios.horz_c, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo_regs.h68 u8 h_active; /**< lower 8 bits (pixels) */ member
/openbmc/linux/drivers/video/fbdev/
H A Dsmscufx.c662 u16 h_total, h_active, h_blank_start, h_blank_end, h_sync_start, h_sync_end; in ufx_set_vid_mode() local
686 h_active = var->xres; in ufx_set_vid_mode()
692 temp = ((h_total - 1) << 16) | (h_active - 1); in ufx_set_vid_mode()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_dpp.c136 if (scl_data->viewport.width > scl_data->h_active && in dpp1_get_optimal_number_of_taps()
H A Ddcn10_dpp_dscl.c651 MPC_WIDTH, scl_data->h_active, in dpp1_dscl_set_scaler_manual_scale()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_transform_v.c234 int overscan_right = data->h_active - data->recout.x - data->recout.width; in program_overscan()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c165 h_blank = crtc_info->h_total - crtc_info->h_active; in check_audio_bandwidth_hdmi()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c850 int h_active = stream->timing.h_addressable + in calculate_odm_slice_in_timing_active() local
853 int odm_slice_width = h_active / odm_slice_count; in calculate_odm_slice_in_timing_active()
858 /* last slice width is the reminder of h_active */ in calculate_odm_slice_in_timing_active()
859 h_active - odm_slice_width * (odm_slice_count - 1) : in calculate_odm_slice_in_timing_active()
860 /* odm slice width is the floor of h_active / count */ in calculate_odm_slice_in_timing_active()
1418 pipe_ctx->plane_res.scl_data.h_active = odm_slice_rec.width; in resource_build_scaling_params()
1421 /* depends on h_active */ in resource_build_scaling_params()
1481 * Depends on recout, scaling ratios, h_active and taps in resource_build_scaling_params()
1521 pipe_ctx->plane_res.scl_data.h_active, in resource_build_scaling_params()

12