Home
last modified time | relevance | path

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

/linux-4.4.14/sound/pci/hda/
Dpatch_ca0110.c45 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
48 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
Dhda_generic.c1141 struct auto_pin_cfg *cfg = &spec->autocfg; in get_line_out_pfx()
1312 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1458 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1489 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1645 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1703 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1945 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2163 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2171 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2217 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
[all …]
Dpatch_cirrus.c366 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs_parse_auto_config()
370 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs_parse_auto_config()
713 hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; in cs4208_spdif_sw_put()
728 if (!spec->gen.autocfg.dig_out_pins[0]) in cs4208_fixup_spdif_switch()
1036 hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; in cs4210_spdif_automute()
1057 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in parse_cs421x_digital()
1107 if (spec->gen.autocfg.speaker_outs && in cs421x_build_controls()
1137 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs421x_parse_auto_config()
1141 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs421x_parse_auto_config()
Dpatch_cmedia.c61 cfg = &spec->gen.autocfg; in patch_cmi9880()
90 cfg = &spec->gen.autocfg; in patch_cmi8888()
Dpatch_analog.c190 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
807 if (!spec->gen.autocfg.dig_outs) in ad1988_auto_init()
855 if (!spec->gen.autocfg.dig_outs || in ad1988_add_spdif_mux_ctl()
1016 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in ad1884_fixup_hp_eapd()
1017 spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; in ad1884_fixup_hp_eapd()
1019 spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; in ad1884_fixup_hp_eapd()
Dpatch_realtek.c677 if (!spec->gen.autocfg.hp_pins[0] && in alc_subsystem_id()
678 !(spec->gen.autocfg.line_out_pins[0] && in alc_subsystem_id()
679 spec->gen.autocfg.line_out_type == AUTO_PIN_HP_OUT)) { in alc_subsystem_id()
683 if (found_in_nid_list(nid, spec->gen.autocfg.line_out_pins, in alc_subsystem_id()
684 spec->gen.autocfg.line_outs)) in alc_subsystem_id()
686 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
1000 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc_parse_auto_config()
1547 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
2611 spec->gen.autocfg.speaker_pins[0] != 0x1d) { in patch_alc268()
2784 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in alc282_init()
[all …]
Dpatch_conexant.c295 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
310 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
930 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
935 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()
Dpatch_via.c208 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_stop_hp_work()
221 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_update_hp_work()
585 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in via_parse_auto_config()
591 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in via_parse_auto_config()
Dhda_generic.h153 struct auto_pin_cfg autocfg; member
Dpatch_sigmatel.c830 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) { in has_builtin_speaker()
831 nid_pin = spec->gen.autocfg.line_out_pins; in has_builtin_speaker()
832 nids = spec->gen.autocfg.line_outs; in has_builtin_speaker()
834 nid_pin = spec->gen.autocfg.speaker_pins; in has_builtin_speaker()
835 nids = spec->gen.autocfg.speaker_outs; in has_builtin_speaker()
959 spec->gen.autocfg.dig_out_pins[smux_idx], in stac_smux_enum_put()
979 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in stac_create_spdif_mux_ctls()
4253 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, flags); in stac_parse_auto_config()
4263 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in stac_parse_auto_config()
Dpatch_ca0132.c706 struct auto_pin_cfg autocfg; member
3995 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in ca0132_build_controls()
4561 struct auto_pin_cfg *cfg = &spec->autocfg; in ca0132_init()
4628 struct auto_pin_cfg *cfg = &spec->autocfg; in ca0132_config()
4775 err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); in patch_ca0132()
/linux-4.4.14/drivers/dma/dw/
Dcore.c1502 bool autocfg = false; in dw_dma_probe() local
1521 autocfg = dw_params >> DW_PARAMS_EN & 1; in dw_dma_probe()
1522 if (!autocfg) { in dw_dma_probe()
1617 if (autocfg) { in dw_dma_probe()