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