Searched refs:active_irq (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | nau8824.c | 838 int active_irq, clear_irq, i; in nau8824_int_status_clear_all() local 843 regmap_read(regmap, NAU8824_REG_IRQ, &active_irq); in nau8824_int_status_clear_all() 846 if (active_irq & clear_irq) in nau8824_int_status_clear_all() 970 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8824_interrupt() local 972 if (regmap_read(regmap, NAU8824_REG_IRQ, &active_irq)) { in nau8824_interrupt() 976 dev_dbg(nau8824->dev, "IRQ %x\n", active_irq); in nau8824_interrupt() 978 if (active_irq & NAU8824_JACK_EJECTION_DETECTED) { in nau8824_interrupt() 990 } else if (active_irq & NAU8824_KEY_SHORT_PRESS_IRQ) { in nau8824_interrupt() 1003 } else if (active_irq & NAU8824_KEY_RELEASE_IRQ) { in nau8824_interrupt() 1006 } else if (active_irq & NAU8824_JACK_INSERTION_DETECTED) { in nau8824_interrupt() [all …]
|
D | nau8821.c | 1027 int active_irq, clear_irq, i; in nau8821_int_status_clear_all() local 1032 regmap_read(regmap, NAU8821_R10_IRQ_STATUS, &active_irq); in nau8821_int_status_clear_all() 1035 if (active_irq & clear_irq) in nau8821_int_status_clear_all() 1178 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8821_interrupt() local 1180 if (regmap_read(regmap, NAU8821_R10_IRQ_STATUS, &active_irq)) { in nau8821_interrupt() 1185 dev_dbg(nau8821->dev, "IRQ %d\n", active_irq); in nau8821_interrupt() 1187 if ((active_irq & NAU8821_JACK_EJECT_IRQ_MASK) == in nau8821_interrupt() 1194 } else if (active_irq & NAU8821_KEY_SHORT_PRESS_IRQ) { in nau8821_interrupt() 1198 } else if (active_irq & NAU8821_KEY_RELEASE_IRQ) { in nau8821_interrupt() 1201 } else if ((active_irq & NAU8821_JACK_INSERT_IRQ_MASK) == in nau8821_interrupt() [all …]
|
D | nau8825.c | 1605 int active_irq, clear_irq, i; in nau8825_int_status_clear_all() local 1610 regmap_read(regmap, NAU8825_REG_IRQ_STATUS, &active_irq); in nau8825_int_status_clear_all() 1613 if (active_irq & clear_irq) in nau8825_int_status_clear_all() 1939 int active_irq, clear_irq = 0, event = 0, event_mask = 0; in nau8825_interrupt() local 1941 if (regmap_read(regmap, NAU8825_REG_IRQ_STATUS, &active_irq)) { in nau8825_interrupt() 1946 if ((active_irq & NAU8825_JACK_EJECTION_IRQ_MASK) == in nau8825_interrupt() 1952 } else if (active_irq & NAU8825_KEY_SHORT_PRESS_IRQ) { in nau8825_interrupt() 1967 } else if (active_irq & NAU8825_KEY_RELEASE_IRQ) { in nau8825_interrupt() 1970 } else if (active_irq & NAU8825_HEADSET_COMPLETION_IRQ) { in nau8825_interrupt() 2021 } else if (active_irq & NAU8825_IMPEDANCE_MEAS_IRQ) { in nau8825_interrupt() [all …]
|