Home
last modified time | relevance | path

Searched refs:autocfg (Results 1 – 19 of 19) sorted by relevance

/linux/sound/hda/codecs/
H A Dcm9825.c221 for (i = 0; i < spec->gen.autocfg.num_inputs; i++) { in cm9825_unsol_inputs_delayed()
226 spec->gen.autocfg.inputs[i].pin); in cm9825_unsol_inputs_delayed()
237 spec->gen.autocfg.line_out_pins[0]); in cm9825_unsol_lineout_delayed()
245 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in cm9825_unsol_hp_delayed()
296 for (int i = 0; i < spec->gen.autocfg.num_inputs; i++) { in hp_callback()
308 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in cm9825_setup_unsol()
310 hda_nid_t lineout_pin = spec->gen.autocfg.line_out_pins[0]; in cm9825_setup_unsol()
336 for (i = 0; i < spec->gen.autocfg.num_inputs; i++) { in cm9825_setup_unsol()
337 if (spec->gen.autocfg.inputs[i].pin != 0) { in cm9825_setup_unsol()
339 (codec, spec->gen.autocfg.inputs[i].pin)) { in cm9825_setup_unsol()
[all …]
H A Dgeneric.c1169 struct auto_pin_cfg *cfg = &spec->autocfg; in get_line_out_pfx()
1349 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1499 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1530 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1686 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1744 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1986 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2201 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2209 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2253 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
[all …]
H A Dca0110.c23 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
26 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
H A Danalog.c165 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
760 if (!spec->gen.autocfg.dig_outs) in ad_codec_init()
808 if (!spec->gen.autocfg.dig_outs || in ad1988_add_spdif_mux_ctl()
959 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in ad1884_fixup_hp_eapd()
960 spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; in ad1884_fixup_hp_eapd()
962 spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; in ad1884_fixup_hp_eapd()
H A Dsenarytech.c189 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in senary_probe()
198 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in senary_probe()
H A Dcmedia.c32 cfg = &spec->autocfg; in cmedia_probe()
H A Dvia.c187 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_stop_hp_work()
200 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_update_hp_work()
497 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in via_parse_auto_config()
505 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in via_parse_auto_config()
H A Dconexant.c350 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
365 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
1251 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in cx_probe()
1260 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cx_probe()
H A Dsigmatel.c808 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) { in has_builtin_speaker()
809 nid_pin = spec->gen.autocfg.line_out_pins; in has_builtin_speaker()
810 nids = spec->gen.autocfg.line_outs; in has_builtin_speaker()
812 nid_pin = spec->gen.autocfg.speaker_pins; in has_builtin_speaker()
813 nids = spec->gen.autocfg.speaker_outs; in has_builtin_speaker()
937 spec->gen.autocfg.dig_out_pins[smux_idx], in stac_smux_enum_put()
957 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in stac_create_spdif_mux_ctls()
4279 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, flags); in stac_parse_auto_config()
4292 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in stac_parse_auto_config()
H A Dgeneric.h154 struct auto_pin_cfg autocfg; member
H A Dca0132.c1070 struct auto_pin_cfg autocfg; member
7144 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in ca0132_build_controls()
9439 struct auto_pin_cfg *cfg = &spec->autocfg; in ca0132_init()
9558 struct auto_pin_cfg *cfg = &spec->autocfg; in dbpro_init()
10007 err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); in ca0132_codec_probe()
/linux/sound/hda/codecs/cirrus/
H A Dcs421x.c398 hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; in cs4210_spdif_automute()
419 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in parse_cs421x_digital()
479 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs421x_parse_auto_config()
483 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs421x_parse_auto_config()
489 if (spec->gen.autocfg.speaker_outs && in cs421x_parse_auto_config()
H A Dcs420x.c301 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs_parse_auto_config()
305 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs_parse_auto_config()
645 hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; in cs4208_spdif_sw_put()
660 if (!spec->gen.autocfg.dig_out_pins[0]) in cs4208_fixup_spdif_switch()
H A Dcs8409.c33 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
37 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
/linux/sound/hda/codecs/realtek/
H A Drealtek.c382 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc_find_ext_mic_pin()
508 if (spec->gen.autocfg.hp_pins[0]) in alc_get_hp_pin()
509 return spec->gen.autocfg.hp_pins[0]; in alc_get_hp_pin()
510 if (spec->gen.autocfg.line_out_type == AC_JACK_HP_OUT) in alc_get_hp_pin()
511 return spec->gen.autocfg.line_out_pins[0]; in alc_get_hp_pin()
732 if (found_in_nid_list(nid, spec->gen.autocfg.line_out_pins, in alc_subsystem_id()
733 spec->gen.autocfg.line_outs)) in alc_subsystem_id()
735 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
1009 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc_parse_auto_config()
2122 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc_probe_headset_mode()
H A Dalc268.c130 spec->gen.autocfg.speaker_pins[0] != 0x1d) { in alc268_probe()
H A Dalc260.c52 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
H A Dalc269.c2427 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc269_fixup_limit_int_mic_boost()
3538 if (spec->gen.autocfg.speaker_pins[0] != 0x14) { in alc287_fixup_bind_dacs()
/linux/drivers/dma/dw/
H A Dcore.c1155 bool autocfg = false; in do_dma_probe() local
1172 autocfg = dw_params >> DW_PARAMS_EN & 1; in do_dma_probe()
1173 if (!autocfg) { in do_dma_probe()
1265 if (autocfg) { in do_dma_probe()