Lines Matching refs:jack

2 ASoC jack detection
6 the kernel side of which can be seen in include/sound/jack.h. ASoC
9 - It allows more than one jack detection method to work together on one
10 user visible jack. In embedded systems it is common for multiple
11 to be present on a single jack but handled by separate bits of
15 automatically based on the detected jack status (eg, turning off the
19 together: the jack itself represented by a struct snd_soc_jack, sets of
21 code providing jack reporting mechanisms.
23 For example, a system may have a stereo headset jack with two reporting
27 headphone when the headphone jack status changes.
29 The jack - struct snd_soc_jack
32 This represents a physical jack on the system and is what is visible to
33 user space. The jack itself is completely passive, it is set up by the
34 machine driver and updated by jack detection methods.
42 bits supported by the jack. Each snd_soc_jack has zero or more of these
44 and associated with the jack using snd_soc_jack_add_pins(). The status
45 of the endpoint may configured to be the opposite of the jack status if
47 connected via a jack).
52 Actual jack detection is done by code which is able to monitor some
53 input to the system and update a jack by calling snd_soc_jack_report(),
54 specifying a subset of bits to update. The jack detection code should
55 be set up by the machine driver, taking configuration for the jack to
56 update and the set of things to report when the jack is connected.
61 CODEC integrated jack detection can be see in the WM8350 driver.
63 Each jack may have multiple reporting mechanisms, though it will need at
71 the list of pins to update then set up one or more jack detection
72 mechanisms to update that jack based on their current status.