Lines Matching refs:ast
227 static inline unsigned long __ast_gen(struct ast_device *ast) in __ast_gen() argument
229 return __AST_CHIP_GEN(ast->chip); in __ast_gen()
233 static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen) in __ast_gen_is_eq() argument
235 return __ast_gen(ast) == gen; in __ast_gen_is_eq()
293 static inline u32 ast_read32(struct ast_device *ast, u32 reg) in ast_read32() argument
295 return __ast_read32(ast->regs, reg); in ast_read32()
298 static inline void ast_write32(struct ast_device *ast, u32 reg, u32 val) in ast_write32() argument
300 __ast_write32(ast->regs, reg, val); in ast_write32()
303 static inline u8 ast_io_read8(struct ast_device *ast, u32 reg) in ast_io_read8() argument
305 return __ast_read8(ast->ioregs, reg); in ast_io_read8()
308 static inline void ast_io_write8(struct ast_device *ast, u32 reg, u8 val) in ast_io_write8() argument
310 __ast_write8(ast->ioregs, reg, val); in ast_io_write8()
313 static inline u8 ast_get_index_reg(struct ast_device *ast, u32 base, u8 index) in ast_get_index_reg() argument
315 return __ast_read8_i(ast->ioregs, base, index); in ast_get_index_reg()
318 static inline u8 ast_get_index_reg_mask(struct ast_device *ast, u32 base, u8 index, in ast_get_index_reg_mask() argument
321 return __ast_read8_i_masked(ast->ioregs, base, index, preserve_mask); in ast_get_index_reg_mask()
324 static inline void ast_set_index_reg(struct ast_device *ast, u32 base, u8 index, u8 val) in ast_set_index_reg() argument
326 __ast_write8_i(ast->ioregs, base, index, val); in ast_set_index_reg()
329 static inline void ast_set_index_reg_mask(struct ast_device *ast, u32 base, u8 index, in ast_set_index_reg_mask() argument
332 __ast_write8_i_masked(ast->ioregs, base, index, preserve_mask, val); in ast_set_index_reg_mask()
389 int ast_mode_config_init(struct ast_device *ast);
445 int ast_mm_init(struct ast_device *ast);
448 void ast_post_gpu(struct ast_device *ast);
449 u32 ast_mindwm(struct ast_device *ast, u32 r);
450 void ast_moutdwm(struct ast_device *ast, u32 r, u32 v);
453 int ast_vga_output_init(struct ast_device *ast);
454 int ast_sil164_output_init(struct ast_device *ast);
457 bool ast_backup_fw(struct ast_device *ast, u8 *addr, u32 size);
458 void ast_init_3rdtx(struct ast_device *ast);
459 int ast_dp501_output_init(struct ast_device *ast);
462 int ast_dp_launch(struct ast_device *ast);
463 int ast_astdp_output_init(struct ast_device *ast);