Lines Matching +full:gen +full:- +full:2
14 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
59 /* 1st gen */
62 /* 2nd gen */
63 AST1100 = __AST_CHIP(2, 0),
64 AST2100 = __AST_CHIP(2, 1),
65 AST2050 = __AST_CHIP(2, 2), // unused
66 /* 3rd gen */
69 /* 4th gen */
72 AST1050 = __AST_CHIP(4, 2), // unused
73 /* 5th gen */
76 AST1250 = __AST_CHIP(5, 2), // unused
77 /* 6th gen */
80 AST2520 = __AST_CHIP(6, 2), // unused
81 /* 7th gen */
104 AST_DRAM_512Mx32 = 2,
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()
239 #define IS_AST_GEN2(__ast) __ast_gen_is_eq(__ast, 2)
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)