Lines Matching refs:bmc150_accel_data
208 static int bmc150_accel_set_mode(struct bmc150_accel_data *data, in bmc150_accel_set_mode()
247 static int bmc150_accel_set_bw(struct bmc150_accel_data *data, int val, in bmc150_accel_set_bw()
271 static int bmc150_accel_update_slope(struct bmc150_accel_data *data) in bmc150_accel_update_slope()
304 static int bmc150_accel_get_bw(struct bmc150_accel_data *data, int *val, in bmc150_accel_get_bw()
321 static int bmc150_accel_get_startup_times(struct bmc150_accel_data *data) in bmc150_accel_get_startup_times()
333 static int bmc150_accel_set_power_state(struct bmc150_accel_data *data, bool on) in bmc150_accel_set_power_state()
354 static int bmc150_accel_set_power_state(struct bmc150_accel_data *data, bool on) in bmc150_accel_set_power_state()
543 struct bmc150_accel_data *data, int irq) in bmc150_accel_interrupts_setup()
564 static int bmc150_accel_set_interrupt(struct bmc150_accel_data *data, int i, in bmc150_accel_set_interrupt()
616 static int bmc150_accel_set_scale(struct bmc150_accel_data *data, int val) in bmc150_accel_set_scale()
639 static int bmc150_accel_get_temp(struct bmc150_accel_data *data, int *val) in bmc150_accel_get_temp()
660 static int bmc150_accel_get_axis(struct bmc150_accel_data *data, in bmc150_accel_get_axis()
698 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_read_raw()
759 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_write_raw()
790 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_read_event()
814 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_write_event()
838 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_read_event_config()
849 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_write_event_config()
873 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_validate_trigger()
889 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_get_fifo_watermark()
904 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_get_fifo_state()
918 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_get_mount_matrix()
946 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_set_watermark()
962 static int bmc150_accel_fifo_transfer(struct bmc150_accel_data *data, in bmc150_accel_fifo_transfer()
982 struct bmc150_accel_data *data = iio_priv(indio_dev); in __bmc150_accel_fifo_flush()
1066 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_fifo_flush()
1230 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_trigger_handler()
1251 struct bmc150_accel_data *data = t->data; in bmc150_accel_trig_reen()
1273 struct bmc150_accel_data *data = t->data; in bmc150_accel_trigger_set_state()
1311 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_handle_roc_event()
1361 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_irq_thread_handler()
1401 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_irq_handler()
1441 static void bmc150_accel_unregister_triggers(struct bmc150_accel_data *data, in bmc150_accel_unregister_triggers()
1455 struct bmc150_accel_data *data) in bmc150_accel_triggers_setup()
1493 static int bmc150_accel_fifo_set_mode(struct bmc150_accel_data *data) in bmc150_accel_fifo_set_mode()
1518 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_buffer_preenable()
1525 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_buffer_postenable()
1558 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_buffer_predisable()
1581 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_buffer_postdisable()
1593 static int bmc150_accel_chip_init(struct bmc150_accel_data *data) in bmc150_accel_chip_init()
1669 struct bmc150_accel_data *data; in bmc150_accel_core_probe()
1809 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_core_remove()
1833 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_suspend()
1845 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_resume()
1863 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_runtime_suspend()
1876 struct bmc150_accel_data *data = iio_priv(indio_dev); in bmc150_accel_runtime_resume()