Home
last modified time | relevance | path

Searched refs:SENSOR_CHAN_ALL (Results 1 – 25 of 205) sorted by relevance

123456789

/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.c243 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_VOLTAGE) { in max17055_sample_fetch()
250 if (chan == SENSOR_CHAN_ALL || in max17055_sample_fetch()
258 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_AVG_CURRENT) { in max17055_sample_fetch()
265 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_STATE_OF_CHARGE) { in max17055_sample_fetch()
272 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_TEMP) { in max17055_sample_fetch()
279 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_REMAINING_CHARGE_CAPACITY) { in max17055_sample_fetch()
286 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_FULL_CHARGE_CAPACITY) { in max17055_sample_fetch()
293 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_TIME_TO_EMPTY) { in max17055_sample_fetch()
300 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_TIME_TO_FULL) { in max17055_sample_fetch()
307 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_CYCLE_COUNT) { in max17055_sample_fetch()
[all …]
/Zephyr-latest/samples/shields/x_nucleo_iks4a1/standard/src/
Dmain.c19 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lps22df_trigger_handler()
30 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lis2mdl_trigger_handler()
41 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lsm6dso16is_acc_trig_handler()
52 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lsm6dsv16x_acc_trig_handler()
63 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lis2duxs12_acc_trig_handler()
76 if (sensor_attr_set(lis2mdl, SENSOR_CHAN_ALL, in lis2mdl_config()
213 if (sensor_attr_set(lps22df, SENSOR_CHAN_ALL, in lps22df_config()
223 trig.chan = SENSOR_CHAN_ALL; in lps22df_config()
/Zephyr-latest/samples/sensor/icm42605/src/
Dmain.c110 .chan = SENSOR_CHAN_ALL, in main()
121 .chan = SENSOR_CHAN_ALL, in main()
132 .chan = SENSOR_CHAN_ALL, in main()
/Zephyr-latest/samples/sensor/lps22hh/src/
Dmain.c66 .chan = SENSOR_CHAN_ALL, in main()
69 if (sensor_attr_set(dev, SENSOR_CHAN_ALL, in main()
/Zephyr-latest/samples/shields/x_nucleo_iks01a3/standard/src/
Dmain.c19 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lis2mdl_trigger_handler()
89 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lis2de12_trigger_handler()
102 if (sensor_attr_set(lis2mdl, SENSOR_CHAN_ALL, in lis2mdl_config()
125 if (sensor_attr_set(lps22hh, SENSOR_CHAN_ALL, in lps22hh_config()
135 trig.chan = SENSOR_CHAN_ALL; in lps22hh_config()
148 if (sensor_attr_set(stts751, SENSOR_CHAN_ALL, in stts751_config()
158 trig.chan = SENSOR_CHAN_ALL; in stts751_config()
/Zephyr-latest/drivers/sensor/ti/bq274xx/
Dbq274xx.c598 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_VOLTAGE) { in bq274xx_sample_fetch()
607 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_AVG_CURRENT) { in bq274xx_sample_fetch()
616 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_TEMP) { in bq274xx_sample_fetch()
625 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_STDBY_CURRENT) { in bq274xx_sample_fetch()
634 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_MAX_LOAD_CURRENT) { in bq274xx_sample_fetch()
643 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_STATE_OF_CHARGE) { in bq274xx_sample_fetch()
652 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_FULL_CHARGE_CAPACITY) { in bq274xx_sample_fetch()
661 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_REMAINING_CHARGE_CAPACITY) { in bq274xx_sample_fetch()
670 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_NOM_AVAIL_CAPACITY) { in bq274xx_sample_fetch()
679 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_GAUGE_FULL_AVAIL_CAPACITY) { in bq274xx_sample_fetch()
[all …]
/Zephyr-latest/drivers/sensor/st/lps22hh/
Dlps22hh.c42 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL in lps22hh_sample_fetch()
59 case SENSOR_CHAN_ALL: in lps22hh_sample_fetch()
75 if (chan == SENSOR_CHAN_PRESS || chan == SENSOR_CHAN_ALL) { in lps22hh_sample_fetch()
78 if (chan == SENSOR_CHAN_AMBIENT_TEMP || chan == SENSOR_CHAN_ALL) { in lps22hh_sample_fetch()
156 if (chan != SENSOR_CHAN_ALL) { in lps22hh_attr_set()
/Zephyr-latest/drivers/sensor/ams/ens210/
Dens210.c50 .t_start = ENS210_T_START && (chan == SENSOR_CHAN_ALL in ens210_measure()
52 .h_start = ENS210_H_START && (chan == SENSOR_CHAN_ALL in ens210_measure()
91 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL 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()
/Zephyr-latest/drivers/sensor/bosch/bme280/
Dbme280_async.c54 case SENSOR_CHAN_ALL: in bme280_submit_sync()
65 rc = bme280_sample_fetch_helper(dev, SENSOR_CHAN_ALL, &edata->reading); in bme280_submit_sync()
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/
Dwsen_hids_2525020210002.c36 case SENSOR_CHAN_ALL: in hids_2525020210002_sample_fetch()
59 case SENSOR_CHAN_ALL: in hids_2525020210002_sample_fetch()
136 if (chan != SENSOR_CHAN_ALL) { in hids_2525020210002_attr_set()
159 if (chan != SENSOR_CHAN_ALL) { in hids_2525020210002_attr_get()
/Zephyr-latest/samples/sensor/sgp40_sht4x/src/
Dmain.c50 sensor_attr_set(sht, SENSOR_CHAN_ALL, in main()
52 sensor_attr_set(sht, SENSOR_CHAN_ALL, in main()
/Zephyr-latest/drivers/sensor/ti/ina226/
Dina226.c139 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_VOLTAGE)) { in ina226_read_data()
147 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_CURRENT)) { in ina226_read_data()
155 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_POWER)) { in ina226_read_data()
164 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_VSHUNT)) { in ina226_read_data()
180 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_VOLTAGE in ina226_sample_fetch()
/Zephyr-latest/drivers/sensor/memsic/mmc56x3/
Dmmc56x3_async.c61 case SENSOR_CHAN_ALL: in mmc56x3_submit_sync()
73 rc = mmc56x3_sample_fetch_helper(dev, SENSOR_CHAN_ALL, &edata->data); in mmc56x3_submit_sync()
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina237.c148 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_VOLTAGE)) { in ina237_read_data()
156 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_CURRENT)) { in ina237_read_data()
164 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_POWER)) { in ina237_read_data()
172 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_DIE_TEMP)) { in ina237_read_data()
181 if ((data->chan == SENSOR_CHAN_ALL) || (data->chan == SENSOR_CHAN_VSHUNT)) { in ina237_read_data()
203 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_VOLTAGE && chan != SENSOR_CHAN_CURRENT && in ina237_sample_fetch()
Dina230.c75 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_VOLTAGE && chan != SENSOR_CHAN_CURRENT && in ina230_sample_fetch()
80 if ((chan == SENSOR_CHAN_ALL) || (chan == SENSOR_CHAN_VOLTAGE)) { in ina230_sample_fetch()
88 if ((chan == SENSOR_CHAN_ALL) || (chan == SENSOR_CHAN_CURRENT)) { in ina230_sample_fetch()
96 if ((chan == SENSOR_CHAN_ALL) || (chan == SENSOR_CHAN_POWER)) { in ina230_sample_fetch()
/Zephyr-latest/drivers/sensor/lm35/
Dlm35.c34 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm35_sample_fetch()
46 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_AMBIENT_TEMP) { in lm35_channel_get()
/Zephyr-latest/drivers/sensor/microchip/tcn75a/
Dtcn75a_trigger.c23 if ((trig->chan != SENSOR_CHAN_ALL) && (trig->chan != SENSOR_CHAN_AMBIENT_TEMP)) { in tcn75a_trigger_set()
53 if ((chan != SENSOR_CHAN_AMBIENT_TEMP) && (chan != SENSOR_CHAN_ALL)) { in tcn75a_attr_set()
87 if ((chan != SENSOR_CHAN_AMBIENT_TEMP) && (chan != SENSOR_CHAN_ALL)) { in tcn75a_attr_get()
/Zephyr-latest/drivers/sensor/ti/ina219/
Dina219.c111 if (chan != SENSOR_CHAN_ALL && in ina219_sample_fetch()
150 if (chan == SENSOR_CHAN_ALL || in ina219_sample_fetch()
161 if (chan == SENSOR_CHAN_ALL || in ina219_sample_fetch()
172 if (chan == SENSOR_CHAN_ALL || in ina219_sample_fetch()
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/
Dvcnl4040.c60 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || in vcnl4040_sample_fetch()
64 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_PROX); in vcnl4040_sample_fetch()
68 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_PROX) { in vcnl4040_sample_fetch()
77 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT) { in vcnl4040_sample_fetch()
/Zephyr-latest/samples/boards/st/sensortile_box/src/
Dmain.c101 if (sensor_attr_set(lps22hh, SENSOR_CHAN_ALL, in lps22hh_config()
111 trig.chan = SENSOR_CHAN_ALL; in lps22hh_config()
212 if (sensor_attr_set(stts751, SENSOR_CHAN_ALL, in stts751_config()
222 trig.chan = SENSOR_CHAN_ALL; in stts751_config()
235 if (sensor_attr_set(iis3dhhc, SENSOR_CHAN_ALL, in iis3dhhc_config()
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c62 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lis2mdl_trigger_handler()
73 sensor_sample_fetch_chan(dev, SENSOR_CHAN_ALL); in lis2du12_trigger_handler()
96 if (sensor_attr_set(lps22df, SENSOR_CHAN_ALL, in lps22df_config()
106 trig.chan = SENSOR_CHAN_ALL; in lps22df_config()
176 if (sensor_attr_set(lis2mdl, SENSOR_CHAN_ALL, in lis2mdl_config()
/Zephyr-latest/samples/sensor/ms5837/src/
Dmain.c30 if (sensor_attr_set(dev, SENSOR_CHAN_ALL, SENSOR_ATTR_OVERSAMPLING, in main()
/Zephyr-latest/samples/sensor/hts221/src/
Dmain.c61 .chan = SENSOR_CHAN_ALL, in main()
/Zephyr-latest/drivers/sensor/st/stts751/
Dstts751.c38 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL); in stts751_sample_fetch()
118 if (chan != SENSOR_CHAN_ALL) { in stts751_attr_set()
/Zephyr-latest/drivers/sensor/nordic/temp/
Dtemp_nrfs.c107 if (trig->chan != SENSOR_CHAN_ALL && in api_sensor_trigger_set()
153 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_DIE_TEMP) { in api_sensor_attr_set()
215 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_DIE_TEMP) { in api_sample_fetch()

123456789