Home
last modified time | relevance | path

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

12

/linux/drivers/iio/light/
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()
A Dapds9960.c253 .type = IIO_PROXIMITY, \
279 .type = IIO_PROXIMITY,
482 case IIO_PROXIMITY: in apds9960_read_raw()
517 case IIO_PROXIMITY: in apds9960_read_raw()
556 case IIO_PROXIMITY: in apds9960_write_raw()
577 case IIO_PROXIMITY: in apds9960_get_thres_reg()
589 case IIO_PROXIMITY: in apds9960_get_thres_reg()
625 if (chan->type == IIO_PROXIMITY) { in apds9960_read_event()
661 if (chan->type == IIO_PROXIMITY) { in apds9960_write_event()
688 case IIO_PROXIMITY: in apds9960_read_event_config()
[all …]
A Dltr501.c447 case IIO_PROXIMITY: in ltr501_read_intr_prst()
500 case IIO_PROXIMITY: in ltr501_write_intr_prst()
672 case IIO_PROXIMITY: in ltr501_read_raw()
697 case IIO_PROXIMITY: in ltr501_read_raw()
717 case IIO_PROXIMITY: in ltr501_read_raw()
768 case IIO_PROXIMITY: in ltr501_write_raw()
825 case IIO_PROXIMITY: in ltr501_write_raw()
890 case IIO_PROXIMITY: in ltr501_read_thresh()
953 case IIO_PROXIMITY: in ltr501_write_thresh()
1044 case IIO_PROXIMITY: in ltr501_read_event_config()
[all …]
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,
A Dvcnl4000.c444 case IIO_PROXIMITY: in vcnl4000_read_raw()
492 case IIO_PROXIMITY: in vcnl4010_read_raw()
562 case IIO_PROXIMITY: in vcnl4010_write_raw()
664 case IIO_PROXIMITY: in vcnl4010_read_event_config()
720 case IIO_PROXIMITY: in vcnl4010_write_event_config()
768 .type = IIO_PROXIMITY,
781 .type = IIO_PROXIMITY,
877 IIO_PROXIMITY, in vcnl4010_irq_thread()
887 IIO_PROXIMITY, in vcnl4010_irq_thread()
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,
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,
A 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,
A 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()
552 event = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 1, in stk3310_irq_event_handler()
A Dcm3605.c60 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, CM3605_PROX_CHANNEL, in cm3605_prox_irq()
143 .type = IIO_PROXIMITY,
A Dcros_ec_light_prox.c52 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read()
217 channel->type = IIO_PROXIMITY; in cros_ec_light_prox_probe()
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,
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,
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, \
A Djsa1212.c227 case IIO_PROXIMITY: in jsa1212_read_raw()
260 .type = IIO_PROXIMITY,
A Dpa12203001.c106 .type = IIO_PROXIMITY,
238 case IIO_PROXIMITY: in pa12203001_read_raw()
A Dmax44000.c149 .type = IIO_PROXIMITY,
282 case IIO_PROXIMITY: in max44000_read_raw()
A Drpr0521.c245 .type = IIO_PROXIMITY,
639 case IIO_PROXIMITY: in rpr0521_read_samp_freq()
731 if (chan->type != IIO_INTENSITY && chan->type != IIO_PROXIMITY) in rpr0521_read_raw()
/linux/drivers/iio/proximity/
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()
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()
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()
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()
A Dsx9310.c193 .type = IIO_PROXIMITY, \
522 if (chan->type != IIO_PROXIMITY) in sx9310_read_raw()
556 if (chan->type != IIO_PROXIMITY) in sx9310_read_avail()
680 if (chan->type != IIO_PROXIMITY) in sx9310_read_event_val()
812 if (chan->type != IIO_PROXIMITY) in sx9310_write_event_val()
895 if (chan->type != IIO_PROXIMITY) in sx9310_write_raw()
950 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, chan, in sx9310_push_events()
/linux/tools/iio/
A Diio_event_monitor.c38 [IIO_PROXIMITY] = "proximity",
142 case IIO_PROXIMITY: in event_is_known()
/linux/include/uapi/linux/iio/
A Dtypes.h23 IIO_PROXIMITY, enumerator

Completed in 62 milliseconds

12