Home
last modified time | relevance | path

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

/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/sound/drivers/
H A 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/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/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.c973 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_get() argument
975 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_get()
979 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_put() argument
981 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_put()
985 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_get() argument
987 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_get()
991 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_put() argument
993 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_put()
997 struct snd_ctl_elem_value *uctl) in catpt_capture_volume_get() argument
999 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_CAPTURE1); in catpt_capture_volume_get()
[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/isa/
H A Dsscape.c591 struct snd_ctl_elem_value *uctl) in sscape_midi_get() argument
599 uctl->value.integer.value[0] = s->midi_vol; in sscape_midi_get()
605 struct snd_ctl_elem_value *uctl) in sscape_midi_put() argument
616 new_val = uctl->value.integer.value[0] & 127; in sscape_midi_put()
/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/stm/
H A Dstm32_sai_sub.c279 struct snd_ctl_elem_value *uctl) in snd_pcm_iec958_get() argument
284 memcpy(uctl->value.iec958.status, sai->iec958.status, 4); in snd_pcm_iec958_get()
291 struct snd_ctl_elem_value *uctl) in snd_pcm_iec958_put() argument
296 memcpy(sai->iec958.status, uctl->value.iec958.status, 4); in snd_pcm_iec958_put()
/linux/sound/pci/trident/
H A 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/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.c1073 struct switchtec_ioctl_event_ctl __user *uctl) in ioctl_event_ctl() argument
1080 if (copy_from_user(&ctl, uctl, sizeof(ctl))) in ioctl_event_ctl()
1112 if (copy_to_user(uctl, &ctl, sizeof(ctl))) in ioctl_event_ctl()
/linux/sound/pci/hda/
H A Dpatch_realtek.c384 struct snd_ctl_elem_value *uctl; in alc_update_knob_master() local
389 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in alc_update_knob_master()
390 if (!uctl) in alc_update_knob_master()
395 uctl->value.integer.value[0] = val; in alc_update_knob_master()
396 uctl->value.integer.value[1] = val; in alc_update_knob_master()
397 kctl->put(kctl, uctl); in alc_update_knob_master()
398 kfree(uctl); in alc_update_knob_master()