Home
last modified time | relevance | path

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

12

/linux/drivers/iio/light/
H A Dapds9160.c199 .type = IIO_PROXIMITY,
243 .type = IIO_PROXIMITY,
882 case IIO_PROXIMITY: in apds9160_read_avail()
893 case IIO_PROXIMITY: in apds9160_read_avail()
979 case IIO_PROXIMITY: { in apds9160_read_raw()
1022 case IIO_PROXIMITY: in apds9160_read_raw()
1035 case IIO_PROXIMITY: in apds9160_read_raw()
1044 case IIO_PROXIMITY: in apds9160_read_raw()
1074 case IIO_PROXIMITY: in apds9160_write_raw()
1083 case IIO_PROXIMITY: in apds9160_write_raw()
[all …]
H A Dadux1020.c373 case IIO_PROXIMITY: in adux1020_read_raw()
410 case IIO_PROXIMITY: in adux1020_read_raw()
460 if (chan->type == IIO_PROXIMITY) { in adux1020_write_raw()
521 case IIO_PROXIMITY: in adux1020_write_event_config()
569 case IIO_PROXIMITY: in adux1020_read_event_config()
598 case IIO_PROXIMITY: in adux1020_read_thresh()
627 case IIO_PROXIMITY: in adux1020_write_thresh()
661 .type = IIO_PROXIMITY,
711 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in adux1020_interrupt_handler()
719 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in adux1020_interrupt_handler()
H A Dvcnl4000.c930 case IIO_PROXIMITY: in vcnl4000_read_raw()
953 case IIO_PROXIMITY: in vcnl4000_read_raw()
964 case IIO_PROXIMITY: in vcnl4000_read_raw()
974 case IIO_PROXIMITY: in vcnl4000_read_raw()
1000 case IIO_PROXIMITY: in vcnl4040_write_raw()
1007 case IIO_PROXIMITY: in vcnl4040_write_raw()
1014 case IIO_PROXIMITY: in vcnl4040_write_raw()
1038 case IIO_PROXIMITY: in vcnl4040_read_avail()
1049 case IIO_PROXIMITY: in vcnl4040_read_avail()
1059 case IIO_PROXIMITY: in vcnl4040_read_avail()
[all …]
H A Dapds9960.c275 .type = IIO_PROXIMITY, \
302 .type = IIO_PROXIMITY,
527 case IIO_PROXIMITY: in apds9960_read_raw()
562 case IIO_PROXIMITY: in apds9960_read_raw()
607 case IIO_PROXIMITY: in apds9960_write_raw()
632 case IIO_PROXIMITY: in apds9960_get_thres_reg()
644 case IIO_PROXIMITY: in apds9960_get_thres_reg()
680 if (chan->type == IIO_PROXIMITY) { in apds9960_read_event()
716 if (chan->type == IIO_PROXIMITY) { in apds9960_write_event()
743 case IIO_PROXIMITY: in apds9960_read_event_config()
[all …]
H A Dltr501.c444 case IIO_PROXIMITY: in ltr501_read_intr_prst()
497 case IIO_PROXIMITY: in ltr501_write_intr_prst()
614 .type = IIO_PROXIMITY,
662 case IIO_PROXIMITY: in ltr501_read_info_raw()
719 case IIO_PROXIMITY: in ltr501_read_raw()
739 case IIO_PROXIMITY: in ltr501_read_raw()
783 case IIO_PROXIMITY: in __ltr501_write_raw()
834 case IIO_PROXIMITY: in __ltr501_write_raw()
909 case IIO_PROXIMITY: in ltr501_read_thresh()
972 case IIO_PROXIMITY: in ltr501_write_thresh()
[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 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.c363 case IIO_PROXIMITY: in isl29028_write_raw()
440 case IIO_PROXIMITY: in isl29028_read_raw()
453 if (chan->type != IIO_PROXIMITY) in isl29028_read_raw()
513 .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 Dstk3310.c178 .type = IIO_PROXIMITY,
352 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
407 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
587 event = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 1, in stk3310_irq_event_handler()
H A Dcm3605.c61 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, CM3605_PROX_CHANNEL, in cm3605_prox_irq()
144 .type = IIO_PROXIMITY,
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()
378 .type = IIO_PROXIMITY,
H A Djsa1212.c226 case IIO_PROXIMITY: in jsa1212_read_raw()
259 .type = IIO_PROXIMITY,
H A Dgp2ap020a00f.c846 IIO_PROXIMITY, in gp2ap020a00f_prox_sensing_handler()
854 IIO_PROXIMITY, in gp2ap020a00f_prox_sensing_handler()
999 case IIO_PROXIMITY: in gp2ap020a00f_get_thresh_reg()
1171 case IIO_PROXIMITY: in gp2ap020a00f_write_event_config()
1205 case IIO_PROXIMITY: in gp2ap020a00f_read_event_config()
1357 .type = IIO_PROXIMITY,
/linux/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_activity.c64 if (chan->type != IIO_PROXIMITY || mask != IIO_CHAN_INFO_RAW) in cros_ec_activity_sensors_read_raw()
92 if (chan->type != IIO_ACTIVITY && chan->type != IIO_PROXIMITY) in cros_ec_activity_read_event_config()
102 case IIO_PROXIMITY: in cros_ec_activity_read_event_config()
132 case IIO_PROXIMITY: in cros_ec_activity_write_event_config()
257 channel->type = IIO_PROXIMITY; in cros_ec_sensors_probe()
/linux/drivers/iio/proximity/
H A Dcros_ec_mkbp_proximity.c45 .type = IIO_PROXIMITY,
108 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in cros_ec_mkbp_proximity_push_event()
146 if (chan->type == IIO_PROXIMITY && mask == IIO_CHAN_INFO_RAW) in cros_ec_mkbp_proximity_read_raw()
H A Dsx9500.c108 .type = IIO_PROXIMITY, \
385 case IIO_PROXIMITY: in sx9500_read_raw()
434 case IIO_PROXIMITY: in sx9500_write_raw()
488 ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, chan, in sx9500_push_events()
529 if (chan->type != IIO_PROXIMITY || type != IIO_EV_TYPE_THRESH || in sx9500_read_event_config()
545 if (chan->type != IIO_PROXIMITY || type != IIO_EV_TYPE_THRESH || in sx9500_write_event_config()
H A Dsx9310.c138 .type = IIO_PROXIMITY, \
342 if (chan->type != IIO_PROXIMITY) in sx9310_read_raw()
374 if (chan->type != IIO_PROXIMITY) in sx9310_read_avail()
503 if (chan->type != IIO_PROXIMITY) in sx9310_read_event_val()
623 if (chan->type != IIO_PROXIMITY) in sx9310_write_event_val()
697 if (chan->type != IIO_PROXIMITY) in sx9310_write_raw()
H A Dsx9360.c128 .type = IIO_PROXIMITY,
148 .type = IIO_PROXIMITY,
365 if (chan->type != IIO_PROXIMITY) in sx9360_read_avail()
481 if (chan->type != IIO_PROXIMITY) in sx9360_read_event_val()
585 if (chan->type != IIO_PROXIMITY) in sx9360_write_event_val()
H A Daw96103.c195 .type = IIO_PROXIMITY, \
349 if (chan->type != IIO_PROXIMITY) in aw96103_read_event_val()
379 if (chan->type != IIO_PROXIMITY) in aw96103_write_event_val()
656 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, i, in aw96103_irq()
666 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, i, in aw96103_irq()
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 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 Dhx9023s.c241 .type = IIO_PROXIMITY, \
699 if (chan->type != IIO_PROXIMITY) in hx9023s_read_raw()
745 if (chan->type != IIO_PROXIMITY) in hx9023s_write_raw()
789 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, chan, in hx9023s_push_events()
815 if (chan->type != IIO_PROXIMITY) in hx9023s_read_event_val()
850 if (chan->type != IIO_PROXIMITY) in hx9023s_write_event_val()
/linux/tools/iio/
H A Diio_event_monitor.c38 [IIO_PROXIMITY] = "proximity",
166 case IIO_PROXIMITY: in event_is_known()

12