| /linux/drivers/iio/temperature/ |
| H A D | tmp007.c | 187 IIO_EV_DIR_RISING), in tmp007_interrupt_handler() 203 IIO_EV_DIR_RISING), in tmp007_interrupt_handler() 227 if (dir == IIO_EV_DIR_RISING) in tmp007_write_event_config() 233 if (dir == IIO_EV_DIR_RISING) in tmp007_write_event_config() 266 if (dir == IIO_EV_DIR_RISING) in tmp007_read_event_config() 272 if (dir == IIO_EV_DIR_RISING) in tmp007_read_event_config() 295 if (dir == IIO_EV_DIR_RISING) in tmp007_read_thresh() 301 if (dir == IIO_EV_DIR_RISING) in tmp007_read_thresh() 330 if (dir == IIO_EV_DIR_RISING) in tmp007_write_thresh() 336 if (dir == IIO_EV_DIR_RISING) in tmp007_write_thresh() [all …]
|
| H A D | mcp9600.c | 100 .dir = IIO_EV_DIR_RISING, 227 if (dir == IIO_EV_DIR_RISING) in mcp9600_get_alert_index() 232 if (dir == IIO_EV_DIR_RISING) in mcp9600_get_alert_index() 394 IIO_EV_DIR_RISING); in mcp9600_alert1_handler() 406 IIO_MOD_TEMP_AMBIENT, IIO_EV_DIR_RISING); in mcp9600_alert3_handler()
|
| /linux/drivers/iio/adc/ |
| H A D | ad7091r-base.c | 23 .dir = IIO_EV_DIR_RISING, 132 case IIO_EV_DIR_RISING: in ad7091r_read_event_config() 168 case IIO_EV_DIR_RISING: in ad7091r_write_event_config() 194 case IIO_EV_DIR_RISING: in ad7091r_read_event_value() 234 case IIO_EV_DIR_RISING: in ad7091r_write_event_value() 279 IIO_EV_DIR_RISING), timestamp); in ad7091r_event_handler()
|
| H A D | rohm-bd79124.c | 85 #define BD79124_GET_LIMIT_REG(ch, dir) ((dir) == IIO_EV_DIR_RISING ? \ 301 .dir = IIO_EV_DIR_RISING, 349 if (dir == IIO_EV_DIR_RISING) in bd79124_read_event_value() 481 if (dir == IIO_EV_DIR_RISING) { in bd79124_disable_event() 527 if (dir == IIO_EV_DIR_RISING) { in bd79124_enable_event() 591 if (dir == IIO_EV_DIR_RISING) { in bd79124_write_event_value() 760 int ret, evbit = BIT(IIO_EV_DIR_RISING); in bd79124_re_enable_hi() 821 data->alarm_suppressed[channel] |= BIT(IIO_EV_DIR_RISING); in bd79124_event_ratelimit_hi() 870 IIO_EV_DIR_RISING); in bd79124_event_handler()
|
| H A D | ade9000.c | 332 …DE9000_ST1_SWELLA_BIT, IIO_ALTVOLTAGE, ADE9000_PHASE_A_NR, IIO_EV_TYPE_THRESH, IIO_EV_DIR_RISING }, 333 …DE9000_ST1_SWELLB_BIT, IIO_ALTVOLTAGE, ADE9000_PHASE_B_NR, IIO_EV_TYPE_THRESH, IIO_EV_DIR_RISING }, 334 …DE9000_ST1_SWELLC_BIT, IIO_ALTVOLTAGE, ADE9000_PHASE_C_NR, IIO_EV_TYPE_THRESH, IIO_EV_DIR_RISING }, 364 .dir = IIO_EV_DIR_RISING, /* RMS swell detection */ 1206 else if (chan->type == IIO_ALTVOLTAGE && dir == IIO_EV_DIR_RISING) in ade9000_read_event_config() 1218 else if (chan->type == IIO_ALTVOLTAGE && dir == IIO_EV_DIR_RISING) in ade9000_read_event_config() 1230 else if (chan->type == IIO_ALTVOLTAGE && dir == IIO_EV_DIR_RISING) in ade9000_read_event_config() 1272 } else if (chan->type == IIO_ALTVOLTAGE && dir == IIO_EV_DIR_RISING) { in ade9000_write_event_config() 1303 } else if (chan->type == IIO_ALTVOLTAGE && dir == IIO_EV_DIR_RISING) { in ade9000_write_event_config() 1335 } else if (chan->type == IIO_ALTVOLTAGE && dir == IIO_EV_DIR_RISING) { in ade9000_write_event_config() [all …]
|
| H A D | ad7280a.c | 581 .dir = IIO_EV_DIR_RISING, 698 case IIO_EV_DIR_RISING: in ad7280a_read_thresh() 710 case IIO_EV_DIR_RISING: in ad7280a_read_thresh() 746 case IIO_EV_DIR_RISING: in ad7280a_write_thresh() 771 case IIO_EV_DIR_RISING: in ad7280a_write_thresh() 827 IIO_EV_DIR_RISING); in ad7280_event_handler() 841 IIO_EV_DIR_RISING); in ad7280_event_handler()
|
| H A D | hi8435.c | 181 else if (dir == IIO_EV_DIR_RISING) in hi8435_read_event_value() 224 } else if (dir == IIO_EV_DIR_RISING) { in hi8435_write_event_value() 285 .dir = IIO_EV_DIR_RISING, 423 dir = val & BIT(i) ? IIO_EV_DIR_RISING : in hi8435_iio_push_event()
|
| /linux/drivers/iio/cdc/ |
| H A D | ad7150.c | 170 if (dir == IIO_EV_DIR_RISING) in ad7150_read_event_config() 174 if (dir == IIO_EV_DIR_RISING) in ad7150_read_event_config() 190 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_params() 259 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_config() 332 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_read_event_value() 365 int rising = (dir == IIO_EV_DIR_RISING); in ad7150_write_event_value() 414 .dir = IIO_EV_DIR_RISING, 424 .dir = IIO_EV_DIR_RISING,
|
| /linux/drivers/iio/dac/ |
| H A D | ad5421.c | 87 .dir = IIO_EV_DIR_RISING, 101 .dir = IIO_EV_DIR_RISING, 246 IIO_EV_DIR_RISING), in ad5421_fault_handler() 264 IIO_EV_DIR_RISING), in ad5421_fault_handler() 394 if (dir == IIO_EV_DIR_RISING) in ad5421_write_event_config() 425 if (dir == IIO_EV_DIR_RISING) in ad5421_read_event_config()
|
| /linux/drivers/iio/dummy/ |
| H A D | iio_simple_dummy_events.c | 68 if (dir == IIO_EV_DIR_RISING) in iio_simple_dummy_write_event_config() 188 IIO_EV_DIR_RISING), in iio_simple_dummy_event_handler() 197 IIO_EV_DIR_RISING), in iio_simple_dummy_event_handler()
|
| /linux/drivers/iio/resolver/ |
| H A D | ad2s1210.c | 398 IIO_EV_DIR_RISING), in ad2s1210_push_events() 406 IIO_EV_DIR_RISING), in ad2s1210_push_events() 414 IIO_EV_DIR_RISING), in ad2s1210_push_events() 422 IIO_EV_DIR_RISING), in ad2s1210_push_events() 430 IIO_EV_DIR_RISING), in ad2s1210_push_events() 863 .dir = IIO_EV_DIR_RISING, 876 .dir = IIO_EV_DIR_RISING, 884 .dir = IIO_EV_DIR_RISING, 901 .dir = IIO_EV_DIR_RISING, 908 .dir = IIO_EV_DIR_RISING, [all …]
|
| /linux/drivers/iio/light/ |
| H A D | iqs621-als.c | 139 IIO_EV_DIR_RISING), in iqs621_als_notifier() 156 IIO_EV_DIR_RISING), in iqs621_als_notifier() 173 IIO_EV_DIR_RISING), in iqs621_als_notifier() 343 case IIO_EV_DIR_RISING: in iqs621_als_read_event_value() 383 case IIO_EV_DIR_RISING: in iqs621_als_write_event_value() 479 .dir = IIO_EV_DIR_RISING,
|
| H A D | adux1020.c | 522 if (dir == IIO_EV_DIR_RISING) in adux1020_write_event_config() 570 if (dir == IIO_EV_DIR_RISING) in adux1020_read_event_config() 599 if (dir == IIO_EV_DIR_RISING) in adux1020_read_thresh() 628 if (dir == IIO_EV_DIR_RISING) in adux1020_write_thresh() 647 .dir = IIO_EV_DIR_RISING, 713 IIO_EV_DIR_RISING), in adux1020_interrupt_handler()
|
| H A D | vcnl4000.c | 1184 case IIO_EV_DIR_RISING: in vcnl4010_read_event() 1217 case IIO_EV_DIR_RISING: in vcnl4010_write_event() 1254 case IIO_EV_DIR_RISING: in vcnl4040_read_event() 1276 case IIO_EV_DIR_RISING: in vcnl4040_read_event() 1318 case IIO_EV_DIR_RISING: in vcnl4040_write_event() 1342 case IIO_EV_DIR_RISING: in vcnl4040_write_event() 1479 return (dir == IIO_EV_DIR_RISING) ? in vcnl4040_read_event_config() 1520 if (dir == IIO_EV_DIR_RISING) in vcnl4040_write_event_config() 1555 IIO_EV_DIR_RISING), in vcnl4040_irq_thread() 1579 IIO_EV_DIR_RISING), in vcnl4040_irq_thread() [all …]
|
| H A D | us5182d.c | 172 .dir = IIO_EV_DIR_RISING, 522 else if (dir == IIO_EV_DIR_RISING) in us5182d_setup_prox() 537 case IIO_EV_DIR_RISING: in us5182d_read_thresh() 566 case IIO_EV_DIR_RISING: in us5182d_write_thresh() 604 case IIO_EV_DIR_RISING: in us5182d_read_event_config() 633 case IIO_EV_DIR_RISING: in us5182d_write_event_config() 816 dir = ret & US5182D_CFG0_PROX ? IIO_EV_DIR_RISING : IIO_EV_DIR_FALLING; in us5182d_irq_thread_handler()
|
| H A D | gp2ap020a00f.c | 849 IIO_EV_DIR_RISING), in gp2ap020a00f_prox_sensing_handler() 923 IIO_EV_DIR_RISING), in gp2ap020a00f_thresh_event_handler() 1000 if (event_dir == IIO_EV_DIR_RISING) in gp2ap020a00f_get_thresh_reg() 1005 if (event_dir == IIO_EV_DIR_RISING) in gp2ap020a00f_get_thresh_reg() 1175 if (dir == IIO_EV_DIR_RISING) { in gp2ap020a00f_write_event_config() 1206 if (dir == IIO_EV_DIR_RISING) in gp2ap020a00f_read_event_config() 1214 if (dir == IIO_EV_DIR_RISING) in gp2ap020a00f_read_event_config() 1298 .dir = IIO_EV_DIR_RISING, 1312 .dir = IIO_EV_DIR_RISING,
|
| H A D | max44009.c | 87 .dir = IIO_EV_DIR_RISING, 329 case IIO_EV_DIR_RISING: in max44009_get_thr_reg() 384 if (dir == IIO_EV_DIR_RISING) in max44009_read_threshold()
|
| H A D | opt4060.c | 571 .dir = IIO_EV_DIR_RISING, 857 } else if (dir == IIO_EV_DIR_RISING) { in opt4060_read_event() 892 else if (dir == IIO_EV_DIR_RISING) in opt4060_write_event() 921 ((dir == IIO_EV_DIR_RISING) && chip->thresh_event_hi_active)) in opt4060_read_event_config() 954 else if (dir == IIO_EV_DIR_RISING) in opt4060_write_event_config() 963 else if (dir == IIO_EV_DIR_RISING) in opt4060_write_event_config() 1141 IIO_EV_DIR_RISING); in opt4060_irq_thread()
|
| H A D | tcs3472.c | 72 .dir = IIO_EV_DIR_RISING, 230 *val = (dir == IIO_EV_DIR_RISING) ? in tcs3472_read_event() 266 case IIO_EV_DIR_RISING: in tcs3472_write_event() 280 if (dir == IIO_EV_DIR_RISING) in tcs3472_write_event()
|
| /linux/drivers/iio/humidity/ |
| H A D | hdc3020.c | 96 .dir = IIO_EV_DIR_RISING, 462 if (dir == IIO_EV_DIR_RISING) in hdc3020_thresh_clr() 495 if (dir == IIO_EV_DIR_RISING) { in hdc3020_write_thresh() 628 if (dir == IIO_EV_DIR_RISING) { in hdc3020_read_thresh() 707 IIO_EV_DIR_RISING), in hdc3020_interrupt_handler() 723 IIO_EV_DIR_RISING), in hdc3020_interrupt_handler()
|
| /linux/drivers/iio/accel/ |
| H A D | adxl313_core.c | 272 .dir = IIO_EV_DIR_RISING, 279 .dir = IIO_EV_DIR_RISING, 693 case IIO_EV_DIR_RISING: in adxl313_read_mag_config() 709 case IIO_EV_DIR_RISING: in adxl313_write_mag_config() 777 case IIO_EV_DIR_RISING: in adxl313_read_mag_value() 824 case IIO_EV_DIR_RISING: in adxl313_write_mag_value() 1050 IIO_EV_DIR_RISING), in adxl313_push_events() 1060 IIO_EV_DIR_RISING), in adxl313_push_events()
|
| H A D | adxl372.c | 243 .dir = IIO_EV_DIR_RISING, 620 ev_dir = IIO_EV_DIR_RISING; in adxl372_push_event() 849 case IIO_EV_DIR_RISING: in adxl372_read_event_value() 870 case IIO_EV_DIR_RISING: in adxl372_read_event_value() 899 case IIO_EV_DIR_RISING: in adxl372_write_event_value() 911 case IIO_EV_DIR_RISING: in adxl372_write_event_value() 929 case IIO_EV_DIR_RISING: in adxl372_read_event_config() 945 case IIO_EV_DIR_RISING: in adxl372_write_event_config()
|
| H A D | adxl367.c | 767 ev_dir = IIO_EV_DIR_RISING; in adxl367_push_event() 985 case IIO_EV_DIR_RISING: in adxl367_read_event_value() 997 case IIO_EV_DIR_RISING: in adxl367_read_event_value() 1028 case IIO_EV_DIR_RISING: in adxl367_write_event_value() 1041 case IIO_EV_DIR_RISING: in adxl367_write_event_value() 1063 case IIO_EV_DIR_RISING: in adxl367_read_event_config() 1085 case IIO_EV_DIR_RISING: in __adxl367_write_event_config() 1318 .dir = IIO_EV_DIR_RISING,
|
| H A D | mma9553.c | 113 .dir = IIO_EV_DIR_RISING, 123 .dir = IIO_EV_DIR_RISING, 133 .dir = IIO_EV_DIR_RISING, 143 .dir = IIO_EV_DIR_RISING, 893 .dir = IIO_EV_DIR_RISING, 1024 IIO_EV_DIR_RISING); in mma9553_event_handler() 1053 IIO_EV_DIR_RISING), in mma9553_event_handler()
|
| /linux/drivers/iio/proximity/ |
| H A D | vcnl3020.c | 301 case IIO_EV_DIR_RISING: in vcnl3020_read_event() 338 case IIO_EV_DIR_RISING: in vcnl3020_write_event() 480 .dir = IIO_EV_DIR_RISING, 593 IIO_EV_DIR_RISING), in vcnl3020_handle_irq_thread()
|