Home
last modified time | relevance | path

Searched refs:snd_jack (Results 1 – 15 of 15) sorted by relevance

/linux/include/sound/
H A Djack.h61 struct snd_jack { struct
75 void (*private_free)(struct snd_jack *); argument
81 struct snd_jack **jack, bool initial_kctl, bool phantom_jack);
82 int snd_jack_add_new_kctl(struct snd_jack *jack, const char * name, int mask);
84 int snd_jack_set_key(struct snd_jack *jack, enum snd_jack_types type,
87 void snd_jack_report(struct snd_jack *jack, int status);
91 struct snd_jack **jack, bool initial_kctl, bool phantom_jack) in snd_jack_new()
96 static inline int snd_jack_add_new_kctl(struct snd_jack *jack, const char * name, int mask) in snd_jack_add_new_kctl()
101 static inline void snd_jack_report(struct snd_jack *jack, int status) in snd_jack_report()
108 static inline int snd_jack_set_key(struct snd_jack *jack, in snd_jack_set_key()
H A Dsoc-jack.h82 struct snd_jack *jack;
/linux/sound/core/
H A Djack.c22 struct snd_jack *jack; /* pointer to struct snd_jack */
41 static void snd_jack_remove_debugfs(struct snd_jack *jack);
45 struct snd_jack *jack = device->device_data; in snd_jack_dev_disconnect()
67 struct snd_jack *jack = device->device_data; in snd_jack_dev_free()
90 struct snd_jack *jack = device->device_data; in snd_jack_dev_register()
131 struct snd_jack *jack; in snd_jack_inject_report()
346 static int snd_jack_debugfs_add_inject_node(struct snd_jack *jack, in snd_jack_debugfs_add_inject_node()
390 static void snd_jack_remove_debugfs(struct snd_jack *jack) in snd_jack_remove_debugfs()
400 static int snd_jack_debugfs_add_inject_node(struct snd_jack *jack, in snd_jack_debugfs_add_inject_node()
406 static void snd_jack_remove_debugfs(struct snd_jack *jack) in snd_jack_remove_debugfs()
[all …]
/linux/Documentation/sound/designs/
H A Djack-injection.rst19 ALSA driver creates multi ``jack_kctl`` for a ``snd_jack``, here the
20 ``snd_jack`` represents a physical audio jack and the ``jack_kctl``
24 ``jack_kctl`` instead of ``snd_jack``.
118 …read-only, get snd_jack's supported events from type (all supported events on the physical audio j…
/linux/sound/x86/
H A Dintel_hdmi_audio.h130 struct snd_jack *jack;
/linux/sound/hda/codecs/hdmi/
H A Dsimplehdmi.c47 static void free_hdmi_jack_priv(struct snd_jack *jack) in free_hdmi_jack_priv()
58 struct snd_jack *jack; in simple_hdmi_build_jack()
H A Dhdmi_local.h88 struct snd_jack *jack;
H A Dhdmi.c1122 static struct snd_jack *pin_idx_to_pcm_jack(struct hda_codec *codec, in pin_idx_to_pcm_jack()
1144 struct snd_jack *pcm_jack; in update_eld()
1880 static void free_hdmi_jack_priv(struct snd_jack *jack) in free_hdmi_jack_priv()
1891 struct snd_jack *jack; in generic_hdmi_build_jack()
/linux/Documentation/sound/hd-audio/
H A Ddp-mst.rst55 Driver uses struct hdmi_pcm pcm[] array in hdmi_spec and snd_jack is
69 Will not use hda_jack but use snd_jack in spec->pcm_rec[pcm_idx].jack directly.
/linux/drivers/staging/greybus/
H A Daudio_module.c24 struct snd_jack *jack = module->headset.jack.jack; in gbaudio_request_jack()
25 struct snd_jack *btn_jack = module->button.jack.jack; in gbaudio_request_jack()
73 struct snd_jack *btn_jack = module->button.jack.jack; in gbaudio_request_button()
/linux/sound/hda/common/
H A Dhda_jack.h46 struct snd_jack *jack;
H A Djack.c521 static void hda_free_jack_priv(struct snd_jack *jack) in hda_free_jack_priv()
/linux/sound/virtio/
H A Dvirtio_jack.c33 struct snd_jack *jack;
/linux/sound/soc/qcom/
H A Dsdm845.c223 static void sdm845_jack_free(struct snd_jack *jack) in sdm845_jack_free()
238 struct snd_jack *jack; in sdm845_dai_init()
H A Dapq8016_sbc.c103 struct snd_jack *jack; in apq8016_dai_init()