Lines Matching refs:kcontrol
1709 static int snd_korg1212_control_phase_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_phase_info() argument
1713 uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; in snd_korg1212_control_phase_info()
1717 static int snd_korg1212_control_phase_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_phase_get() argument
1720 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_phase_get()
1721 int i = kcontrol->private_value; in snd_korg1212_control_phase_get()
1735 static int snd_korg1212_control_phase_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_phase_put() argument
1738 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_phase_put()
1744 i = kcontrol->private_value; in snd_korg1212_control_phase_put()
1748 val = korg1212->sharedBufferPtr->volumeData[kcontrol->private_value]; in snd_korg1212_control_phase_put()
1759 val = korg1212->sharedBufferPtr->volumeData[kcontrol->private_value+1]; in snd_korg1212_control_phase_put()
1773 static int snd_korg1212_control_volume_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_volume_info() argument
1777 uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; in snd_korg1212_control_volume_info()
1783 static int snd_korg1212_control_volume_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_volume_get() argument
1786 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_volume_get()
1791 i = kcontrol->private_value; in snd_korg1212_control_volume_get()
1802 static int snd_korg1212_control_volume_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_volume_put() argument
1805 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_volume_put()
1812 i = kcontrol->private_value; in snd_korg1212_control_volume_put()
1841 static int snd_korg1212_control_route_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_route_info() argument
1845 (kcontrol->private_value >= 8) ? 2 : 1, in snd_korg1212_control_route_info()
1849 static int snd_korg1212_control_route_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_route_get() argument
1852 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_route_get()
1857 i = kcontrol->private_value; in snd_korg1212_control_route_get()
1868 static int snd_korg1212_control_route_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_route_put() argument
1871 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_route_put()
1876 i = kcontrol->private_value; in snd_korg1212_control_route_put()
1899 static int snd_korg1212_control_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_info() argument
1909 static int snd_korg1212_control_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_get() argument
1912 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_get()
1924 static int snd_korg1212_control_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_put() argument
1927 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_put()
1953 static int snd_korg1212_control_sync_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_sync_info() argument
1959 static int snd_korg1212_control_sync_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_sync_get() argument
1962 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_sync_get()
1972 static int snd_korg1212_control_sync_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_sync_put() argument
1975 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_sync_put()