/Zephyr-latest/drivers/sensor/maxim/max17055/ |
D | max17055.c | 243 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/ |
D | main.c | 19 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/ |
D | main.c | 110 .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/ |
D | main.c | 66 .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/ |
D | main.c | 19 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/ |
D | bq274xx.c | 598 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/ |
D | lps22hh.c | 42 __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/ |
D | ens210.c | 50 .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/ |
D | bme280_async.c | 54 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/ |
D | wsen_hids_2525020210002.c | 36 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/ |
D | main.c | 50 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/ |
D | ina226.c | 139 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/ |
D | mmc56x3_async.c | 61 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/ |
D | ina237.c | 148 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()
|
D | ina230.c | 75 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/ |
D | lm35.c | 34 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/ |
D | tcn75a_trigger.c | 23 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/ |
D | ina219.c | 111 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/ |
D | vcnl4040.c | 60 __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/ |
D | main.c | 101 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/ |
D | main.c | 62 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/ |
D | main.c | 30 if (sensor_attr_set(dev, SENSOR_CHAN_ALL, SENSOR_ATTR_OVERSAMPLING, in main()
|
/Zephyr-latest/samples/sensor/hts221/src/ |
D | main.c | 61 .chan = SENSOR_CHAN_ALL, in main()
|
/Zephyr-latest/drivers/sensor/st/stts751/ |
D | stts751.c | 38 __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/ |
D | temp_nrfs.c | 107 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()
|