Home
last modified time | relevance | path

Searched refs:jack (Results 1 – 93 of 93) sorted by relevance

/linux-4.4.14/sound/core/
Djack.c46 struct snd_jack *jack = device->device_data; in snd_jack_dev_disconnect() local
48 if (!jack->input_dev) in snd_jack_dev_disconnect()
53 if (jack->registered) in snd_jack_dev_disconnect()
54 input_unregister_device(jack->input_dev); in snd_jack_dev_disconnect()
56 input_free_device(jack->input_dev); in snd_jack_dev_disconnect()
57 jack->input_dev = NULL; in snd_jack_dev_disconnect()
63 struct snd_jack *jack = device->device_data; in snd_jack_dev_free() local
67 list_for_each_entry_safe(jack_kctl, tmp_jack_kctl, &jack->kctl_list, list) { in snd_jack_dev_free()
71 if (jack->private_free) in snd_jack_dev_free()
72 jack->private_free(jack); in snd_jack_dev_free()
[all …]
DMakefile14 snd-$(CONFIG_SND_JACK) += ctljack.o jack.o
/linux-4.4.14/sound/pci/hda/
Dhda_jack.c76 struct hda_jack_tbl *jack = codec->jacktbl.list; in snd_hda_jack_tbl_get() local
79 if (!nid || !jack) in snd_hda_jack_tbl_get()
81 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get()
82 if (jack->nid == nid) in snd_hda_jack_tbl_get()
83 return jack; in snd_hda_jack_tbl_get()
96 struct hda_jack_tbl *jack = codec->jacktbl.list; in snd_hda_jack_tbl_get_from_tag() local
99 if (!tag || !jack) in snd_hda_jack_tbl_get_from_tag()
101 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_from_tag()
102 if (jack->tag == tag) in snd_hda_jack_tbl_get_from_tag()
103 return jack; in snd_hda_jack_tbl_get_from_tag()
[all …]
Dhda_generic.h333 struct hda_jack_callback *jack);
335 struct hda_jack_callback *jack);
337 struct hda_jack_callback *jack);
Dhda_jack.h43 struct snd_jack *jack; member
Dpatch_sigmatel.c488 struct hda_jack_callback *jack) in jack_update_power() argument
496 if (jack && jack->nid) { in jack_update_power()
497 stac_toggle_power_map(codec, jack->nid, in jack_update_power()
498 snd_hda_jack_detect(codec, jack->nid), in jack_update_power()
3054 struct hda_jack_callback *jack; in stac92hd71bxx_fixup_hp_m4() local
3062 jack = snd_hda_jack_detect_enable_callback(codec, codec->core.afg, in stac92hd71bxx_fixup_hp_m4()
3064 if (!IS_ERR(jack)) in stac92hd71bxx_fixup_hp_m4()
3065 jack->private_data = 0x02; in stac92hd71bxx_fixup_hp_m4()
4089 struct hda_jack_callback *jack; in stac9205_fixup_dell_m43() local
4097 jack = snd_hda_jack_detect_enable_callback(codec, codec->core.afg, in stac9205_fixup_dell_m43()
[all …]
Dpatch_hdmi.c1185 struct hda_jack_callback *jack) in jack_callback() argument
1187 check_presence_and_report(codec, jack->nid); in jack_callback()
1193 struct hda_jack_tbl *jack; in hdmi_intrinsic_event() local
1196 jack = snd_hda_jack_tbl_get_from_tag(codec, tag); in hdmi_intrinsic_event()
1197 if (!jack) in hdmi_intrinsic_event()
1199 jack->jack_dirty = 1; in hdmi_intrinsic_event()
1203 codec->addr, jack->nid, dev_entry, !!(res & AC_UNSOL_RES_IA), in hdmi_intrinsic_event()
1206 check_presence_and_report(codec, jack->nid); in hdmi_intrinsic_event()
1536 struct hda_jack_tbl *jack; in hdmi_present_sense() local
1636 jack = snd_hda_jack_tbl_get(codec, pin_nid); in hdmi_present_sense()
[all …]
Dhda_generic.c2181 struct hda_jack_callback *jack);
4047 struct hda_jack_callback *jack, in pin_power_callback() argument
4050 if (jack && jack->nid) in pin_power_callback()
4052 set_pin_power_jack(codec, jack->nid, on)); in pin_power_callback()
4057 struct hda_jack_callback *jack) in pin_power_up_callback() argument
4059 pin_power_callback(codec, jack, true); in pin_power_up_callback()
4064 struct hda_jack_callback *jack) in pin_power_down_callback() argument
4066 pin_power_callback(codec, jack, false); in pin_power_down_callback()
4370 struct hda_jack_callback *jack) in snd_hda_gen_hp_automute() argument
4395 struct hda_jack_callback *jack) in snd_hda_gen_line_automute() argument
[all …]
Dpatch_realtek.c273 struct hda_jack_callback *jack) in alc_update_knob_master() argument
285 val = snd_hda_codec_read(codec, jack->nid, 0, in alc_update_knob_master()
3206 struct hda_jack_callback *jack) in alc269_x101_hp_automute_hook() argument
3211 snd_hda_gen_hp_automute(codec, jack); in alc269_x101_hp_automute_hook()
4242 struct hda_jack_callback *jack) in alc_update_headset_jack_cb() argument
4246 snd_hda_gen_hp_automute(codec, jack); in alc_update_headset_jack_cb()
4350 struct hda_jack_callback *jack) in alc288_update_headset_jack_cb() argument
4355 alc_update_headset_jack_cb(codec, jack); in alc288_update_headset_jack_cb()
4562 struct hda_jack_callback *jack) in alc283_hp_automute_hook() argument
4568 snd_hda_gen_hp_automute(codec, jack); in alc283_hp_automute_hook()
[all …]
Dpatch_conexant.c436 struct hda_jack_callback *jack) in olpc_xo_automic() argument
442 snd_hda_gen_mic_autoswitch(codec, jack); in olpc_xo_automic()
Dpatch_ca0132.c3253 struct hda_jack_tbl *jack; in ca0132_unsol_hp_delayed() local
3256 jack = snd_hda_jack_tbl_get(spec->codec, spec->unsol_tag_hp); in ca0132_unsol_hp_delayed()
3257 if (jack) { in ca0132_unsol_hp_delayed()
3258 jack->block_report = 0; in ca0132_unsol_hp_delayed()
/linux-4.4.14/sound/soc/
Dsoc-jack.c40 struct snd_soc_jack *jack, struct snd_soc_jack_pin *pins, in snd_soc_card_jack_new() argument
45 mutex_init(&jack->mutex); in snd_soc_card_jack_new()
46 jack->card = card; in snd_soc_card_jack_new()
47 INIT_LIST_HEAD(&jack->pins); in snd_soc_card_jack_new()
48 INIT_LIST_HEAD(&jack->jack_zones); in snd_soc_card_jack_new()
49 BLOCKING_INIT_NOTIFIER_HEAD(&jack->notifier); in snd_soc_card_jack_new()
51 ret = snd_jack_new(card->snd_card, id, type, &jack->jack, false, false); in snd_soc_card_jack_new()
56 return snd_soc_jack_add_pins(jack, num_pins, pins); in snd_soc_card_jack_new()
76 void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) in snd_soc_jack_report() argument
83 trace_snd_soc_jack_report(jack, mask, status); in snd_soc_jack_report()
[all …]
DMakefile1 snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o
/linux-4.4.14/Documentation/sound/alsa/soc/
Djack.txt1 ASoC jack detection
5 the kernel side of which can be seen in include/sound/jack.h. ASoC
8 - It allows more than one jack detection method to work together on one
9 user visible jack. In embedded systems it is common for multiple
10 to be present on a single jack but handled by separate bits of
14 automatically based on the detected jack status (eg, turning off the
18 together: the jack itself represented by a struct snd_soc_jack, sets of
20 code providing jack reporting mechanisms.
22 For example, a system may have a stereo headset jack with two reporting
26 headphone when the headphone jack status changes.
[all …]
Doverview.txt93 jack.txt: ASoC jack detection.
Dmachine.txt86 of speaker/HP amplifiers, etc. Codec pins can be connected to the machines jack
DDPCM.txt73 The headset is removed from the jack by user so the speakers must now be used :-
/linux-4.4.14/Documentation/sound/alsa/
DJack-Controls.txt9 The old ALSA jack code only created input devices for each registered
10 jack. These jack input devices are not readable by userspace devices
13 The new jack code creates embedded jack kcontrols for each jack that
17 intelligently based on jack insertion or removal events.
22 Each jack will have a kcontrol list, so that we can create a kcontrol
23 and attach it to the jack, at jack creation stage. We can also add a
24 kcontrol to an existing jack, at anytime when required.
28 How to use jack kcontrols
34 - @initial_kctl: if true, create a kcontrol and add it to the jack
39 jack and set initial_kctl to true to create an initial kcontrol with
[all …]
DHD-Audio-Models.txt5 3stack 3-jack in back and a headphone out
6 3stack-digout 3-jack in back, a HP out and a SPDIF out
7 5stack 5-jack in back, 2-jack in front
8 5stack-digout 5-jack in back, 2-jack in front, a SPDIF out
9 6stack 6-jack in back, 2-jack in front
10 6stack-digout 6-jack with a SPDIF out
17 fujitsu-jwse Quirk for FSC S7020 with jack modes and HP mic support
35 headset-mic Indicates a combined headset (headphone+mic) jack
40 dell-headset-multi Headset jack, which can also be used as mic-in
41 dell-headset-dock Headset jack (without mic-in), and also dock I/O
[all …]
DHD-Audio-Controls.txt11 jack-retasking of multi-I/O jacks.
20 automatically when a jack is plugged.
24 speaker-only is chosen, plugging into a headphone or a line-out jack
26 selected, plugging to a headphone jack mutes both speakers and
51 These enum controls the direction and the bias of the input jack
52 pins. Depending on the jack type, it can set as "Mic In" and "Line
54 when the pin is a multi-I/O jack for surround channels.
82 This control determines whether the dynamic power-control per jack
84 (D0/D3) are changed dynamically depending on the jack plugging
86 doesn't provide a proper jack-detection, this won't work; in such a
[all …]
DCMIPCI.txt47 If your card has an extra output jack for the rear output, the rear
50 via alsamixer or somewhat else. When this switch is on, line-in jack
93 jack. Either "Line-In", "Rear Output" or "Bass Output" can
97 are output to line-in jack.
99 jack. Either "Mic-In" or "Center/LFE Output" can be
102 channels (channels 5 and 6) are output to mic-in jack.
DHD-Audio.txt172 connection type, the jack color, etc. The HD-audio driver can guess
213 headphone jack. In general, you should try a headphone output at
341 This file, however, doesn't show the jack sensing state, so far. This
342 is because the jack-sensing might be depending on the trigger state.
386 will disable the jack detection of the machine completely.
424 via sysfs or a patch file, you can disable the jack detection, thus
431 - jack_detect (bool): specify whether the jack detection is available
433 - inv_jack_detect (bool): indicates that the jack detection logic is
435 - trigger_sense (bool): indicates that the jack detection needs the
467 I/O jack for allowing to change the headphone amp and mic bias VREF
[all …]
DControlNames.txt47 Headset Mic (mic part of combined headset jack - 4-pin headphone + mic)
DREADME.maya44123 Mic/Line input: if switch is on, input jack 1/2 is microphone input (mono), otherwise line input (s…
DAudiophile-Usb.txt28 - When the 1/4" TS (jack) connectors are connected, the RCA connectors
DALSA-Configuration.txt2136 - alc_jack For ALC65x, turn on the jack sense mode
/linux-4.4.14/include/sound/
Djack.h90 struct snd_jack **jack, bool initial_kctl, bool phantom_jack);
91 int snd_jack_add_new_kctl(struct snd_jack *jack, const char * name, int mask);
92 void snd_jack_set_parent(struct snd_jack *jack, struct device *parent);
93 int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type,
96 void snd_jack_report(struct snd_jack *jack, int status);
100 struct snd_jack **jack, bool initial_kctl, bool phantom_jack) in snd_jack_new() argument
105 static inline int snd_jack_add_new_kctl(struct snd_jack *jack, const char * name, int mask) in snd_jack_add_new_kctl() argument
110 static inline void snd_jack_set_parent(struct snd_jack *jack, in snd_jack_set_parent() argument
115 static inline int snd_jack_set_key(struct snd_jack *jack, in snd_jack_set_key() argument
122 static inline void snd_jack_report(struct snd_jack *jack, int status) in snd_jack_report() argument
Dsoc.h497 struct snd_soc_jack *jack, struct snd_soc_jack_pin *pins,
500 void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask);
501 int snd_soc_jack_add_pins(struct snd_soc_jack *jack, int count,
503 void snd_soc_jack_notifier_register(struct snd_soc_jack *jack,
505 void snd_soc_jack_notifier_unregister(struct snd_soc_jack *jack,
507 int snd_soc_jack_add_zones(struct snd_soc_jack *jack, int count,
509 int snd_soc_jack_get_type(struct snd_soc_jack *jack, int micbias_voltage);
511 int snd_soc_jack_add_gpios(struct snd_soc_jack *jack, int count,
514 struct snd_soc_jack *jack,
516 void snd_soc_jack_free_gpios(struct snd_soc_jack *jack, int count,
[all …]
/linux-4.4.14/sound/soc/codecs/
Dts3a227e.c28 struct snd_soc_jack *jack; member
154 if (!ts3a227e->jack) in ts3a227e_jack_report()
165 snd_soc_jack_report(ts3a227e->jack, report, TS3A227E_JACK_MASK); in ts3a227e_jack_report()
239 struct snd_soc_jack *jack) in ts3a227e_enable_jack_detect() argument
243 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_MEDIA); in ts3a227e_enable_jack_detect()
244 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in ts3a227e_enable_jack_detect()
245 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in ts3a227e_enable_jack_detect()
246 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in ts3a227e_enable_jack_detect()
248 ts3a227e->jack = jack; in ts3a227e_enable_jack_detect()
Dwm8350.h24 struct snd_soc_jack *jack, int report);
26 struct snd_soc_jack *jack,
Dwm8994.h46 int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
48 int wm8958_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
60 struct snd_soc_jack *jack; member
Dwm8350.c56 struct snd_soc_jack *jack; member
1241 struct wm8350_jack_data *jack, in wm8350_hp_work() argument
1250 report = jack->report; in wm8350_hp_work()
1254 snd_soc_jack_report(jack->jack, report, jack->report); in wm8350_hp_work()
1322 struct snd_soc_jack *jack, int report) in wm8350_hp_jack_detect() argument
1330 priv->hpl.jack = jack; in wm8350_hp_jack_detect()
1336 priv->hpr.jack = jack; in wm8350_hp_jack_detect()
1383 snd_soc_jack_report(priv->mic.jack, report, in wm8350_mic_handler()
1401 struct snd_soc_jack *jack, in wm8350_mic_jack_detect() argument
1407 priv->mic.jack = jack; in wm8350_mic_jack_detect()
[all …]
Dda7219-aad.c34 void da7219_aad_jack_det(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in da7219_aad_jack_det() argument
38 da7219->aad->jack = jack; in da7219_aad_jack_det()
42 snd_soc_jack_report(jack, 0, DA7219_AAD_REPORT_ALL_MASK); in da7219_aad_jack_det()
47 (jack ? DA7219_ACCDET_EN_MASK : 0)); in da7219_aad_jack_det()
261 snd_soc_jack_report(da7219_aad->jack, report, in da7219_aad_hptest_work()
341 snd_soc_jack_report(da7219_aad->jack, report, mask); in da7219_aad_irq_thread()
379 snd_soc_jack_report(da7219_aad->jack, report, mask); in da7219_aad_irq_thread()
Drt286.c46 struct snd_soc_jack *jack; member
302 snd_soc_jack_report(rt286->jack, status, in rt286_jack_detect_work()
306 int rt286_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in rt286_mic_detect() argument
311 rt286->jack = jack; in rt286_mic_detect()
313 if (jack) { in rt286_mic_detect()
315 if (rt286->jack->status & SND_JACK_HEADPHONE) in rt286_mic_detect()
319 snd_soc_jack_report(rt286->jack, rt286->jack->status, in rt286_mic_detect()
952 snd_soc_jack_report(rt286->jack, status, in rt286_irq()
Dtwl6040.c60 struct snd_soc_jack *jack; member
283 struct snd_soc_jack *jack, int report) in twl6040_hs_jack_report() argument
293 snd_soc_jack_report(jack, report, report); in twl6040_hs_jack_report()
295 snd_soc_jack_report(jack, 0, report); in twl6040_hs_jack_report()
301 struct snd_soc_jack *jack, int report) in twl6040_hs_jack_detect() argument
306 hs_jack->jack = jack; in twl6040_hs_jack_detect()
309 twl6040_hs_jack_report(codec, hs_jack->jack, hs_jack->report); in twl6040_hs_jack_detect()
320 twl6040_hs_jack_report(codec, hs_jack->jack, hs_jack->report); in twl6040_accessory_work()
Dda7219-aad.h201 struct snd_soc_jack *jack; member
206 void da7219_aad_jack_det(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
Dts3a227e.h15 struct snd_soc_jack *jack);
Drt298.c44 struct snd_soc_jack *jack; member
314 snd_soc_jack_report(rt298->jack, status, in rt298_jack_detect_work()
318 int rt298_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in rt298_mic_detect() argument
322 rt298->jack = jack; in rt298_mic_detect()
325 snd_soc_jack_report(rt298->jack, 0, in rt298_mic_detect()
978 snd_soc_jack_report(rt298->jack, status, in rt298_irq()
Dtwl6040.h39 struct snd_soc_jack *jack, int report);
Dnau8825.h315 struct snd_soc_jack *jack; member
338 struct snd_soc_jack *jack);
Dwm8994.c747 if (!wm8994->jackdet || !wm8994->micdet[0].jack) in wm1811_jackdet_set_mode()
3357 int wm8994_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, in wm8994_mic_detect() argument
3374 if (jack) in wm8994_mic_detect()
3381 if (jack) in wm8994_mic_detect()
3396 micbias, jack); in wm8994_mic_detect()
3399 micdet->jack = jack; in wm8994_mic_detect()
3403 if (wm8994->micdet[0].jack || wm8994->micdet[1].jack) in wm8994_mic_detect()
3461 snd_soc_jack_report(priv->micdet[0].jack, report, in wm8994_mic_work()
3480 snd_soc_jack_report(priv->micdet[1].jack, report, in wm8994_mic_work()
3544 snd_soc_jack_report(wm8994->micdet[0].jack, report, in wm8958_button_det()
[all …]
Dwm5100.c72 struct snd_soc_jack *jack; member
2000 snd_soc_jack_report(wm5100->jack, SND_JACK_HEADPHONE, in wm5100_report_headphone()
2034 snd_soc_jack_report(wm5100->jack, 0, in wm5100_micd_irq()
2053 snd_soc_jack_report(wm5100->jack, in wm5100_micd_irq()
2064 snd_soc_jack_report(wm5100->jack, 0, SND_JACK_BTN_0); in wm5100_micd_irq()
2093 snd_soc_jack_report(wm5100->jack, SND_JACK_BTN_0, in wm5100_micd_irq()
2101 int wm5100_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in wm5100_detect() argument
2106 if (jack) { in wm5100_detect()
2107 wm5100->jack = jack; in wm5100_detect()
2147 wm5100->jack = NULL; in wm5100_detect()
Drt5670.c501 struct snd_soc_jack *jack = rt5670->jack; in rt5670_irq_detection() local
502 int val, btn_type, report = jack->status; in rt5670_irq_detection()
562 struct snd_soc_jack *jack) in rt5670_set_jack_detect() argument
567 rt5670->jack = jack; in rt5670_set_jack_detect()
577 ret = snd_soc_jack_add_gpios(rt5670->jack, 1, in rt5670_set_jack_detect()
2691 snd_soc_jack_free_gpios(rt5670->jack, 1, &rt5670->hp_gpio); in rt5670_remove()
Drt298.h203 int rt298_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
Drt286.h202 int rt286_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
Dnau8825.c525 struct snd_soc_jack *jack) in nau8825_enable_jack_detect() argument
530 nau8825->jack = jack; in nau8825_enable_jack_detect()
723 snd_soc_jack_report(nau8825->jack, event, event_mask); in nau8825_interrupt()
D88pm860x-codec.c1266 struct snd_soc_jack *jack, in pm860x_hs_jack_detect() argument
1272 pm860x->det.hp_jack = jack; in pm860x_hs_jack_detect()
1299 struct snd_soc_jack *jack, int det) in pm860x_mic_jack_detect() argument
1303 pm860x->det.mic_jack = jack; in pm860x_mic_jack_detect()
Dmax98090.c2213 snd_soc_jack_report(max98090->jack, status, in max98090_jack_work()
2301 struct snd_soc_jack *jack) in max98090_mic_detect() argument
2307 max98090->jack = jack; in max98090_mic_detect()
2308 if (jack) { in max98090_mic_detect()
2319 snd_soc_jack_report(max98090->jack, 0, in max98090_mic_detect()
Dwm8996.c89 struct snd_soc_jack *jack; member
2244 int wm8996_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, in wm8996_detect() argument
2250 wm8996->jack = jack; in wm8996_detect()
2329 snd_soc_jack_report(wm8996->jack, report, in wm8996_hpdet_irq()
2409 snd_soc_jack_report(wm8996->jack, 0, in wm8996_micd()
2440 snd_soc_jack_report(wm8996->jack, 0, SND_JACK_BTN_0); in wm8996_micd()
2483 snd_soc_jack_report(wm8996->jack, SND_JACK_BTN_0, in wm8996_micd()
Dwm8962.c75 struct snd_soc_jack *jack; member
3002 snd_soc_jack_report(wm8962->jack, status, in wm8962_mic_work()
3113 int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack) in wm8962_mic_detect() argument
3119 wm8962->jack = jack; in wm8962_mic_detect()
3120 if (jack) { in wm8962_mic_detect()
3134 snd_soc_jack_report(wm8962->jack, 0, in wm8962_mic_detect()
3139 if (jack) { in wm8962_mic_detect()
Dmax98090.h1537 struct snd_soc_jack *jack; member
1550 struct snd_soc_jack *jack);
Dda7219.c1528 if (!da7219->aad->jack) { in da7219_set_bias_level()
1717 if (!da7219->aad->jack) in da7219_suspend()
1728 if (!da7219->aad->jack) in da7219_resume()
Drt5670.h1991 struct snd_soc_jack *jack; member
2013 struct snd_soc_jack *jack);
Dwm8903.h19 struct snd_soc_jack *jack,
Dwm8903.c1597 int wm8903_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack, in wm8903_mic_detect() argument
1607 wm8903->mic_jack = jack; in wm8903_mic_detect()
Dwm8996.h27 int wm8996_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack,
Dwm8962.h3782 int wm8962_mic_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
Dwm5100.h20 int wm5100_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
/linux-4.4.14/include/trace/events/
Dasoc.h229 TP_PROTO(struct snd_soc_jack *jack, int mask, int val),
231 TP_ARGS(jack, mask, val),
234 __string( name, jack->jack->name )
240 __assign_str(name, jack->jack->name);
251 TP_PROTO(struct snd_soc_jack *jack, int val),
253 TP_ARGS(jack, val),
256 __string( name, jack->jack->name )
261 __assign_str(name, jack->jack->name);
/linux-4.4.14/sound/soc/intel/boards/
Dbyt-max98090.c30 struct snd_soc_jack jack; member
89 struct snd_soc_jack *jack = &drv->jack; in byt_max98090_init() local
103 SND_JACK_LINEOUT | SND_JACK_HEADSET, jack, in byt_max98090_init()
108 return snd_soc_jack_add_gpiods(card->dev->parent, jack, in byt_max98090_init()
169 snd_soc_jack_free_gpios(&priv->jack, ARRAY_SIZE(hs_jack_gpios), in byt_max98090_remove()
Dcht_bsw_max98090_ti.c38 struct snd_soc_jack jack; member
107 struct snd_soc_jack *jack = (struct snd_soc_jack *)data; in cht_ti_jack_event() local
108 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in cht_ti_jack_event()
132 struct snd_soc_jack *jack = &ctx->jack; in cht_codec_init() local
149 jack_type, jack, NULL, 0); in cht_codec_init()
157 snd_soc_jack_notifier_register(jack, &cht_jack_nb); in cht_codec_init()
207 return ts3a227e_enable_jack_detect(component, &ctx->jack); in cht_max98090_headset_init()
Dcht_bsw_rt5645.c44 struct snd_soc_jack jack; member
209 jack_type, &ctx->jack, in cht_codec_init()
216 rt5645_set_jack_detect(codec, &ctx->jack, &ctx->jack, &ctx->jack); in cht_codec_init()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dda7219.txt46 - dlg,btn-cfg : Periodic button press measurements for 4-pole jack (ms)
50 - dlg,jack-ins-deb : Debounce time for jack insertion (ms)
52 - dlg,jack-det-rate: Jack type detection latency (3/4 pole)
54 - dlg,jack-rem-deb : Debounce time for jack removal (ms)
94 dlg,jack-ins-deb = <20>;
95 dlg,jack-det-rate = "32ms_64ms";
96 dlg,jack-rem-deb = <1>;
Dnokia,rx51.txt10 - jack-detection-gpios: GPIO for jack detection
24 jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
Dnau8825.txt11 - nuvoton,jkdet-enable: Enable jack detection via JKDET pin.
69 - nuvoton,jack-insert-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms
70 - nuvoton,jack-eject-debounce: number from 0 to 7 that sets debounce time to 2^(n+2) ms
97 nuvoton,jack-insert-debounce = <7>;
98 nuvoton,jack-eject-debounce = <7>;
Dalc5623.txt14 - jack-det-ctrl: Default register value for Reg-5Ah, Jack Detect
24 jack-det-ctrl = <0x4810>;
Dimx-audio-es8328.txt7 - jack-gpio : Optional GPIO for headphone jack
47 jack-gpio = <&gpio5 15 0>;
Drt5645.txt37 1 : Mode-0 (VDD=3.3V), two port jack detection
38 2 : Mode-1 (VDD=3.3V), one port jack detection
39 3 : Mode-2 (VDD=1.8V), one port jack detection
Dimx-audio-spdif.txt17 or jack on the board or it's connecting to some
23 is a physical S/PDIF in connector/jack on the board.
Domap-abe-twl6040.txt15 - ti,jack_detection: Need to be present if the board capable to detect jack
62 ti,jack-detection;
Drockchip-max98090.txt9 - rockchip,headset-codec: The phandle of Ext chip for jack detection
Dsirf-audio.txt13 - hp-switch-gpios: Need to be present if the board capable to detect jack
Dwm8960.txt21 enabled and disabled together with HP_L and HP_R pins in response to jack
Domap-twl4030.txt11 - ti, jack-det-gpio: Jack detect GPIO
Dnvidia,tegra-audio-rt5677.txt32 - nvidia,mic-present-gpios: The GPIO that mic jack is plugged in
/linux-4.4.14/Documentation/DocBook/
Dalsa-driver-api.xml.db220 API-struct-snd-soc-jack-pin
221 API-struct-snd-soc-jack-zone
222 API-struct-snd-soc-jack-gpio
332 API-enum-snd-jack-types
333 API-snd-jack-add-new-kctl
334 API-snd-jack-new
335 API-snd-jack-set-parent
336 API-snd-jack-set-key
337 API-snd-jack-report
338 API-snd-soc-card-jack-new
[all …]
D.alsa-driver-api.xml.cmd2 …neric-dmaengine-pcm.c sound/core/hwdep.c include/sound/jack.h sound/core/jack.c sound/soc/soc-jack
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
Dpalm27x.h56 extern void __init palm27x_ac97_init(int minv, int maxv, int jack,
59 static inline void palm27x_ac97_init(int minv, int maxv, int jack, int reset) {} in palm27x_ac97_init() argument
/linux-4.4.14/arch/arm/boot/dts/
Domap3-gta04a5.dts15 ti,jack-det-gpio = <&twl_gpio 2 GPIO_ACTIVE_HIGH>; /* GTA04A5 only */
Dkirkwood-t5325.dts131 jack-det-ctrl = <0x4810>;
Domap4-sdp.dts119 ti,jack-detection = <1>;
Domap3-n900.dts135 jack-detection-gpios = <&gpio6 17 GPIO_ACTIVE_HIGH>; /* 177 */
/linux-4.4.14/drivers/extcon/
DMakefile6 obj-$(CONFIG_EXTCON_ADC_JACK) += extcon-adc-jack.o
/linux-4.4.14/arch/arm/mach-pxa/
Dpalm27x.c252 void __init palm27x_ac97_init(int minv, int maxv, int jack, int reset) in palm27x_ac97_init() argument
255 palm27x_asoc_pdata.jack_gpio = jack; in palm27x_ac97_init()
/linux-4.4.14/sound/ppc/
DKconfig31 headphone/line jack is plugged, and turned on when unplugged.
/linux-4.4.14/drivers/usb/gadget/function/
Df_midi.c730 int status, n, jack = 1, i = 0; in f_midi_bind() local
806 in_ext->bJackID = jack++; in f_midi_bind()
814 out_emb->bJackID = jack++; in f_midi_bind()
834 in_emb->bJackID = jack++; in f_midi_bind()
842 out_ext->bJackID = jack++; in f_midi_bind()
/linux-4.4.14/sound/soc/intel/
DKconfig136 platforms with MAX98090 audio codec it also can support TI jack chip as aux device.
/linux-4.4.14/drivers/usb/gadget/udc/
DKconfig12 # With help from a special transceiver and a "Mini-AB" jack, systems with
/linux-4.4.14/drivers/usb/gadget/
DKconfig12 # With help from a special transceiver and a "Mini-AB" jack, systems with
/linux-4.4.14/drivers/usb/gadget/legacy/
DKconfig12 # With help from a special transceiver and a "Mini-AB" jack, systems with
/linux-4.4.14/
DCREDITS1813 E: jack@atrey.karlin.mff.cuni.cz
1814 E: jack@suse.cz
1818 W: http://atrey.karlin.mff.cuni.cz/~jack/
DMAINTAINERS3502 M: Jan Kara <jack@suse.com>
4212 M: Jan Kara <jack@suse.com>
5953 M: Jan Kara <jack@suse.com>
10976 M: Jan Kara <jack@suse.com>
/linux-4.4.14/Documentation/networking/
Darcnet-hardware.txt2206 | |...........| | RJ-jack