Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/iio/light/
H A Dapds9160.c884 case IIO_PROXIMITY: in apds9160_read_avail()
895 case IIO_PROXIMITY: in apds9160_read_avail()
1024 case IIO_PROXIMITY: in apds9160_read_raw()
1037 case IIO_PROXIMITY: in apds9160_read_raw()
1046 case IIO_PROXIMITY: in apds9160_read_raw()
1076 case IIO_PROXIMITY: in apds9160_write_raw()
1085 case IIO_PROXIMITY: in apds9160_write_raw()
1096 case IIO_PROXIMITY: in apds9160_write_raw()
1121 case IIO_PROXIMITY: in apds9160_get_thres_reg()
1239 case IIO_PROXIMITY: in apds9160_read_event_config()
[all …]
H A Dadux1020.c374 case IIO_PROXIMITY: in adux1020_read_raw()
411 case IIO_PROXIMITY: in adux1020_read_raw()
461 if (chan->type == IIO_PROXIMITY) { in adux1020_write_raw()
522 case IIO_PROXIMITY: in adux1020_write_event_config()
570 case IIO_PROXIMITY: in adux1020_read_event_config()
599 case IIO_PROXIMITY: in adux1020_read_thresh()
628 case IIO_PROXIMITY: in adux1020_write_thresh()
662 .type = IIO_PROXIMITY,
712 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in adux1020_interrupt_handler()
720 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 0, in adux1020_interrupt_handler()
H A Dvcnl4000.c935 case IIO_PROXIMITY: in vcnl4000_read_raw()
958 case IIO_PROXIMITY: in vcnl4000_read_raw()
969 case IIO_PROXIMITY: in vcnl4000_read_raw()
979 case IIO_PROXIMITY: in vcnl4000_read_raw()
1005 case IIO_PROXIMITY: in vcnl4040_write_raw()
1289 case IIO_PROXIMITY: in vcnl4040_read_event()
1355 case IIO_PROXIMITY: in vcnl4040_write_event()
1406 case IIO_PROXIMITY: in vcnl4010_read_event_config()
1462 case IIO_PROXIMITY: in vcnl4010_write_event_config()
1486 case IIO_PROXIMITY: in vcnl4040_read_event_config()
[all …]
H A Dapds9960.c276 .type = IIO_PROXIMITY, \
303 .type = IIO_PROXIMITY,
529 case IIO_PROXIMITY: in apds9960_read_raw()
564 case IIO_PROXIMITY: in apds9960_read_raw()
609 case IIO_PROXIMITY: in apds9960_write_raw()
634 case IIO_PROXIMITY: in apds9960_get_thres_reg()
646 case IIO_PROXIMITY: in apds9960_get_thres_reg()
682 if (chan->type == IIO_PROXIMITY) { in apds9960_read_event()
718 if (chan->type == IIO_PROXIMITY) { in apds9960_write_event()
745 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.c180 .type = IIO_PROXIMITY,
354 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_read_raw()
409 if (chan->type != IIO_LIGHT && chan->type != IIO_PROXIMITY) in stk3310_write_raw()
589 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.c571 cmd = (chan->type == IIO_PROXIMITY) ? SI1145_CMD_PS_FORCE : in si1145_measure()
632 case IIO_PROXIMITY: in si1145_read_raw()
663 case IIO_PROXIMITY: in si1145_read_raw()
730 case IIO_PROXIMITY: in si1145_write_raw()
850 .type = IIO_PROXIMITY, \
/linux-6.15/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 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 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 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 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 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 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()
743 if (chan->type != IIO_PROXIMITY) in hx9023s_write_raw()
787 IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, chan, in hx9023s_push_events()
813 if (chan->type != IIO_PROXIMITY) in hx9023s_read_event_val()
848 if (chan->type != IIO_PROXIMITY) in hx9023s_write_event_val()
/linux-6.15/include/uapi/linux/iio/
H A Dtypes.h23 IIO_PROXIMITY, enumerator
/linux-6.15/tools/iio/
H A Diio_event_monitor.c38 [IIO_PROXIMITY] = "proximity",
161 case IIO_PROXIMITY: in event_is_known()

12