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