Home
last modified time | relevance | path

Searched refs:uctl (Results 1 – 19 of 19) 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.integer.max, &pslot->volume[0]); in snd_mixer_oss_get_volume1_vol()
544 *right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.integer.max, &pslot->volume[1]); 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_KERNE in snd_mixer_oss_get_volume1_sw()
[all...]
/linux/sound/soc/intel/avs/
H A Dcontrol.h20 int avs_control_volume_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl);
21 int avs_control_volume_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl);
23 int avs_control_mute_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl);
24 int avs_control_mute_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl);
H A Dcontrol.c51 int avs_control_volume_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl) in avs_control_volume_get() argument
81 memcpy(uctl->value.integer.value, ctl_data->values, sizeof(ctl_data->values)); in avs_control_volume_get()
85 int avs_control_volume_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl) in avs_control_volume_put() argument
97 input = uctl->value.integer.value; in avs_control_volume_put()
134 int avs_control_mute_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl) in avs_control_mute_get() argument
164 memcpy(uctl->value.integer.value, ctl_data->values, sizeof(ctl_data->values)); in avs_control_mute_get()
168 int avs_control_mute_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *uctl) in avs_control_mute_put() argument
180 input = uctl->value.integer.value; in avs_control_mute_put()
/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/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()
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 in snd_mts64_ctl_smpte_fps_get()
611 snd_mts64_ctl_smpte_fps_put(struct snd_kcontrol * kctl,struct snd_ctl_elem_value * uctl) snd_mts64_ctl_smpte_fps_put() argument
[all...]
/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.c402 struct snd_ctl_elem_value *uctl; in snd_soc_clip_to_platform_max() local
408 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_soc_clip_to_platform_max()
409 if (!uctl) in snd_soc_clip_to_platform_max()
412 ret = kctl->get(kctl, uctl); in snd_soc_clip_to_platform_max()
416 if (uctl->value.integer.value[0] > mc->platform_max) in snd_soc_clip_to_platform_max()
417 uctl->value.integer.value[0] = mc->platform_max; in snd_soc_clip_to_platform_max()
420 uctl->value.integer.value[1] > mc->platform_max) in snd_soc_clip_to_platform_max()
421 uctl->value.integer.value[1] = mc->platform_max; in snd_soc_clip_to_platform_max()
423 ret = kctl->put(kctl, uctl); in snd_soc_clip_to_platform_max()
[all...]
/linux/sound/soc/intel/catpt/
H A Dpcm.c968 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_get() argument
970 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_get()
974 struct snd_ctl_elem_value *uctl) in catpt_offload1_volume_put() argument
976 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD1); in catpt_offload1_volume_put()
980 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_get() argument
982 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_get()
986 struct snd_ctl_elem_value *uctl) in catpt_offload2_volume_put() argument
988 return catpt_stream_volume_put(kctl, uctl, CATPT_PIN_ID_OFFLOAD2); in catpt_offload2_volume_put()
992 struct snd_ctl_elem_value *uctl) in catpt_capture_volume_get() argument
994 return catpt_stream_volume_get(kctl, uctl, CATPT_PIN_ID_CAPTURE in catpt_capture_volume_get()
998 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/sound/hda/codecs/realtek/
H A Drealtek.c245 struct snd_ctl_elem_value *uctl; in alc_update_knob_master() local
250 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in alc_update_knob_master()
251 if (!uctl) in alc_update_knob_master()
256 uctl->value.integer.value[0] = val; in alc_update_knob_master()
257 uctl->value.integer.value[1] = val; in alc_update_knob_master()
258 kctl->put(kctl, uctl); in alc_update_knob_master()
259 kfree(uctl); in alc_update_knob_master()
/linux/arch/mips/cavium-octeon/
H A Docteon-platform.c450 { .compatible = "cavium,octeon-6335-uctl", },
1086 "uctl", NULL); in octeon_prune_device_tree()
1088 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()
1092 pr_debug("Deleting uctl\n"); in octeon_prune_device_tree()
1093 fdt_nop_node(initial_boot_params, uctl); in octeon_prune_device_tree()
1094 fdt_nop_property(initial_boot_params, aliases, "uctl"); in octeon_prune_device_tree()
1098 fdt_nop_property(initial_boot_params, uctl, "refclk-type"); in octeon_prune_device_tree()
/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/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.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()