Home
last modified time | relevance | path

Searched refs:num_pins (Results 1 – 9 of 9) sorted by relevance

/sound/pci/lola/
Dlola_mixer.c98 for (i = 0; i < chip->pin[dir].num_pins; i++, nid++) { in lola_init_pins()
140 chip->mixer.src_phys_ins = chip->pin[CAPT].num_pins; in lola_init_mixer_widget()
144 chip->mixer.dest_phys_outs = chip->pin[PLAY].num_pins; in lola_init_mixer_widget()
339 max_idx = chip->pin[dir].num_pins; in lola_setup_all_analog_gains()
403 if (idx >= chip->pin[dir].num_pins) in set_analog_volume()
434 for (n = 0; n < chip->pin[CAPT].num_pins; n += 2) { in lola_set_src_config()
467 lola_set_src_config(chip, (1 << chip->pin[CAPT].num_pins) - 1, false); in init_mixer_values()
519 uinfo->count = chip->pin[dir].num_pins; in lola_analog_vol_info()
532 for (i = 0; i < chip->pin[dir].num_pins; i++) in lola_analog_vol_get()
545 for (i = 0; i < chip->pin[dir].num_pins; i++) { in lola_analog_vol_put()
[all …]
Dlola_proc.c124 chip->pin[CAPT].num_pins, chip->pin[PLAY].num_pins); in lola_proc_codec_read()
130 for (i = 0; i < chip->pin[CAPT].num_pins; i++, nid++) in lola_proc_codec_read()
133 for (i = 0; i < chip->pin[PLAY].num_pins; i++, nid++) in lola_proc_codec_read()
Dlola.c480 chip->pin[CAPT].num_pins = LOLA_AFG_INPUT_PIN_COUNT(chip->lola_caps); in lola_parse_tree()
481 chip->pin[PLAY].num_pins = LOLA_AFG_OUTPUT_PIN_COUNT(chip->lola_caps); in lola_parse_tree()
484 chip->pin[CAPT].num_pins, chip->pin[PLAY].num_pins); in lola_parse_tree()
486 if (chip->pin[CAPT].num_pins > MAX_AUDIO_INOUT_COUNT || in lola_parse_tree()
487 chip->pin[PLAY].num_pins > MAX_AUDIO_INOUT_COUNT) { in lola_parse_tree()
Dlola.h244 unsigned int num_pins; member
/sound/pci/hda/
Dhda_auto_parser.c50 int num_pins) in sort_pins_by_sequence() argument
53 sort(list, num_pins, sizeof(list[0]), compare_seq, NULL); in sort_pins_by_sequence()
54 for (i = 0; i < num_pins; i++) in sort_pins_by_sequence()
607 int num_pins, int *indexp) in check_output_sfx() argument
614 i = find_idx_in_nid_list(nid, pins, num_pins); in check_output_sfx()
617 if (num_pins == 1) in check_output_sfx()
619 if (num_pins > ARRAY_SIZE(channel_sfx)) { in check_output_sfx()
643 const hda_nid_t *pins, int num_pins) in get_hp_label_index() argument
649 i = find_idx_in_nid_list(nid, pins, num_pins); in get_hp_label_index()
Dhda_generic.c231 static void set_pin_targets(struct hda_codec *codec, int num_pins, in set_pin_targets() argument
235 for (i = 0; i < num_pins; i++) in set_pin_targets()
1472 int num_pins = 0; in count_multiio_pins() local
1480 num_pins++; in count_multiio_pins()
1483 return num_pins; in count_multiio_pins()
1500 int type, i, j, num_pins, old_pins; in fill_multi_ios() local
1510 num_pins = count_multiio_pins(codec, reference_pin); in fill_multi_ios()
1511 if (num_pins < 2) in fill_multi_ios()
2143 static int create_extra_outs(struct hda_codec *codec, int num_pins, in create_extra_outs() argument
2148 for (i = 0; i < num_pins; i++) { in create_extra_outs()
[all …]
Dpatch_hdmi.c137 int num_pins; member
372 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) in pin_nid_to_pin_index()
386 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) in hinfo_to_pin_index()
1683 pin_idx = spec->num_pins; in hdmi_add_pin()
1695 spec->num_pins++; in hdmi_add_pin()
2079 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in generic_hdmi_build_pcms()
2124 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in generic_hdmi_build_controls()
2150 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in generic_hdmi_build_controls()
2183 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in generic_hdmi_init_per_pins()
2199 for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) { in generic_hdmi_init()
[all …]
Dpatch_conexant.c144 static void cx_auto_turn_eapd(struct hda_codec *codec, int num_pins, in cx_auto_turn_eapd() argument
148 for (i = 0; i < num_pins; i++) { in cx_auto_turn_eapd()
/sound/soc/
Dsoc-jack.c41 unsigned int num_pins) in snd_soc_card_jack_new() argument
55 if (num_pins) in snd_soc_card_jack_new()
56 return snd_soc_jack_add_pins(jack, num_pins, pins); in snd_soc_card_jack_new()