Lines Matching refs:chan
167 enum sensor_channel chan, in lis2du12_accel_config() argument
185 enum sensor_channel chan, in lis2du12_attr_set() argument
189 switch (chan) { in lis2du12_attr_set()
191 return lis2du12_accel_config(dev, chan, attr, val); in lis2du12_attr_set()
193 LOG_WRN("attribute %d not supported on this channel.", chan); in lis2du12_attr_set()
222 enum sensor_channel chan) in lis2du12_sample_fetch() argument
224 switch (chan) { in lis2du12_sample_fetch()
251 static inline int lis2du12_accel_get_channel(enum sensor_channel chan, in lis2du12_accel_get_channel() argument
258 switch (chan) { in lis2du12_accel_get_channel()
280 static int lis2du12_accel_channel_get(enum sensor_channel chan, in lis2du12_accel_channel_get() argument
284 return lis2du12_accel_get_channel(chan, val, data, data->acc_gain); in lis2du12_accel_channel_get()
288 enum sensor_channel chan, in lis2du12_channel_get() argument
293 switch (chan) { in lis2du12_channel_get()
298 lis2du12_accel_channel_get(chan, val, data); in lis2du12_channel_get()