Lines Matching refs:ast

46 #define DRIVER_NAME		"ast"
230 static inline unsigned long __ast_gen(struct ast_device *ast)
232 return __AST_CHIP_GEN(ast->chip);
236 static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen)
238 return __ast_gen(ast) == gen;
296 static inline u32 ast_read32(struct ast_device *ast, u32 reg)
298 return __ast_read32(ast->regs, reg);
301 static inline void ast_write32(struct ast_device *ast, u32 reg, u32 val)
303 __ast_write32(ast->regs, reg, val);
306 static inline u8 ast_io_read8(struct ast_device *ast, u32 reg)
308 return __ast_read8(ast->ioregs, reg);
311 static inline void ast_io_write8(struct ast_device *ast, u32 reg, u8 val)
313 __ast_write8(ast->ioregs, reg, val);
316 static inline u8 ast_get_index_reg(struct ast_device *ast, u32 base, u8 index)
318 return __ast_read8_i(ast->ioregs, base, index);
321 static inline u8 ast_get_index_reg_mask(struct ast_device *ast, u32 base, u8 index,
324 return __ast_read8_i_masked(ast->ioregs, base, index, preserve_mask);
327 static inline void ast_set_index_reg(struct ast_device *ast, u32 base, u8 index, u8 val)
329 __ast_write8_i(ast->ioregs, base, index, val);
332 static inline void ast_set_index_reg_mask(struct ast_device *ast, u32 base, u8 index,
335 __ast_write8_i_masked(ast->ioregs, base, index, preserve_mask, val);
418 int ast_mm_init(struct ast_device *ast);
421 int ast_2000_post(struct ast_device *ast);
424 int ast_2100_post(struct ast_device *ast);
427 int ast_2300_post(struct ast_device *ast);
431 int ast_2500_post(struct ast_device *ast);
434 int ast_2600_post(struct ast_device *ast);
436 /* ast post */
437 int ast_post_gpu(struct ast_device *ast);
438 u32 ast_mindwm(struct ast_device *ast, u32 r);
439 void ast_moutdwm(struct ast_device *ast, u32 r, u32 v);
441 int ast_vga_output_init(struct ast_device *ast);
442 int ast_sil164_output_init(struct ast_device *ast);
445 long ast_cursor_vram_offset(struct ast_device *ast);
446 int ast_cursor_plane_init(struct ast_device *ast);
448 /* ast dp501 */
449 bool ast_backup_fw(struct ast_device *ast, u8 *addr, u32 size);
450 void ast_init_3rdtx(struct ast_device *ast);
451 int ast_dp501_output_init(struct ast_device *ast);
454 int ast_dp_launch(struct ast_device *ast);
455 int ast_astdp_output_init(struct ast_device *ast);
458 int ast_mode_config_init(struct ast_device *ast);
466 void __iomem *ast_plane_vaddr(struct ast_plane *ast);