Searched refs:active_irq (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/sound/soc/codecs/ |
D | nau8824.c | 817 int active_irq, clear_irq, i; in nau8824_int_status_clear_all() local 822 regmap_read(regmap, NAU8824_REG_IRQ, &active_irq); in nau8824_int_status_clear_all() 825 if (active_irq & clear_irq) in nau8824_int_status_clear_all() 976 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8824_interrupt() local 978 if (regmap_read(regmap, NAU8824_REG_IRQ, &active_irq)) { in nau8824_interrupt() 982 dev_dbg(nau8824->dev, "IRQ %x\n", active_irq); in nau8824_interrupt() 984 if (active_irq & NAU8824_JACK_EJECTION_DETECTED) { in nau8824_interrupt() 993 } else if (active_irq & NAU8824_KEY_SHORT_PRESS_IRQ) { in nau8824_interrupt() 1006 } else if (active_irq & NAU8824_KEY_RELEASE_IRQ) { in nau8824_interrupt() 1009 } else if (active_irq & NAU8824_JACK_INSERTION_DETECTED) { in nau8824_interrupt() [all …]
|
D | nau8825.c | 1477 int active_irq, clear_irq, i; in nau8825_int_status_clear_all() local 1482 regmap_read(regmap, NAU8825_REG_IRQ_STATUS, &active_irq); in nau8825_int_status_clear_all() 1485 if (active_irq & clear_irq) in nau8825_int_status_clear_all() 1675 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8825_interrupt() local 1677 if (regmap_read(regmap, NAU8825_REG_IRQ_STATUS, &active_irq)) { in nau8825_interrupt() 1682 if ((active_irq & NAU8825_JACK_EJECTION_IRQ_MASK) == in nau8825_interrupt() 1688 } else if (active_irq & NAU8825_KEY_SHORT_PRESS_IRQ) { in nau8825_interrupt() 1703 } else if (active_irq & NAU8825_KEY_RELEASE_IRQ) { in nau8825_interrupt() 1706 } else if (active_irq & NAU8825_HEADSET_COMPLETION_IRQ) { in nau8825_interrupt() 1757 } else if (active_irq & NAU8825_IMPEDANCE_MEAS_IRQ) { in nau8825_interrupt() [all …]
|