Lines Matching refs:ast
148 static inline u##x ast_read##x(struct ast_private *ast, u32 reg) { \
150 val = ioread##x(ast->regs + reg); \
159 static inline u##x ast_io_read##x(struct ast_private *ast, u32 reg) { \
161 val = ioread##x(ast->ioregs + reg); \
170 static inline void ast_write##x(struct ast_private *ast, u32 reg, u##x val) {\
171 iowrite##x(val, ast->regs + reg);\
179 static inline void ast_io_write##x(struct ast_private *ast, u32 reg, u##x val) {\
180 iowrite##x(val, ast->ioregs + reg);\
187 static inline void ast_set_index_reg(struct ast_private *ast, in ast_set_index_reg() argument
191 ast_io_write16(ast, base, ((u16)val << 8) | index); in ast_set_index_reg()
194 void ast_set_index_reg_mask(struct ast_private *ast,
197 uint8_t ast_get_index_reg(struct ast_private *ast,
199 uint8_t ast_get_index_reg_mask(struct ast_private *ast,
202 static inline void ast_open_key(struct ast_private *ast) in ast_open_key() argument
204 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x80, 0xA8); in ast_open_key()
323 void ast_fbdev_set_base(struct ast_private *ast, unsigned long gpu_addr);
359 int ast_mm_init(struct ast_private *ast);
360 void ast_mm_fini(struct ast_private *ast);
399 u32 ast_mindwm(struct ast_private *ast, u32 r);
400 void ast_moutdwm(struct ast_private *ast, u32 r, u32 v);