Lines Matching refs:mix_val
3035 hda_nid_t pin, unsigned int *mix_val, in look_for_mix_leaf_ctls() argument
3046 *mix_val = *mute_val = 0; 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()
3051 if (*mix_val && *mute_val) in look_for_mix_leaf_ctls()
3059 if (!*mix_val && nid_has_volume(codec, nid, HDA_OUTPUT) && in look_for_mix_leaf_ctls()
3061 *mix_val = HDA_COMPOSE_AMP_VAL(nid, 3, 0, HDA_OUTPUT); in look_for_mix_leaf_ctls()
3066 return *mix_val || *mute_val; in look_for_mix_leaf_ctls()
3076 unsigned int mix_val, mute_val; in new_analog_input() local
3079 if (!look_for_mix_leaf_ctls(codec, mix_nid, pin, &mix_val, &mute_val)) in new_analog_input()
3089 if (mix_val) { in new_analog_input()
3090 err = __add_pb_vol_ctrl(spec, HDA_CTL_WIDGET_VOL, ctlname, ctlidx, mix_val); in new_analog_input()
3093 path->ctls[NID_PATH_VOL_CTL] = mix_val; in new_analog_input()