Lines Matching refs:ast
45 #define DRIVER_NAME "ast"
184 static inline u##x ast_read##x(struct ast_private *ast, u32 reg) { \
186 val = ioread##x(ast->regs + reg); \
195 static inline u##x ast_io_read##x(struct ast_private *ast, u32 reg) { \
197 val = ioread##x(ast->ioregs + reg); \
206 static inline void ast_write##x(struct ast_private *ast, u32 reg, u##x val) {\
207 iowrite##x(val, ast->regs + reg);\
215 static inline void ast_io_write##x(struct ast_private *ast, u32 reg, u##x val) {\
216 iowrite##x(val, ast->ioregs + reg);\
223 static inline void ast_set_index_reg(struct ast_private *ast,
227 ast_io_write16(ast, base, ((u16)val << 8) | index);
230 void ast_set_index_reg_mask(struct ast_private *ast,
233 uint8_t ast_get_index_reg(struct ast_private *ast,
235 uint8_t ast_get_index_reg_mask(struct ast_private *ast,
238 static inline void ast_open_key(struct ast_private *ast)
240 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x80, 0xA8);
297 int ast_mode_config_init(struct ast_private *ast);
313 int ast_mm_init(struct ast_private *ast);
315 /* ast post */
320 u32 ast_mindwm(struct ast_private *ast, u32 r);
321 void ast_moutdwm(struct ast_private *ast, u32 r, u32 v);
322 /* ast dp501 */
330 int ast_cursor_init(struct ast_private *ast);
331 int ast_cursor_blit(struct ast_private *ast, struct drm_framebuffer *fb);
332 void ast_cursor_page_flip(struct ast_private *ast);
333 void ast_cursor_show(struct ast_private *ast, int x, int y,
335 void ast_cursor_hide(struct ast_private *ast);