Home
last modified time | relevance | path

Searched refs:uctl (Results 1 – 14 of 14) sorted by relevance

/linux/sound/hda/codecs/side-codecs/
H A Dtas2781_hda.h72 struct snd_ctl_elem_info *uctl);
74 struct snd_ctl_elem_info *uctl);
76 struct snd_ctl_elem_info *uctl);
78 struct snd_ctl_elem_value *uctl);
80 struct snd_ctl_elem_value *uctl);
82 struct snd_ctl_elem_value *uctl);
84 struct snd_ctl_elem_value *uctl);
86 struct snd_ctl_elem_value *uctl);
88 struct snd_ctl_elem_value *uctl);
/linux/sound/core/oss/
H A Dmixer_oss.c521 struct snd_ctl_elem_value *uctl __free(kfree) = NULL; in snd_mixer_oss_get_volume1_vol()
532 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_vol()
533 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol()
537 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol()
542 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol()
544 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol()
554 struct snd_ctl_elem_value *uctl __free(kfree) = NULL; in snd_mixer_oss_get_volume1_sw()
565 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_sw()
566 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_sw()
570 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_sw()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Ddwc3-cavium.txt4 - compatible: Should contain "cavium,octeon-7130-usb-uctl"
12 uctl@1180069000000 {
13 compatible = "cavium,octeon-7130-usb-uctl";
/linux/Documentation/devicetree/bindings/mips/cavium/
H A Ductl.txt4 - compatible: "cavium,octeon-6335-uctl"
23 uctl@118006f000000 {
24 compatible = "cavium,octeon-6335-uctl";
H A Dsata-uctl.txt17 - compatible: "cavium,octeon-7130-sata-uctl"
28 uctl@118006c000000 {
29 compatible = "cavium,octeon-7130-sata-uctl";
/linux/sound/soc/
H A Dsoc-ops.c451 struct snd_ctl_elem_value *uctl; in snd_soc_clip_to_platform_max() local
457 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_soc_clip_to_platform_max()
458 if (!uctl) in snd_soc_clip_to_platform_max()
461 ret = kctl->get(kctl, uctl); in snd_soc_clip_to_platform_max()
465 if (uctl->value.integer.value[0] > mc->platform_max) in snd_soc_clip_to_platform_max()
466 uctl->value.integer.value[0] = mc->platform_max; in snd_soc_clip_to_platform_max()
469 uctl->value.integer.value[1] > mc->platform_max) in snd_soc_clip_to_platform_max()
470 uctl->value.integer.value[1] = mc->platform_max; in snd_soc_clip_to_platform_max()
472 ret = kctl->put(kctl, uctl); in snd_soc_clip_to_platform_max()
475 kfree(uctl); in snd_soc_clip_to_platform_max()
/linux/sound/core/
H A Dvmaster.c59 struct snd_ctl_elem_value *uctl __free(kfree) = NULL; in follower_update()
62 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in follower_update()
63 if (!uctl) in follower_update()
65 uctl->id = follower->follower.id; in follower_update()
66 err = follower->follower.get(&follower->follower, uctl); in follower_update()
70 follower->vals[ch] = uctl->value.integer.value[ch]; in follower_update()
/linux/sound/soc/intel/catpt/
H A Dpcm.c977 struct snd_ctl_elem_value *uctl)
979 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_get() argument
983 struct snd_ctl_elem_value *uctl)
985 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_put() argument
989 struct snd_ctl_elem_value *uctl)
991 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_get() argument
995 struct snd_ctl_elem_value *uctl)
997 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_put() argument
1001 struct snd_ctl_elem_value *uctl)
1003 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_CAPTURE in catpt_capture_volume_get() argument
1009 catpt_capture_volume_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * uctl) catpt_capture_volume_put() argument
[all...]
/linux/arch/mips/boot/dts/cavium-octeon/
H A Docteon_3xxx.dts356 uctl: uctl@118006f000000 { label
357 compatible = "cavium,octeon-6335-uctl";
402 uctl = &uctl;
H A Docteon_68xx.dts585 uctl: uctl@118006f000000 { label
586 compatible = "cavium,octeon-6335-uctl";
622 uctl = &uctl;
/linux/arch/mips/cavium-octeon/
H A Docteon-platform.c1088 int uctl = fdt_path_offset(initial_boot_params, alias_prop); in octeon_prune_device_tree() local
1090 if (uctl >= 0 && (!OCTEON_IS_MODEL(OCTEON_CN6XXX) || in octeon_prune_device_tree()
1093 fdt_nop_node(initial_boot_params, uctl); in octeon_prune_device_tree()
1098 fdt_nop_property(initial_boot_params, uctl, "refclk-type"); in octeon_prune_device_tree()
/linux/sound/soc/tegra/
H A Dtegra210_ahub.c18 struct snd_ctl_elem_value *uctl) in tegra_ahub_get_value_enum() argument
46 uctl->value.enumerated.item[0] = i; in tegra_ahub_get_value_enum()
55 struct snd_ctl_elem_value *uctl) in tegra_ahub_put_value_enum() argument
62 unsigned int *item = uctl->value.enumerated.item; in tegra_ahub_put_value_enum()
/linux/sound/soc/ti/
H A Ddavinci-mcasp.c1632 struct snd_ctl_elem_value *uctl) in davinci_mcasp_iec958_get() argument
1637 memcpy(uctl->value.iec958.status, &mcasp->iec958_status, in davinci_mcasp_iec958_get()
1644 struct snd_ctl_elem_value *uctl) in davinci_mcasp_iec958_put() argument
1649 memcpy(&mcasp->iec958_status, uctl->value.iec958.status, in davinci_mcasp_iec958_put()
/linux/drivers/pci/switch/
H A Dswitchtec.c1072 struct switchtec_ioctl_event_ctl __user *uctl) in ioctl_event_ctl() argument
1079 if (copy_from_user(&ctl, uctl, sizeof(ctl))) in ioctl_event_ctl()
1111 if (copy_to_user(uctl, &ctl, sizeof(ctl))) in ioctl_event_ctl()