Home
last modified time | relevance | path

Searched refs:hp_pins (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/sound/pci/hda/
H A Dhda_auto_parser.c177 struct auto_out_pin hp_out[ARRAY_SIZE(cfg->hp_pins)]; in snd_hda_parse_pin_defcfg()
264 if (cfg->hp_outs >= ARRAY_SIZE(cfg->hp_pins)) { in snd_hda_parse_pin_defcfg()
373 sort_pins_by_sequence(cfg->hp_pins, hp_out, cfg->hp_outs); in snd_hda_parse_pin_defcfg()
390 memcpy(cfg->line_out_pins, cfg->hp_pins, in snd_hda_parse_pin_defcfg()
391 sizeof(cfg->hp_pins)); in snd_hda_parse_pin_defcfg()
393 memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins)); in snd_hda_parse_pin_defcfg()
399 reorder_outputs(cfg->hp_outs, cfg->hp_pins); in snd_hda_parse_pin_defcfg()
421 cfg->hp_outs, cfg->hp_pins[0], in snd_hda_parse_pin_defcfg()
422 cfg->hp_pins[1], cfg->hp_pins[2], in snd_hda_parse_pin_defcfg()
423 cfg->hp_pins[3], cfg->hp_pins[4]); in snd_hda_parse_pin_defcfg()
[all …]
H A Dhda_auto_parser.h70 hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS]; member
104 cfg->line_out_pins : cfg->hp_pins; in auto_cfg_hp_pins()
H A Dhda_generic.c1779 cfg->hp_pins, in fill_and_eval_dacs()
1941 cfg->hp_pins[0], cfg->hp_pins[1], in debug_show_configs()
1942 cfg->hp_pins[2], cfg->hp_pins[3], in debug_show_configs()
2053 memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins)); in parse_output_paths()
2639 nid = cfg->hp_pins[0]; in create_hp_mic()
4735 if (cfg->hp_pins[0]) in check_auto_mute_availability()
4751 if (!cfg->hp_pins[0] && in check_auto_mute_availability()
4754 sizeof(cfg->hp_pins)); in check_auto_mute_availability()
5075 memcpy(cfg->line_out_pins, cfg->hp_pins, sizeof(cfg->hp_pins)); in snd_hda_gen_parse_auto_config()
5077 memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins)); in snd_hda_gen_parse_auto_config()
[all …]
H A Dhda_jack.c655 for (i = 0, p = cfg->hp_pins; i < cfg->hp_outs; i++, p++) { in snd_hda_jack_add_kctls()
H A Dpatch_conexant.c361 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
H A Dpatch_realtek.c646 if (spec->gen.autocfg.hp_pins[0]) in alc_get_hp_pin()
647 return spec->gen.autocfg.hp_pins[0]; in alc_get_hp_pin()
869 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
1729 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()