Lines Matching refs:kmx61_data

119 struct kmx61_data {  struct
283 static void kmx61_set_data(struct iio_dev *indio_dev, struct kmx61_data *data) in kmx61_set_data()
285 struct kmx61_data **priv = iio_priv(indio_dev); in kmx61_set_data()
290 static struct kmx61_data *kmx61_get_data(struct iio_dev *indio_dev) in kmx61_get_data()
292 return *(struct kmx61_data **)iio_priv(indio_dev); in kmx61_get_data()
329 static int kmx61_set_mode(struct kmx61_data *data, u8 mode, u8 device, in kmx61_set_mode()
377 static int kmx61_get_mode(struct kmx61_data *data, u8 *mode, u8 device) in kmx61_get_mode()
405 static int kmx61_set_wake_up_odr(struct kmx61_data *data, int val, int val2) in kmx61_set_wake_up_odr()
420 static int kmx61_set_odr(struct kmx61_data *data, int val, int val2, u8 device) in kmx61_set_odr()
462 static int kmx61_get_odr(struct kmx61_data *data, int *val, int *val2, in kmx61_get_odr()
485 static int kmx61_set_range(struct kmx61_data *data, u8 range) in kmx61_set_range()
509 static int kmx61_set_scale(struct kmx61_data *data, u16 uscale) in kmx61_set_scale()
537 static int kmx61_chip_init(struct kmx61_data *data) in kmx61_chip_init()
589 static int kmx61_setup_new_data_interrupt(struct kmx61_data *data, in kmx61_setup_new_data_interrupt()
648 static int kmx61_chip_update_thresholds(struct kmx61_data *data) in kmx61_chip_update_thresholds()
669 static int kmx61_setup_any_motion_interrupt(struct kmx61_data *data, in kmx61_setup_any_motion_interrupt()
734 static int kmx61_set_power_state(struct kmx61_data *data, bool on, u8 device) in kmx61_set_power_state()
775 static int kmx61_read_measurement(struct kmx61_data *data, u8 base, u8 offset) in kmx61_read_measurement()
793 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_read_raw()
862 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_write_raw()
897 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_read_event()
919 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_write_event()
941 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_read_event_config()
952 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_write_event_config()
986 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_acc_validate_trigger()
997 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_mag_validate_trigger()
1031 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_data_rdy_trigger_set_state()
1073 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_trig_try_reenable()
1092 struct kmx61_data *data = private; in kmx61_event_handler()
1183 struct kmx61_data *data = private; in kmx61_data_rdy_trig_poll()
1202 struct kmx61_data *data = kmx61_get_data(indio_dev); in kmx61_trigger_handler()
1241 static struct iio_dev *kmx61_indiodev_setup(struct kmx61_data *data, in kmx61_indiodev_setup()
1265 static struct iio_trigger *kmx61_trigger_setup(struct kmx61_data *data, in kmx61_trigger_setup()
1295 struct kmx61_data *data; in kmx61_probe()
1432 struct kmx61_data *data = i2c_get_clientdata(client); in kmx61_remove()
1460 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); in kmx61_suspend()
1473 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); in kmx61_resume()
1487 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); in kmx61_runtime_suspend()
1499 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); in kmx61_runtime_resume()