Searched refs:active_irq (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/sound/soc/codecs/ |
D | nau8821.c | 899 int active_irq, clear_irq, i; in nau8821_int_status_clear_all() local 904 regmap_read(regmap, NAU8821_R10_IRQ_STATUS, &active_irq); in nau8821_int_status_clear_all() 907 if (active_irq & clear_irq) in nau8821_int_status_clear_all() 1047 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8821_interrupt() local 1049 if (regmap_read(regmap, NAU8821_R10_IRQ_STATUS, &active_irq)) { in nau8821_interrupt() 1054 dev_dbg(nau8821->dev, "IRQ %d\n", active_irq); in nau8821_interrupt() 1056 if ((active_irq & NAU8821_JACK_EJECT_IRQ_MASK) == in nau8821_interrupt() 1063 } else if (active_irq & NAU8821_KEY_SHORT_PRESS_IRQ) { in nau8821_interrupt() 1067 } else if (active_irq & NAU8821_KEY_RELEASE_IRQ) { in nau8821_interrupt() 1070 } else if ((active_irq & NAU8821_JACK_INSERT_IRQ_MASK) == in nau8821_interrupt() [all …]
|
D | nau8824.c | 825 int active_irq, clear_irq, i; in nau8824_int_status_clear_all() local 830 regmap_read(regmap, NAU8824_REG_IRQ, &active_irq); in nau8824_int_status_clear_all() 833 if (active_irq & clear_irq) in nau8824_int_status_clear_all() 957 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8824_interrupt() local 959 if (regmap_read(regmap, NAU8824_REG_IRQ, &active_irq)) { in nau8824_interrupt() 963 dev_dbg(nau8824->dev, "IRQ %x\n", active_irq); in nau8824_interrupt() 965 if (active_irq & NAU8824_JACK_EJECTION_DETECTED) { in nau8824_interrupt() 977 } else if (active_irq & NAU8824_KEY_SHORT_PRESS_IRQ) { in nau8824_interrupt() 990 } else if (active_irq & NAU8824_KEY_RELEASE_IRQ) { in nau8824_interrupt() 993 } else if (active_irq & NAU8824_JACK_INSERTION_DETECTED) { in nau8824_interrupt() [all …]
|
D | nau8825.c | 1619 int active_irq, clear_irq, i; in nau8825_int_status_clear_all() local 1624 regmap_read(regmap, NAU8825_REG_IRQ_STATUS, &active_irq); in nau8825_int_status_clear_all() 1627 if (active_irq & clear_irq) in nau8825_int_status_clear_all() 1817 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8825_interrupt() local 1819 if (regmap_read(regmap, NAU8825_REG_IRQ_STATUS, &active_irq)) { in nau8825_interrupt() 1824 if ((active_irq & NAU8825_JACK_EJECTION_IRQ_MASK) == in nau8825_interrupt() 1830 } else if (active_irq & NAU8825_KEY_SHORT_PRESS_IRQ) { in nau8825_interrupt() 1845 } else if (active_irq & NAU8825_KEY_RELEASE_IRQ) { in nau8825_interrupt() 1848 } else if (active_irq & NAU8825_HEADSET_COMPLETION_IRQ) { in nau8825_interrupt() 1899 } else if (active_irq & NAU8825_IMPEDANCE_MEAS_IRQ) { in nau8825_interrupt() [all …]
|