Home
last modified time | relevance | path

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

/linux-6.1.9/sound/core/oss/
Dmixer_oss.c536 struct snd_ctl_elem_value *uctl; in snd_mixer_oss_get_volume1_vol() local
549 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_vol()
550 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol()
554 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol()
559 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol()
561 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol()
564 kfree(uctl); in snd_mixer_oss_get_volume1_vol()
575 struct snd_ctl_elem_value *uctl; in snd_mixer_oss_get_volume1_sw() local
588 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_sw()
589 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_sw()
[all …]
/linux-6.1.9/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";
/linux-6.1.9/sound/drivers/
Dmts64.c430 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_get() argument
435 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
448 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put()
512 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument
518 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get()
525 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument
529 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put()
598 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument
603 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get()
[all …]
/linux-6.1.9/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";
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/intel/catpt/
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-6.1.9/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;
/linux-6.1.9/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()
/linux-6.1.9/sound/isa/
Dsscape.c592 struct snd_ctl_elem_value *uctl) in sscape_midi_get() argument
600 uctl->value.integer.value[0] = s->midi_vol; in sscape_midi_get()
606 struct snd_ctl_elem_value *uctl) in sscape_midi_put() argument
617 new_val = uctl->value.integer.value[0] & 127; in sscape_midi_put()
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/stm/
Dstm32_sai_sub.c270 struct snd_ctl_elem_value *uctl) in snd_pcm_iec958_get() argument
275 memcpy(uctl->value.iec958.status, sai->iec958.status, 4); in snd_pcm_iec958_get()
282 struct snd_ctl_elem_value *uctl) in snd_pcm_iec958_put() argument
287 memcpy(sai->iec958.status, uctl->value.iec958.status, 4); in snd_pcm_iec958_put()
/linux-6.1.9/sound/pci/trident/
Dtrident_main.c2916 struct snd_ctl_elem_value *uctl; in snd_trident_mixer() local
2923 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_trident_mixer()
2924 if (!uctl) in snd_trident_mixer()
2975 kctl->put(kctl, uctl); in snd_trident_mixer()
2980 kctl->put(kctl, uctl); in snd_trident_mixer()
3025 kctl->put(kctl, uctl); in snd_trident_mixer()
3042 kctl->put(kctl, uctl); in snd_trident_mixer()
3086 kfree(uctl); in snd_trident_mixer()
/linux-6.1.9/sound/soc/ti/
Ddavinci-mcasp.c1639 struct snd_ctl_elem_value *uctl) in davinci_mcasp_iec958_get() argument
1644 memcpy(uctl->value.iec958.status, &mcasp->iec958_status, in davinci_mcasp_iec958_get()
1651 struct snd_ctl_elem_value *uctl) in davinci_mcasp_iec958_put() argument
1656 memcpy(&mcasp->iec958_status, uctl->value.iec958.status, in davinci_mcasp_iec958_put()
/linux-6.1.9/drivers/pci/switch/
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()
/linux-6.1.9/sound/pci/hda/
Dpatch_realtek.c381 struct snd_ctl_elem_value *uctl; in alc_update_knob_master() local
386 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in alc_update_knob_master()
387 if (!uctl) in alc_update_knob_master()
392 uctl->value.integer.value[0] = val; in alc_update_knob_master()
393 uctl->value.integer.value[1] = val; in alc_update_knob_master()
394 kctl->put(kctl, uctl); in alc_update_knob_master()
395 kfree(uctl); in alc_update_knob_master()