/Zephyr-latest/samples/sensor/vcnl4040/src/ |
D | main.c | 24 if (sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata) < 0) { in print_proxy_data() 97 if (sensor_attr_set(dev, SENSOR_CHAN_PROX, in test_trigger_mode() 105 if (sensor_attr_set(dev, SENSOR_CHAN_PROX, in test_trigger_mode() 112 trig.chan = SENSOR_CHAN_PROX; in test_trigger_mode()
|
/Zephyr-latest/samples/sensor/apds9960/src/ |
D | main.c | 45 if (sensor_attr_set(dev, SENSOR_CHAN_PROX, in main() 53 .chan = SENSOR_CHAN_PROX, in main() 74 sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata); in main()
|
/Zephyr-latest/tests/drivers/sensor/generic/src/ |
D | main.c | 36 { SENSOR_CHAN_PROX, { 4, 16 } } 41 { {SENSOR_TRIG_THRESHOLD, SENSOR_CHAN_PROX}, 45 { {SENSOR_TRIG_TIMER, SENSOR_CHAN_PROX}, 49 { {SENSOR_TRIG_DATA_READY, SENSOR_CHAN_PROX}, 53 { {SENSOR_TRIG_DELTA, SENSOR_CHAN_PROX}, 57 { {SENSOR_TRIG_NEAR_FAR, SENSOR_CHAN_PROX},
|
D | dummy_sensor.c | 56 case SENSOR_CHAN_PROX: in dummy_sensor_channel_get() 112 if (chan == SENSOR_CHAN_PROX && in dummy_sensor_attr_set() 129 if (chan == SENSOR_CHAN_PROX && in dummy_sensor_attr_get()
|
/Zephyr-latest/drivers/sensor/sx9500/ |
D | sx9500.c | 54 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_PROX); in sx9500_sample_fetch() 65 __ASSERT_NO_MSG(chan == SENSOR_CHAN_PROX); in sx9500_channel_get() 67 if (chan != SENSOR_CHAN_PROX) { in sx9500_channel_get()
|
/Zephyr-latest/drivers/sensor/honeywell/sm351lt/ |
D | sm351lt.c | 31 if (trig->chan == SENSOR_CHAN_PROX) { in sm351lt_trigger_set() 110 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_PROX) { in sm351lt_sample_fetch() 125 if (chan == SENSOR_CHAN_PROX) { in sm351lt_channel_get() 143 if (chan == SENSOR_CHAN_PROX) { in sm351lt_attr_set() 164 if (chan == SENSOR_CHAN_PROX) { in sm351lt_attr_get()
|
/Zephyr-latest/samples/sensor/sm351lt/src/ |
D | main.c | 23 SENSOR_CHAN_PROX, in fetch_and_display() 57 trig.chan = SENSOR_CHAN_PROX; in main()
|
/Zephyr-latest/samples/sensor/sx9500/src/ |
D | main.c | 26 ret = sensor_channel_get(dev, SENSOR_CHAN_PROX, &prox_value); in sensor_trigger_handler() 66 ret = sensor_channel_get(dev, SENSOR_CHAN_PROX, &prox_value); in do_main()
|
/Zephyr-latest/drivers/sensor/apds9960/ |
D | apds9960_trigger.c | 41 if (chan == SENSOR_CHAN_PROX) { in apds9960_attr_set() 76 if (trig->chan == SENSOR_CHAN_PROX) { in apds9960_trigger_set()
|
D | apds9960.c | 143 case SENSOR_CHAN_PROX: in apds9960_channel_get()
|
/Zephyr-latest/drivers/sensor/ams/tmd2620/ |
D | tmd2620_trigger.c | 43 if (chan != SENSOR_CHAN_PROX) { in tmd2620_attr_set() 77 if (trigg->chan != SENSOR_CHAN_PROX) { in tmd2620_trigger_set()
|
D | tmd2620.c | 86 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_PROX) { in tmd2620_sample_fetch() 158 if (chan == SENSOR_CHAN_PROX) { in tmd2620_channel_get()
|
/Zephyr-latest/samples/sensor/vl53l0x/src/ |
D | main.c | 31 ret = sensor_channel_get(dev, SENSOR_CHAN_PROX, &value); in main()
|
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/ |
D | vcnl4040.c | 61 chan == SENSOR_CHAN_PROX || 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() 101 case SENSOR_CHAN_PROX: in vcnl4040_channel_get()
|
D | vcnl4040_trigger.c | 128 if (chan == SENSOR_CHAN_PROX) { in vcnl4040_attr_set() 198 if (trig->chan == SENSOR_CHAN_PROX) { in vcnl4040_trigger_set()
|
/Zephyr-latest/samples/sensor/proximity_polling/src/ |
D | main.c | 36 sensor_channel_get(dev, SENSOR_CHAN_PROX, &pdata); in print_prox_data()
|
/Zephyr-latest/drivers/sensor/st/vl53l0x/ |
D | Kconfig | 21 Threshold used for proximity detection when sensor is used with SENSOR_CHAN_PROX.
|
D | vl53l0x.c | 253 || (chan == SENSOR_CHAN_PROX)); in vl53l0x_sample_fetch() 280 if (chan == SENSOR_CHAN_PROX) { in vl53l0x_channel_get()
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | periphs.c | 72 SENSOR_CHAN_PROX, &val[1])) { in get_apds9960_val()
|
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/src/ |
D | main.c | 80 SENSOR_CHAN_PROX, in mode_show_presence()
|
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/ |
D | vcnl36825t.c | 166 case SENSOR_CHAN_PROX: in vcnl36825t_sample_fetch() 204 case SENSOR_CHAN_PROX: in vcnl36825t_channel_get()
|
D | vcnl36825t_trigger.c | 169 if (trig->chan != SENSOR_CHAN_PROX) { in vcnl36825t_trigger_set()
|
/Zephyr-latest/samples/boards/96boards/argonkey/sensors/src/ |
D | main.c | 283 sensor_channel_get(tof_dev, SENSOR_CHAN_PROX, &prox); in main()
|
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 64 [SENSOR_CHAN_PROX] = "prox", 423 case SENSOR_CHAN_PROX: { in sensor_shell_processing_callback() 485 case SENSOR_CHAN_PROX: { in sensor_shell_processing_callback()
|
D | default_rtio_sensor.c | 375 case SENSOR_CHAN_PROX: in sensor_natively_supported_channel_size_info()
|