Lines Matching refs:as3722
389 struct as3722 { struct
400 static inline int as3722_read(struct as3722 *as3722, u32 reg, u32 *dest) in as3722_read() argument
402 return regmap_read(as3722->regmap, reg, dest); in as3722_read()
405 static inline int as3722_write(struct as3722 *as3722, u32 reg, u32 value) in as3722_write() argument
407 return regmap_write(as3722->regmap, reg, value); in as3722_write()
410 static inline int as3722_block_read(struct as3722 *as3722, u32 reg, in as3722_block_read() argument
413 return regmap_bulk_read(as3722->regmap, reg, buf, count); in as3722_block_read()
416 static inline int as3722_block_write(struct as3722 *as3722, u32 reg, in as3722_block_write() argument
419 return regmap_bulk_write(as3722->regmap, reg, data, count); in as3722_block_write()
422 static inline int as3722_update_bits(struct as3722 *as3722, u32 reg, in as3722_update_bits() argument
425 return regmap_update_bits(as3722->regmap, reg, mask, val); in as3722_update_bits()
428 static inline int as3722_irq_get_virq(struct as3722 *as3722, int irq) in as3722_irq_get_virq() argument
430 return regmap_irq_get_virq(as3722->irq_data, irq); in as3722_irq_get_virq()