#include <drm/drm_device.h>
#include <drm/drm_simple_kms_helper.h>
struct aspeed_gfx { … };
#define to_aspeed_gfx(x) …
int aspeed_gfx_create_pipe(struct drm_device *drm);
int aspeed_gfx_create_output(struct drm_device *drm);
#define CRT_CTRL1 …
#define CRT_CTRL2 …
#define CRT_STATUS …
#define CRT_MISC …
#define CRT_HORIZ0 …
#define CRT_HORIZ1 …
#define CRT_VERT0 …
#define CRT_VERT1 …
#define CRT_ADDR …
#define CRT_OFFSET …
#define CRT_THROD …
#define CRT_XSCALE …
#define CRT_CURSOR0 …
#define CRT_CURSOR1 …
#define CRT_CURSOR2 …
#define CRT_9C …
#define CRT_OSD_H …
#define CRT_OSD_V …
#define CRT_OSD_ADDR …
#define CRT_OSD_DISP …
#define CRT_OSD_THRESH …
#define CRT_B4 …
#define CRT_STS_V …
#define CRT_SCRATCH …
#define CRT_BB0_ADDR …
#define CRT_BB1_ADDR …
#define CRT_BB_COUNT …
#define OSD_COLOR1 …
#define OSD_COLOR2 …
#define OSD_COLOR3 …
#define OSD_COLOR4 …
#define OSD_COLOR5 …
#define OSD_COLOR6 …
#define OSD_COLOR7 …
#define OSD_COLOR8 …
#define CRT_CTRL_EN …
#define CRT_CTRL_HW_CURSOR_EN …
#define CRT_CTRL_OSD_EN …
#define CRT_CTRL_INTERLACED …
#define CRT_CTRL_COLOR_RGB565 …
#define CRT_CTRL_COLOR_YUV444 …
#define CRT_CTRL_COLOR_XRGB8888 …
#define CRT_CTRL_COLOR_RGB888 …
#define CRT_CTRL_COLOR_YUV444_2RGB …
#define CRT_CTRL_COLOR_YUV422 …
#define CRT_CTRL_COLOR_MASK …
#define CRT_CTRL_HSYNC_NEGATIVE …
#define CRT_CTRL_VSYNC_NEGATIVE …
#define CRT_CTRL_VERTICAL_INTR_EN …
#define CRT_CTRL_VERTICAL_INTR_STS …
#define CRT_CTRL_DAC_EN …
#define CRT_CTRL_VBLANK_LINE(x) …
#define CRT_CTRL_VBLANK_LINE_MASK …
#define CRT_H_TOTAL(x) …
#define CRT_H_DE(x) …
#define CRT_H_RS_START(x) …
#define CRT_H_RS_END(x) …
#define CRT_V_TOTAL(x) …
#define CRT_V_DE(x) …
#define CRT_V_RS_START(x) …
#define CRT_V_RS_END(x) …
#define CRT_DISP_OFFSET(x) …
#define CRT_TERM_COUNT(x) …
#define CRT_THROD_LOW(x) …
#define CRT_THROD_HIGH(x) …