Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/core/oss/
Dmixer_oss.c536 struct snd_ctl_elem_value *uctl; in snd_mixer_oss_get_volume1_vol() local
548 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_vol()
549 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol()
553 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol()
558 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol()
560 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol()
563 kfree(uctl); in snd_mixer_oss_get_volume1_vol()
574 struct snd_ctl_elem_value *uctl; in snd_mixer_oss_get_volume1_sw() local
586 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_sw()
587 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_sw()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Ddwc3-cavium.txt4 - compatible: Should contain "cavium,octeon-7130-usb-uctl"
12 uctl@1180069000000 {
13 compatible = "cavium,octeon-7130-usb-uctl";
Ddwc3.txt18 "cavium,octeon-7130-usb-uctl"
/kernel/linux/linux-5.10/sound/drivers/
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()
445 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_put() argument
449 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put()
513 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument
519 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
526 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument
530 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put()
599 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument
604 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mips/cavium/
Ductl.txt4 - compatible: "cavium,octeon-6335-uctl"
23 uctl@118006f000000 {
24 compatible = "cavium,octeon-6335-uctl";
Dsata-uctl.txt17 - compatible: "cavium,octeon-7130-sata-uctl"
28 uctl@118006c000000 {
29 compatible = "cavium,octeon-7130-sata-uctl";
/kernel/linux/linux-5.10/sound/core/
Dvmaster.c59 struct snd_ctl_elem_value *uctl; in follower_update() local
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()
72 kfree(uctl); in follower_update()
/kernel/linux/linux-5.10/sound/soc/intel/catpt/
Dpcm.c960 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_get() argument
962 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_get()
966 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_put() argument
968 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_put()
972 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_get() argument
974 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_get()
978 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_put() argument
980 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_put()
984 struct snd_ctl_elem_value *uctl) in catpt_capture_volume_get() argument
986 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_CAPTURE1); in catpt_capture_volume_get()
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/cavium-octeon/
Docteon_3xxx.dts356 uctl: uctl@118006f000000 { label
357 compatible = "cavium,octeon-6335-uctl";
402 uctl = &uctl;
Docteon_68xx.dts585 uctl: uctl@118006f000000 { label
586 compatible = "cavium,octeon-6335-uctl";
622 uctl = &uctl;
/kernel/linux/linux-5.10/sound/soc/tegra/
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()
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Docteon-platform.c1087 int uctl = fdt_path_offset(initial_boot_params, alias_prop); in octeon_prune_device_tree() local
1089 if (uctl >= 0 && (!OCTEON_IS_MODEL(OCTEON_CN6XXX) || in octeon_prune_device_tree()
1092 fdt_nop_node(initial_boot_params, uctl); in octeon_prune_device_tree()
1097 fdt_nop_property(initial_boot_params, uctl, "refclk-type"); in octeon_prune_device_tree()
/kernel/linux/linux-5.10/sound/isa/
Dsscape.c603 struct snd_ctl_elem_value *uctl) in sscape_midi_get() argument
611 uctl->value.integer.value[0] = s->midi_vol; in sscape_midi_get()
617 struct snd_ctl_elem_value *uctl) in sscape_midi_put() argument
628 new_val = uctl->value.integer.value[0] & 127; in sscape_midi_put()
/kernel/linux/linux-5.10/sound/soc/stm/
Dstm32_sai_sub.c272 struct snd_ctl_elem_value *uctl) in snd_pcm_iec958_get() argument
277 memcpy(uctl->value.iec958.status, sai->iec958.status, 4); in snd_pcm_iec958_get()
284 struct snd_ctl_elem_value *uctl) in snd_pcm_iec958_put() argument
289 memcpy(sai->iec958.status, uctl->value.iec958.status, 4); in snd_pcm_iec958_put()
/kernel/linux/linux-5.10/sound/pci/trident/
Dtrident_main.c2913 struct snd_ctl_elem_value *uctl; in snd_trident_mixer() local
2920 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_trident_mixer()
2921 if (!uctl) in snd_trident_mixer()
2967 kctl->put(kctl, uctl); in snd_trident_mixer()
2970 kctl->put(kctl, uctl); in snd_trident_mixer()
3005 kctl->put(kctl, uctl); in snd_trident_mixer()
3021 kctl->put(kctl, uctl); in snd_trident_mixer()
3062 kfree(uctl); in snd_trident_mixer()
/kernel/linux/linux-5.10/drivers/pci/switch/
Dswitchtec.c1014 struct switchtec_ioctl_event_ctl __user *uctl) in ioctl_event_ctl() argument
1021 if (copy_from_user(&ctl, uctl, sizeof(ctl))) in ioctl_event_ctl()
1053 if (copy_to_user(uctl, &ctl, sizeof(ctl))) in ioctl_event_ctl()
/kernel/linux/linux-5.10/sound/pci/hda/
Dpatch_realtek.c376 struct snd_ctl_elem_value *uctl; in alc_update_knob_master() local
381 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in alc_update_knob_master()
382 if (!uctl) in alc_update_knob_master()
387 uctl->value.integer.value[0] = val; in alc_update_knob_master()
388 uctl->value.integer.value[1] = val; in alc_update_knob_master()
389 kctl->put(kctl, uctl); in alc_update_knob_master()
390 kfree(uctl); in alc_update_knob_master()