Lines Matching refs:as3935_state
59 struct as3935_state { struct
87 static int as3935_read(struct as3935_state *st, unsigned int reg, int *val) in as3935_read() argument
101 static int as3935_write(struct as3935_state *st, in as3935_write()
117 struct as3935_state *st = iio_priv(dev_to_iio_dev(dev)); in as3935_sensor_sensitivity_show()
132 struct as3935_state *st = iio_priv(dev_to_iio_dev(dev)); in as3935_sensor_sensitivity_store()
167 struct as3935_state *st = iio_priv(indio_dev); in as3935_read_raw()
209 struct as3935_state *st = iio_priv(indio_dev); in as3935_trigger_handler()
231 struct as3935_state *st; in as3935_event_work()
234 st = container_of(work, struct as3935_state, work.work); in as3935_event_work()
252 struct as3935_state *st = iio_priv(indio_dev); in as3935_interrupt_handler()
264 static void calibrate_as3935(struct as3935_state *st) in calibrate_as3935()
281 struct as3935_state *st = iio_priv(indio_dev); in as3935_suspend()
301 struct as3935_state *st = iio_priv(indio_dev); in as3935_resume()
330 struct as3935_state *st; in as3935_probe()
432 struct as3935_state *st = iio_priv(indio_dev); in as3935_remove()