Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/iio/light/
H A 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()
H A Dvcnl4000.c902 case IIO_PROXIMITY: in vcnl4000_read_raw()
924 case IIO_PROXIMITY: in vcnl4000_read_raw()
935 case IIO_PROXIMITY: in vcnl4000_read_raw()
945 case IIO_PROXIMITY: in vcnl4000_read_raw()
971 case IIO_PROXIMITY: in vcnl4040_write_raw()
1255 case IIO_PROXIMITY: in vcnl4040_read_event()
1321 case IIO_PROXIMITY: in vcnl4040_write_event()
1372 case IIO_PROXIMITY: in vcnl4010_read_event_config()
1428 case IIO_PROXIMITY: in vcnl4010_write_event_config()
1452 case IIO_PROXIMITY: in vcnl4040_read_event_config()
[all …]
H A Dapds9960.c257 .type = IIO_PROXIMITY, \
283 .type = IIO_PROXIMITY,
486 case IIO_PROXIMITY: in apds9960_read_raw()
521 case IIO_PROXIMITY: in apds9960_read_raw()
560 case IIO_PROXIMITY: in apds9960_write_raw()
581 case IIO_PROXIMITY: in apds9960_get_thres_reg()
593 case IIO_PROXIMITY: in apds9960_get_thres_reg()
629 if (chan->type == IIO_PROXIMITY) { in apds9960_read_event()
665 if (chan->type == IIO_PROXIMITY) { in apds9960_write_event()
692 case IIO_PROXIMITY: in apds9960_read_event_config()
[all …]
H A 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,
H A Dltr501.c448 case IIO_PROXIMITY: in ltr501_read_intr_prst()
501 case IIO_PROXIMITY: in ltr501_write_intr_prst()
693 case IIO_PROXIMITY: in ltr501_read_raw()
718 case IIO_PROXIMITY: in ltr501_read_raw()
738 case IIO_PROXIMITY: in ltr501_read_raw()
789 case IIO_PROXIMITY: in ltr501_write_raw()
846 case IIO_PROXIMITY: in ltr501_write_raw()
911 case IIO_PROXIMITY: in ltr501_read_thresh()
974 case IIO_PROXIMITY: in ltr501_write_thresh()
1065 case IIO_PROXIMITY: in ltr501_read_event_config()
[all …]
H A 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,
H A Disl29028.c368 case IIO_PROXIMITY: in isl29028_write_raw()
445 case IIO_PROXIMITY: in isl29028_read_raw()
458 if (chan->type != IIO_PROXIMITY) in isl29028_read_raw()
518 .type = IIO_PROXIMITY,
H A Dtsl2772.c1257 case IIO_PROXIMITY: in tsl2772_read_raw()
1397 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, in tsl2772_event_handler()
1567 .type = IIO_PROXIMITY,
1577 .type = IIO_PROXIMITY,
1612 .type = IIO_PROXIMITY,
1643 .type = IIO_PROXIMITY,
1655 .type = IIO_PROXIMITY,
1668 .type = IIO_PROXIMITY,
1706 .type = IIO_PROXIMITY,
1740 .type = IIO_PROXIMITY,
H A Dcros_ec_light_prox.c53 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read()
215 channel->type = IIO_PROXIMITY; in cros_ec_light_prox_probe()
H A Dcm3605.c61 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, CM3605_PROX_CHANNEL, in cm3605_prox_irq()
144 .type = IIO_PROXIMITY,
H A Dstk3310.c167 .type = IIO_PROXIMITY,
334 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
389 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
573 event = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 1, in stk3310_irq_event_handler()
H A 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,
H A Djsa1212.c227 case IIO_PROXIMITY: in jsa1212_read_raw()
260 .type = IIO_PROXIMITY,
H A Dsi1145.c572 cmd = (chan->type == IIO_PROXIMITY) ? SI1145_CMD_PS_FORCE : in si1145_measure()
633 case IIO_PROXIMITY: in si1145_read_raw()
664 case IIO_PROXIMITY: in si1145_read_raw()
731 case IIO_PROXIMITY: in si1145_write_raw()
851 .type = IIO_PROXIMITY, \
H A 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,
H A Dpa12203001.c106 .type = IIO_PROXIMITY,
238 case IIO_PROXIMITY: in pa12203001_read_raw()
/openbmc/linux/drivers/iio/proximity/
H A Dcros_ec_mkbp_proximity.c45 .type = IIO_PROXIMITY,
113 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in cros_ec_mkbp_proximity_push_event()
151 if (chan->type == IIO_PROXIMITY && mask == IIO_CHAN_INFO_RAW) in cros_ec_mkbp_proximity_read_raw()
H A Dvcnl3020.c455 case IIO_PROXIMITY: in vcnl3020_write_event_config()
470 case IIO_PROXIMITY: in vcnl3020_read_event_config()
495 .type = IIO_PROXIMITY,
591 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 1, in vcnl3020_handle_irq_thread()
H A Dsx9310.c138 .type = IIO_PROXIMITY, \
337 if (chan->type != IIO_PROXIMITY) in sx9310_read_raw()
371 if (chan->type != IIO_PROXIMITY) in sx9310_read_avail()
500 if (chan->type != IIO_PROXIMITY) in sx9310_read_event_val()
632 if (chan->type != IIO_PROXIMITY) in sx9310_write_event_val()
715 if (chan->type != IIO_PROXIMITY) in sx9310_write_raw()
H A 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()
H A Dsx9360.c129 .type = IIO_PROXIMITY,
149 .type = IIO_PROXIMITY,
368 if (chan->type != IIO_PROXIMITY) in sx9360_read_avail()
488 if (chan->type != IIO_PROXIMITY) in sx9360_read_event_val()
607 if (chan->type != IIO_PROXIMITY) in sx9360_write_event_val()
H A 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()
H A Dsx9324.c210 .type = IIO_PROXIMITY, \
465 if (chan->type != IIO_PROXIMITY) in sx9324_read_avail()
600 if (chan->type != IIO_PROXIMITY) in sx9324_read_event_val()
723 if (chan->type != IIO_PROXIMITY) in sx9324_write_event_val()
/openbmc/linux/include/uapi/linux/iio/
H A Dtypes.h23 IIO_PROXIMITY, enumerator
/openbmc/linux/tools/iio/
H A Diio_event_monitor.c38 [IIO_PROXIMITY] = "proximity",
152 case IIO_PROXIMITY: in event_is_known()

12