Lines Matching defs:jack
27 #include <sound/jack.h>
514 * detection and button press if jack inserted; otherwise,
814 struct snd_soc_jack *jack = nau8824->jack;
817 if (nau8824->irq && jack)
818 insert = jack->status & SND_JACK_HEADPHONE;
865 /* Close clock for jack type detection at manual mode */
897 snd_soc_jack_report(nau8824->jack, event, event_mask);
914 /* Enable jack ejection interruption. */
970 * and cancel jack detection
1002 /* detect microphone and jack type */
1006 /* Enable interruption for jack type detection at audo
1007 * mode which can detect microphone and jack type.
1018 snd_soc_jack_report(nau8824->jack, event, event_mask);
1460 /* Enable jack detection at sleep mode, insertion detection,
1539 * until jack detection done.
1615 * nau8824_enable_jack_detect - Specify a jack for event reporting
1617 * @component: component to register the jack with
1618 * @jack: jack to use to report headset and button events on
1621 * events will be routed to the given jack. Jack can be null to stop
1625 struct snd_soc_jack *jack)
1630 nau8824->jack = jack;
1631 /* Initiate jack detection work queue */
1817 dev_dbg(dev, "jack-eject-debounce: %d\n",
1869 ret = device_property_read_u32(dev, "nuvoton,jack-eject-debounce",