Home | History | Annotate | Download | only in ast

Lines Matching refs:ast

47 #define DRIVER_NAME		"ast"
48 #define DRIVER_DESC "AST"
160 static inline u##x ast_read##x(struct ast_private *ast, u32 reg) { \
162 val = ioread##x(ast->regs + reg); \
171 static inline u##x ast_io_read##x(struct ast_private *ast, u32 reg) { \
173 val = ioread##x(ast->ioregs + reg); \
182 static inline void ast_write##x(struct ast_private *ast, u32 reg, u##x val) {\
183 iowrite##x(val, ast->regs + reg);\
191 static inline void ast_io_write##x(struct ast_private *ast, u32 reg, u##x val) {\
192 iowrite##x(val, ast->ioregs + reg);\
199 static inline void ast_set_index_reg(struct ast_private *ast,
203 ast_io_write16(ast, base, ((u16)val << 8) | index);
206 void ast_set_index_reg_mask(struct ast_private *ast,
209 uint8_t ast_get_index_reg(struct ast_private *ast,
211 uint8_t ast_get_index_reg_mask(struct ast_private *ast,
214 static inline void ast_open_key(struct ast_private *ast)
216 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x80, 0xA8);
303 int ast_mm_init(struct ast_private *ast);
304 void ast_mm_fini(struct ast_private *ast);
306 /* ast post */
311 u32 ast_mindwm(struct ast_private *ast, u32 r);
312 void ast_moutdwm(struct ast_private *ast, u32 r, u32 v);
313 /* ast dp501 */