Home
last modified time | relevance | path

Searched refs:IIO_LIGHT (Results 1 – 25 of 44) sorted by relevance

12

/linux-6.1.9/drivers/iio/light/
Dmax44009.c101 .type = IIO_LIGHT,
156 if (mask == IIO_CHAN_INFO_INT_TIME && chan->type == IIO_LIGHT) { in max44009_write_raw()
257 case IIO_LIGHT: in max44009_read_raw()
271 case IIO_LIGHT: in max44009_read_raw()
348 if (info != IIO_EV_INFO_VALUE || chan->type != IIO_LIGHT) in max44009_write_event_value()
407 if (chan->type != IIO_LIGHT || type != IIO_EV_TYPE_THRESH) in max44009_read_event_value()
430 if (chan->type != IIO_LIGHT || type != IIO_EV_TYPE_THRESH) in max44009_write_event_config()
453 if (chan->type != IIO_LIGHT || type != IIO_EV_TYPE_THRESH) in max44009_read_event_config()
479 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in max44009_threaded_irq_handler()
Dtsl2583.c622 .type = IIO_LIGHT,
628 .type = IIO_LIGHT,
634 .type = IIO_LIGHT,
672 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
695 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
705 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
711 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
717 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
763 if (chan->type == IIO_LIGHT) { in tsl2583_write_raw()
769 if (chan->type == IIO_LIGHT) { in tsl2583_write_raw()
[all …]
Dmax44000.c137 .type = IIO_LIGHT,
273 case IIO_LIGHT: in max44000_read_raw()
311 case IIO_LIGHT: in max44000_read_raw()
357 } else if (mask == IIO_CHAN_INFO_INT_TIME && chan->type == IIO_LIGHT) { in max44000_write_raw()
366 } else if (mask == IIO_CHAN_INFO_SCALE && chan->type == IIO_LIGHT) { in max44000_write_raw()
384 if (mask == IIO_CHAN_INFO_INT_TIME && chan->type == IIO_LIGHT) in max44000_write_raw_get_fmt()
386 else if (mask == IIO_CHAN_INFO_SCALE && chan->type == IIO_LIGHT) in max44000_write_raw_get_fmt()
Disl29018.c375 if (chan->type == IIO_LIGHT) { in isl29018_write_raw()
382 if (chan->type == IIO_LIGHT && !val) in isl29018_write_raw()
386 if (chan->type == IIO_LIGHT) in isl29018_write_raw()
417 case IIO_LIGHT: in isl29018_read_raw()
435 if (chan->type == IIO_LIGHT) { in isl29018_read_raw()
442 if (chan->type == IIO_LIGHT) { in isl29018_read_raw()
449 if (chan->type == IIO_LIGHT) { in isl29018_read_raw()
466 .type = IIO_LIGHT, \
Dstk3310.c160 .type = IIO_LIGHT,
334 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
339 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
355 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
366 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
389 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
400 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
417 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
Diqs621-als.c137 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in iqs621_als_notifier()
143 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in iqs621_als_notifier()
224 case IIO_LIGHT: in iqs621_als_read_raw()
249 case IIO_LIGHT: in iqs621_als_read_event_config()
289 case IIO_LIGHT: in iqs621_als_write_event_config()
498 .type = IIO_LIGHT,
Dnoa1305.c122 .type = IIO_LIGHT,
138 case IIO_LIGHT: in noa1305_read_raw()
150 case IIO_LIGHT: in noa1305_read_raw()
Dveml6030.c187 .type = IIO_LIGHT,
518 case IIO_LIGHT: in veml6030_read_raw()
548 if (chan->type == IIO_LIGHT) in veml6030_read_raw()
552 if (chan->type == IIO_LIGHT) in veml6030_read_raw()
567 case IIO_LIGHT: in veml6030_write_raw()
574 case IIO_LIGHT: in veml6030_write_raw()
Dcm36651.c197 case IIO_LIGHT: in cm36651_read_output()
332 if (chan->type == IIO_LIGHT) in cm36651_read_channel()
359 case IIO_LIGHT: in cm36651_read_int_time()
398 case IIO_LIGHT: in cm36651_write_int_time()
565 .type = IIO_LIGHT, \
Djsa1212.c224 case IIO_LIGHT: in jsa1212_read_raw()
238 case IIO_LIGHT: in jsa1212_read_raw()
255 .type = IIO_LIGHT,
Dacpi-als.c39 .type = IIO_LIGHT,
134 if (chan->type != IIO_LIGHT) in acpi_als_read_raw()
Dopt3001.c215 .type = IIO_LIGHT,
396 if (chan->type != IIO_LIGHT) in opt3001_read_raw()
427 if (chan->type != IIO_LIGHT) in opt3001_write_raw()
706 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in opt3001_irq()
712 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in opt3001_irq()
Disl29028.c385 case IIO_LIGHT: in isl29028_write_raw()
439 case IIO_LIGHT: in isl29028_read_raw()
466 if (chan->type != IIO_LIGHT) in isl29028_read_raw()
511 .type = IIO_LIGHT,
Dlv0104cs.c233 if (chan->type != IIO_LIGHT) in lv0104cs_read_raw()
375 if (chan->type != IIO_LIGHT) in lv0104cs_write_raw()
469 .type = IIO_LIGHT,
Dvl6180.c260 .type = IIO_LIGHT,
315 case IIO_LIGHT: in vl6180_read_raw()
427 if (chan->type != IIO_LIGHT) in vl6180_write_raw()
Dbh1780.c109 case IIO_LIGHT: in bh1780_read_raw()
138 .type = IIO_LIGHT,
Dcros_ec_light_prox.c65 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read()
208 channel->type = IIO_LIGHT; in cros_ec_light_prox_probe()
Dtsl2772.c1240 case IIO_LIGHT: in tsl2772_read_raw()
1265 if (chan->type == IIO_LIGHT) in tsl2772_read_raw()
1405 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, in tsl2772_event_handler()
1514 .type = IIO_LIGHT,
1539 .type = IIO_LIGHT,
1588 .type = IIO_LIGHT,
1621 .type = IIO_LIGHT,
1682 .type = IIO_LIGHT,
1718 .type = IIO_LIGHT,
Dcm3605.c116 case IIO_LIGHT: in cm3605_read_raw()
149 .type = IIO_LIGHT,
Dgp2ap020a00f.c920 IIO_LIGHT, in gp2ap020a00f_thresh_event_handler()
934 IIO_LIGHT, in gp2ap020a00f_thresh_event_handler()
1006 case IIO_LIGHT: in gp2ap020a00f_get_thresh_reg()
1176 case IIO_LIGHT: in gp2ap020a00f_write_event_config()
1215 case IIO_LIGHT: in gp2ap020a00f_read_event_config()
1328 .type = IIO_LIGHT,
1345 .type = IIO_LIGHT,
Dbh1750.c142 case IIO_LIGHT: in bh1750_read_raw()
224 .type = IIO_LIGHT,
Dpa12203001.c101 .type = IIO_LIGHT,
219 case IIO_LIGHT: in pa12203001_read_raw()
Dtsl2591.c469 case IIO_LIGHT: in tsl2591_read_channel_data()
703 .type = IIO_LIGHT,
738 if (chan->type != IIO_LIGHT) { in tsl2591_read_raw()
1065 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in tsl2591_event_handler()
/linux-6.1.9/include/uapi/linux/iio/
Dtypes.h21 IIO_LIGHT, enumerator
/linux-6.1.9/tools/iio/
Diio_event_monitor.c36 [IIO_LIGHT] = "illuminance",
150 case IIO_LIGHT: in event_is_known()

12