Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_mode.c113 WREG_CRT(0x0c, (u8)((addr >> 8) & 0xff)); in cirrus_set_start_address()
114 WREG_CRT(0x0d, (u8)(addr & 0xff)); in cirrus_set_start_address()
121 WREG_CRT(0x1b, tmp); in cirrus_set_start_address()
126 WREG_CRT(0x1d, tmp); in cirrus_set_start_address()
221 WREG_CRT(VGA_CRTC_V_SYNC_END, 0x20); in cirrus_crtc_mode_set()
222 WREG_CRT(VGA_CRTC_H_TOTAL, htotal); in cirrus_crtc_mode_set()
223 WREG_CRT(VGA_CRTC_H_DISP, hdispend); in cirrus_crtc_mode_set()
224 WREG_CRT(VGA_CRTC_H_SYNC_START, hsyncstart); in cirrus_crtc_mode_set()
225 WREG_CRT(VGA_CRTC_H_SYNC_END, hsyncend); in cirrus_crtc_mode_set()
226 WREG_CRT(VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_crtc_mode_set()
[all …]
Dcirrus_drv.h55 #define WREG_CRT(reg, v) \ macro
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_mode.c716 WREG_CRT(0x0d, (u8)(addr & 0xff)); in mga_set_start_address()
717 WREG_CRT(0x0c, (u8)(addr >> 8) & 0xff); in mga_set_start_address()
930 WREG_CRT(0, htotal - 4); in mga_crtc_mode_set()
931 WREG_CRT(1, hdisplay); in mga_crtc_mode_set()
932 WREG_CRT(2, hdisplay); in mga_crtc_mode_set()
933 WREG_CRT(3, (htotal & 0x1F) | 0x80); in mga_crtc_mode_set()
934 WREG_CRT(4, hsyncstart); in mga_crtc_mode_set()
935 WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F)); in mga_crtc_mode_set()
936 WREG_CRT(6, vtotal & 0xFF); in mga_crtc_mode_set()
937 WREG_CRT(7, ((vtotal & 0x100) >> 8) | in mga_crtc_mode_set()
[all …]
Dmgag200_drv.h65 #define WREG_CRT(reg, v) \ macro