Searched refs:irq_trig (Results 1 – 8 of 8) sorted by relevance
124 unsigned long irq_trig; in st_sensors_allocate_trigger() local137 irq_trig = irqd_get_trigger_type(irq_get_irq_data(sdata->irq)); in st_sensors_allocate_trigger()142 switch(irq_trig) { in st_sensors_allocate_trigger()148 if (irq_trig == IRQF_TRIGGER_FALLING) in st_sensors_allocate_trigger()149 irq_trig = IRQF_TRIGGER_RISING; in st_sensors_allocate_trigger()150 if (irq_trig == IRQF_TRIGGER_LOW) in st_sensors_allocate_trigger()151 irq_trig = IRQF_TRIGGER_HIGH; in st_sensors_allocate_trigger()174 "unsupported IRQ trigger specified (%lx), enforce rising edge\n", irq_trig); in st_sensors_allocate_trigger()175 irq_trig = IRQF_TRIGGER_RISING; in st_sensors_allocate_trigger()179 if (irq_trig == IRQF_TRIGGER_FALLING || in st_sensors_allocate_trigger()[all …]
1056 unsigned long irq_trig; in mpu3050_trigger_probe() local1069 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in mpu3050_trigger_probe()1075 switch (irq_trig) { in mpu3050_trigger_probe()1094 irq_trig |= IRQF_ONESHOT; in mpu3050_trigger_probe()1099 irq_trig |= IRQF_ONESHOT; in mpu3050_trigger_probe()1107 "rising edge\n", irq_trig); in mpu3050_trigger_probe()1108 irq_trig = IRQF_TRIGGER_RISING; in mpu3050_trigger_probe()1114 irq_trig |= IRQF_SHARED; in mpu3050_trigger_probe()1119 irq_trig, in mpu3050_trigger_probe()
825 unsigned long irq_trig; in fxas21002c_trigger_probe() local852 irq_trig = irqd_get_trigger_type(irq_get_irq_data(data->irq)); in fxas21002c_trigger_probe()854 if (irq_trig == IRQF_TRIGGER_RISING) { in fxas21002c_trigger_probe()861 irq_trig |= IRQF_SHARED; in fxas21002c_trigger_probe()866 irq_trig, "fxas21002c_data_ready", in fxas21002c_trigger_probe()
821 unsigned long irq_trig; in ak8974_probe() local919 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in ak8974_probe()920 if (irq_trig == IRQF_TRIGGER_RISING) { in ak8974_probe()922 } else if (irq_trig == IRQF_TRIGGER_FALLING) { in ak8974_probe()926 irq_trig = IRQF_TRIGGER_RISING; in ak8974_probe()928 irq_trig |= IRQF_ONESHOT; in ak8974_probe()929 irq_trig |= IRQF_SHARED; in ak8974_probe()935 irq_trig, in ak8974_probe()
1041 unsigned long irq_trig = in ads1015_probe() local1049 switch (irq_trig) { in ads1015_probe()1069 irq_trig | IRQF_ONESHOT, in ads1015_probe()
2026 unsigned long irq_trig; in bmp085_fetch_eoc_irq() local2029 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in bmp085_fetch_eoc_irq()2030 if (irq_trig != IRQF_TRIGGER_RISING) { in bmp085_fetch_eoc_irq()2032 irq_trig = IRQF_TRIGGER_RISING; in bmp085_fetch_eoc_irq()2041 irq_trig, in bmp085_fetch_eoc_irq()
1699 u32 irq_trig; in rtl8365mb_irq_setup() local1743 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in rtl8365mb_irq_setup()1744 switch (irq_trig) { in rtl8365mb_irq_setup()1755 irq_trig); in rtl8365mb_irq_setup()
554 unsigned long irq_trig; in rtl8366rb_setup_cascaded_irq() local582 irq_trig = irqd_get_trigger_type(irq_get_irq_data(irq)); in rtl8366rb_setup_cascaded_irq()583 switch (irq_trig) { in rtl8366rb_setup_cascaded_irq()