Lines Matching refs:mix_nid
3034 static bool look_for_mix_leaf_ctls(struct hda_codec *codec, hda_nid_t mix_nid, in look_for_mix_leaf_ctls() argument
3042 idx = snd_hda_get_conn_index(codec, mix_nid, pin, true); in look_for_mix_leaf_ctls()
3047 if (nid_has_volume(codec, mix_nid, HDA_INPUT)) in look_for_mix_leaf_ctls()
3048 *mix_val = HDA_COMPOSE_AMP_VAL(mix_nid, 3, idx, HDA_INPUT); in look_for_mix_leaf_ctls()
3049 if (nid_has_mute(codec, mix_nid, HDA_INPUT)) in look_for_mix_leaf_ctls()
3050 *mute_val = HDA_COMPOSE_AMP_VAL(mix_nid, 3, idx, HDA_INPUT); in look_for_mix_leaf_ctls()
3055 num_conns = snd_hda_get_conn_list(codec, mix_nid, &list); in look_for_mix_leaf_ctls()
3072 hda_nid_t mix_nid) in new_analog_input() argument
3079 if (!look_for_mix_leaf_ctls(codec, mix_nid, pin, &mix_val, &mute_val)) in new_analog_input()
3082 path = snd_hda_add_new_path(codec, pin, mix_nid, 0); in new_analog_input()
3105 err = add_loopback_list(spec, mix_nid, idx); in new_analog_input()