Lines Matching refs:ast
241 static inline u##x ast_read##x(struct ast_private *ast, u32 reg) { \
243 val = ioread##x(ast->regs + reg); \
252 static inline u##x ast_io_read##x(struct ast_private *ast, u32 reg) { \
254 val = ioread##x(ast->ioregs + reg); \
263 static inline void ast_write##x(struct ast_private *ast, u32 reg, u##x val) {\
264 iowrite##x(val, ast->regs + reg);\
272 static inline void ast_io_write##x(struct ast_private *ast, u32 reg, u##x val) {\
273 iowrite##x(val, ast->ioregs + reg);\
280 static inline void ast_set_index_reg(struct ast_private *ast, in ast_set_index_reg() argument
284 ast_io_write16(ast, base, ((u16)val << 8) | index); in ast_set_index_reg()
287 void ast_set_index_reg_mask(struct ast_private *ast,
290 uint8_t ast_get_index_reg(struct ast_private *ast,
292 uint8_t ast_get_index_reg_mask(struct ast_private *ast,
295 static inline void ast_open_key(struct ast_private *ast) in ast_open_key() argument
297 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x80, 0xA8); in ast_open_key()
354 int ast_mode_config_init(struct ast_private *ast);
478 int ast_mm_init(struct ast_private *ast);
485 u32 ast_mindwm(struct ast_private *ast, u32 r);
486 void ast_moutdwm(struct ast_private *ast, u32 r, u32 v);
487 void ast_patch_ahb_2500(struct ast_private *ast);