Lines Matching refs:wm8350

586 struct wm8350;
593 struct wm8350 { struct
629 int (*init)(struct wm8350 *wm8350); argument
639 int wm8350_device_init(struct wm8350 *wm8350, int irq,
645 int wm8350_clear_bits(struct wm8350 *wm8350, u16 reg, u16 mask);
646 int wm8350_set_bits(struct wm8350 *wm8350, u16 reg, u16 mask);
647 u16 wm8350_reg_read(struct wm8350 *wm8350, int reg);
648 int wm8350_reg_write(struct wm8350 *wm8350, int reg, u16 val);
649 int wm8350_reg_lock(struct wm8350 *wm8350);
650 int wm8350_reg_unlock(struct wm8350 *wm8350);
651 int wm8350_block_read(struct wm8350 *wm8350, int reg, int size, u16 *dest);
652 int wm8350_block_write(struct wm8350 *wm8350, int reg, int size, u16 *src);
657 static inline int wm8350_register_irq(struct wm8350 *wm8350, int irq, in wm8350_register_irq() argument
662 if (!wm8350->irq_base) in wm8350_register_irq()
665 return request_threaded_irq(irq + wm8350->irq_base, NULL, in wm8350_register_irq()
669 static inline void wm8350_free_irq(struct wm8350 *wm8350, int irq, void *data) in wm8350_free_irq() argument
671 free_irq(irq + wm8350->irq_base, data); in wm8350_free_irq()
674 static inline void wm8350_mask_irq(struct wm8350 *wm8350, int irq) in wm8350_mask_irq() argument
676 disable_irq(irq + wm8350->irq_base); in wm8350_mask_irq()
679 static inline void wm8350_unmask_irq(struct wm8350 *wm8350, int irq) in wm8350_unmask_irq() argument
681 enable_irq(irq + wm8350->irq_base); in wm8350_unmask_irq()
684 int wm8350_irq_init(struct wm8350 *wm8350, int irq,
686 int wm8350_irq_exit(struct wm8350 *wm8350);