Lines Matching +full:gen +full:- +full:3
14 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
59 /* 1st gen */
62 /* 2nd gen */
66 /* 3rd gen */
67 AST2200 = __AST_CHIP(3, 0),
68 AST2150 = __AST_CHIP(3, 1),
69 /* 4th gen */
73 /* 5th gen */
77 /* 6th gen */
81 /* 7th gen */
105 AST_DRAM_1Gx32 = 3,
230 return __AST_CHIP_GEN(ast->chip); in __ast_gen()
234 static inline bool __ast_gen_is_eq(struct ast_device *ast, unsigned long gen) in __ast_gen_is_eq() argument
236 return __ast_gen(ast) == gen; in __ast_gen_is_eq()
240 #define IS_AST_GEN3(__ast) __ast_gen_is_eq(__ast, 3)
296 return __ast_read32(ast->regs, reg); in ast_read32()
301 __ast_write32(ast->regs, reg, val); in ast_write32()
306 return __ast_read8(ast->ioregs, reg); in ast_io_read8()
311 __ast_write8(ast->ioregs, reg, val); in ast_io_write8()
316 return __ast_read8_i(ast->ioregs, base, index); in ast_get_index_reg()
322 return __ast_read8_i_masked(ast->ioregs, base, index, preserve_mask); in ast_get_index_reg_mask()
327 __ast_write8_i(ast->ioregs, base, index, val); in ast_set_index_reg()
333 __ast_write8_i_masked(ast->ioregs, base, index, preserve_mask, val); in ast_set_index_reg_mask()
363 #define AST_MM_ALIGN_MASK ((1 << AST_MM_ALIGN_SHIFT) - 1)