Searched defs:vcnl4000_chip_spec (Results 1 – 1 of 1) sorted by relevance
216 struct vcnl4000_chip_spec { struct217 const char *prod;218 struct iio_chan_spec const *channels;219 const int num_channels;220 const struct iio_info *info;221 const struct iio_buffer_setup_ops *buffer_setup_ops;222 int (*init)(struct vcnl4000_data *data);223 int (*measure_light)(struct vcnl4000_data *data, int *val);224 int (*measure_proximity)(struct vcnl4000_data *data, int *val);225 int (*set_power_state)(struct vcnl4000_data *data, bool on);[all …]