Home
last modified time | relevance | path

Searched refs:hor_total (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/video/fbdev/via/
A Dvia_modesetting.c22 raw.hor_total = timing->hor_total / 8 - 5; in via_set_primary_timing()
38 via_write_reg(VIACR, 0x00, raw.hor_total & 0xFF); in via_set_primary_timing()
66 via_write_reg_mask(VIACR, 0x36, raw.hor_total >> (8 - 3) & 0x08, 0x08); in via_set_primary_timing()
80 raw.hor_total = timing->hor_total - 1; in via_set_secondary_timing()
93 via_write_reg(VIACR, 0x50, raw.hor_total & 0xFF); in via_set_secondary_timing()
100 via_write_reg_mask(VIACR, 0x55, (raw.hor_total >> 8 & 0x0F) in via_set_secondary_timing()
A Dvia_modesetting.h22 u16 hor_total; member
A Dhw.c1464 timing.hor_total = timing.hor_sync_end + var->left_margin + dx; in var_to_timing()
1466 timing.hor_blank_end = timing.hor_total - dx; in var_to_timing()
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_legacy_tv.c74 uint16_t hor_total; member
438 h_total = const_ptr->hor_total; in radeon_legacy_tv_init_restarts()
775 WREG32(RADEON_TV_HTOTAL, const_ptr->hor_total - 1); in radeon_legacy_tv_mode_set()
836 (((const_ptr->hor_total / 8) - 1) << RADEON_CRTC_H_TOTAL_SHIFT); in radeon_legacy_tv_adjust_crtc_reg()
881 *htotal_cntl = (const_ptr->hor_total & 0x7) | RADEON_HTOT_CNTL_VGA_EN; in radeon_legacy_tv_adjust_pll1()
901 *htotal2_cntl = (const_ptr->hor_total & 0x7); in radeon_legacy_tv_adjust_pll2()

Completed in 11 milliseconds