Lines Matching refs:kcontrol

1711 static int snd_korg1212_control_phase_info(struct snd_kcontrol *kcontrol,  in snd_korg1212_control_phase_info()  argument
1715 uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; in snd_korg1212_control_phase_info()
1719 static int snd_korg1212_control_phase_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_phase_get() argument
1722 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_phase_get()
1723 int i = kcontrol->private_value; in snd_korg1212_control_phase_get()
1737 static int snd_korg1212_control_phase_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_phase_put() argument
1740 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_phase_put()
1746 i = kcontrol->private_value; in snd_korg1212_control_phase_put()
1750 val = korg1212->sharedBufferPtr->volumeData[kcontrol->private_value]; in snd_korg1212_control_phase_put()
1761 val = korg1212->sharedBufferPtr->volumeData[kcontrol->private_value+1]; in snd_korg1212_control_phase_put()
1775 static int snd_korg1212_control_volume_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_volume_info() argument
1779 uinfo->count = (kcontrol->private_value >= 8) ? 2 : 1; in snd_korg1212_control_volume_info()
1785 static int snd_korg1212_control_volume_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_volume_get() argument
1788 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_volume_get()
1793 i = kcontrol->private_value; in snd_korg1212_control_volume_get()
1804 static int snd_korg1212_control_volume_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_volume_put() argument
1807 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_volume_put()
1814 i = kcontrol->private_value; in snd_korg1212_control_volume_put()
1843 static int snd_korg1212_control_route_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_route_info() argument
1847 (kcontrol->private_value >= 8) ? 2 : 1, in snd_korg1212_control_route_info()
1851 static int snd_korg1212_control_route_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_route_get() argument
1854 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_route_get()
1859 i = kcontrol->private_value; in snd_korg1212_control_route_get()
1870 static int snd_korg1212_control_route_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_route_put() argument
1873 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_route_put()
1878 i = kcontrol->private_value; in snd_korg1212_control_route_put()
1901 static int snd_korg1212_control_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_info() argument
1911 static int snd_korg1212_control_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_get() argument
1914 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_get()
1926 static int snd_korg1212_control_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_put() argument
1929 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_put()
1955 static int snd_korg1212_control_sync_info(struct snd_kcontrol *kcontrol, in snd_korg1212_control_sync_info() argument
1961 static int snd_korg1212_control_sync_get(struct snd_kcontrol *kcontrol, in snd_korg1212_control_sync_get() argument
1964 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_sync_get()
1974 static int snd_korg1212_control_sync_put(struct snd_kcontrol *kcontrol, in snd_korg1212_control_sync_put() argument
1977 struct snd_korg1212 *korg1212 = snd_kcontrol_chip(kcontrol); in snd_korg1212_control_sync_put()