Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/iio/light/
Dtsl2583.c631 .type = IIO_LIGHT,
637 .type = IIO_LIGHT,
643 .type = IIO_LIGHT,
683 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
706 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
716 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
722 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
728 if (chan->type == IIO_LIGHT) { in tsl2583_read_raw()
772 if (chan->type == IIO_LIGHT) { in tsl2583_write_raw()
778 if (chan->type == IIO_LIGHT) { in tsl2583_write_raw()
[all …]
Dmax44000.c141 .type = IIO_LIGHT,
277 case IIO_LIGHT: in max44000_read_raw()
315 case IIO_LIGHT: in max44000_read_raw()
361 } else if (mask == IIO_CHAN_INFO_INT_TIME && chan->type == IIO_LIGHT) { in max44000_write_raw()
370 } else if (mask == IIO_CHAN_INFO_SCALE && chan->type == IIO_LIGHT) { in max44000_write_raw()
388 if (mask == IIO_CHAN_INFO_INT_TIME && chan->type == IIO_LIGHT) in max44000_write_raw_get_fmt()
390 else if (mask == IIO_CHAN_INFO_SCALE && chan->type == IIO_LIGHT) in max44000_write_raw_get_fmt()
Dstk3310.c141 .type = IIO_LIGHT,
314 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
319 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
335 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
346 if (chan->type == IIO_LIGHT) in stk3310_read_raw()
369 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
380 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
397 if (chan->type == IIO_LIGHT) in stk3310_write_raw()
Disl29018.c382 if (chan->type == IIO_LIGHT) { in isl29018_write_raw()
389 if (chan->type == IIO_LIGHT && !val) in isl29018_write_raw()
393 if (chan->type == IIO_LIGHT) in isl29018_write_raw()
424 case 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()
456 if (chan->type == IIO_LIGHT) { in isl29018_read_raw()
473 .type = IIO_LIGHT, \
Dacpi-als.c51 .type = IIO_LIGHT,
161 if (chan->type != IIO_LIGHT) in acpi_als_read_raw()
Dvcnl4000.c283 .type = IIO_LIGHT,
302 case IIO_LIGHT: in vcnl4000_read_raw()
316 if (chan->type != IIO_LIGHT) in vcnl4000_read_raw()
Djsa1212.c232 case IIO_LIGHT: in jsa1212_read_raw()
246 case IIO_LIGHT: in jsa1212_read_raw()
263 .type = IIO_LIGHT,
Dcm36651.c200 case IIO_LIGHT: in cm36651_read_output()
335 if (chan->type == IIO_LIGHT) in cm36651_read_channel()
362 case IIO_LIGHT: in cm36651_read_int_time()
401 case IIO_LIGHT: in cm36651_write_int_time()
568 .type = IIO_LIGHT, \
Dopt3001.c222 .type = IIO_LIGHT,
403 if (chan->type != IIO_LIGHT) in opt3001_read_raw()
434 if (chan->type != IIO_LIGHT) in opt3001_write_raw()
713 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in opt3001_irq()
719 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, 0, in opt3001_irq()
Disl29028.c398 case IIO_LIGHT: in isl29028_write_raw()
452 case IIO_LIGHT: in isl29028_read_raw()
479 if (chan->type != IIO_LIGHT) in isl29028_read_raw()
524 .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,
Dbh1780.c108 case IIO_LIGHT: in bh1780_read_raw()
137 .type = IIO_LIGHT,
Dtsl2772.c1135 case IIO_LIGHT: in tsl2772_read_raw()
1160 if (chan->type == IIO_LIGHT) in tsl2772_read_raw()
1299 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, in tsl2772_event_handler()
1408 .type = IIO_LIGHT,
1433 .type = IIO_LIGHT,
1482 .type = IIO_LIGHT,
1515 .type = IIO_LIGHT,
1576 .type = IIO_LIGHT,
1612 .type = IIO_LIGHT,
Dvl6180.c262 .type = IIO_LIGHT,
317 case IIO_LIGHT: in vl6180_read_raw()
429 if (chan->type != IIO_LIGHT) in vl6180_write_raw()
Dcros_ec_light_prox.c74 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read()
223 channel->type = IIO_LIGHT; in cros_ec_light_prox_probe()
Dcm3605.c114 case IIO_LIGHT: in cm3605_read_raw()
147 .type = IIO_LIGHT,
Dbh1750.c145 case IIO_LIGHT: in bh1750_read_raw()
227 .type = IIO_LIGHT,
Dgp2ap020a00f.c923 IIO_LIGHT, in gp2ap020a00f_thresh_event_handler()
937 IIO_LIGHT, in gp2ap020a00f_thresh_event_handler()
1009 case IIO_LIGHT: in gp2ap020a00f_get_thresh_reg()
1179 case IIO_LIGHT: in gp2ap020a00f_write_event_config()
1218 case IIO_LIGHT: in gp2ap020a00f_read_event_config()
1331 .type = IIO_LIGHT,
1348 .type = IIO_LIGHT,
Dpa12203001.c103 .type = IIO_LIGHT,
223 case IIO_LIGHT: in pa12203001_read_raw()
Dapds9300.c247 case IIO_LIGHT: in apds9300_read_raw()
367 .type = IIO_LIGHT,
Dal3320a.c69 .type = IIO_LIGHT,
Dtsl4531.c70 .type = IIO_LIGHT,
Dlm3533-als.c204 case IIO_LIGHT: in lm3533_als_read_raw()
239 .type = IIO_LIGHT,
266 IIO_UNMOD_EVENT_CODE(IIO_LIGHT, in lm3533_als_isr()
Dcm32181.c274 .type = IIO_LIGHT,
/linux-4.19.296/include/uapi/linux/iio/
Dtypes.h21 IIO_LIGHT, enumerator

12