Searched defs:vcnl4000_chip_spec (Results 1 – 1 of 1) sorted by relevance
132 struct vcnl4000_chip_spec { struct133 const char *prod;134 struct iio_chan_spec const *channels;135 const int num_channels;136 const struct iio_info *info;137 bool irq_support;138 int (*init)(struct vcnl4000_data *data);139 int (*measure_light)(struct vcnl4000_data *data, int *val);140 int (*measure_proximity)(struct vcnl4000_data *data, int *val);141 int (*set_power_state)(struct vcnl4000_data *data, bool on);