Lines Matching full:jack
26 #include <sound/jack.h>
1546 /* Leave PLL1 and jack-detect power as is, all others off */
1624 dev_dbg(component->dev, "jack-detect gpio %d\n", val);
1651 /* Jack detect and button-press timings */
1679 /* Check the jack was not removed underneath us */
1696 * The pins get temporarily shorted on jack unplug, so we poll for
1731 * We get the insertion event before the jack is fully inserted at which
1743 /* Check the jack is still connected before checking ovcd */
1776 /* Button press support only works with internal jack-detection */
1789 /* Jack removed, or spurious IRQ? */
1798 dev_dbg(component->dev, "jack unplugged\n");
1801 /* Jack inserted */
1822 * IRQs on both edges (so as to detect both jack plugin and
1830 * If the jack-detect IRQ flag goes high (unplug) after our
1863 /* Select jack detect source */
1868 return; /* No jack detect */
1926 /* Enable jack detect power */
1947 * of over-current, when the mic-contact in the jack is short-circuited,
1964 /* sync initial jack state */
1985 struct snd_soc_jack *jack, void *data)
1987 if (jack)
1988 rt5651_enable_jack_detect(component, jack, data);
2016 "realtek,jack-detect-source", &val) == 0)
2019 if (device_property_read_bool(component->dev, "realtek,jack-detect-not-inverted"))