Lines Matching +full:gen +full:- +full:3
14 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
57 /* 1st gen */
60 /* 2nd gen */
64 /* 3rd gen */
65 AST2200 = __AST_CHIP(3, 0),
66 AST2150 = __AST_CHIP(3, 1),
67 /* 4th gen */
71 /* 5th gen */
75 /* 6th gen */
79 /* 7th gen */
102 #define AST_DRAM_1Gx32 3
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()
239 #define IS_AST_GEN3(__ast) __ast_gen_is_eq(__ast, 3)
295 return __ast_read32(ast->regs, reg); in ast_read32()
300 __ast_write32(ast->regs, reg, val); in ast_write32()
305 return __ast_read8(ast->ioregs, reg); in ast_io_read8()
310 __ast_write8(ast->ioregs, reg, val); in ast_io_write8()
315 return __ast_read8_i(ast->ioregs, base, index); in ast_get_index_reg()
321 return __ast_read8_i_masked(ast->ioregs, base, index, preserve_mask); in ast_get_index_reg_mask()
326 __ast_write8_i(ast->ioregs, base, index, val); in ast_set_index_reg()
332 __ast_write8_i_masked(ast->ioregs, base, index, preserve_mask, val); in ast_set_index_reg_mask()
392 #define AST_MM_ALIGN_MASK ((1 << AST_MM_ALIGN_SHIFT) - 1)