Searched refs:kmx61_data (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/iio/imu/
H A Dkmx61.c120 struct kmx61_data { struct
284 static void kmx61_set_data(struct iio_dev *indio_dev, struct kmx61_data *data) kmx61_set_data()
286 struct kmx61_data **priv = iio_priv(indio_dev); kmx61_set_data()
291 static struct kmx61_data *kmx61_get_data(struct iio_dev *indio_dev) kmx61_get_data()
293 return *(struct kmx61_data **)iio_priv(indio_dev); kmx61_get_data()
330 static int kmx61_set_mode(struct kmx61_data *data, u8 mode, u8 device, kmx61_set_mode()
378 static int kmx61_get_mode(struct kmx61_data *data, u8 *mode, u8 device) kmx61_get_mode()
406 static int kmx61_set_wake_up_odr(struct kmx61_data *data, int val, int val2) kmx61_set_wake_up_odr()
421 static int kmx61_set_odr(struct kmx61_data *data, int val, int val2, u8 device) kmx61_set_odr()
463 static int kmx61_get_odr(struct kmx61_data *data, int *val, int *val2, kmx61_get_odr()
486 static int kmx61_set_range(struct kmx61_data *data, u8 range) kmx61_set_range()
510 static int kmx61_set_scale(struct kmx61_data *data, u16 uscale) kmx61_set_scale()
538 static int kmx61_chip_init(struct kmx61_data *data) kmx61_chip_init()
590 static int kmx61_setup_new_data_interrupt(struct kmx61_data *data, kmx61_setup_new_data_interrupt()
649 static int kmx61_chip_update_thresholds(struct kmx61_data *data) kmx61_chip_update_thresholds()
670 static int kmx61_setup_any_motion_interrupt(struct kmx61_data *data, kmx61_setup_any_motion_interrupt()
735 static int kmx61_set_power_state(struct kmx61_data *data, bool on, u8 device) kmx61_set_power_state()
776 static int kmx61_read_measurement(struct kmx61_data *data, u8 base, u8 offset) kmx61_read_measurement()
794 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_read_raw()
863 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_write_raw()
898 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_read_event()
920 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_write_event()
942 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_read_event_config()
953 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_write_event_config()
987 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_acc_validate_trigger()
998 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_mag_validate_trigger()
1034 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_data_rdy_trigger_set_state()
1076 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_trig_try_reenable()
1096 struct kmx61_data *data = private; kmx61_event_handler()
1187 struct kmx61_data *data = private; kmx61_data_rdy_trig_poll()
1206 struct kmx61_data *data = kmx61_get_data(indio_dev); kmx61_trigger_handler()
1245 static struct iio_dev *kmx61_indiodev_setup(struct kmx61_data *data, kmx61_indiodev_setup()
1269 static struct iio_trigger *kmx61_trigger_setup(struct kmx61_data *data, kmx61_trigger_setup()
1299 struct kmx61_data *data; kmx61_probe()
1438 struct kmx61_data *data = i2c_get_clientdata(client); kmx61_remove()
1466 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); kmx61_suspend()
1479 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); kmx61_resume()
1493 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); kmx61_runtime_suspend()
1505 struct kmx61_data *data = i2c_get_clientdata(to_i2c_client(dev)); kmx61_runtime_resume()

Completed in 46 milliseconds