Lines Matching refs:ads1100_data
45 struct ads1100_data { struct
70 static int ads1100_set_config_bits(struct ads1100_data *data, u8 mask, u8 value) in ads1100_set_config_bits() argument
87 static int ads1100_data_bits(struct ads1100_data *data) in ads1100_data_bits()
92 static int ads1100_get_adc_result(struct ads1100_data *data, int chan, int *val) in ads1100_get_adc_result()
126 static int ads1100_set_scale(struct ads1100_data *data, int val, int val2) in ads1100_set_scale()
155 static int ads1100_set_data_rate(struct ads1100_data *data, int chan, int rate) in ads1100_set_data_rate()
170 static int ads1100_get_vdd_millivolts(struct ads1100_data *data) in ads1100_get_vdd_millivolts()
175 static void ads1100_calc_scale_avail(struct ads1100_data *data) in ads1100_calc_scale_avail()
191 struct ads1100_data *data = iio_priv(indio_dev); in ads1100_read_avail()
220 struct ads1100_data *data = iio_priv(indio_dev); in ads1100_read_raw()
258 struct ads1100_data *data = iio_priv(indio_dev); in ads1100_write_raw()
284 static int ads1100_setup(struct ads1100_data *data) in ads1100_setup()
321 struct ads1100_data *data; in ads1100_probe()
382 struct ads1100_data *data = dev_get_drvdata(dev); in ads1100_runtime_suspend()
392 struct ads1100_data *data = dev_get_drvdata(dev); in ads1100_runtime_resume()