Searched refs:WREG_CRT (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/cirrus/ |
D | cirrus_mode.c | 82 WREG_CRT(0x0c, (u8)((addr >> 8) & 0xff)); in cirrus_set_start_address() 83 WREG_CRT(0x0d, (u8)(addr & 0xff)); in cirrus_set_start_address() 90 WREG_CRT(0x1b, tmp); in cirrus_set_start_address() 95 WREG_CRT(0x1d, tmp); in cirrus_set_start_address() 185 WREG_CRT(VGA_CRTC_V_SYNC_END, 0x20); in cirrus_crtc_mode_set() 186 WREG_CRT(VGA_CRTC_H_TOTAL, htotal); in cirrus_crtc_mode_set() 187 WREG_CRT(VGA_CRTC_H_DISP, hdispend); in cirrus_crtc_mode_set() 188 WREG_CRT(VGA_CRTC_H_SYNC_START, hsyncstart); in cirrus_crtc_mode_set() 189 WREG_CRT(VGA_CRTC_H_SYNC_END, hsyncend); in cirrus_crtc_mode_set() 190 WREG_CRT(VGA_CRTC_V_TOTAL, vtotal & 0xff); in cirrus_crtc_mode_set() [all …]
|
D | cirrus_drv.h | 56 #define WREG_CRT(reg, v) \ macro
|
/Linux-v4.19/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 855 WREG_CRT(0x0d, (u8)(addr & 0xff)); in mga_set_start_address() 856 WREG_CRT(0x0c, (u8)(addr >> 8) & 0xff); in mga_set_start_address() 1076 WREG_CRT(0, htotal - 4); in mga_crtc_mode_set() 1077 WREG_CRT(1, hdisplay); in mga_crtc_mode_set() 1078 WREG_CRT(2, hdisplay); in mga_crtc_mode_set() 1079 WREG_CRT(3, (htotal & 0x1F) | 0x80); in mga_crtc_mode_set() 1080 WREG_CRT(4, hsyncstart); in mga_crtc_mode_set() 1081 WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F)); in mga_crtc_mode_set() 1082 WREG_CRT(6, vtotal & 0xFF); in mga_crtc_mode_set() 1083 WREG_CRT(7, ((vtotal & 0x100) >> 8) | in mga_crtc_mode_set() [all …]
|
D | mgag200_drv.h | 66 #define WREG_CRT(reg, v) \ macro
|