/Zephyr-latest/samples/sensor/max44009/src/ |
D | main.c | 32 if (sensor_sample_fetch_chan(dev, SENSOR_CHAN_LIGHT) != 0) { in main() 37 if (sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &val) != 0) { in main()
|
/Zephyr-latest/samples/sensor/isl29035/src/ |
D | main.c | 58 if (sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &val) < 0) { in process_sample() 82 rc = sensor_attr_set(dev, SENSOR_CHAN_LIGHT, in process_sample() 85 rc = sensor_attr_set(dev, SENSOR_CHAN_LIGHT, in process_sample()
|
/Zephyr-latest/drivers/sensor/ams/tsl2540/ |
D | tsl2540.c | 33 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT || in tsl2540_sample_fetch() 37 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT) { in tsl2540_sample_fetch() 86 case SENSOR_CHAN_LIGHT: in tsl2540_channel_get() 159 if ((chan != SENSOR_CHAN_IR) & (chan != SENSOR_CHAN_LIGHT)) { in tsl2540_attr_set() 173 if (chan == SENSOR_CHAN_LIGHT) { in tsl2540_attr_set() 282 tsl2540_attr_set(dev, (enum sensor_channel)SENSOR_CHAN_LIGHT, in tsl2540_setup() 287 tsl2540_attr_set(dev, (enum sensor_channel)SENSOR_CHAN_LIGHT, in tsl2540_setup()
|
D | tsl2540_trigger.c | 119 if (trig->chan != SENSOR_CHAN_LIGHT) { in tsl2540_trigger_set()
|
/Zephyr-latest/drivers/sensor/maxim/max44009/ |
D | max44009.c | 80 if (chan != SENSOR_CHAN_LIGHT) { in max44009_attr_set() 120 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT); in max44009_sample_fetch() 147 if (chan != SENSOR_CHAN_LIGHT) { in max44009_channel_get()
|
/Zephyr-latest/samples/sensor/grove_light/src/ |
D | main.c | 33 sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &lux); in main()
|
/Zephyr-latest/drivers/sensor/ltrf216a/ |
D | ltrf216a.c | 86 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT); in ltrf216a_sample_fetch() 120 if (chan != SENSOR_CHAN_LIGHT) { in ltrf216a_channel_get()
|
/Zephyr-latest/drivers/sensor/apds9306/ |
D | apds9306.c | 143 if (channel != SENSOR_CHAN_LIGHT) { in apds9306_attr_set() 179 if (channel != SENSOR_CHAN_LIGHT) { in apds9306_attr_get() 214 if ((channel != SENSOR_CHAN_ALL) && (channel != SENSOR_CHAN_LIGHT)) { in apds9306_sample_fetch() 255 if (channel != SENSOR_CHAN_LIGHT) { in apds9306_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/opt3001/ |
D | opt3001.c | 70 __ASSERT_NO_MSG(chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT); in opt3001_sample_fetch() 90 if (chan != SENSOR_CHAN_LIGHT) { in opt3001_channel_get()
|
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/ |
D | vcnl4040.c | 62 chan == SENSOR_CHAN_LIGHT); in vcnl4040_sample_fetch() 77 if (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT) { in vcnl4040_sample_fetch() 107 case SENSOR_CHAN_LIGHT: in vcnl4040_channel_get()
|
D | vcnl4040_trigger.c | 151 if (chan == SENSOR_CHAN_LIGHT) { in vcnl4040_attr_set() 214 } else if (trig->chan == SENSOR_CHAN_LIGHT) { in vcnl4040_trigger_set()
|
/Zephyr-latest/samples/sensor/apds9960/src/ |
D | main.c | 73 sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &intensity); in main()
|
/Zephyr-latest/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 358 if (chan != SENSOR_CHAN_LIGHT) { in veml7700_attr_set() 406 if (chan != SENSOR_CHAN_LIGHT) { in veml7700_attr_get() 458 if ((chan == SENSOR_CHAN_LIGHT || chan == SENSOR_CHAN_ALL) && in veml7700_sample_fetch() 466 if (chan == SENSOR_CHAN_LIGHT) { in veml7700_sample_fetch() 500 if (chan == SENSOR_CHAN_LIGHT) { in veml7700_channel_get()
|
/Zephyr-latest/drivers/sensor/rohm/bh1750/ |
D | bh1750.c | 132 chan != SENSOR_CHAN_LIGHT) { in bh1750_sample_fetch() 170 chan != SENSOR_CHAN_LIGHT) { in bh1750_channel_get()
|
/Zephyr-latest/drivers/sensor/ams/tsl2591/ |
D | tsl2591.c | 97 case SENSOR_CHAN_LIGHT: in tsl2591_sample_fetch() 122 bool vis_saturated = (chan == SENSOR_CHAN_ALL || chan == SENSOR_CHAN_LIGHT) && in tsl2591_sample_fetch() 163 case SENSOR_CHAN_LIGHT: in tsl2591_channel_get() 377 if (chan == SENSOR_CHAN_LIGHT) { in tsl2591_attr_set()
|
D | tsl2591_trigger.c | 92 if (trig->chan != SENSOR_CHAN_LIGHT) { in tsl2591_trigger_set()
|
/Zephyr-latest/samples/sensor/vcnl4040/src/ |
D | main.c | 36 if (sensor_channel_get(dev, SENSOR_CHAN_LIGHT, &val) < 0) { in print_als_data()
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | periphs.c | 67 SENSOR_CHAN_LIGHT, &val[0])) { in get_apds9960_val()
|
/Zephyr-latest/drivers/sensor/renesas/isl29035/ |
D | isl29035.h | 53 #define ISL29035_ACTIVE_CHAN SENSOR_CHAN_LIGHT
|
/Zephyr-latest/drivers/sensor/ams/tsl2561/ |
D | tsl2561.c | 141 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_LIGHT) { in tsl2561_sample_fetch() 190 if (chan != SENSOR_CHAN_ALL && chan != SENSOR_CHAN_LIGHT) { in tsl2561_channel_get()
|
/Zephyr-latest/tests/drivers/sensor/generic/src/ |
D | dummy_sensor.c | 40 case SENSOR_CHAN_LIGHT: in dummy_sensor_channel_get()
|
D | main.c | 32 { SENSOR_CHAN_LIGHT, { 0, 0 } },
|
/Zephyr-latest/drivers/sensor/ams/tcs3400/ |
D | tcs3400.c | 150 case SENSOR_CHAN_LIGHT: in tcs3400_channel_get()
|
/Zephyr-latest/drivers/sensor/apds9960/ |
D | apds9960.c | 126 case SENSOR_CHAN_LIGHT: in apds9960_channel_get()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 100 SENSOR_CHAN_LIGHT, enumerator
|