Home
last modified time | relevance | path

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

12

/Linux-v5.4/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.c614 .type = IIO_LIGHT,
620 .type = IIO_LIGHT,
626 .type = IIO_LIGHT,
666 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
689 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
699 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()
755 if (chan->type == IIO_LIGHT) { in tsl2583_write_raw()
761 if (chan->type == IIO_LIGHT) { in tsl2583_write_raw()
[all …]
Dmax44000.c132 .type = IIO_LIGHT,
268 case IIO_LIGHT: in max44000_read_raw()
306 case IIO_LIGHT: in max44000_read_raw()
352 } else if (mask == IIO_CHAN_INFO_INT_TIME && chan->type == IIO_LIGHT) { in max44000_write_raw()
361 } else if (mask == IIO_CHAN_INFO_SCALE && chan->type == IIO_LIGHT) { in max44000_write_raw()
379 if (mask == IIO_CHAN_INFO_INT_TIME && chan->type == IIO_LIGHT) in max44000_write_raw_get_fmt()
381 else if (mask == IIO_CHAN_INFO_SCALE && chan->type == IIO_LIGHT) in max44000_write_raw_get_fmt()
Dstk3310.c139 .type = IIO_LIGHT,
312 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
317 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
333 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
344 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
367 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
378 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
395 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
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, \
Dnoa1305.c122 .type = IIO_LIGHT,
138 case IIO_LIGHT: in noa1305_read_raw()
150 case IIO_LIGHT: in noa1305_read_raw()
Dacpi-als.c38 .type = IIO_LIGHT,
148 if (chan->type != IIO_LIGHT) in acpi_als_read_raw()
Djsa1212.c224 case IIO_LIGHT: in jsa1212_read_raw()
238 case IIO_LIGHT: in jsa1212_read_raw()
255 .type = IIO_LIGHT,
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, \
Dvcnl4000.c316 .type = IIO_LIGHT,
335 case IIO_LIGHT: in vcnl4000_read_raw()
349 if (chan->type != IIO_LIGHT) in vcnl4000_read_raw()
Dopt3001.c214 .type = IIO_LIGHT,
395 if (chan->type != IIO_LIGHT) in opt3001_read_raw()
426 if (chan->type != IIO_LIGHT) in opt3001_write_raw()
705 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in opt3001_irq()
711 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in opt3001_irq()
Disl29028.c387 case IIO_LIGHT: in isl29028_write_raw()
441 case IIO_LIGHT: in isl29028_read_raw()
468 if (chan->type != IIO_LIGHT) in isl29028_read_raw()
513 .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.c259 .type = IIO_LIGHT,
314 case IIO_LIGHT: in vl6180_read_raw()
426 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()
213 channel->type = IIO_LIGHT; in cros_ec_light_prox_probe()
Dcm3605.c115 case IIO_LIGHT: in cm3605_read_raw()
148 .type = IIO_LIGHT,
Dtsl2772.c1245 case IIO_LIGHT: in tsl2772_read_raw()
1270 if (chan->type == IIO_LIGHT) in tsl2772_read_raw()
1410 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, in tsl2772_event_handler()
1519 .type = IIO_LIGHT,
1544 .type = IIO_LIGHT,
1593 .type = IIO_LIGHT,
1626 .type = IIO_LIGHT,
1687 .type = IIO_LIGHT,
1723 .type = IIO_LIGHT,
Dbh1750.c142 case IIO_LIGHT: in bh1750_read_raw()
224 .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,
Dpa12203001.c101 .type = IIO_LIGHT,
221 case IIO_LIGHT: in pa12203001_read_raw()
Dapds9300.c244 case IIO_LIGHT: in apds9300_read_raw()
364 .type = IIO_LIGHT,
Dal3320a.c65 .type = IIO_LIGHT,
/Linux-v5.4/tools/iio/
Diio_event_monitor.c35 [IIO_LIGHT] = "illuminance",
138 case IIO_LIGHT: in event_is_known()
/Linux-v5.4/include/uapi/linux/iio/
Dtypes.h21 IIO_LIGHT, enumerator

12