Home
last modified time | relevance | path

Searched refs:h_blank (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-dv-timings.c569 int h_blank; in v4l2_detect_cvt() local
572 h_blank = rb_v2 ? CVT_RB_V2_H_BLANK : CVT_RB_H_BLANK; in v4l2_detect_cvt()
575 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
578 h_bp = h_blank / 2; in v4l2_detect_cvt()
580 h_fp = h_blank - h_bp - hsync; in v4l2_detect_cvt()
582 frame_width = image_width + h_blank; in v4l2_detect_cvt()
586 int h_blank; in v4l2_detect_cvt() local
591 h_blank = image_width * ideal_duty_cycle_per_myriad / in v4l2_detect_cvt()
593 h_blank = (h_blank / (2 * CVT_CELL_GRAN)) * 2 * CVT_CELL_GRAN; in v4l2_detect_cvt()
595 pix_clk = (image_width + h_blank) * hfreq; in v4l2_detect_cvt()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov2740.c523 s64 exposure_max, h_blank, pixel_rate; in ov2740_init_controls() local
556 h_blank = to_pixels_per_line(cur_mode->hts, cur_mode->link_freq_index); in ov2740_init_controls()
557 h_blank -= cur_mode->width; in ov2740_init_controls()
559 V4L2_CID_HBLANK, h_blank, h_blank, 1, in ov2740_init_controls()
560 h_blank); in ov2740_init_controls()
718 s32 vblank_def, h_blank; in ov2740_set_format() local
742 h_blank = to_pixels_per_line(mode->hts, mode->link_freq_index) - in ov2740_set_format()
744 __v4l2_ctrl_modify_range(ov2740->hblank, h_blank, h_blank, 1, in ov2740_set_format()
745 h_blank); in ov2740_set_format()
Dov5675.c739 s64 exposure_max, h_blank; in ov5675_init_controls() local
765 h_blank = to_pixels_per_line(ov5675->cur_mode->hts, in ov5675_init_controls()
768 V4L2_CID_HBLANK, h_blank, h_blank, 1, in ov5675_init_controls()
769 h_blank); in ov5675_init_controls()
934 s32 vblank_def, h_blank; in ov5675_set_format() local
958 h_blank = to_pixels_per_line(mode->hts, mode->link_freq_index) - in ov5675_set_format()
960 __v4l2_ctrl_modify_range(ov5675->hblank, h_blank, h_blank, 1, in ov5675_set_format()
961 h_blank); in ov5675_set_format()
Dov5695.c814 s64 h_blank, vblank_def; in ov5695_set_fmt() local
829 h_blank = mode->hts_def - mode->width; in ov5695_set_fmt()
830 __v4l2_ctrl_modify_range(ov5695->hblank, h_blank, in ov5695_set_fmt()
831 h_blank, 1, h_blank); in ov5695_set_fmt()
1173 u32 h_blank; in ov5695_initialize_controls() local
1191 h_blank = mode->hts_def - mode->width; in ov5695_initialize_controls()
1193 h_blank, h_blank, 1, h_blank); in ov5695_initialize_controls()
Dhi556.c688 s64 exposure_max, h_blank; in hi556_init_controls() local
719 h_blank = hi556->cur_mode->llp - hi556->cur_mode->width; in hi556_init_controls()
722 V4L2_CID_HBLANK, h_blank, h_blank, 1, in hi556_init_controls()
723 h_blank); in hi556_init_controls()
886 s32 vblank_def, h_blank; in hi556_set_format() local
911 h_blank = hi556->cur_mode->llp - hi556->cur_mode->width; in hi556_set_format()
913 __v4l2_ctrl_modify_range(hi556->hblank, h_blank, h_blank, 1, in hi556_set_format()
914 h_blank); in hi556_set_format()
Dov8856.c1221 s64 exposure_max, h_blank; in ov8856_init_controls() local
1247 h_blank = to_pixels_per_line(ov8856->cur_mode->hts, in ov8856_init_controls()
1250 V4L2_CID_HBLANK, h_blank, h_blank, 1, in ov8856_init_controls()
1251 h_blank); in ov8856_init_controls()
1465 s32 vblank_def, h_blank; in ov8856_set_format() local
1489 h_blank = to_pixels_per_line(mode->hts, mode->link_freq_index) - in ov8856_set_format()
1491 __v4l2_ctrl_modify_range(ov8856->hblank, h_blank, h_blank, 1, in ov8856_set_format()
1492 h_blank); in ov8856_set_format()
Dov2685.c618 u32 pixel_rate, h_blank; in ov2685_initialize_controls() local
638 h_blank = mode->hts_def - mode->width; in ov2685_initialize_controls()
640 h_blank, h_blank, 1, h_blank); in ov2685_initialize_controls()
Dimx258.c867 s64 h_blank; in imx258_set_pad_format() local
900 h_blank = in imx258_set_pad_format()
903 __v4l2_ctrl_modify_range(imx258->hblank, h_blank, in imx258_set_pad_format()
904 h_blank, 1, h_blank); in imx258_set_pad_format()
Dov5670.c2229 s32 h_blank; in ov5670_set_pad_format() local
2257 h_blank = OV5670_FIXED_PPL - ov5670->cur_mode->width; in ov5670_set_pad_format()
2258 __v4l2_ctrl_modify_range(ov5670->hblank, h_blank, h_blank, 1, in ov5670_set_pad_format()
2259 h_blank); in ov5670_set_pad_format()
Dov13858.c1358 s64 h_blank; in ov13858_set_pad_format() local
1393 h_blank = in ov13858_set_pad_format()
1396 __v4l2_ctrl_modify_range(ov13858->hblank, h_blank, in ov13858_set_pad_format()
1397 h_blank, 1, h_blank); in ov13858_set_pad_format()
Dimx319.c2040 s64 h_blank; in imx319_set_pad_format() local
2073 h_blank = mode->llp - imx319->cur_mode->width; in imx319_set_pad_format()
2078 __v4l2_ctrl_modify_range(imx319->hblank, h_blank, in imx319_set_pad_format()
2079 h_blank, 1, h_blank); in imx319_set_pad_format()
Dimx355.c1341 s64 h_blank; in imx355_set_pad_format() local
1374 h_blank = mode->llp - imx355->cur_mode->width; in imx355_set_pad_format()
1379 __v4l2_ctrl_modify_range(imx355->hblank, h_blank, in imx355_set_pad_format()
1380 h_blank, 1, h_blank); in imx355_set_pad_format()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-video/
Dcsi.h68 unsigned int h_blank; member
87 unsigned int h_blank; member
Dtegra210.c857 csi_chan->h_blank); in tegra210_csi_start_streaming()
932 .h_blank = 512,
939 .h_blank = 512,
946 .h_blank = 8,
953 .h_blank = 512,
960 .h_blank = 512,
967 .h_blank = 8,
Dcsi.c123 csi_chan->h_blank = frmrate[index].h_blank; in csi_chan_update_blank_intervals()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_audio.c138 uint32_t h_blank; in check_audio_bandwidth_hdmi() local
173 h_blank = crtc_info->h_total - crtc_info->h_active; in check_audio_bandwidth_hdmi()
176 h_blank *= crtc_info->pixel_repetition; in check_audio_bandwidth_hdmi()
179 h_blank -= 58; in check_audio_bandwidth_hdmi()
181 h_blank -= 16; in check_audio_bandwidth_hdmi()
183 samples = h_blank * 10; in check_audio_bandwidth_hdmi()
Ddce_stream_encoder.c286 uint32_t h_blank; in dce110_stream_encoder_dp_set_stream_attribute() local
478 h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left - in dce110_stream_encoder_dp_set_stream_attribute()
481 h_back_porch = h_blank - hw_crtc_timing.h_front_porch - in dce110_stream_encoder_dp_set_stream_attribute()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_prbs.h48 unsigned int h_blank; /** horizontal blank */ member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_stream_encoder.c257 uint32_t h_blank; in enc1_stream_encoder_dp_set_stream_attribute() local
436 h_blank = hw_crtc_timing.h_total - hw_crtc_timing.h_border_left - in enc1_stream_encoder_dp_set_stream_attribute()
439 h_back_porch = h_blank - hw_crtc_timing.h_front_porch - in enc1_stream_encoder_dp_set_stream_attribute()
Ddcn10_optc.c553 uint32_t h_blank; in optc1_validate_timing() local
562 h_blank = (timing->h_total - timing->h_addressable - in optc1_validate_timing()
588 if (h_blank < optc1->min_h_blank) in optc1_validate_timing()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator.c1119 uint32_t h_blank; in dce110_timing_generator_validate_timing() local
1149 h_blank = (timing->h_total - timing->h_addressable - in dce110_timing_generator_validate_timing()
1153 if (h_blank < tg110->min_h_blank) in dce110_timing_generator_validate_timing()
1159 h_back_porch = h_blank - (h_sync_start - in dce110_timing_generator_validate_timing()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo_regs.h69 u8 h_blank; /**< lower 8 bits (pixels) */ member
Dpsb_intel_sdvo.c752 dtd->part1.h_blank = h_blank_len & 0xff; in psb_intel_sdvo_get_dtd_from_mode()
788 mode->htotal = mode->hdisplay + dtd->part1.h_blank; in psb_intel_sdvo_get_mode_from_dtd()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_sdvo_regs.h80 u8 h_blank; /* lower 8 bits (pixels) */ member
Dintel_sdvo.c854 dtd->part1.h_blank = h_blank_len & 0xff; in intel_sdvo_get_dtd_from_mode()
892 mode.htotal = mode.hdisplay + dtd->part1.h_blank; in intel_sdvo_get_mode_from_dtd()

12