Lines Matching refs:wm831x
355 struct wm831x;
357 typedef int (*wm831x_auxadc_read_fn)(struct wm831x *wm831x,
360 struct wm831x { struct
405 int wm831x_reg_read(struct wm831x *wm831x, unsigned short reg); argument
406 int wm831x_reg_write(struct wm831x *wm831x, unsigned short reg,
408 void wm831x_reg_lock(struct wm831x *wm831x);
409 int wm831x_reg_unlock(struct wm831x *wm831x);
410 int wm831x_set_bits(struct wm831x *wm831x, unsigned short reg,
412 int wm831x_bulk_read(struct wm831x *wm831x, unsigned short reg,
415 int wm831x_device_init(struct wm831x *wm831x, int irq);
416 int wm831x_device_suspend(struct wm831x *wm831x);
417 void wm831x_device_shutdown(struct wm831x *wm831x);
418 int wm831x_irq_init(struct wm831x *wm831x, int irq);
419 void wm831x_irq_exit(struct wm831x *wm831x);
420 void wm831x_auxadc_init(struct wm831x *wm831x);
422 static inline int wm831x_irq(struct wm831x *wm831x, int irq) in wm831x_irq() argument
424 return irq_create_mapping(wm831x->irq_domain, irq); in wm831x_irq()