Lines Matching defs:kctrl
452 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo)
454 unsigned int ofs = get_amp_offset(kctrl);
455 u8 chs = get_amp_channels(kctrl);
477 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl)
479 struct hda_codec *codec = snd_kcontrol_chip(kctrl);
481 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)];
482 int chs = get_amp_channels(kctrl);
483 unsigned int ofs = get_amp_offset(kctrl);
536 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl)
538 struct hda_codec *codec = snd_kcontrol_chip(kctrl);
540 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)];
541 int chs = get_amp_channels(kctrl);
542 unsigned int ofs = get_amp_offset(kctrl);
1336 struct snd_kcontrol_new *kctrl;
1388 kctrl = snd_hda_gen_add_kctl(&spec->gen, "Line Out Playback Volume",
1391 if (kctrl)
1392 kctrl->private_value = HDA_COMPOSE_AMP_VAL_OFS(DOLPHIN_HP_PIN_NID, 3, CS8409_CODEC1,