Lines Matching refs:kctrl
459 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo)
461 unsigned int ofs = get_amp_offset(kctrl);
462 u8 chs = get_amp_channels(kctrl);
484 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl)
486 struct hda_codec *codec = snd_kcontrol_chip(kctrl);
488 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)];
489 int chs = get_amp_channels(kctrl);
490 unsigned int ofs = get_amp_offset(kctrl);
543 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl)
545 struct hda_codec *codec = snd_kcontrol_chip(kctrl);
547 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)];
548 int chs = get_amp_channels(kctrl);
549 unsigned int ofs = get_amp_offset(kctrl);
1359 struct snd_kcontrol_new *kctrl;
1411 kctrl = snd_hda_gen_add_kctl(&spec->gen, "Line Out Playback Volume",
1414 kctrl->private_value = HDA_COMPOSE_AMP_VAL_OFS(DOLPHIN_HP_PIN_NID, 3, CS8409_CODEC1,