Lines Matching refs:mix_val
3058 hda_nid_t pin, unsigned int *mix_val, in look_for_mix_leaf_ctls() argument
3069 *mix_val = *mute_val = 0; in look_for_mix_leaf_ctls()
3071 *mix_val = HDA_COMPOSE_AMP_VAL(mix_nid, 3, idx, HDA_INPUT); in look_for_mix_leaf_ctls()
3074 if (*mix_val && *mute_val) in look_for_mix_leaf_ctls()
3082 if (!*mix_val && nid_has_volume(codec, nid, HDA_OUTPUT) && in look_for_mix_leaf_ctls()
3084 *mix_val = HDA_COMPOSE_AMP_VAL(nid, 3, 0, HDA_OUTPUT); in look_for_mix_leaf_ctls()
3089 return *mix_val || *mute_val; in look_for_mix_leaf_ctls()
3099 unsigned int mix_val, mute_val; in new_analog_input() local
3102 if (!look_for_mix_leaf_ctls(codec, mix_nid, pin, &mix_val, &mute_val)) in new_analog_input()
3112 if (mix_val) { in new_analog_input()
3113 err = __add_pb_vol_ctrl(spec, HDA_CTL_WIDGET_VOL, ctlname, ctlidx, mix_val); in new_analog_input()
3116 path->ctls[NID_PATH_VOL_CTL] = mix_val; in new_analog_input()