Lines Matching refs:kctl
401 struct snd_kcontrol *pos, *kctl = NULL; in catpt_dai_apply_usettings() local
427 kctl = pos; in catpt_dai_apply_usettings()
431 if (!kctl) in catpt_dai_apply_usettings()
435 return catpt_set_dspvol(cdev, id, (long *)kctl->private_value); in catpt_dai_apply_usettings()
436 ret = catpt_ipc_mute_loopback(cdev, id, *(bool *)kctl->private_value); in catpt_dai_apply_usettings()
959 static int catpt_offload1_volume_get(struct snd_kcontrol *kctl, in catpt_offload1_volume_get() argument
962 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_get()
965 static int catpt_offload1_volume_put(struct snd_kcontrol *kctl, in catpt_offload1_volume_put() argument
968 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_put()
971 static int catpt_offload2_volume_get(struct snd_kcontrol *kctl, in catpt_offload2_volume_get() argument
974 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_get()
977 static int catpt_offload2_volume_put(struct snd_kcontrol *kctl, in catpt_offload2_volume_put() argument
980 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_put()
983 static int catpt_capture_volume_get(struct snd_kcontrol *kctl, in catpt_capture_volume_get() argument
986 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_CAPTURE1); in catpt_capture_volume_get()
989 static int catpt_capture_volume_put(struct snd_kcontrol *kctl, in catpt_capture_volume_put() argument
992 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_CAPTURE1); in catpt_capture_volume_put()