Searched refs:zopt2201_data (Results 1 – 1 of 1) sorted by relevance
74 struct zopt2201_data { struct174 static int zopt2201_enable_mode(struct zopt2201_data *data, bool uvb_mode) in zopt2201_enable_mode()184 static int zopt2201_read(struct zopt2201_data *data, u8 reg) in zopt2201_read()258 struct zopt2201_data *data = iio_priv(indio_dev); in zopt2201_read_raw()304 static int zopt2201_set_resolution(struct zopt2201_data *data, u8 res) in zopt2201_set_resolution()319 static int zopt2201_write_resolution(struct zopt2201_data *data, in zopt2201_write_resolution()338 static int zopt2201_set_gain(struct zopt2201_data *data, u8 gain) in zopt2201_set_gain()367 static int zopt2201_write_scale_als(struct zopt2201_data *data, in zopt2201_write_scale_als()397 static int zopt2201_write_scale_uvb(struct zopt2201_data *data, in zopt2201_write_scale_uvb()414 struct zopt2201_data *data = iio_priv(indio_dev); in zopt2201_write_raw()[all …]