Lines Matching refs:bu27034_data

194 struct bu27034_data {  struct
260 static int bu27034_get_gain_sel(struct bu27034_data *data, int chan) in bu27034_get_gain_sel()
275 static int bu27034_get_gain(struct bu27034_data *data, int chan, int *gain) in bu27034_get_gain()
298 static int bu27034_get_int_time(struct bu27034_data *data) in bu27034_get_int_time()
310 static int _bu27034_get_scale(struct bu27034_data *data, int channel, int *val, in _bu27034_get_scale()
326 static int bu27034_get_scale(struct bu27034_data *data, int channel, int *val, in bu27034_get_scale()
347 static int bu27034_write_gain_sel(struct bu27034_data *data, int chan, int sel) in bu27034_write_gain_sel()
361 static int bu27034_set_gain(struct bu27034_data *data, int chan, int gain) in bu27034_set_gain()
373 static int bu27034_set_int_time(struct bu27034_data *data, int time) in bu27034_set_int_time()
389 static int bu27034_try_set_int_time(struct bu27034_data *data, int time_us) in bu27034_try_set_int_time()
482 static int bu27034_set_scale(struct bu27034_data *data, int chan, in bu27034_set_scale()
764 static bool bu27034_has_valid_sample(struct bu27034_data *data) in bu27034_has_valid_sample()
784 static void bu27034_invalidate_read_data(struct bu27034_data *data) in bu27034_invalidate_read_data()
789 static int bu27034_read_result(struct bu27034_data *data, int chan, int *res) in bu27034_read_result()
813 static int bu27034_get_result_unlocked(struct bu27034_data *data, __le16 *res, in bu27034_get_result_unlocked()
845 static int bu27034_meas_set(struct bu27034_data *data, bool en) in bu27034_meas_set()
855 static int bu27034_get_single_result(struct bu27034_data *data, int chan, in bu27034_get_single_result()
895 static int bu27034_calc_mlux(struct bu27034_data *data, __le16 *res, int *val) in bu27034_calc_mlux()
953 static int bu27034_get_mlux(struct bu27034_data *data, int chan, int *val) in bu27034_get_mlux()
981 struct bu27034_data *data = iio_priv(idev); in bu27034_read_raw()
1005 int (*result_get)(struct bu27034_data *data, int chan, int *val); in bu27034_read_raw()
1044 struct bu27034_data *data = iio_priv(indio_dev); in bu27034_write_raw_get_fmt()
1064 struct bu27034_data *data = iio_priv(idev); in bu27034_write_raw()
1095 struct bu27034_data *data = iio_priv(idev); in bu27034_read_avail()
1114 static int bu27034_chip_init(struct bu27034_data *data) in bu27034_chip_init()
1146 static int bu27034_wait_for_data(struct bu27034_data *data) in bu27034_wait_for_data()
1175 struct bu27034_data *data; in bu27034_buffer_thread()
1220 struct bu27034_data *data = iio_priv(idev); in bu27034_buffer_enable()
1247 struct bu27034_data *data = iio_priv(idev); in bu27034_buffer_disable()
1270 struct bu27034_data *data; in bu27034_probe()