Home
last modified time | relevance | path

Searched refs:snd_soc_card (Results 1 – 25 of 239) sorted by relevance

12345678910

/linux-6.6.21/include/sound/
Dsoc-card.h16 static inline void snd_soc_card_mutex_lock_root(struct snd_soc_card *card) in snd_soc_card_mutex_lock_root()
21 static inline void snd_soc_card_mutex_lock(struct snd_soc_card *card) in snd_soc_card_mutex_lock()
26 static inline void snd_soc_card_mutex_unlock(struct snd_soc_card *card) in snd_soc_card_mutex_unlock()
31 struct snd_kcontrol *snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card,
33 struct snd_kcontrol *snd_soc_card_get_kcontrol_locked(struct snd_soc_card *soc_card,
35 int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type,
37 int snd_soc_card_jack_new_pins(struct snd_soc_card *card, const char *id,
42 int snd_soc_card_suspend_pre(struct snd_soc_card *card);
43 int snd_soc_card_suspend_post(struct snd_soc_card *card);
44 int snd_soc_card_resume_pre(struct snd_soc_card *card);
[all …]
Dsoc.h404 struct snd_soc_card;
428 int snd_soc_register_card(struct snd_soc_card *card);
429 void snd_soc_unregister_card(struct snd_soc_card *card);
430 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card);
478 struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card,
503 int snd_soc_set_dmi_name(struct snd_soc_card *card, const char *flavour);
505 static inline int snd_soc_set_dmi_name(struct snd_soc_card *card, in snd_soc_set_dmi_name()
556 int snd_soc_add_card_controls(struct snd_soc_card *soc_card,
587 int snd_soc_limit_volume(struct snd_soc_card *card,
935 struct snd_soc_card { struct
[all …]
Dsimple_card_utils.h58 struct snd_soc_card snd_card;
145 int asoc_simple_parse_card_name(struct snd_soc_card *card,
171 void asoc_simple_clean_reference(struct snd_soc_card *card);
177 int asoc_simple_parse_routing(struct snd_soc_card *card,
179 int asoc_simple_parse_widgets(struct snd_soc_card *card,
181 int asoc_simple_parse_pin_switches(struct snd_soc_card *card,
184 int asoc_simple_init_jack(struct snd_soc_card *card,
193 int asoc_graph_card_probe(struct snd_soc_card *card);
233 struct snd_soc_card *card = simple_priv_to_card(priv); in asoc_simple_debug_info()
/linux-6.6.21/sound/soc/intel/boards/
Dsof_sdw_common.h72 int (*init)(struct snd_soc_card *card,
77 int (*exit)(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link);
91 int (*codec_card_late_probe)(struct snd_soc_card *card);
115 int sof_sdw_hdmi_card_late_probe(struct snd_soc_card *card);
121 int sof_sdw_rt711_init(struct snd_soc_card *card,
126 int sof_sdw_rt711_exit(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link);
129 int sof_sdw_rt_sdca_jack_init(struct snd_soc_card *card,
134 int sof_sdw_rt_sdca_jack_exit(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link);
137 int sof_sdw_rt712_sdca_init(struct snd_soc_card *card,
142 int sof_sdw_rt712_sdca_exit(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link);
[all …]
Dsof_sdw_rt712_sdca.c39 struct snd_soc_card *card = rtd->card; in rt712_spk_init()
69 int sof_sdw_rt712_spk_init(struct snd_soc_card *card, in sof_sdw_rt712_spk_init()
82 struct snd_soc_card *card = rtd->card; in rt712_sdca_dmic_rtd_init()
93 int sof_sdw_rt712_sdca_dmic_init(struct snd_soc_card *card, in sof_sdw_rt712_sdca_dmic_init()
Dsof_realtek_common.h22 void sof_rt1011_codec_conf(struct snd_soc_card *card);
29 void sof_rt1015p_codec_conf(struct snd_soc_card *card);
36 void sof_rt1015_codec_conf(struct snd_soc_card *card);
Dskl_hda_dsp_common.h40 int skl_hda_hdmi_jack_init(struct snd_soc_card *card);
41 int skl_hda_hdmi_add_pcm(struct snd_soc_card *card, int device);
47 static inline int skl_hda_hdmi_build_controls(struct snd_soc_card *card) in skl_hda_hdmi_build_controls()
Dsof_realtek_common.c120 struct snd_soc_card *card = rtd->card; in rt1011_init()
139 void sof_rt1011_codec_conf(struct snd_soc_card *card) in sof_rt1011_codec_conf()
219 struct snd_soc_card *card = rtd->card; in rt1015p_init()
242 void sof_rt1015p_codec_conf(struct snd_soc_card *card) in sof_rt1015p_codec_conf()
355 void sof_rt1015_codec_conf(struct snd_soc_card *card) in sof_rt1015_codec_conf()
397 struct snd_soc_card *card = rtd->card; in rt1308_init()
427 struct snd_soc_card *card = rtd->card; in rt1308_hw_params()
486 struct snd_soc_card *card = rtd->card; in rt1019p_init()
/linux-6.6.21/sound/soc/
Dsoc-card.c15 static inline int _soc_card_ret(struct snd_soc_card *card, in _soc_card_ret()
32 struct snd_kcontrol *snd_soc_card_get_kcontrol_locked(struct snd_soc_card *soc_card, in snd_soc_card_get_kcontrol_locked()
51 struct snd_kcontrol *snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card, in snd_soc_card_get_kcontrol()
65 static int jack_new(struct snd_soc_card *card, const char *id, int type, in jack_new()
92 int snd_soc_card_jack_new(struct snd_soc_card *card, const char *id, int type, in snd_soc_card_jack_new()
115 int snd_soc_card_jack_new_pins(struct snd_soc_card *card, const char *id, in snd_soc_card_jack_new_pins()
133 int snd_soc_card_suspend_pre(struct snd_soc_card *card) in snd_soc_card_suspend_pre()
143 int snd_soc_card_suspend_post(struct snd_soc_card *card) in snd_soc_card_suspend_post()
153 int snd_soc_card_resume_pre(struct snd_soc_card *card) in snd_soc_card_resume_pre()
163 int snd_soc_card_resume_post(struct snd_soc_card *card) in snd_soc_card_resume_post()
[all …]
Dsoc-core.c197 static void soc_init_card_debugfs(struct snd_soc_card *card) in soc_init_card_debugfs()
208 static void soc_cleanup_card_debugfs(struct snd_soc_card *card) in soc_cleanup_card_debugfs()
234 static inline void soc_init_card_debugfs(struct snd_soc_card *card) { } in soc_init_card_debugfs()
235 static inline void soc_cleanup_card_debugfs(struct snd_soc_card *card) { } in soc_cleanup_card_debugfs()
402 *snd_soc_get_pcm_runtime(struct snd_soc_card *card, in snd_soc_get_pcm_runtime()
494 struct snd_soc_card *card, struct snd_soc_dai_link *dai_link) in soc_new_pcm_runtime()
579 static void snd_soc_flush_all_delayed_work(struct snd_soc_card *card) in snd_soc_flush_all_delayed_work()
588 static void soc_playback_digital_mute(struct snd_soc_card *card, int mute) in soc_playback_digital_mute()
607 static void soc_dapm_suspend_resume(struct snd_soc_card *card, int event) in soc_dapm_suspend_resume()
625 struct snd_soc_card *card = dev_get_drvdata(dev); in snd_soc_suspend()
[all …]
/linux-6.6.21/sound/soc/meson/
Dmeson-card.h13 struct snd_soc_card;
20 int (*add_link)(struct snd_soc_card *card,
27 struct snd_soc_card card;
38 int meson_card_reallocate_links(struct snd_soc_card *card,
40 int meson_card_parse_dai(struct snd_soc_card *card,
43 int meson_card_set_be_link(struct snd_soc_card *card,
46 int meson_card_set_fe_link(struct snd_soc_card *card,
Dmeson-card-utils.c42 int meson_card_reallocate_links(struct snd_soc_card *card, in meson_card_reallocate_links()
75 int meson_card_parse_dai(struct snd_soc_card *card, in meson_card_parse_dai()
92 static int meson_card_set_link_name(struct snd_soc_card *card, in meson_card_set_link_name()
135 int meson_card_set_be_link(struct snd_soc_card *card, in meson_card_set_be_link()
175 int meson_card_set_fe_link(struct snd_soc_card *card, in meson_card_set_fe_link()
197 static int meson_card_add_links(struct snd_soc_card *card) in meson_card_add_links()
228 static int meson_card_parse_of_optional(struct snd_soc_card *card, in meson_card_parse_of_optional()
230 int (*func)(struct snd_soc_card *c, in meson_card_parse_of_optional()
243 struct snd_soc_card *card = &priv->card; in meson_card_clean_references()
/linux-6.6.21/sound/soc/au1x/
Ddb1200.c61 static struct snd_soc_card db1200_ac97_machine = {
79 static struct snd_soc_card db1300_ac97_machine = {
86 static struct snd_soc_card db1550_ac97_machine = {
125 static struct snd_soc_card db1200_i2s_machine = {
146 static struct snd_soc_card db1300_i2s_machine = {
167 static struct snd_soc_card db1550_i2s_machine = {
176 static struct snd_soc_card *db1200_cards[] = {
188 struct snd_soc_card *card; in db1200_audio_probe()
/linux-6.6.21/include/trace/events/
Dasoc.h16 struct snd_soc_card;
20 DECLARE_EVENT_CLASS(snd_soc_card,
22 TP_PROTO(struct snd_soc_card *card, int val),
39 DEFINE_EVENT(snd_soc_card, snd_soc_bias_level_start,
41 TP_PROTO(struct snd_soc_card *card, int val),
47 DEFINE_EVENT(snd_soc_card, snd_soc_bias_level_done,
49 TP_PROTO(struct snd_soc_card *card, int val),
57 TP_PROTO(struct snd_soc_card *card),
74 TP_PROTO(struct snd_soc_card *card),
82 TP_PROTO(struct snd_soc_card *card),
[all …]
/linux-6.6.21/sound/soc/atmel/
Dtse850-pcm5142.c64 struct snd_soc_card *card = dapm->card; in tse850_get_mux1()
76 struct snd_soc_card *card = dapm->card; in tse850_put_mux1()
94 struct snd_soc_card *card = dapm->card; in tse850_get_mux2()
106 struct snd_soc_card *card = dapm->card; in tse850_put_mux2()
124 struct snd_soc_card *card = dapm->card; in tse850_get_mix()
136 struct snd_soc_card *card = dapm->card; in tse850_put_mix()
158 struct snd_soc_card *card = dapm->card; in tse850_get_ana()
191 struct snd_soc_card *card = dapm->card; in tse850_put_ana()
311 static struct snd_soc_card tse850_card = {
356 struct snd_soc_card *card = &tse850_card; in tse850_probe()
[all …]
/linux-6.6.21/sound/soc/samsung/
Darndale.c121 static struct snd_soc_card arndale_rt5631 = {
128 static struct snd_soc_card arndale_wm1811 = {
135 static void arndale_put_of_nodes(struct snd_soc_card *card) in arndale_put_of_nodes()
149 struct snd_soc_card *card; in arndale_audio_probe()
153 card = (struct snd_soc_card *)of_device_get_match_data(&pdev->dev); in arndale_audio_probe()
190 struct snd_soc_card *card = platform_get_drvdata(pdev); in arndale_audio_remove()
Dmidas_wm1811.c54 struct snd_soc_card *card = rtd->card; in midas_start_fll1()
106 struct snd_soc_card *card = rtd->card; in midas_stop_fll1()
177 struct snd_soc_card *card = w->dapm->card; in midas_mic_bias()
193 struct snd_soc_card *card = w->dapm->card; in midas_submic_bias()
209 struct snd_soc_card *card = w->dapm->card; in midas_fm_set()
230 struct snd_soc_card *card = w->dapm->card; in midas_line_set()
281 static int midas_set_bias_level(struct snd_soc_card *card, in midas_set_bias_level()
304 static int midas_late_probe(struct snd_soc_card *card) in midas_late_probe()
416 static struct snd_soc_card midas_card = {
435 struct snd_soc_card *card = &midas_card; in midas_probe()
Dtobermory.c17 static int tobermory_set_bias_level(struct snd_soc_card *card, in tobermory_set_bias_level()
60 static int tobermory_set_bias_level_post(struct snd_soc_card *card, in tobermory_set_bias_level_post()
176 static int tobermory_late_probe(struct snd_soc_card *card) in tobermory_late_probe()
204 static struct snd_soc_card tobermory = {
226 struct snd_soc_card *card = &tobermory; in tobermory_probe()
Dlittlemill.c17 static int littlemill_set_bias_level(struct snd_soc_card *card, in littlemill_set_bias_level()
64 static int littlemill_set_bias_level_post(struct snd_soc_card *card, in littlemill_set_bias_level_post()
179 struct snd_soc_card *card = w->dapm->card; in bbclk_ev()
272 static int littlemill_late_probe(struct snd_soc_card *card) in littlemill_late_probe()
317 static struct snd_soc_card littlemill = {
338 struct snd_soc_card *card = &littlemill; in littlemill_probe()
/linux-6.6.21/sound/soc/mediatek/common/
Dmtk-dsp-sof-common.h30 int mtk_sof_card_probe(struct snd_soc_card *card);
31 int mtk_sof_card_late_probe(struct snd_soc_card *card);
32 int mtk_sof_dailink_parse_of(struct snd_soc_card *card, struct device_node *np,
Dmtk-soundcard-driver.c15 static int set_card_codec_info(struct snd_soc_card *card, in set_card_codec_info()
41 static int set_dailink_daifmt(struct snd_soc_card *card, in set_dailink_daifmt()
82 int parse_dai_link_info(struct snd_soc_card *card) in parse_dai_link_info()
125 void clean_card_reference(struct snd_soc_card *card) in clean_card_reference()
/linux-6.6.21/sound/soc/amd/
Dacp-da7219-max98357a.c56 struct snd_soc_card *card = rtd->card; in cz_da7219_init()
136 struct snd_soc_card *card = rtd->card; in cz_rt5682_init()
249 struct snd_soc_card *card = rtd->card; in cz_da7219_play_startup()
270 struct snd_soc_card *card = rtd->card; in cz_da7219_cap_startup()
292 struct snd_soc_card *card = rtd->card; in cz_max_startup()
313 struct snd_soc_card *card = rtd->card; in cz_dmic0_startup()
334 struct snd_soc_card *card = rtd->card; in cz_dmic1_startup()
361 struct snd_soc_card *card = rtd->card; in cz_rt5682_play_startup()
382 struct snd_soc_card *card = rtd->card; in cz_rt5682_cap_startup()
404 struct snd_soc_card *card = rtd->card; in cz_rt5682_max_startup()
[all …]
Dacp3x-rt5682-max9836.c56 struct snd_soc_card *card = rtd->card; in acp3x_5682_init()
198 struct snd_soc_card *card = rtd->card; in acp3x_5682_startup()
216 struct snd_soc_card *card = rtd->card; in acp3x_max_startup()
232 struct snd_soc_card *card = rtd->card; in acp3x_ec_dmic0_startup()
383 static struct snd_soc_card acp3x_5682 = {
422 static struct snd_soc_card acp3x_1015 = {
461 static struct snd_soc_card acp3x_1015p = {
502 struct snd_soc_card *card; in acp3x_probe()
506 card = (struct snd_soc_card *)soc_is_rltk_max(dev); in acp3x_probe()
/linux-6.6.21/sound/soc/qcom/
Dapq8016_sbc.c25 struct snd_soc_card card;
62 struct snd_soc_card *card = rtd->card; in apq8016_dai_init()
155 static void apq8016_sbc_add_ops(struct snd_soc_card *card) in apq8016_sbc_add_ops()
195 struct snd_soc_card *card = rtd->card; in msm8916_qdsp6_startup()
216 struct snd_soc_card *card = rtd->card; in msm8916_qdsp6_shutdown()
254 static void msm8916_qdsp6_add_ops(struct snd_soc_card *card) in msm8916_qdsp6_add_ops()
288 void (*add_ops)(struct snd_soc_card *card); in apq8016_sbc_platform_probe()
290 struct snd_soc_card *card; in apq8016_sbc_platform_probe()
/linux-6.6.21/sound/soc/ti/
Drx51.c47 struct snd_soc_card *card = dapm->card; in rx51_ext_control()
94 struct snd_soc_card *card = rtd->card; in rx51_startup()
129 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in rx51_set_spk()
144 struct snd_soc_card *card = dapm->card; in rx51_spk_event()
164 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in rx51_set_input()
186 struct snd_soc_card *card = snd_kcontrol_chip(kcontrol); in rx51_set_jack()
265 struct snd_soc_card *card = rtd->card; in rx51_aic34_init()
341 static struct snd_soc_card rx51_sound_card = {
364 struct snd_soc_card *card = &rx51_sound_card; in rx51_soc_probe()

12345678910