/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-alsa-mixer.c | 85 struct snd_ctl_elem_value *uctl) in snd_cx18_mixer_tv_vol_get() argument 93 vctrl.value = dB_to_cx18_av_vol(uctl->value.integer.value[0]); in snd_cx18_mixer_tv_vol_get() 100 uctl->value.integer.value[0] = cx18_av_vol_to_dB(vctrl.value); in snd_cx18_mixer_tv_vol_get() 105 struct snd_ctl_elem_value *uctl) in snd_cx18_mixer_tv_vol_put() argument 113 vctrl.value = dB_to_cx18_av_vol(uctl->value.integer.value[0]); in snd_cx18_mixer_tv_vol_put() 121 (cx18_av_vol_to_dB(vctrl.value) != uctl->value.integer.value[0])) { in snd_cx18_mixer_tv_vol_put() 124 vctrl.value = dB_to_cx18_av_vol(uctl->value.integer.value[0]); in snd_cx18_mixer_tv_vol_put()
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-alsa-mixer.c | 85 struct snd_ctl_elem_value *uctl) in snd_ivtv_mixer_tv_vol_get() argument 93 vctrl.value = dB_to_cx25840_vol(uctl->value.integer.value[0]); in snd_ivtv_mixer_tv_vol_get() 100 uctl->value.integer.value[0] = cx25840_vol_to_dB(vctrl.value); in snd_ivtv_mixer_tv_vol_get() 105 struct snd_ctl_elem_value *uctl) in snd_ivtv_mixer_tv_vol_put() argument 113 vctrl.value = dB_to_cx25840_vol(uctl->value.integer.value[0]); in snd_ivtv_mixer_tv_vol_put() 121 (cx25840_vol_to_dB(vctrl.value) != uctl->value.integer.value[0])) { in snd_ivtv_mixer_tv_vol_put() 124 vctrl.value = dB_to_cx25840_vol(uctl->value.integer.value[0]); in snd_ivtv_mixer_tv_vol_put()
|
/linux-4.4.14/sound/core/oss/ |
D | mixer_oss.c | 521 struct snd_ctl_elem_value *uctl; in snd_mixer_oss_get_volume1_vol() local 533 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_vol() 534 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_vol() 538 if (kctl->get(kctl, uctl)) in snd_mixer_oss_get_volume1_vol() 543 …*left = snd_mixer_oss_conv1(uctl->value.integer.value[0], uinfo->value.integer.min, uinfo->value.i… in snd_mixer_oss_get_volume1_vol() 545 …*right = snd_mixer_oss_conv1(uctl->value.integer.value[1], uinfo->value.integer.min, uinfo->value.… in snd_mixer_oss_get_volume1_vol() 548 kfree(uctl); in snd_mixer_oss_get_volume1_vol() 559 struct snd_ctl_elem_value *uctl; in snd_mixer_oss_get_volume1_sw() local 571 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_mixer_oss_get_volume1_sw() 572 if (uinfo == NULL || uctl == NULL) in snd_mixer_oss_get_volume1_sw() [all …]
|
/linux-4.4.14/sound/drivers/ |
D | mts64.c | 447 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_get() argument 452 uctl->value.integer.value[0] = mts->smpte_switch; in snd_mts64_ctl_smpte_switch_get() 461 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_switch_put() argument 465 int val = !!uctl->value.integer.value[0]; in snd_mts64_ctl_smpte_switch_put() 529 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_get() argument 535 uctl->value.integer.value[0] = mts->time[idx]; in snd_mts64_ctl_smpte_time_get() 542 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_time_put() argument 546 unsigned int time = uctl->value.integer.value[0] % 60; in snd_mts64_ctl_smpte_time_put() 615 struct snd_ctl_elem_value *uctl) in snd_mts64_ctl_smpte_fps_get() argument 620 uctl->value.enumerated.item[0] = mts->fps; in snd_mts64_ctl_smpte_fps_get() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/mips/cavium/ |
D | uctl.txt | 4 - compatible: "cavium,octeon-6335-uctl" 23 uctl@118006f000000 { 24 compatible = "cavium,octeon-6335-uctl";
|
/linux-4.4.14/sound/core/ |
D | vmaster.c | 63 struct snd_ctl_elem_value *uctl; in slave_update() local 66 uctl = kmalloc(sizeof(*uctl), GFP_KERNEL); in slave_update() 67 if (!uctl) in slave_update() 69 uctl->id = slave->slave.id; in slave_update() 70 err = slave->slave.get(&slave->slave, uctl); in slave_update() 72 slave->vals[ch] = uctl->value.integer.value[ch]; in slave_update() 73 kfree(uctl); in slave_update()
|
/linux-4.4.14/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_68xx.dts | 584 uctl: uctl@118006f000000 { label 585 compatible = "cavium,octeon-6335-uctl"; 621 uctl = &uctl;
|
D | octeon_3xxx.dts | 529 uctl: uctl@118006f000000 { label 530 compatible = "cavium,octeon-6335-uctl"; 586 uctl = &uctl;
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 928 int uctl = fdt_path_offset(initial_boot_params, alias_prop); in octeon_prune_device_tree() local 930 if (uctl >= 0 && (!OCTEON_IS_MODEL(OCTEON_CN6XXX) || in octeon_prune_device_tree() 933 fdt_nop_node(initial_boot_params, uctl); in octeon_prune_device_tree() 938 fdt_nop_property(initial_boot_params, uctl, "refclk-type"); in octeon_prune_device_tree()
|
/linux-4.4.14/sound/isa/ |
D | sscape.c | 616 struct snd_ctl_elem_value *uctl) in sscape_midi_get() argument 624 uctl->value.integer.value[0] = s->midi_vol; in sscape_midi_get() 630 struct snd_ctl_elem_value *uctl) in sscape_midi_put() argument 641 new_val = uctl->value.integer.value[0] & 127; in sscape_midi_put()
|
/linux-4.4.14/sound/pci/trident/ |
D | trident_main.c | 2965 struct snd_ctl_elem_value *uctl; in snd_trident_mixer() local 2972 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in snd_trident_mixer() 2973 if (!uctl) in snd_trident_mixer() 3019 kctl->put(kctl, uctl); in snd_trident_mixer() 3022 kctl->put(kctl, uctl); in snd_trident_mixer() 3057 kctl->put(kctl, uctl); in snd_trident_mixer() 3073 kctl->put(kctl, uctl); in snd_trident_mixer() 3114 kfree(uctl); in snd_trident_mixer()
|
/linux-4.4.14/sound/pci/hda/ |
D | patch_realtek.c | 277 struct snd_ctl_elem_value *uctl; in alc_update_knob_master() local 282 uctl = kzalloc(sizeof(*uctl), GFP_KERNEL); in alc_update_knob_master() 283 if (!uctl) in alc_update_knob_master() 288 uctl->value.integer.value[0] = val; in alc_update_knob_master() 289 uctl->value.integer.value[1] = val; in alc_update_knob_master() 290 kctl->put(kctl, uctl); in alc_update_knob_master() 291 kfree(uctl); in alc_update_knob_master()
|