Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/iio/light/
H A 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()
H A Dtsl2583.c622 .type = IIO_LIGHT,
628 .type = IIO_LIGHT,
634 .type = IIO_LIGHT,
674 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
697 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
707 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
713 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
719 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 …]
H A 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()
H A Dstk3310.c140 .type = IIO_LIGHT,
313 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
318 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
334 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
345 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
368 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
379 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
396 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
H A 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, \
H A 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,
H A Dnoa1305.c122 .type = IIO_LIGHT,
138 case IIO_LIGHT: in noa1305_read_raw()
150 case IIO_LIGHT: in noa1305_read_raw()
H A 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()
H A 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, \
H A Dacpi-als.c38 .type = IIO_LIGHT,
148 if (chan->type != IIO_LIGHT) in acpi_als_read_raw()
H A Djsa1212.c224 case IIO_LIGHT: in jsa1212_read_raw()
238 case IIO_LIGHT: in jsa1212_read_raw()
255 .type = IIO_LIGHT,
H A 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()
H A 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,
H A 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,
H A 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,
H A Dbh1780.c109 case IIO_LIGHT: in bh1780_read_raw()
138 .type = IIO_LIGHT,
H A 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,
H A Dcm3605.c115 case IIO_LIGHT: in cm3605_read_raw()
148 .type = IIO_LIGHT,
H A Dcros_ec_light_prox.c64 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read()
211 channel->type = IIO_LIGHT; in cros_ec_light_prox_probe()
H A Dbh1750.c142 case IIO_LIGHT: in bh1750_read_raw()
224 .type = IIO_LIGHT,
H A Dpa12203001.c101 .type = IIO_LIGHT,
221 case IIO_LIGHT: in pa12203001_read_raw()
/OK3568_Linux_fs/kernel/tools/iio/
H A Diio_event_monitor.c35 [IIO_LIGHT] = "illuminance",
156 case IIO_LIGHT: in event_is_known()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/iio/
H A Dtypes.h21 IIO_LIGHT, enumerator
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/iio/
H A Dtypes.h21 IIO_LIGHT, enumerator
/OK3568_Linux_fs/kernel/include/uapi/linux/iio/
H A Dtypes.h21 IIO_LIGHT, enumerator

12