Lines Matching refs:index
312 static inline u8 ast_get_index_reg(struct ast_device *ast, u32 base, u8 index)
314 ast_io_write8(ast, base, index);
319 static inline u8 ast_get_index_reg_mask(struct ast_device *ast, u32 base, u8 index,
322 u8 val = ast_get_index_reg(ast, base, index);
327 static inline void ast_set_index_reg(struct ast_device *ast, u32 base, u8 index, u8 val)
329 ast_io_write8(ast, base, index);
334 static inline void ast_set_index_reg_mask(struct ast_device *ast, u32 base, u8 index,
337 u8 tmp = ast_get_index_reg_mask(ast, base, index, preserve_mask);
340 ast_set_index_reg(ast, base, index, tmp);
472 * CRE2[7:0]: video format index (0x00 ~ 0x20 or 0x40 ~ 0x50)