Searched refs:irq_trig (Results 1 – 7 of 7) sorted by relevance
122 unsigned long irq_trig; in st_sensors_allocate_trigger() local135 irq_trig = irqd_get_trigger_type(irq_get_irq_data(sdata->irq)); in st_sensors_allocate_trigger()140 switch(irq_trig) { in st_sensors_allocate_trigger()146 if (irq_trig == IRQF_TRIGGER_FALLING) in st_sensors_allocate_trigger()147 irq_trig = IRQF_TRIGGER_RISING; in st_sensors_allocate_trigger()148 if (irq_trig == IRQF_TRIGGER_LOW) in st_sensors_allocate_trigger()149 irq_trig = IRQF_TRIGGER_HIGH; in st_sensors_allocate_trigger()172 "unsupported IRQ trigger specified (%lx), enforce rising edge\n", irq_trig); in st_sensors_allocate_trigger()173 irq_trig = IRQF_TRIGGER_RISING; in st_sensors_allocate_trigger()177 if (irq_trig == IRQF_TRIGGER_FALLING || in st_sensors_allocate_trigger()[all …]
1056 unsigned long irq_trig; in mpu3050_trigger_probe() local1070 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in mpu3050_trigger_probe()1076 switch (irq_trig) { in mpu3050_trigger_probe()1095 irq_trig |= IRQF_ONESHOT; in mpu3050_trigger_probe()1100 irq_trig |= IRQF_ONESHOT; in mpu3050_trigger_probe()1108 "rising edge\n", irq_trig); in mpu3050_trigger_probe()1109 irq_trig = IRQF_TRIGGER_RISING; in mpu3050_trigger_probe()1115 irq_trig |= IRQF_SHARED; in mpu3050_trigger_probe()1120 irq_trig, in mpu3050_trigger_probe()
826 unsigned long irq_trig; in fxas21002c_trigger_probe() local854 irq_trig = irqd_get_trigger_type(irq_get_irq_data(data->irq)); in fxas21002c_trigger_probe()856 if (irq_trig == IRQF_TRIGGER_RISING) { in fxas21002c_trigger_probe()863 irq_trig |= IRQF_SHARED; in fxas21002c_trigger_probe()868 irq_trig, "fxas21002c_data_ready", in fxas21002c_trigger_probe()
822 unsigned long irq_trig; in ak8974_probe() local920 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in ak8974_probe()921 if (irq_trig == IRQF_TRIGGER_RISING) { in ak8974_probe()923 } else if (irq_trig == IRQF_TRIGGER_FALLING) { in ak8974_probe()927 irq_trig = IRQF_TRIGGER_RISING; in ak8974_probe()929 irq_trig |= IRQF_ONESHOT; in ak8974_probe()930 irq_trig |= IRQF_SHARED; in ak8974_probe()936 irq_trig, in ak8974_probe()
943 unsigned long irq_trig; in bmp085_fetch_eoc_irq() local946 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in bmp085_fetch_eoc_irq()947 if (irq_trig != IRQF_TRIGGER_RISING) { in bmp085_fetch_eoc_irq()949 irq_trig = IRQF_TRIGGER_RISING; in bmp085_fetch_eoc_irq()958 irq_trig, in bmp085_fetch_eoc_irq()
1006 unsigned long irq_trig = in ads1015_probe() local1014 switch (irq_trig) { in ads1015_probe()1034 irq_trig | IRQF_ONESHOT, in ads1015_probe()
503 unsigned long irq_trig; in rtl8366rb_setup_cascaded_irq() local531 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in rtl8366rb_setup_cascaded_irq()532 switch (irq_trig) { in rtl8366rb_setup_cascaded_irq()