Lines Matching refs:chan
93 enum sensor_channel chan, in lis2dh_channel_get() argument
101 switch (chan) { in lis2dh_channel_get()
132 enum sensor_channel chan) in lis2dh_fetch_xyz() argument
164 enum sensor_channel chan) in lis2dh_sample_fetch() argument
168 if (chan == SENSOR_CHAN_ALL) { in lis2dh_sample_fetch()
169 status = lis2dh_fetch_xyz(dev, chan); in lis2dh_sample_fetch()
175 } else if (chan == SENSOR_CHAN_ACCEL_XYZ) { in lis2dh_sample_fetch()
176 status = lis2dh_fetch_xyz(dev, chan); in lis2dh_sample_fetch()
177 } else if (chan == SENSOR_CHAN_DIE_TEMP) { in lis2dh_sample_fetch()
275 enum sensor_channel chan, in lis2dh_acc_config() argument
305 static int lis2dh_attr_set(const struct device *dev, enum sensor_channel chan, in lis2dh_attr_set() argument
309 switch (chan) { in lis2dh_attr_set()
314 return lis2dh_acc_config(dev, chan, attr, val); in lis2dh_attr_set()