Home
last modified time | relevance | path

Searched refs:uctl (Results 1 – 17 of 17) 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.c534 struct snd_ctl_elem_value *uctl __free(kfree) = in snd_mixer_oss_get_volume1_vol()
535 kzalloc_obj(*uctl); in snd_mixer_oss_get_volume1_vol()
536 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol()
540 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol()
545 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol()
547 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol()
570 struct snd_ctl_elem_value *uctl __free(kfree) = in snd_mixer_oss_get_volume1_sw()
571 kzalloc_obj(*uctl); in snd_mixer_oss_get_volume1_sw()
572 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_sw()
576 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_sw()
[all …]
/linux/sound/drivers/
H A Dmts64.c431 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_get() argument
436 uctl->value.integer.value[0] = mts->smpte_switch; in snd_mts64_ctl_smpte_switch_get()
444 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_put() argument
447 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put()
508 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument
514 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
520 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument
524 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put()
591 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument
596 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
[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_obj(*uctl); 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/soc/intel/catpt/
H A Dpcm.c969 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_get() argument
971 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_get()
975 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_put() argument
977 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_put()
981 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_get() argument
983 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_get()
987 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_put() argument
989 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_put()
993 struct snd_ctl_elem_value *uctl) in catpt_capture_volume_get() argument
995 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_CAPTURE1); in catpt_capture_volume_get()
[all …]
/linux/sound/core/
H A Dvmaster.c60 struct snd_ctl_elem_value *uctl __free(kfree) = in follower_update()
61 kzalloc_obj(*uctl); 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/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/hda/codecs/realtek/
H A Drealtek.c223 struct snd_ctl_elem_value *uctl __free(kfree) = in alc_update_knob_master()
224 kzalloc_obj(*uctl); in alc_update_knob_master()
225 if (!uctl) in alc_update_knob_master()
230 uctl->value.integer.value[0] = val; in alc_update_knob_master()
231 uctl->value.integer.value[1] = val; in alc_update_knob_master()
232 kctl->put(kctl, uctl); in alc_update_knob_master()
/linux/sound/pci/trident/
H A Dtrident_main.c2884 struct snd_ctl_elem_value *uctl; in snd_trident_mixer() local
2891 uctl = kzalloc_obj(*uctl); in snd_trident_mixer()
2892 if (!uctl) in snd_trident_mixer()
2943 kctl->put(kctl, uctl); in snd_trident_mixer()
2948 kctl->put(kctl, uctl); in snd_trident_mixer()
2993 kctl->put(kctl, uctl); in snd_trident_mixer()
3010 kctl->put(kctl, uctl); in snd_trident_mixer()
3054 kfree(uctl); in snd_trident_mixer()
/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.c1877 struct snd_ctl_elem_value *uctl) in davinci_mcasp_have_gpiochip()
1882 memcpy(uctl->value.iec958.status, &mcasp->iec958_status, in davinci_mcasp_have_gpiochip()
1889 struct snd_ctl_elem_value *uctl) in davinci_mcasp_get_config()
1894 memcpy(&mcasp->iec958_status, uctl->value.iec958.status, in davinci_mcasp_get_config()
1632 davinci_mcasp_iec958_get(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uctl) davinci_mcasp_iec958_get() argument
1644 davinci_mcasp_iec958_put(struct snd_kcontrol * kcontrol,struct snd_ctl_elem_value * uctl) davinci_mcasp_iec958_put() argument
/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()