Searched defs:vcnl4000_chip_spec (Results 1 – 1 of 1) sorted by relevance
207 struct vcnl4000_chip_spec { struct208 const char *prod;209 struct iio_chan_spec const *channels;210 const int num_channels;211 const struct iio_info *info;212 const struct iio_buffer_setup_ops *buffer_setup_ops;213 int (*init)(struct vcnl4000_data *data);214 int (*measure_light)(struct vcnl4000_data *data, int *val);215 int (*measure_proximity)(struct vcnl4000_data *data, int *val);216 int (*set_power_state)(struct vcnl4000_data *data, bool on);[all …]