Home
last modified time | relevance | path

Searched refs:IIO_PROXIMITY (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/drivers/iio/light/
Dadux1020.c375 case IIO_PROXIMITY: in adux1020_read_raw()
412 case IIO_PROXIMITY: in adux1020_read_raw()
462 if (chan->type == IIO_PROXIMITY) { in adux1020_write_raw()
522 case IIO_PROXIMITY: in adux1020_write_event_config()
572 case IIO_PROXIMITY: in adux1020_read_event_config()
601 case IIO_PROXIMITY: in adux1020_read_thresh()
630 case IIO_PROXIMITY: in adux1020_write_thresh()
664 .type = IIO_PROXIMITY,
714 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in adux1020_interrupt_handler()
722 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in adux1020_interrupt_handler()
Dapds9960.c252 .type = IIO_PROXIMITY, \
278 .type = IIO_PROXIMITY,
481 case IIO_PROXIMITY: in apds9960_read_raw()
516 case IIO_PROXIMITY: in apds9960_read_raw()
555 case IIO_PROXIMITY: in apds9960_write_raw()
576 case IIO_PROXIMITY: in apds9960_get_thres_reg()
588 case IIO_PROXIMITY: in apds9960_get_thres_reg()
624 if (chan->type == IIO_PROXIMITY) { in apds9960_read_event()
660 if (chan->type == IIO_PROXIMITY) { in apds9960_write_event()
687 case IIO_PROXIMITY: in apds9960_read_event_config()
[all …]
Diqs621-als.c171 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in iqs621_als_notifier()
177 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in iqs621_als_notifier()
223 case IIO_PROXIMITY: in iqs621_als_read_raw()
257 case IIO_PROXIMITY: in iqs621_als_read_event_config()
307 case IIO_PROXIMITY: in iqs621_als_write_event_config()
533 .type = IIO_PROXIMITY,
Dltr501.c441 case IIO_PROXIMITY: in ltr501_read_intr_prst()
494 case IIO_PROXIMITY: in ltr501_write_intr_prst()
592 .type = IIO_PROXIMITY,
666 case IIO_PROXIMITY: in ltr501_read_raw()
691 case IIO_PROXIMITY: in ltr501_read_raw()
711 case IIO_PROXIMITY: in ltr501_read_raw()
762 case IIO_PROXIMITY: in ltr501_write_raw()
819 case IIO_PROXIMITY: in ltr501_write_raw()
884 case IIO_PROXIMITY: in ltr501_read_thresh()
947 case IIO_PROXIMITY: in ltr501_write_thresh()
[all …]
Dvcnl4000.c446 case IIO_PROXIMITY: in vcnl4000_read_raw()
494 case IIO_PROXIMITY: in vcnl4010_read_raw()
564 case IIO_PROXIMITY: in vcnl4010_write_raw()
666 case IIO_PROXIMITY: in vcnl4010_read_event_config()
722 case IIO_PROXIMITY: in vcnl4010_write_event_config()
770 .type = IIO_PROXIMITY,
783 .type = IIO_PROXIMITY,
879 IIO_PROXIMITY, in vcnl4010_irq_thread()
889 IIO_PROXIMITY, in vcnl4010_irq_thread()
Dcm36651.c209 case IIO_PROXIMITY: in cm36651_read_output()
264 ev_code = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, in cm36651_irq_handler()
334 else if (chan->type == IIO_PROXIMITY) in cm36651_read_channel()
371 case IIO_PROXIMITY: in cm36651_read_int_time()
418 case IIO_PROXIMITY: in cm36651_write_int_time()
584 .type = IIO_PROXIMITY,
Disl29028.c370 case IIO_PROXIMITY: in isl29028_write_raw()
447 case IIO_PROXIMITY: in isl29028_read_raw()
460 if (chan->type != IIO_PROXIMITY) in isl29028_read_raw()
520 .type = IIO_PROXIMITY,
Dtsl2772.c1261 case IIO_PROXIMITY: in tsl2772_read_raw()
1401 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, in tsl2772_event_handler()
1571 .type = IIO_PROXIMITY,
1581 .type = IIO_PROXIMITY,
1616 .type = IIO_PROXIMITY,
1647 .type = IIO_PROXIMITY,
1659 .type = IIO_PROXIMITY,
1672 .type = IIO_PROXIMITY,
1710 .type = IIO_PROXIMITY,
1744 .type = IIO_PROXIMITY,
Dstk3310.c147 .type = IIO_PROXIMITY,
313 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
368 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
553 event = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 1, in stk3310_irq_event_handler()
Dcm3605.c60 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, CM3605_PROX_CHANNEL, in cm3605_prox_irq()
143 .type = IIO_PROXIMITY,
Dcros_ec_light_prox.c52 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read()
218 channel->type = IIO_PROXIMITY; in cros_ec_light_prox_probe()
Dgp2ap002.c178 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, GP2AP002_PROX_CHANNEL, in gp2ap002_prox_irq()
188 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, GP2AP002_PROX_CHANNEL, in gp2ap002_prox_irq()
380 .type = IIO_PROXIMITY,
Djsa1212.c227 case IIO_PROXIMITY: in jsa1212_read_raw()
260 .type = IIO_PROXIMITY,
Dsi1145.c573 cmd = (chan->type == IIO_PROXIMITY) ? SI1145_CMD_PS_FORCE : in si1145_measure()
634 case IIO_PROXIMITY: in si1145_read_raw()
665 case IIO_PROXIMITY: in si1145_read_raw()
732 case IIO_PROXIMITY: in si1145_write_raw()
852 .type = IIO_PROXIMITY, \
Dgp2ap020a00f.c847 IIO_PROXIMITY, in gp2ap020a00f_prox_sensing_handler()
855 IIO_PROXIMITY, in gp2ap020a00f_prox_sensing_handler()
1001 case IIO_PROXIMITY: in gp2ap020a00f_get_thresh_reg()
1173 case IIO_PROXIMITY: in gp2ap020a00f_write_event_config()
1207 case IIO_PROXIMITY: in gp2ap020a00f_read_event_config()
1360 .type = IIO_PROXIMITY,
Dpa12203001.c106 .type = IIO_PROXIMITY,
240 case IIO_PROXIMITY: in pa12203001_read_raw()
Dmax44000.c149 .type = IIO_PROXIMITY,
282 case IIO_PROXIMITY: in max44000_read_raw()
Drpr0521.c234 .type = IIO_PROXIMITY,
633 case IIO_PROXIMITY: in rpr0521_read_samp_freq()
725 if (chan->type != IIO_INTENSITY && chan->type != IIO_PROXIMITY) in rpr0521_read_raw()
Disl29018.c423 case IIO_PROXIMITY: in isl29018_read_raw()
483 .type = IIO_PROXIMITY, \
/Linux-v5.10/drivers/iio/proximity/
Dsx9500.c110 .type = IIO_PROXIMITY, \
387 case IIO_PROXIMITY: in sx9500_read_raw()
437 case IIO_PROXIMITY: in sx9500_write_raw()
491 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, chan, in sx9500_push_events()
532 if (chan->type != IIO_PROXIMITY || type != IIO_EV_TYPE_THRESH || in sx9500_read_event_config()
548 if (chan->type != IIO_PROXIMITY || type != IIO_EV_TYPE_THRESH || in sx9500_write_event_config()
Disl29501.c492 .type = IIO_PROXIMITY,
619 case IIO_PROXIMITY: in isl29501_get_raw()
664 case IIO_PROXIMITY: in isl29501_get_scale()
718 case IIO_PROXIMITY: in isl29501_get_calibbias()
851 case IIO_PROXIMITY: in isl29501_set_calibbias()
Dsx9310.c154 .type = IIO_PROXIMITY, \
452 if (chan->type != IIO_PROXIMITY) in sx9310_read_raw()
501 if (chan->type != IIO_PROXIMITY) in sx9310_write_raw()
552 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, chan, in sx9310_push_events()
Dvcnl3020.c170 .type = IIO_PROXIMITY,
/Linux-v5.10/tools/iio/
Diio_event_monitor.c37 [IIO_PROXIMITY] = "proximity",
141 case IIO_PROXIMITY: in event_is_known()
/Linux-v5.10/include/uapi/linux/iio/
Dtypes.h23 IIO_PROXIMITY, enumerator

12