Searched refs:kc (Results 1 – 6 of 6) sorted by relevance
/sound/pci/ice1712/ |
D | se.c | 434 static int se200pci_cont_volume_info(struct snd_kcontrol *kc, in se200pci_cont_volume_info() argument 446 static int se200pci_cont_enum_info(struct snd_kcontrol *kc, in se200pci_cont_enum_info() argument 451 n = kc->private_value; in se200pci_cont_enum_info() 465 static int se200pci_cont_volume_get(struct snd_kcontrol *kc, in se200pci_cont_volume_get() argument 468 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_volume_get() 470 int n = kc->private_value; in se200pci_cont_volume_get() 476 static int se200pci_cont_boolean_get(struct snd_kcontrol *kc, in se200pci_cont_boolean_get() argument 479 struct snd_ice1712 *ice = snd_kcontrol_chip(kc); in se200pci_cont_boolean_get() 481 int n = kc->private_value; in se200pci_cont_boolean_get() 486 static int se200pci_cont_enum_get(struct snd_kcontrol *kc, in se200pci_cont_enum_get() argument [all …]
|
/sound/parisc/ |
D | harmony.c | 695 snd_harmony_mixercontrol_info(struct snd_kcontrol *kc, in snd_harmony_mixercontrol_info() argument 698 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_mixercontrol_info() 699 int left_shift = (kc->private_value) & 0xff; in snd_harmony_mixercontrol_info() 700 int right_shift = (kc->private_value >> 8) & 0xff; in snd_harmony_mixercontrol_info() 712 snd_harmony_volume_get(struct snd_kcontrol *kc, in snd_harmony_volume_get() argument 715 struct snd_harmony *h = snd_kcontrol_chip(kc); in snd_harmony_volume_get() 716 int shift_left = (kc->private_value) & 0xff; in snd_harmony_volume_get() 717 int shift_right = (kc->private_value >> 8) & 0xff; in snd_harmony_volume_get() 718 int mask = (kc->private_value >> 16) & 0xff; in snd_harmony_volume_get() 719 int invert = (kc->private_value >> 24) & 0xff; in snd_harmony_volume_get() [all …]
|
/sound/pci/hda/ |
D | hda_local.h | 682 #define get_amp_nid(kc) get_amp_nid_((kc)->private_value) argument 683 #define get_amp_channels(kc) (((kc)->private_value >> 16) & 0x3) argument 685 #define get_amp_direction(kc) get_amp_direction_((kc)->private_value) argument 687 #define get_amp_index(kc) get_amp_index_((kc)->private_value) argument 688 #define get_amp_offset(kc) (((kc)->private_value >> 23) & 0x3f) argument 689 #define get_amp_min_mute(kc) (((kc)->private_value >> 29) & 0x1) argument
|
/sound/soc/omap/ |
D | omap-mcbsp.c | 608 omap_mcbsp_set_st_ch##channel##_volume(struct snd_kcontrol *kc, \ 611 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \ 614 (struct soc_mixer_control *)kc->private_value; \ 627 omap_mcbsp_get_st_ch##channel##_volume(struct snd_kcontrol *kc, \ 630 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kc); \
|
/sound/usb/caiaq/ |
D | control.c | 497 struct snd_kcontrol *kc; in add_controls() local 502 kc = snd_ctl_new1(&kcontrol_template, cdev); in add_controls() 503 ret = snd_ctl_add(cdev->chip.card, kc); in add_controls()
|
/sound/usb/ |
D | mixer_quirks.c | 611 const struct snd_kcontrol_new *kc, in snd_nativeinstruments_create_mixer() argument 626 template.name = kc[i].name; in snd_nativeinstruments_create_mixer() 627 template.private_value = kc[i].private_value; in snd_nativeinstruments_create_mixer()
|