Home
last modified time | relevance | path

Searched refs:irq_trig (Results 1 – 3 of 3) sorted by relevance

/drivers/iio/common/st_sensors/
Dst_sensors_trigger.c135 unsigned long irq_trig; in st_sensors_allocate_trigger() local
148 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in st_sensors_allocate_trigger()
153 switch(irq_trig) { in st_sensors_allocate_trigger()
161 if (irq_trig == IRQF_TRIGGER_FALLING) in st_sensors_allocate_trigger()
162 irq_trig = IRQF_TRIGGER_RISING; in st_sensors_allocate_trigger()
163 if (irq_trig == IRQF_TRIGGER_LOW) in st_sensors_allocate_trigger()
164 irq_trig = IRQF_TRIGGER_HIGH; in st_sensors_allocate_trigger()
189 "rising edge\n", irq_trig); in st_sensors_allocate_trigger()
190 irq_trig = IRQF_TRIGGER_RISING; in st_sensors_allocate_trigger()
194 if (irq_trig == IRQF_TRIGGER_FALLING || in st_sensors_allocate_trigger()
[all …]
/drivers/iio/magnetometer/
Dak8974.c629 unsigned long irq_trig; in ak8974_probe() local
722 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in ak8974_probe()
723 if (irq_trig == IRQF_TRIGGER_RISING) { in ak8974_probe()
725 } else if (irq_trig == IRQF_TRIGGER_FALLING) { in ak8974_probe()
729 irq_trig = IRQF_TRIGGER_RISING; in ak8974_probe()
731 irq_trig |= IRQF_ONESHOT; in ak8974_probe()
732 irq_trig |= IRQF_SHARED; in ak8974_probe()
738 irq_trig, in ak8974_probe()
/drivers/iio/pressure/
Dbmp280-core.c881 unsigned long irq_trig; in bmp085_fetch_eoc_irq() local
884 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in bmp085_fetch_eoc_irq()
885 if (irq_trig != IRQF_TRIGGER_RISING) { in bmp085_fetch_eoc_irq()
888 irq_trig = IRQF_TRIGGER_RISING; in bmp085_fetch_eoc_irq()
894 irq_trig, in bmp085_fetch_eoc_irq()