1*ff76e82cSThomas Zimmermann /* SPDX-License-Identifier: GPL-2.0-only */ 2*ff76e82cSThomas Zimmermann 3*ff76e82cSThomas Zimmermann #ifndef UDL_PROTO_H 4*ff76e82cSThomas Zimmermann #define UDL_PROTO_H 5*ff76e82cSThomas Zimmermann 6*ff76e82cSThomas Zimmermann #define UDL_COLORDEPTH_16BPP 0 7*ff76e82cSThomas Zimmermann 8*ff76e82cSThomas Zimmermann /* On/Off for driving the DisplayLink framebuffer to the display */ 9*ff76e82cSThomas Zimmermann #define UDL_REG_BLANKMODE 0x1f 10*ff76e82cSThomas Zimmermann #define UDL_BLANKMODE_ON 0x00 /* hsync and vsync on, visible */ 11*ff76e82cSThomas Zimmermann #define UDL_BLANKMODE_BLANKED 0x01 /* hsync and vsync on, blanked */ 12*ff76e82cSThomas Zimmermann #define UDL_BLANKMODE_VSYNC_OFF 0x03 /* vsync off, blanked */ 13*ff76e82cSThomas Zimmermann #define UDL_BLANKMODE_HSYNC_OFF 0x05 /* hsync off, blanked */ 14*ff76e82cSThomas Zimmermann #define UDL_BLANKMODE_POWERDOWN 0x07 /* powered off; requires modeset */ 15*ff76e82cSThomas Zimmermann 16*ff76e82cSThomas Zimmermann #endif 17