Lines Matching refs:chan
43 static int ens210_measure(const struct device *dev, enum sensor_channel chan) in ens210_measure() argument
50 .t_start = ENS210_T_START && (chan == SENSOR_CHAN_ALL in ens210_measure()
51 || chan == SENSOR_CHAN_AMBIENT_TEMP), in ens210_measure()
52 .h_start = ENS210_H_START && (chan == SENSOR_CHAN_ALL in ens210_measure()
53 || chan == SENSOR_CHAN_HUMIDITY) in ens210_measure()
80 enum sensor_channel chan) in ens210_sample_fetch() argument
91 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL in ens210_sample_fetch()
92 || chan == SENSOR_CHAN_AMBIENT_TEMP in ens210_sample_fetch()
93 || chan == SENSOR_CHAN_HUMIDITY); in ens210_sample_fetch()
97 ret = ens210_measure(dev, chan); in ens210_sample_fetch()
113 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_AMBIENT_TEMP) { in ens210_sample_fetch()
134 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_HUMIDITY) { in ens210_sample_fetch()
161 enum sensor_channel chan, in ens210_channel_get() argument
168 switch (chan) { in ens210_channel_get()