Lines Matching refs:kcontrol
1281 static int snd_ymfpci_spdif_default_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *u… in snd_ymfpci_spdif_default_info() argument
1288 static int snd_ymfpci_spdif_default_get(struct snd_kcontrol *kcontrol, in snd_ymfpci_spdif_default_get() argument
1291 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_default_get()
1301 static int snd_ymfpci_spdif_default_put(struct snd_kcontrol *kcontrol, in snd_ymfpci_spdif_default_put() argument
1304 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_default_put()
1328 static int snd_ymfpci_spdif_mask_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinf… in snd_ymfpci_spdif_mask_info() argument
1335 static int snd_ymfpci_spdif_mask_get(struct snd_kcontrol *kcontrol, in snd_ymfpci_spdif_mask_get() argument
1338 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_mask_get()
1356 static int snd_ymfpci_spdif_stream_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *ui… in snd_ymfpci_spdif_stream_info() argument
1363 static int snd_ymfpci_spdif_stream_get(struct snd_kcontrol *kcontrol, in snd_ymfpci_spdif_stream_get() argument
1366 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_stream_get()
1376 static int snd_ymfpci_spdif_stream_put(struct snd_kcontrol *kcontrol, in snd_ymfpci_spdif_stream_put() argument
1379 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_spdif_stream_put()
1404 static int snd_ymfpci_drec_source_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *inf… in snd_ymfpci_drec_source_info() argument
1411 static int snd_ymfpci_drec_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *val… in snd_ymfpci_drec_source_get() argument
1413 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_drec_source_get()
1426 static int snd_ymfpci_drec_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *val… in snd_ymfpci_drec_source_put() argument
1428 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_drec_source_put()
1463 static int snd_ymfpci_get_single(struct snd_kcontrol *kcontrol, in snd_ymfpci_get_single() argument
1466 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_single()
1467 int reg = kcontrol->private_value & 0xffff; in snd_ymfpci_get_single()
1468 unsigned int shift = (kcontrol->private_value >> 16) & 0xff; in snd_ymfpci_get_single()
1481 static int snd_ymfpci_put_single(struct snd_kcontrol *kcontrol, in snd_ymfpci_put_single() argument
1484 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_single()
1485 int reg = kcontrol->private_value & 0xffff; in snd_ymfpci_put_single()
1486 unsigned int shift = (kcontrol->private_value >> 16) & 0xff; in snd_ymfpci_put_single()
1517 static int snd_ymfpci_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_ymfpci_info_double() argument
1519 unsigned int reg = kcontrol->private_value; in snd_ymfpci_info_double()
1530 static int snd_ymfpci_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ymfpci_get_double() argument
1532 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_double()
1533 unsigned int reg = kcontrol->private_value; in snd_ymfpci_get_double()
1547 static int snd_ymfpci_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ymfpci_put_double() argument
1549 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_double()
1550 unsigned int reg = kcontrol->private_value; in snd_ymfpci_put_double()
1570 static int snd_ymfpci_put_nativedacvol(struct snd_kcontrol *kcontrol, in snd_ymfpci_put_nativedacvol() argument
1573 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_nativedacvol()
1595 static int snd_ymfpci_get_dup4ch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ymfpci_get_dup4ch() argument
1597 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_get_dup4ch()
1602 static int snd_ymfpci_put_dup4ch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) in snd_ymfpci_put_dup4ch() argument
1604 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_put_dup4ch()
1694 static int snd_ymfpci_gpio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_ymfpci_gpio_sw_get() argument
1696 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_gpio_sw_get()
1697 int pin = (int)kcontrol->private_value; in snd_ymfpci_gpio_sw_get()
1702 static int snd_ymfpci_gpio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontro… in snd_ymfpci_gpio_sw_put() argument
1704 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_gpio_sw_put()
1705 int pin = (int)kcontrol->private_value; in snd_ymfpci_gpio_sw_put()
1728 static int snd_ymfpci_pcm_vol_info(struct snd_kcontrol *kcontrol, in snd_ymfpci_pcm_vol_info() argument
1738 static int snd_ymfpci_pcm_vol_get(struct snd_kcontrol *kcontrol, in snd_ymfpci_pcm_vol_get() argument
1741 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_pcm_vol_get()
1742 unsigned int subs = kcontrol->id.subdevice; in snd_ymfpci_pcm_vol_get()
1749 static int snd_ymfpci_pcm_vol_put(struct snd_kcontrol *kcontrol, in snd_ymfpci_pcm_vol_put() argument
1752 struct snd_ymfpci *chip = snd_kcontrol_chip(kcontrol); in snd_ymfpci_pcm_vol_put()
1753 unsigned int subs = kcontrol->id.subdevice; in snd_ymfpci_pcm_vol_put()
1766 substream = (struct snd_pcm_substream *)kcontrol->private_value; in snd_ymfpci_pcm_vol_put()