Lines Matching refs:kctrl
426 int cs42l42_volume_info(struct snd_kcontrol *kctrl, struct snd_ctl_elem_info *uinfo) in cs42l42_volume_info() argument
428 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_info()
429 u8 chs = get_amp_channels(kctrl); in cs42l42_volume_info()
451 int cs42l42_volume_get(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_get() argument
453 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_get()
455 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)]; in cs42l42_volume_get()
456 int chs = get_amp_channels(kctrl); in cs42l42_volume_get()
457 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_get()
510 int cs42l42_volume_put(struct snd_kcontrol *kctrl, struct snd_ctl_elem_value *uctrl) in cs42l42_volume_put() argument
512 struct hda_codec *codec = snd_kcontrol_chip(kctrl); in cs42l42_volume_put()
514 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)]; in cs42l42_volume_put()
515 int chs = get_amp_channels(kctrl); in cs42l42_volume_put()
516 unsigned int ofs = get_amp_offset(kctrl); in cs42l42_volume_put()
1180 struct snd_kcontrol_new *kctrl; in dolphin_fixups() local
1228 kctrl = snd_hda_gen_add_kctl(&spec->gen, "Line Out Playback Volume", in dolphin_fixups()
1231 kctrl->private_value = HDA_COMPOSE_AMP_VAL_OFS(DOLPHIN_HP_PIN_NID, 3, CS8409_CODEC1, in dolphin_fixups()