ucontrol 963 drivers/gpu/drm/vc4/vc4_hdmi.c struct snd_ctl_elem_value *ucontrol) ucontrol 968 drivers/gpu/drm/vc4/vc4_hdmi.c memcpy(ucontrol->value.bytes.data, hdmi->connector->eld, ucontrol 916 drivers/media/pci/saa7134/saa7134-alsa.c struct snd_ctl_elem_value * ucontrol) ucontrol 921 drivers/media/pci/saa7134/saa7134-alsa.c ucontrol->value.integer.value[0] = chip->mixer_volume[addr][0]; ucontrol 922 drivers/media/pci/saa7134/saa7134-alsa.c ucontrol->value.integer.value[1] = chip->mixer_volume[addr][1]; ucontrol 927 drivers/media/pci/saa7134/saa7134-alsa.c struct snd_ctl_elem_value * ucontrol) ucontrol 935 drivers/media/pci/saa7134/saa7134-alsa.c left = ucontrol->value.integer.value[0]; ucontrol 940 drivers/media/pci/saa7134/saa7134-alsa.c right = ucontrol->value.integer.value[1]; ucontrol 1013 drivers/media/pci/saa7134/saa7134-alsa.c struct snd_ctl_elem_value * ucontrol) ucontrol 1020 drivers/media/pci/saa7134/saa7134-alsa.c ucontrol->value.integer.value[0] = chip->capture_source[0]; ucontrol 1021 drivers/media/pci/saa7134/saa7134-alsa.c ucontrol->value.integer.value[1] = chip->capture_source[1]; ucontrol 1023 drivers/media/pci/saa7134/saa7134-alsa.c ucontrol->value.integer.value[0] = 0; ucontrol 1024 drivers/media/pci/saa7134/saa7134-alsa.c ucontrol->value.integer.value[1] = 0; ucontrol 1032 drivers/media/pci/saa7134/saa7134-alsa.c struct snd_ctl_elem_value * ucontrol) ucontrol 1035 drivers/media/pci/saa7134/saa7134-alsa.c left = ucontrol->value.integer.value[0] & 1; ucontrol 1036 drivers/media/pci/saa7134/saa7134-alsa.c right = ucontrol->value.integer.value[1] & 1; ucontrol 7511 drivers/platform/x86/thinkpad_acpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 7520 drivers/platform/x86/thinkpad_acpi.c ucontrol->value.integer.value[0] = s & TP_EC_AUDIO_LVL_MSK; ucontrol 7525 drivers/platform/x86/thinkpad_acpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 7528 drivers/platform/x86/thinkpad_acpi.c ucontrol->value.integer.value[0]); ucontrol 7529 drivers/platform/x86/thinkpad_acpi.c return volume_alsa_set_volume(ucontrol->value.integer.value[0]); ucontrol 7535 drivers/platform/x86/thinkpad_acpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 7544 drivers/platform/x86/thinkpad_acpi.c ucontrol->value.integer.value[0] = ucontrol 7550 drivers/platform/x86/thinkpad_acpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 7553 drivers/platform/x86/thinkpad_acpi.c ucontrol->value.integer.value[0] ? ucontrol 7555 drivers/platform/x86/thinkpad_acpi.c return volume_alsa_set_mute(!ucontrol->value.integer.value[0]); ucontrol 212 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 251 drivers/staging/greybus/audio_topology.c ucontrol->value.integer.value[0] = ucontrol 254 drivers/staging/greybus/audio_topology.c ucontrol->value.integer.value[1] = ucontrol 258 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0] = ucontrol 261 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1] = ucontrol 274 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 299 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.integer.value[0]); ucontrol 302 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.integer.value[1]); ucontrol 306 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[0]); ucontrol 309 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[1]); ucontrol 381 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 423 drivers/staging/greybus/audio_topology.c ucontrol->value.integer.value[0] = ucontrol 430 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 460 drivers/staging/greybus/audio_topology.c val = ucontrol->value.integer.value[0] & mask; ucontrol 474 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.integer.value[0]); ucontrol 553 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 588 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0] = ucontrol 591 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1] = ucontrol 598 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 616 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[0] > e->max - 1) ucontrol 619 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[0]); ucontrol 622 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[1] > e->max - 1) ucontrol 625 drivers/staging/greybus/audio_topology.c cpu_to_le32(ucontrol->value.enumerated.item[1]); ucontrol 716 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 753 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0] = gbvalue.value.enumerated_item[0]; ucontrol 755 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1] = ucontrol 762 drivers/staging/greybus/audio_topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 776 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[0] > e->max - 1) ucontrol 805 drivers/staging/greybus/audio_topology.c mux = ucontrol->value.enumerated.item[0]; ucontrol 810 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0]) { ucontrol 813 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[0]; ucontrol 817 drivers/staging/greybus/audio_topology.c if (ucontrol->value.enumerated.item[1] > e->max - 1) ucontrol 819 drivers/staging/greybus/audio_topology.c val |= ucontrol->value.enumerated.item[1] << e->shift_r; ucontrol 822 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1]) { ucontrol 825 drivers/staging/greybus/audio_topology.c ucontrol->value.enumerated.item[1]; ucontrol 53 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c struct snd_ctl_elem_value *ucontrol) ucontrol 60 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c ucontrol->value.integer.value[0] = chip->volume; ucontrol 62 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c ucontrol->value.integer.value[0] = chip->mute; ucontrol 64 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c ucontrol->value.integer.value[0] = chip->dest; ucontrol 71 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c struct snd_ctl_elem_value *ucontrol) ucontrol 86 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c val = ucontrol->value.integer.value[0]; ucontrol 140 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c struct snd_ctl_elem_value *ucontrol) ucontrol 148 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c ucontrol->value.iec958.status[i] = ucontrol 156 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c struct snd_ctl_elem_value *ucontrol) ucontrol 165 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); ucontrol 183 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c struct snd_ctl_elem_value *ucontrol) ucontrol 189 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO; ucontrol 18 include/sound/control.h typedef int (snd_kcontrol_get_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucontrol); ucontrol 19 include/sound/control.h typedef int (snd_kcontrol_put_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucontrol); ucontrol 388 include/sound/soc-dapm.h struct snd_ctl_elem_value *ucontrol); ucontrol 390 include/sound/soc-dapm.h struct snd_ctl_elem_value *ucontrol); ucontrol 392 include/sound/soc-dapm.h struct snd_ctl_elem_value *ucontrol); ucontrol 394 include/sound/soc-dapm.h struct snd_ctl_elem_value *ucontrol); ucontrol 82 include/sound/soc-topology.h struct snd_ctl_elem_value *ucontrol); ucontrol 84 include/sound/soc-topology.h struct snd_ctl_elem_value *ucontrol); ucontrol 578 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 580 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 587 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 589 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 593 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 595 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 599 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 601 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 607 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 609 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 611 include/sound/soc.h struct snd_ctl_elem_info *ucontrol); ucontrol 617 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 619 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 621 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 623 include/sound/soc.h struct snd_ctl_elem_value *ucontrol); ucontrol 174 include/sound/wss.h struct snd_ctl_elem_value *ucontrol); ucontrol 176 include/sound/wss.h struct snd_ctl_elem_value *ucontrol); ucontrol 216 include/sound/wss.h struct snd_ctl_elem_value *ucontrol); ucontrol 218 include/sound/wss.h struct snd_ctl_elem_value *ucontrol); ucontrol 119 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 129 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[0] = l + VOLUME_RANGE_SHIFT; ucontrol 130 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[1] = r + VOLUME_RANGE_SHIFT; ucontrol 136 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 141 sound/aoa/codecs/onyx.c if (ucontrol->value.integer.value[0] < -128 + VOLUME_RANGE_SHIFT || ucontrol 142 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[0] > -1 + VOLUME_RANGE_SHIFT) ucontrol 144 sound/aoa/codecs/onyx.c if (ucontrol->value.integer.value[1] < -128 + VOLUME_RANGE_SHIFT || ucontrol 145 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[1] > -1 + VOLUME_RANGE_SHIFT) ucontrol 152 sound/aoa/codecs/onyx.c if (l + VOLUME_RANGE_SHIFT == ucontrol->value.integer.value[0] && ucontrol 153 sound/aoa/codecs/onyx.c r + VOLUME_RANGE_SHIFT == ucontrol->value.integer.value[1]) { ucontrol 159 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[0] ucontrol 162 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[1] ucontrol 195 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 204 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[0] = ucontrol 211 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 216 sound/aoa/codecs/onyx.c if (ucontrol->value.integer.value[0] < 3 + INPUTGAIN_RANGE_SHIFT || ucontrol 217 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[0] > 28 + INPUTGAIN_RANGE_SHIFT) ucontrol 223 sound/aoa/codecs/onyx.c n |= (ucontrol->value.integer.value[0] - INPUTGAIN_RANGE_SHIFT) ucontrol 249 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 258 sound/aoa/codecs/onyx.c ucontrol->value.enumerated.item[0] = !!(v&ONYX_ADC_INPUT_MIC); ucontrol 277 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 279 sound/aoa/codecs/onyx.c if (ucontrol->value.enumerated.item[0] > 1) ucontrol 282 sound/aoa/codecs/onyx.c ucontrol->value.enumerated.item[0]); ucontrol 309 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 318 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[0] = !(c & ONYX_MUTE_LEFT); ucontrol 319 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[1] = !(c & ONYX_MUTE_RIGHT); ucontrol 325 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 338 sound/aoa/codecs/onyx.c if (!ucontrol->value.integer.value[0]) ucontrol 340 sound/aoa/codecs/onyx.c if (!ucontrol->value.integer.value[1]) ucontrol 366 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 379 sound/aoa/codecs/onyx.c ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity; ucontrol 385 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 405 sound/aoa/codecs/onyx.c if (!!ucontrol->value.integer.value[0] ^ polarity) ucontrol 466 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 469 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[0] = 0x3e; ucontrol 470 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 472 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[3] = 0x3f; ucontrol 473 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[4] = 0x0f; ucontrol 487 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 494 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[0] = v & 0x3e; ucontrol 497 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[1] = v; ucontrol 500 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[3] = v & 0x3f; ucontrol 503 sound/aoa/codecs/onyx.c ucontrol->value.iec958.status[4] = v & 0x0f; ucontrol 510 sound/aoa/codecs/onyx.c struct snd_ctl_elem_value *ucontrol) ucontrol 517 sound/aoa/codecs/onyx.c v = (v & ~0x3e) | (ucontrol->value.iec958.status[0] & 0x3e); ucontrol 520 sound/aoa/codecs/onyx.c v = ucontrol->value.iec958.status[1]; ucontrol 524 sound/aoa/codecs/onyx.c v = (v & ~0x3f) | (ucontrol->value.iec958.status[3] & 0x3f); ucontrol 528 sound/aoa/codecs/onyx.c v = (v & ~0x0f) | (ucontrol->value.iec958.status[4] & 0x0f); ucontrol 235 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 240 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] = tas->cached_volume_l; ucontrol 241 sound/aoa/codecs/tas.c ucontrol->value.integer.value[1] = tas->cached_volume_r; ucontrol 247 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 251 sound/aoa/codecs/tas.c if (ucontrol->value.integer.value[0] < 0 || ucontrol 252 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] > 177) ucontrol 254 sound/aoa/codecs/tas.c if (ucontrol->value.integer.value[1] < 0 || ucontrol 255 sound/aoa/codecs/tas.c ucontrol->value.integer.value[1] > 177) ucontrol 259 sound/aoa/codecs/tas.c if (tas->cached_volume_l == ucontrol->value.integer.value[0] ucontrol 260 sound/aoa/codecs/tas.c && tas->cached_volume_r == ucontrol->value.integer.value[1]) { ucontrol 265 sound/aoa/codecs/tas.c tas->cached_volume_l = ucontrol->value.integer.value[0]; ucontrol 266 sound/aoa/codecs/tas.c tas->cached_volume_r = ucontrol->value.integer.value[1]; ucontrol 285 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 290 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] = !tas->mute_l; ucontrol 291 sound/aoa/codecs/tas.c ucontrol->value.integer.value[1] = !tas->mute_r; ucontrol 297 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 302 sound/aoa/codecs/tas.c if (tas->mute_l == !ucontrol->value.integer.value[0] ucontrol 303 sound/aoa/codecs/tas.c && tas->mute_r == !ucontrol->value.integer.value[1]) { ucontrol 308 sound/aoa/codecs/tas.c tas->mute_l = !ucontrol->value.integer.value[0]; ucontrol 309 sound/aoa/codecs/tas.c tas->mute_r = !ucontrol->value.integer.value[1]; ucontrol 336 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 342 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] = tas->mixer_l[idx]; ucontrol 343 sound/aoa/codecs/tas.c ucontrol->value.integer.value[1] = tas->mixer_r[idx]; ucontrol 350 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 356 sound/aoa/codecs/tas.c if (tas->mixer_l[idx] == ucontrol->value.integer.value[0] ucontrol 357 sound/aoa/codecs/tas.c && tas->mixer_r[idx] == ucontrol->value.integer.value[1]) { ucontrol 362 sound/aoa/codecs/tas.c tas->mixer_l[idx] = ucontrol->value.integer.value[0]; ucontrol 363 sound/aoa/codecs/tas.c tas->mixer_r[idx] = ucontrol->value.integer.value[1]; ucontrol 396 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 401 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] = tas->drc_range; ucontrol 407 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 411 sound/aoa/codecs/tas.c if (ucontrol->value.integer.value[0] < 0 || ucontrol 412 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] > TAS3004_DRC_MAX) ucontrol 416 sound/aoa/codecs/tas.c if (tas->drc_range == ucontrol->value.integer.value[0]) { ucontrol 421 sound/aoa/codecs/tas.c tas->drc_range = ucontrol->value.integer.value[0]; ucontrol 440 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 445 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] = tas->drc_enabled; ucontrol 451 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 456 sound/aoa/codecs/tas.c if (tas->drc_enabled == ucontrol->value.integer.value[0]) { ucontrol 461 sound/aoa/codecs/tas.c tas->drc_enabled = !!ucontrol->value.integer.value[0]; ucontrol 486 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 491 sound/aoa/codecs/tas.c ucontrol->value.enumerated.item[0] = !!(tas->acr & TAS_ACR_INPUT_B); ucontrol 497 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 502 sound/aoa/codecs/tas.c if (ucontrol->value.enumerated.item[0] > 1) ucontrol 513 sound/aoa/codecs/tas.c if (ucontrol->value.enumerated.item[0]) ucontrol 557 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 562 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] = tas->treble; ucontrol 568 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 572 sound/aoa/codecs/tas.c if (ucontrol->value.integer.value[0] < TAS3004_TREBLE_MIN || ucontrol 573 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] > TAS3004_TREBLE_MAX) ucontrol 576 sound/aoa/codecs/tas.c if (tas->treble == ucontrol->value.integer.value[0]) { ucontrol 581 sound/aoa/codecs/tas.c tas->treble = ucontrol->value.integer.value[0]; ucontrol 608 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 613 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] = tas->bass; ucontrol 619 sound/aoa/codecs/tas.c struct snd_ctl_elem_value *ucontrol) ucontrol 623 sound/aoa/codecs/tas.c if (ucontrol->value.integer.value[0] < TAS3004_BASS_MIN || ucontrol 624 sound/aoa/codecs/tas.c ucontrol->value.integer.value[0] > TAS3004_BASS_MAX) ucontrol 627 sound/aoa/codecs/tas.c if (tas->bass == ucontrol->value.integer.value[0]) { ucontrol 632 sound/aoa/codecs/tas.c tas->bass = ucontrol->value.integer.value[0]; ucontrol 641 sound/aoa/fabrics/layout.c struct snd_ctl_elem_value *ucontrol) \ ucontrol 645 sound/aoa/fabrics/layout.c ucontrol->value.integer.value[0] = \ ucontrol 650 sound/aoa/fabrics/layout.c struct snd_ctl_elem_value *ucontrol) \ ucontrol 655 sound/aoa/fabrics/layout.c !!ucontrol->value.integer.value[0]); \ ucontrol 673 sound/aoa/fabrics/layout.c struct snd_ctl_elem_value *ucontrol) ucontrol 679 sound/aoa/fabrics/layout.c ucontrol->value.integer.value[0] = ldev->switch_on_headphone; ucontrol 682 sound/aoa/fabrics/layout.c ucontrol->value.integer.value[0] = ldev->switch_on_lineout; ucontrol 691 sound/aoa/fabrics/layout.c struct snd_ctl_elem_value *ucontrol) ucontrol 697 sound/aoa/fabrics/layout.c ldev->switch_on_headphone = !!ucontrol->value.integer.value[0]; ucontrol 700 sound/aoa/fabrics/layout.c ldev->switch_on_lineout = !!ucontrol->value.integer.value[0]; ucontrol 729 sound/aoa/fabrics/layout.c struct snd_ctl_elem_value *ucontrol) ucontrol 746 sound/aoa/fabrics/layout.c ucontrol->value.integer.value[0] = v; ucontrol 1063 sound/core/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 1068 sound/core/control.c snd_ctl_get_ioff(kcontrol, &ucontrol->id) * size; ucontrol 1070 sound/core/control.c memcpy(&ucontrol->value, src, size); ucontrol 1075 sound/core/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 1081 sound/core/control.c snd_ctl_get_ioff(kcontrol, &ucontrol->id) * size; ucontrol 1083 sound/core/control.c change = memcmp(&ucontrol->value, dst, size) != 0; ucontrol 1085 sound/core/control.c memcpy(dst, &ucontrol->value, size); ucontrol 16 sound/core/ctljack.c struct snd_ctl_elem_value *ucontrol) ucontrol 18 sound/core/ctljack.c ucontrol->value.integer.value[0] = kcontrol->private_value; ucontrol 2323 sound/core/pcm_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2326 sound/core/pcm_lib.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2335 sound/core/pcm_lib.c memset(ucontrol->value.integer.value, 0, ucontrol 2336 sound/core/pcm_lib.c sizeof(ucontrol->value.integer.value)); ucontrol 2344 sound/core/pcm_lib.c ucontrol->value.integer.value[i] = map->map[i]; ucontrol 138 sound/core/vmaster.c struct snd_ctl_elem_value *ucontrol) ucontrol 146 sound/core/vmaster.c ucontrol->value.integer.value[ch] = slave->vals[ch]; ucontrol 151 sound/core/vmaster.c struct snd_ctl_elem_value *ucontrol) ucontrol 162 sound/core/vmaster.c ucontrol->value.integer.value[ch] &= ucontrol 168 sound/core/vmaster.c vol = ucontrol->value.integer.value[ch]; ucontrol 174 sound/core/vmaster.c ucontrol->value.integer.value[ch] = vol; ucontrol 178 sound/core/vmaster.c return slave->slave.put(&slave->slave, ucontrol); ucontrol 192 sound/core/vmaster.c struct snd_ctl_elem_value *ucontrol) ucontrol 195 sound/core/vmaster.c return slave_get_val(slave, ucontrol); ucontrol 199 sound/core/vmaster.c struct snd_ctl_elem_value *ucontrol) ucontrol 208 sound/core/vmaster.c if (slave->vals[ch] != ucontrol->value.integer.value[ch]) { ucontrol 210 sound/core/vmaster.c slave->vals[ch] = ucontrol->value.integer.value[ch]; ucontrol 215 sound/core/vmaster.c err = slave_put_val(slave, ucontrol); ucontrol 302 sound/core/vmaster.c struct snd_ctl_elem_value *ucontrol) ucontrol 308 sound/core/vmaster.c ucontrol->value.integer.value[0] = master->val; ucontrol 332 sound/core/vmaster.c struct snd_ctl_elem_value *ucontrol) ucontrol 343 sound/core/vmaster.c new_val = ucontrol->value.integer.value[0]; ucontrol 804 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 809 sound/drivers/aloop.c ucontrol->value.integer.value[0] = ucontrol 817 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 823 sound/drivers/aloop.c val = ucontrol->value.integer.value[0]; ucontrol 840 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 845 sound/drivers/aloop.c ucontrol->value.integer.value[0] = ucontrol 853 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 859 sound/drivers/aloop.c val = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 872 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 887 sound/drivers/aloop.c ucontrol->value.integer.value[0] = val; ucontrol 903 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 907 sound/drivers/aloop.c ucontrol->value.integer.value[0] = ucontrol 925 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 930 sound/drivers/aloop.c ucontrol->value.integer.value[0] = ucontrol 949 sound/drivers/aloop.c struct snd_ctl_elem_value *ucontrol) ucontrol 954 sound/drivers/aloop.c ucontrol->value.integer.value[0] = ucontrol 735 sound/drivers/dummy.c struct snd_ctl_elem_value *ucontrol) ucontrol 741 sound/drivers/dummy.c ucontrol->value.integer.value[0] = dummy->mixer_volume[addr][0]; ucontrol 742 sound/drivers/dummy.c ucontrol->value.integer.value[1] = dummy->mixer_volume[addr][1]; ucontrol 748 sound/drivers/dummy.c struct snd_ctl_elem_value *ucontrol) ucontrol 754 sound/drivers/dummy.c left = ucontrol->value.integer.value[0]; ucontrol 759 sound/drivers/dummy.c right = ucontrol->value.integer.value[1]; ucontrol 784 sound/drivers/dummy.c struct snd_ctl_elem_value *ucontrol) ucontrol 790 sound/drivers/dummy.c ucontrol->value.integer.value[0] = dummy->capture_source[addr][0]; ucontrol 791 sound/drivers/dummy.c ucontrol->value.integer.value[1] = dummy->capture_source[addr][1]; ucontrol 796 sound/drivers/dummy.c static int snd_dummy_capsrc_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 802 sound/drivers/dummy.c left = ucontrol->value.integer.value[0] & 1; ucontrol 803 sound/drivers/dummy.c right = ucontrol->value.integer.value[1] & 1; ucontrol 19 sound/drivers/opl4/opl4_mixer.c static int snd_opl4_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 29 sound/drivers/opl4/opl4_mixer.c ucontrol->value.integer.value[0] = 7 - (value & 7); ucontrol 30 sound/drivers/opl4/opl4_mixer.c ucontrol->value.integer.value[1] = 7 - ((value >> 3) & 7); ucontrol 34 sound/drivers/opl4/opl4_mixer.c static int snd_opl4_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 41 sound/drivers/opl4/opl4_mixer.c value = (7 - (ucontrol->value.integer.value[0] & 7)) | ucontrol 42 sound/drivers/opl4/opl4_mixer.c ((7 - (ucontrol->value.integer.value[1] & 7)) << 3); ucontrol 25 sound/drivers/pcsp/pcsp_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 28 sound/drivers/pcsp/pcsp_mixer.c ucontrol->value.integer.value[0] = chip->enable; ucontrol 33 sound/drivers/pcsp/pcsp_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 37 sound/drivers/pcsp/pcsp_mixer.c int enab = ucontrol->value.integer.value[0]; ucontrol 60 sound/drivers/pcsp/pcsp_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 63 sound/drivers/pcsp/pcsp_mixer.c ucontrol->value.enumerated.item[0] = chip->treble; ucontrol 68 sound/drivers/pcsp/pcsp_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 72 sound/drivers/pcsp/pcsp_mixer.c int treble = ucontrol->value.enumerated.item[0]; ucontrol 94 sound/drivers/pcsp/pcsp_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 97 sound/drivers/pcsp/pcsp_mixer.c ucontrol->value.integer.value[0] = chip->pcspkr; ucontrol 102 sound/drivers/pcsp/pcsp_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 106 sound/drivers/pcsp/pcsp_mixer.c int spkr = ucontrol->value.integer.value[0]; ucontrol 410 sound/drivers/vx/vx_mixer.c static int vx_output_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 415 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = chip->output_level[codec][0]; ucontrol 416 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = chip->output_level[codec][1]; ucontrol 421 sound/drivers/vx/vx_mixer.c static int vx_output_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 428 sound/drivers/vx/vx_mixer.c val[0] = ucontrol->value.integer.value[0]; ucontrol 429 sound/drivers/vx/vx_mixer.c val[1] = ucontrol->value.integer.value[1]; ucontrol 475 sound/drivers/vx/vx_mixer.c static int vx_audio_src_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 478 sound/drivers/vx/vx_mixer.c ucontrol->value.enumerated.item[0] = chip->audio_source_target; ucontrol 482 sound/drivers/vx/vx_mixer.c static int vx_audio_src_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 487 sound/drivers/vx/vx_mixer.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 490 sound/drivers/vx/vx_mixer.c if (ucontrol->value.enumerated.item[0] > 1) ucontrol 494 sound/drivers/vx/vx_mixer.c if (chip->audio_source_target != ucontrol->value.enumerated.item[0]) { ucontrol 495 sound/drivers/vx/vx_mixer.c chip->audio_source_target = ucontrol->value.enumerated.item[0]; ucontrol 524 sound/drivers/vx/vx_mixer.c static int vx_clock_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 527 sound/drivers/vx/vx_mixer.c ucontrol->value.enumerated.item[0] = chip->clock_mode; ucontrol 531 sound/drivers/vx/vx_mixer.c static int vx_clock_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 535 sound/drivers/vx/vx_mixer.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 538 sound/drivers/vx/vx_mixer.c if (chip->clock_mode != ucontrol->value.enumerated.item[0]) { ucontrol 539 sound/drivers/vx/vx_mixer.c chip->clock_mode = ucontrol->value.enumerated.item[0]; ucontrol 568 sound/drivers/vx/vx_mixer.c static int vx_audio_gain_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 575 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = chip->audio_gain[capture][audio]; ucontrol 576 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = chip->audio_gain[capture][audio+1]; ucontrol 581 sound/drivers/vx/vx_mixer.c static int vx_audio_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 588 sound/drivers/vx/vx_mixer.c val[0] = ucontrol->value.integer.value[0]; ucontrol 589 sound/drivers/vx/vx_mixer.c val[1] = ucontrol->value.integer.value[1]; ucontrol 604 sound/drivers/vx/vx_mixer.c static int vx_audio_monitor_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 610 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = chip->audio_monitor[audio]; ucontrol 611 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = chip->audio_monitor[audio+1]; ucontrol 616 sound/drivers/vx/vx_mixer.c static int vx_audio_monitor_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 622 sound/drivers/vx/vx_mixer.c val[0] = ucontrol->value.integer.value[0]; ucontrol 623 sound/drivers/vx/vx_mixer.c val[1] = ucontrol->value.integer.value[1]; ucontrol 643 sound/drivers/vx/vx_mixer.c static int vx_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 649 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = chip->audio_active[audio]; ucontrol 650 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = chip->audio_active[audio+1]; ucontrol 655 sound/drivers/vx/vx_mixer.c static int vx_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 661 sound/drivers/vx/vx_mixer.c if (ucontrol->value.integer.value[0] != chip->audio_active[audio] || ucontrol 662 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] != chip->audio_active[audio+1]) { ucontrol 664 sound/drivers/vx/vx_mixer.c !!ucontrol->value.integer.value[0]); ucontrol 666 sound/drivers/vx/vx_mixer.c !!ucontrol->value.integer.value[1]); ucontrol 674 sound/drivers/vx/vx_mixer.c static int vx_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 680 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = chip->audio_monitor_active[audio]; ucontrol 681 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = chip->audio_monitor_active[audio+1]; ucontrol 686 sound/drivers/vx/vx_mixer.c static int vx_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 692 sound/drivers/vx/vx_mixer.c if (ucontrol->value.integer.value[0] != chip->audio_monitor_active[audio] || ucontrol 693 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] != chip->audio_monitor_active[audio+1]) { ucontrol 695 sound/drivers/vx/vx_mixer.c !!ucontrol->value.integer.value[0]); ucontrol 697 sound/drivers/vx/vx_mixer.c !!ucontrol->value.integer.value[1]); ucontrol 753 sound/drivers/vx/vx_mixer.c static int vx_iec958_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 758 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[0] = (chip->uer_bits >> 0) & 0xff; ucontrol 759 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[1] = (chip->uer_bits >> 8) & 0xff; ucontrol 760 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[2] = (chip->uer_bits >> 16) & 0xff; ucontrol 761 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[3] = (chip->uer_bits >> 24) & 0xff; ucontrol 766 sound/drivers/vx/vx_mixer.c static int vx_iec958_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 768 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 769 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 770 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 771 sound/drivers/vx/vx_mixer.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 775 sound/drivers/vx/vx_mixer.c static int vx_iec958_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 780 sound/drivers/vx/vx_mixer.c val = (ucontrol->value.iec958.status[0] << 0) | ucontrol 781 sound/drivers/vx/vx_mixer.c (ucontrol->value.iec958.status[1] << 8) | ucontrol 782 sound/drivers/vx/vx_mixer.c (ucontrol->value.iec958.status[2] << 16) | ucontrol 783 sound/drivers/vx/vx_mixer.c (ucontrol->value.iec958.status[3] << 24); ucontrol 828 sound/drivers/vx/vx_mixer.c static int vx_vu_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 836 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = meter[0].vu_level >> METER_SHIFT; ucontrol 837 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = meter[1].vu_level >> METER_SHIFT; ucontrol 841 sound/drivers/vx/vx_mixer.c static int vx_peak_meter_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 849 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = meter[0].peak_level >> METER_SHIFT; ucontrol 850 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = meter[1].peak_level >> METER_SHIFT; ucontrol 856 sound/drivers/vx/vx_mixer.c static int vx_saturation_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 863 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = meter[0].saturated; ucontrol 864 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = meter[1].saturated; ucontrol 739 sound/hda/hdmi_chmap.c struct snd_ctl_elem_value *ucontrol) ucontrol 751 sound/hda/hdmi_chmap.c ucontrol->value.integer.value[i] = pcm_chmap[i]; ucontrol 757 sound/hda/hdmi_chmap.c struct snd_ctl_elem_value *ucontrol) ucontrol 773 sound/hda/hdmi_chmap.c ctl_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 789 sound/hda/hdmi_chmap.c chmap[i] = ucontrol->value.integer.value[i]; ucontrol 356 sound/i2c/cs8427.c struct snd_ctl_elem_value *ucontrol) ucontrol 366 sound/i2c/cs8427.c ucontrol->value.integer.value[0] = data; ucontrol 379 sound/i2c/cs8427.c struct snd_ctl_elem_value *ucontrol) ucontrol 392 sound/i2c/cs8427.c err = snd_i2c_readbytes(device, ucontrol->value.bytes.data, 10); ucontrol 412 sound/i2c/cs8427.c struct snd_ctl_elem_value *ucontrol) ucontrol 418 sound/i2c/cs8427.c memcpy(ucontrol->value.iec958.status, chip->playback.def_status, 24); ucontrol 424 sound/i2c/cs8427.c struct snd_ctl_elem_value *ucontrol) ucontrol 435 sound/i2c/cs8427.c change = memcmp(ucontrol->value.iec958.status, status, 24) != 0; ucontrol 436 sound/i2c/cs8427.c memcpy(status, ucontrol->value.iec958.status, 24); ucontrol 456 sound/i2c/cs8427.c struct snd_ctl_elem_value *ucontrol) ucontrol 458 sound/i2c/cs8427.c memset(ucontrol->value.iec958.status, 0xff, 24); ucontrol 184 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 189 sound/i2c/other/ak4113.c ucontrol->value.integer.value[0] = ucontrol 199 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 206 sound/i2c/other/ak4113.c ucontrol->value.integer.value[0] = ucontrol 222 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 226 sound/i2c/other/ak4113.c ucontrol->value.integer.value[0] = ucontrol 232 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 240 sound/i2c/other/ak4113.c change = ucontrol->value.integer.value[0] != AK4113_IPS(old_val); ucontrol 244 sound/i2c/other/ak4113.c (AK4113_IPS(ucontrol->value.integer.value[0]))); ucontrol 260 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 264 sound/i2c/other/ak4113.c ucontrol->value.integer.value[0] = external_rate(reg_read(chip, ucontrol 278 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 284 sound/i2c/other/ak4113.c ucontrol->value.iec958.status[i] = reg_read(chip, ucontrol 298 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 300 sound/i2c/other/ak4113.c memset(ucontrol->value.iec958.status, 0xff, AK4113_REG_RXCSB_SIZE); ucontrol 315 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 320 sound/i2c/other/ak4113.c ucontrol->value.integer.value[0] = 0xf8f2; ucontrol 321 sound/i2c/other/ak4113.c ucontrol->value.integer.value[1] = 0x4e1f; ucontrol 324 sound/i2c/other/ak4113.c ucontrol->value.integer.value[2] = tmp; ucontrol 327 sound/i2c/other/ak4113.c ucontrol->value.integer.value[3] = tmp; ucontrol 340 sound/i2c/other/ak4113.c struct snd_ctl_elem_value *ucontrol) ucontrol 346 sound/i2c/other/ak4113.c ucontrol->value.bytes.data[i] = reg_read(chip, ucontrol 179 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 184 sound/i2c/other/ak4114.c ucontrol->value.integer.value[0] = ucontrol 194 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 201 sound/i2c/other/ak4114.c ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; ucontrol 216 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 220 sound/i2c/other/ak4114.c ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4114_REG_RCS1)); ucontrol 232 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 238 sound/i2c/other/ak4114.c ucontrol->value.iec958.status[i] = reg_read(chip, AK4114_REG_RXCSB0 + i); ucontrol 243 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 249 sound/i2c/other/ak4114.c ucontrol->value.iec958.status[i] = chip->txcsb[i]; ucontrol 254 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 260 sound/i2c/other/ak4114.c reg_write(chip, AK4114_REG_TXCSB0 + i, ucontrol->value.iec958.status[i]); ucontrol 272 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 274 sound/i2c/other/ak4114.c memset(ucontrol->value.iec958.status, 0xff, AK4114_REG_RXCSB_SIZE); ucontrol 288 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 293 sound/i2c/other/ak4114.c ucontrol->value.integer.value[0] = 0xf8f2; ucontrol 294 sound/i2c/other/ak4114.c ucontrol->value.integer.value[1] = 0x4e1f; ucontrol 296 sound/i2c/other/ak4114.c ucontrol->value.integer.value[2] = tmp; ucontrol 298 sound/i2c/other/ak4114.c ucontrol->value.integer.value[3] = tmp; ucontrol 310 sound/i2c/other/ak4114.c struct snd_ctl_elem_value *ucontrol) ucontrol 316 sound/i2c/other/ak4114.c ucontrol->value.bytes.data[i] = reg_read(chip, AK4114_REG_QSUB_ADDR + i); ucontrol 153 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 158 sound/i2c/other/ak4117.c ucontrol->value.integer.value[0] = ucontrol 168 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 175 sound/i2c/other/ak4117.c ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; ucontrol 190 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 194 sound/i2c/other/ak4117.c ucontrol->value.integer.value[0] = (chip->regmap[AK4117_REG_IO] & AK4117_IPS) ? 1 : 0; ucontrol 199 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 207 sound/i2c/other/ak4117.c change = !!ucontrol->value.integer.value[0] != ((old_val & AK4117_IPS) ? 1 : 0); ucontrol 209 sound/i2c/other/ak4117.c reg_write(chip, AK4117_REG_IO, (old_val & ~AK4117_IPS) | (ucontrol->value.integer.value[0] ? AK4117_IPS : 0)); ucontrol 225 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 229 sound/i2c/other/ak4117.c ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4117_REG_RCS1)); ucontrol 241 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 247 sound/i2c/other/ak4117.c ucontrol->value.iec958.status[i] = reg_read(chip, AK4117_REG_RXCSB0 + i); ucontrol 259 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 261 sound/i2c/other/ak4117.c memset(ucontrol->value.iec958.status, 0xff, AK4117_REG_RXCSB_SIZE); ucontrol 275 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 280 sound/i2c/other/ak4117.c ucontrol->value.integer.value[0] = 0xf8f2; ucontrol 281 sound/i2c/other/ak4117.c ucontrol->value.integer.value[1] = 0x4e1f; ucontrol 283 sound/i2c/other/ak4117.c ucontrol->value.integer.value[2] = tmp; ucontrol 285 sound/i2c/other/ak4117.c ucontrol->value.integer.value[3] = tmp; ucontrol 297 sound/i2c/other/ak4117.c struct snd_ctl_elem_value *ucontrol) ucontrol 303 sound/i2c/other/ak4117.c ucontrol->value.bytes.data[i] = reg_read(chip, AK4117_REG_QSUB_ADDR + i); ucontrol 365 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 371 sound/i2c/other/ak4xxx-adda.c ucontrol->value.integer.value[0] = snd_akm4xxx_get_vol(ak, chip, addr); ucontrol 401 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 404 sound/i2c/other/ak4xxx-adda.c unsigned int val = ucontrol->value.integer.value[0]; ucontrol 423 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 429 sound/i2c/other/ak4xxx-adda.c ucontrol->value.integer.value[0] = snd_akm4xxx_get_vol(ak, chip, addr); ucontrol 430 sound/i2c/other/ak4xxx-adda.c ucontrol->value.integer.value[1] = snd_akm4xxx_get_vol(ak, chip, addr+1); ucontrol 435 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 442 sound/i2c/other/ak4xxx-adda.c val[0] = ucontrol->value.integer.value[0]; ucontrol 443 sound/i2c/other/ak4xxx-adda.c val[1] = ucontrol->value.integer.value[1]; ucontrol 461 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 467 sound/i2c/other/ak4xxx-adda.c ucontrol->value.enumerated.item[0] = ucontrol 473 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 479 sound/i2c/other/ak4xxx-adda.c unsigned char nval = ucontrol->value.enumerated.item[0] & 3; ucontrol 493 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 504 sound/i2c/other/ak4xxx-adda.c ucontrol->value.integer.value[0] = (val & (1<<shift)) != 0; ucontrol 509 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 516 sound/i2c/other/ak4xxx-adda.c long flag = ucontrol->value.integer.value[0]; ucontrol 562 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 571 sound/i2c/other/ak4xxx-adda.c ucontrol->value.enumerated.item[0] = val; ucontrol 576 sound/i2c/other/ak4xxx-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 586 sound/i2c/other/ak4xxx-adda.c if (ucontrol->value.enumerated.item[0] >= num_names) ucontrol 591 sound/i2c/other/ak4xxx-adda.c val |= ucontrol->value.enumerated.item[0] & mask; ucontrol 81 sound/i2c/other/pt2258.c struct snd_ctl_elem_value *ucontrol) ucontrol 87 sound/i2c/other/pt2258.c ucontrol->value.integer.value[0] = 79 - pt->volume[base]; ucontrol 88 sound/i2c/other/pt2258.c ucontrol->value.integer.value[1] = 79 - pt->volume[base + 1]; ucontrol 93 sound/i2c/other/pt2258.c struct snd_ctl_elem_value *ucontrol) ucontrol 100 sound/i2c/other/pt2258.c val0 = 79 - ucontrol->value.integer.value[0]; ucontrol 101 sound/i2c/other/pt2258.c val1 = 79 - ucontrol->value.integer.value[1]; ucontrol 134 sound/i2c/other/pt2258.c struct snd_ctl_elem_value *ucontrol) ucontrol 138 sound/i2c/other/pt2258.c ucontrol->value.integer.value[0] = !pt->mute; ucontrol 143 sound/i2c/other/pt2258.c struct snd_ctl_elem_value *ucontrol) ucontrol 149 sound/i2c/other/pt2258.c val = !ucontrol->value.integer.value[0]; ucontrol 82 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 87 sound/i2c/tea6330t.c ucontrol->value.integer.value[0] = tea->mleft - 0x14; ucontrol 88 sound/i2c/tea6330t.c ucontrol->value.integer.value[1] = tea->mright - 0x14; ucontrol 94 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 101 sound/i2c/tea6330t.c val1 = (ucontrol->value.integer.value[0] % 44) + 0x14; ucontrol 102 sound/i2c/tea6330t.c val2 = (ucontrol->value.integer.value[1] % 44) + 0x14; ucontrol 133 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 138 sound/i2c/tea6330t.c ucontrol->value.integer.value[0] = tea->regs[TEA6330T_SADDR_VOLUME_LEFT] == 0 ? 0 : 1; ucontrol 139 sound/i2c/tea6330t.c ucontrol->value.integer.value[1] = tea->regs[TEA6330T_SADDR_VOLUME_RIGHT] == 0 ? 0 : 1; ucontrol 145 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 152 sound/i2c/tea6330t.c val1 = ucontrol->value.integer.value[0] & 1; ucontrol 153 sound/i2c/tea6330t.c val2 = ucontrol->value.integer.value[1] & 1; ucontrol 187 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 191 sound/i2c/tea6330t.c ucontrol->value.integer.value[0] = tea->bass; ucontrol 196 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 203 sound/i2c/tea6330t.c val1 = ucontrol->value.integer.value[0] % (tea->max_bass + 1); ucontrol 234 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 238 sound/i2c/tea6330t.c ucontrol->value.integer.value[0] = tea->treble; ucontrol 243 sound/i2c/tea6330t.c struct snd_ctl_elem_value *ucontrol) ucontrol 250 sound/i2c/tea6330t.c val1 = ucontrol->value.integer.value[0] % (tea->max_treble + 1); ucontrol 725 sound/isa/ad1816a/ad1816a_lib.c static int snd_ad1816a_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 734 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[0] = (val >> 12) & 7; ucontrol 735 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[1] = (val >> 4) & 7; ucontrol 739 sound/isa/ad1816a/ad1816a_lib.c static int snd_ad1816a_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 746 sound/isa/ad1816a/ad1816a_lib.c if (ucontrol->value.enumerated.item[0] > 6 || ucontrol 747 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.enumerated.item[1] > 6) ucontrol 749 sound/isa/ad1816a/ad1816a_lib.c val = (ucontrol->value.enumerated.item[0] << 12) | ucontrol 750 sound/isa/ad1816a/ad1816a_lib.c (ucontrol->value.enumerated.item[1] << 4); ucontrol 781 sound/isa/ad1816a/ad1816a_lib.c static int snd_ad1816a_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 791 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[0] = (snd_ad1816a_read(chip, reg) >> shift) & mask; ucontrol 794 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 798 sound/isa/ad1816a/ad1816a_lib.c static int snd_ad1816a_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 809 sound/isa/ad1816a/ad1816a_lib.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 846 sound/isa/ad1816a/ad1816a_lib.c static int snd_ad1816a_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 859 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[0] = (val >> shift_left) & mask; ucontrol 860 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[1] = (val >> shift_right) & mask; ucontrol 863 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 864 sound/isa/ad1816a/ad1816a_lib.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 869 sound/isa/ad1816a/ad1816a_lib.c static int snd_ad1816a_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 881 sound/isa/ad1816a/ad1816a_lib.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 882 sound/isa/ad1816a/ad1816a_lib.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 405 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 415 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(reg)] >> shift) & mask; ucontrol 418 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 422 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 433 sound/isa/cs423x/cs4236_lib.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 451 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_get_singlec(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 461 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = (chip->cimage[reg] >> shift) & mask; ucontrol 464 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 468 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_put_singlec(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 479 sound/isa/cs423x/cs4236_lib.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 518 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 530 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = (chip->eimage[CS4236_REG(left_reg)] >> shift_left) & mask; ucontrol 531 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; ucontrol 534 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 535 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 540 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 553 sound/isa/cs423x/cs4236_lib.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 554 sound/isa/cs423x/cs4236_lib.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 594 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_get_double1(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 606 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; ucontrol 607 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[1] = (chip->eimage[CS4236_REG(right_reg)] >> shift_right) & mask; ucontrol 610 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 611 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 616 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_put_double1(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 629 sound/isa/cs423x/cs4236_lib.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 630 sound/isa/cs423x/cs4236_lib.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 660 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_get_master_digital(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 666 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = snd_cs4236_mixer_master_digital_invert_volume(chip->eimage[CS4236_REG(CS4236_LEFT_MASTER)] & 0x7f); ucontrol 667 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[1] = snd_cs4236_mixer_master_digital_invert_volume(chip->eimage[CS4236_REG(CS4236_RIGHT_MASTER)] & 0x7f); ucontrol 672 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_put_master_digital(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 679 sound/isa/cs423x/cs4236_lib.c val1 = snd_cs4236_mixer_master_digital_invert_volume(ucontrol->value.integer.value[0] & 0x7f); ucontrol 680 sound/isa/cs423x/cs4236_lib.c val2 = snd_cs4236_mixer_master_digital_invert_volume(ucontrol->value.integer.value[1] & 0x7f); ucontrol 721 sound/isa/cs423x/cs4236_lib.c static int snd_cs4235_get_output_accu(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 727 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = snd_cs4235_mixer_output_accu_get_volume(chip->image[CS4235_LEFT_MASTER]); ucontrol 728 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[1] = snd_cs4235_mixer_output_accu_get_volume(chip->image[CS4235_RIGHT_MASTER]); ucontrol 733 sound/isa/cs423x/cs4236_lib.c static int snd_cs4235_put_output_accu(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 740 sound/isa/cs423x/cs4236_lib.c val1 = snd_cs4235_mixer_output_accu_set_volume(ucontrol->value.integer.value[0]); ucontrol 741 sound/isa/cs423x/cs4236_lib.c val2 = snd_cs4235_mixer_output_accu_set_volume(ucontrol->value.integer.value[1]); ucontrol 931 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_get_iec958_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 937 sound/isa/cs423x/cs4236_lib.c ucontrol->value.integer.value[0] = chip->image[CS4231_ALT_FEATURE_1] & 0x02 ? 1 : 0; ucontrol 952 sound/isa/cs423x/cs4236_lib.c static int snd_cs4236_put_iec958_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 959 sound/isa/cs423x/cs4236_lib.c enable = ucontrol->value.integer.value[0] & 1; ucontrol 751 sound/isa/es1688/es1688_lib.c static int snd_es1688_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 754 sound/isa/es1688/es1688_lib.c ucontrol->value.enumerated.item[0] = snd_es1688_mixer_read(chip, ES1688_REC_DEV) & 7; ucontrol 758 sound/isa/es1688/es1688_lib.c static int snd_es1688_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 765 sound/isa/es1688/es1688_lib.c if (ucontrol->value.enumerated.item[0] > 8) ucontrol 769 sound/isa/es1688/es1688_lib.c nval = (ucontrol->value.enumerated.item[0] & 7) | (oval & ~15); ucontrol 794 sound/isa/es1688/es1688_lib.c static int snd_es1688_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 804 sound/isa/es1688/es1688_lib.c ucontrol->value.integer.value[0] = (snd_es1688_mixer_read(chip, reg) >> shift) & mask; ucontrol 807 sound/isa/es1688/es1688_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 811 sound/isa/es1688/es1688_lib.c static int snd_es1688_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 822 sound/isa/es1688/es1688_lib.c nval = (ucontrol->value.integer.value[0] & mask); ucontrol 853 sound/isa/es1688/es1688_lib.c static int snd_es1688_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 878 sound/isa/es1688/es1688_lib.c ucontrol->value.integer.value[0] = (left >> shift_left) & mask; ucontrol 879 sound/isa/es1688/es1688_lib.c ucontrol->value.integer.value[1] = (right >> shift_right) & mask; ucontrol 881 sound/isa/es1688/es1688_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 882 sound/isa/es1688/es1688_lib.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 887 sound/isa/es1688/es1688_lib.c static int snd_es1688_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 900 sound/isa/es1688/es1688_lib.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 901 sound/isa/es1688/es1688_lib.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 977 sound/isa/es18xx.c static int snd_es18xx_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 990 sound/isa/es18xx.c ucontrol->value.enumerated.item[0] = muxSource; ucontrol 994 sound/isa/es18xx.c static int snd_es18xx_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 998 sound/isa/es18xx.c unsigned char val = ucontrol->value.enumerated.item[0]; ucontrol 1034 sound/isa/es18xx.c static int snd_es18xx_get_spatializer_enable(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1038 sound/isa/es18xx.c ucontrol->value.integer.value[0] = !!(val & 8); ucontrol 1042 sound/isa/es18xx.c static int snd_es18xx_put_spatializer_enable(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1047 sound/isa/es18xx.c nval = ucontrol->value.integer.value[0] ? 0x0c : 0x04; ucontrol 1066 sound/isa/es18xx.c static int snd_es18xx_get_hw_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1069 sound/isa/es18xx.c ucontrol->value.integer.value[0] = snd_es18xx_mixer_read(chip, 0x61) & 0x3f; ucontrol 1070 sound/isa/es18xx.c ucontrol->value.integer.value[1] = snd_es18xx_mixer_read(chip, 0x63) & 0x3f; ucontrol 1076 sound/isa/es18xx.c static int snd_es18xx_get_hw_switch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1079 sound/isa/es18xx.c ucontrol->value.integer.value[0] = !(snd_es18xx_mixer_read(chip, 0x61) & 0x40); ucontrol 1080 sound/isa/es18xx.c ucontrol->value.integer.value[1] = !(snd_es18xx_mixer_read(chip, 0x63) & 0x40); ucontrol 1130 sound/isa/es18xx.c static int snd_es18xx_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1144 sound/isa/es18xx.c ucontrol->value.integer.value[0] = (val >> shift) & mask; ucontrol 1146 sound/isa/es18xx.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 1150 sound/isa/es18xx.c static int snd_es18xx_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1160 sound/isa/es18xx.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 1194 sound/isa/es18xx.c static int snd_es18xx_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1210 sound/isa/es18xx.c ucontrol->value.integer.value[0] = (left >> shift_left) & mask; ucontrol 1211 sound/isa/es18xx.c ucontrol->value.integer.value[1] = (right >> shift_right) & mask; ucontrol 1213 sound/isa/es18xx.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 1214 sound/isa/es18xx.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 1219 sound/isa/es18xx.c static int snd_es18xx_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1231 sound/isa/es18xx.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 1232 sound/isa/es18xx.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 46 sound/isa/gus/gus_main.c static int snd_gus_joystick_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 50 sound/isa/gus/gus_main.c ucontrol->value.integer.value[0] = gus->joystick_dac & 31; ucontrol 54 sound/isa/gus/gus_main.c static int snd_gus_joystick_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 61 sound/isa/gus/gus_main.c nval = ucontrol->value.integer.value[0] & 31; ucontrol 25 sound/isa/gus/gus_mixer.c static int snd_gf1_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 31 sound/isa/gus/gus_mixer.c ucontrol->value.integer.value[0] = (gus->mix_cntrl_reg >> shift) & 1; ucontrol 33 sound/isa/gus/gus_mixer.c ucontrol->value.integer.value[0] ^= 1; ucontrol 37 sound/isa/gus/gus_mixer.c static int snd_gf1_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 46 sound/isa/gus/gus_mixer.c nval = ucontrol->value.integer.value[0] & 1; ucontrol 75 sound/isa/gus/gus_mixer.c static int snd_ics_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 86 sound/isa/gus/gus_mixer.c ucontrol->value.integer.value[0] = left & 127; ucontrol 87 sound/isa/gus/gus_mixer.c ucontrol->value.integer.value[1] = right & 127; ucontrol 91 sound/isa/gus/gus_mixer.c static int snd_ics_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 99 sound/isa/gus/gus_mixer.c val1 = ucontrol->value.integer.value[0] & 127; ucontrol 100 sound/isa/gus/gus_mixer.c val2 = ucontrol->value.integer.value[1] & 127; ucontrol 758 sound/isa/gus/gus_pcm.c static int snd_gf1_pcm_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 764 sound/isa/gus/gus_pcm.c ucontrol->value.integer.value[0] = gus->gf1.pcm_volume_level_left1; ucontrol 765 sound/isa/gus/gus_pcm.c ucontrol->value.integer.value[1] = gus->gf1.pcm_volume_level_right1; ucontrol 770 sound/isa/gus/gus_pcm.c static int snd_gf1_pcm_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 780 sound/isa/gus/gus_pcm.c val1 = ucontrol->value.integer.value[0] & 127; ucontrol 781 sound/isa/gus/gus_pcm.c val2 = ucontrol->value.integer.value[1] & 127; ucontrol 65 sound/isa/msnd/msnd_pinnacle_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 69 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.enumerated.item[0] = 0; ucontrol 72 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.enumerated.item[0] = 1; ucontrol 75 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.enumerated.item[0] = 2; ucontrol 117 sound/isa/msnd/msnd_pinnacle_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 120 sound/isa/msnd/msnd_pinnacle_mixer.c return snd_msndmix_set_mux(msnd, ucontrol->value.enumerated.item[0]); ucontrol 135 sound/isa/msnd/msnd_pinnacle_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 142 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.integer.value[0] = msnd->left_levels[addr] * 100; ucontrol 143 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.integer.value[0] /= 0xFFFF; ucontrol 144 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.integer.value[1] = msnd->right_levels[addr] * 100; ucontrol 145 sound/isa/msnd/msnd_pinnacle_mixer.c ucontrol->value.integer.value[1] /= 0xFFFF; ucontrol 253 sound/isa/msnd/msnd_pinnacle_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 260 sound/isa/msnd/msnd_pinnacle_mixer.c left = ucontrol->value.integer.value[0] % 101; ucontrol 261 sound/isa/msnd/msnd_pinnacle_mixer.c right = ucontrol->value.integer.value[1] % 101; ucontrol 340 sound/isa/opl3sa2.c static int snd_opl3sa2_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 350 sound/isa/opl3sa2.c ucontrol->value.integer.value[0] = (chip->ctlregs[reg] >> shift) & mask; ucontrol 353 sound/isa/opl3sa2.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 357 sound/isa/opl3sa2.c static int snd_opl3sa2_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 368 sound/isa/opl3sa2.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 395 sound/isa/opl3sa2.c static int snd_opl3sa2_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 407 sound/isa/opl3sa2.c ucontrol->value.integer.value[0] = (chip->ctlregs[left_reg] >> shift_left) & mask; ucontrol 408 sound/isa/opl3sa2.c ucontrol->value.integer.value[1] = (chip->ctlregs[right_reg] >> shift_right) & mask; ucontrol 411 sound/isa/opl3sa2.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 412 sound/isa/opl3sa2.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 417 sound/isa/opl3sa2.c static int snd_opl3sa2_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 430 sound/isa/opl3sa2.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 431 sound/isa/opl3sa2.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 259 sound/isa/opti9xx/miro.c struct snd_ctl_elem_value *ucontrol) ucontrol 271 sound/isa/opti9xx/miro.c ucontrol->value.integer.value[0] = value & 0x20; ucontrol 277 sound/isa/opti9xx/miro.c struct snd_ctl_elem_value *ucontrol) ucontrol 282 sound/isa/opti9xx/miro.c value = !(ucontrol->value.integer.value[0]); ucontrol 309 sound/isa/opti9xx/miro.c struct snd_ctl_elem_value *ucontrol) ucontrol 322 sound/isa/opti9xx/miro.c ucontrol->value.integer.value[0] = miro->aci->aci_preamp; ucontrol 333 sound/isa/opti9xx/miro.c ucontrol->value.integer.value[0] = value; ucontrol 339 sound/isa/opti9xx/miro.c struct snd_ctl_elem_value *ucontrol) ucontrol 344 sound/isa/opti9xx/miro.c value = ucontrol->value.integer.value[0]; ucontrol 362 sound/isa/opti9xx/miro.c struct snd_ctl_elem_value *ucontrol) ucontrol 365 sound/isa/opti9xx/miro.c ucontrol->value.integer.value[0] = miro->aci->aci_amp; ucontrol 371 sound/isa/opti9xx/miro.c struct snd_ctl_elem_value *ucontrol) ucontrol 376 sound/isa/opti9xx/miro.c value = ucontrol->value.integer.value[0]; ucontrol 474 sound/isa/opti9xx/miro.c struct snd_ctl_elem_value *ucontrol) ucontrol 482 sound/isa/opti9xx/miro.c left = ucontrol->value.integer.value[0]; ucontrol 483 sound/isa/opti9xx/miro.c right = ucontrol->value.integer.value[1]; ucontrol 829 sound/isa/sb/emu8000.c static int mixer_bass_treble_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 833 sound/isa/sb/emu8000.c ucontrol->value.integer.value[0] = kcontrol->private_value ? emu->treble_level : emu->bass_level; ucontrol 837 sound/isa/sb/emu8000.c static int mixer_bass_treble_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 844 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % 12; ucontrol 890 sound/isa/sb/emu8000.c static int mixer_chorus_reverb_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 894 sound/isa/sb/emu8000.c ucontrol->value.integer.value[0] = kcontrol->private_value ? emu->chorus_mode : emu->reverb_mode; ucontrol 898 sound/isa/sb/emu8000.c static int mixer_chorus_reverb_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 907 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % SNDRV_EMU8000_CHORUS_NUMBERS; ucontrol 911 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % SNDRV_EMU8000_REVERB_NUMBERS; ucontrol 957 sound/isa/sb/emu8000.c static int mixer_fm_depth_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 961 sound/isa/sb/emu8000.c ucontrol->value.integer.value[0] = kcontrol->private_value ? emu->fm_chorus_depth : emu->fm_reverb_depth; ucontrol 965 sound/isa/sb/emu8000.c static int mixer_fm_depth_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 972 sound/isa/sb/emu8000.c val1 = ucontrol->value.integer.value[0] % 256; ucontrol 952 sound/isa/sb/sb16_csp.c static int snd_sb_qsound_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 956 sound/isa/sb/sb16_csp.c ucontrol->value.integer.value[0] = p->q_enabled ? 1 : 0; ucontrol 960 sound/isa/sb/sb16_csp.c static int snd_sb_qsound_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 967 sound/isa/sb/sb16_csp.c nval = ucontrol->value.integer.value[0] & 0x01; ucontrol 984 sound/isa/sb/sb16_csp.c static int snd_sb_qsound_space_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 990 sound/isa/sb/sb16_csp.c ucontrol->value.integer.value[0] = p->qpos_left; ucontrol 991 sound/isa/sb/sb16_csp.c ucontrol->value.integer.value[1] = p->qpos_right; ucontrol 996 sound/isa/sb/sb16_csp.c static int snd_sb_qsound_space_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1003 sound/isa/sb/sb16_csp.c nval1 = ucontrol->value.integer.value[0]; ucontrol 1006 sound/isa/sb/sb16_csp.c nval2 = ucontrol->value.integer.value[1]; ucontrol 700 sound/isa/sb/sb16_main.c static int snd_sb16_dma_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 706 sound/isa/sb/sb16_main.c ucontrol->value.enumerated.item[0] = snd_sb16_get_dma_mode(chip); ucontrol 711 sound/isa/sb/sb16_main.c static int snd_sb16_dma_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 718 sound/isa/sb/sb16_main.c if ((nval = ucontrol->value.enumerated.item[0]) > 2) ucontrol 56 sound/isa/sb/sb_mixer.c static int snd_sbmixer_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 68 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[0] = val; ucontrol 72 sound/isa/sb/sb_mixer.c static int snd_sbmixer_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 82 sound/isa/sb/sb_mixer.c val = (ucontrol->value.integer.value[0] & mask) << shift; ucontrol 108 sound/isa/sb/sb_mixer.c static int snd_sbmixer_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 123 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[0] = left; ucontrol 124 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[1] = right; ucontrol 128 sound/isa/sb/sb_mixer.c static int snd_sbmixer_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 140 sound/isa/sb/sb_mixer.c left = (ucontrol->value.integer.value[0] & mask) << left_shift; ucontrol 141 sound/isa/sb/sb_mixer.c right = (ucontrol->value.integer.value[1] & mask) << right_shift; ucontrol 177 sound/isa/sb/sb_mixer.c static int snd_dt019x_input_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 188 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 0; ucontrol 191 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 1; ucontrol 194 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 2; ucontrol 197 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 4; ucontrol 207 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 4; ucontrol 213 sound/isa/sb/sb_mixer.c static int snd_dt019x_input_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 220 sound/isa/sb/sb_mixer.c if (ucontrol->value.enumerated.item[0] > 4) ucontrol 222 sound/isa/sb/sb_mixer.c switch (ucontrol->value.enumerated.item[0]) { ucontrol 265 sound/isa/sb/sb_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 278 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = oval; ucontrol 283 sound/isa/sb/sb_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 290 sound/isa/sb/sb_mixer.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 296 sound/isa/sb/sb_mixer.c | (ucontrol->value.enumerated.item[0] << 6); ucontrol 318 sound/isa/sb/sb_mixer.c static int snd_sb8mixer_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 329 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 1; ucontrol 332 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 2; ucontrol 335 sound/isa/sb/sb_mixer.c ucontrol->value.enumerated.item[0] = 0; ucontrol 341 sound/isa/sb/sb_mixer.c static int snd_sb8mixer_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 348 sound/isa/sb/sb_mixer.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 350 sound/isa/sb/sb_mixer.c switch (ucontrol->value.enumerated.item[0]) { ucontrol 384 sound/isa/sb/sb_mixer.c static int snd_sb16mixer_get_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 398 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[0] = (val1 >> left_shift) & 0x01; ucontrol 399 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[1] = (val2 >> left_shift) & 0x01; ucontrol 400 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[2] = (val1 >> right_shift) & 0x01; ucontrol 401 sound/isa/sb/sb_mixer.c ucontrol->value.integer.value[3] = (val2 >> right_shift) & 0x01; ucontrol 405 sound/isa/sb/sb_mixer.c static int snd_sb16mixer_put_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 421 sound/isa/sb/sb_mixer.c val1 |= (ucontrol->value.integer.value[0] & 1) << left_shift; ucontrol 422 sound/isa/sb/sb_mixer.c val2 |= (ucontrol->value.integer.value[1] & 1) << left_shift; ucontrol 423 sound/isa/sb/sb_mixer.c val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift; ucontrol 424 sound/isa/sb/sb_mixer.c val2 |= (ucontrol->value.integer.value[3] & 1) << right_shift; ucontrol 2004 sound/isa/wss/wss_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2010 sound/isa/wss/wss_lib.c ucontrol->value.enumerated.item[0] = (chip->image[CS4231_LEFT_INPUT] & CS4231_MIXS_ALL) >> 6; ucontrol 2011 sound/isa/wss/wss_lib.c ucontrol->value.enumerated.item[1] = (chip->image[CS4231_RIGHT_INPUT] & CS4231_MIXS_ALL) >> 6; ucontrol 2017 sound/isa/wss/wss_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2024 sound/isa/wss/wss_lib.c if (ucontrol->value.enumerated.item[0] > 3 || ucontrol 2025 sound/isa/wss/wss_lib.c ucontrol->value.enumerated.item[1] > 3) ucontrol 2027 sound/isa/wss/wss_lib.c left = ucontrol->value.enumerated.item[0] << 6; ucontrol 2028 sound/isa/wss/wss_lib.c right = ucontrol->value.enumerated.item[1] << 6; ucontrol 2054 sound/isa/wss/wss_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2064 sound/isa/wss/wss_lib.c ucontrol->value.integer.value[0] = (chip->image[reg] >> shift) & mask; ucontrol 2067 sound/isa/wss/wss_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 2073 sound/isa/wss/wss_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2084 sound/isa/wss/wss_lib.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 2111 sound/isa/wss/wss_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2123 sound/isa/wss/wss_lib.c ucontrol->value.integer.value[0] = (chip->image[left_reg] >> shift_left) & mask; ucontrol 2124 sound/isa/wss/wss_lib.c ucontrol->value.integer.value[1] = (chip->image[right_reg] >> shift_right) & mask; ucontrol 2127 sound/isa/wss/wss_lib.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 2128 sound/isa/wss/wss_lib.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 2135 sound/isa/wss/wss_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2148 sound/isa/wss/wss_lib.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 2149 sound/isa/wss/wss_lib.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 187 sound/mips/hal2.c struct snd_ctl_elem_value *ucontrol) ucontrol 212 sound/mips/hal2.c ucontrol->value.integer.value[0] = l; ucontrol 213 sound/mips/hal2.c ucontrol->value.integer.value[1] = r; ucontrol 219 sound/mips/hal2.c struct snd_ctl_elem_value *ucontrol) ucontrol 225 sound/mips/hal2.c l = ucontrol->value.integer.value[0]; ucontrol 226 sound/mips/hal2.c r = ucontrol->value.integer.value[1]; ucontrol 158 sound/mips/sgio2audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 165 sound/mips/sgio2audio.c ucontrol->value.integer.value[0] = (vol >> 8) & 0xFF; ucontrol 166 sound/mips/sgio2audio.c ucontrol->value.integer.value[1] = vol & 0xFF; ucontrol 172 sound/mips/sgio2audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 178 sound/mips/sgio2audio.c newvol = (ucontrol->value.integer.value[0] << 8) | ucontrol 179 sound/mips/sgio2audio.c ucontrol->value.integer.value[1]; ucontrol 197 sound/mips/sgio2audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 201 sound/mips/sgio2audio.c ucontrol->value.enumerated.item[0] = ad1843_get_recsrc(&chip->ad1843); ucontrol 206 sound/mips/sgio2audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 213 sound/mips/sgio2audio.c ucontrol->value.enumerated.item[0]); ucontrol 694 sound/parisc/harmony.c struct snd_ctl_elem_value *ucontrol) ucontrol 712 sound/parisc/harmony.c ucontrol->value.integer.value[0] = left; ucontrol 714 sound/parisc/harmony.c ucontrol->value.integer.value[1] = right; ucontrol 723 sound/parisc/harmony.c struct snd_ctl_elem_value *ucontrol) ucontrol 735 sound/parisc/harmony.c left = ucontrol->value.integer.value[0] & mask; ucontrol 742 sound/parisc/harmony.c right = ucontrol->value.integer.value[1] & mask; ucontrol 767 sound/parisc/harmony.c struct snd_ctl_elem_value *ucontrol) ucontrol 775 sound/parisc/harmony.c ucontrol->value.enumerated.item[0] = value; ucontrol 784 sound/parisc/harmony.c struct snd_ctl_elem_value *ucontrol) ucontrol 792 sound/parisc/harmony.c value = ucontrol->value.enumerated.item[0] & 1; ucontrol 457 sound/pci/ac97/ac97_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 466 sound/pci/ac97/ac97_codec.c ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1); ucontrol 468 sound/pci/ac97/ac97_codec.c ucontrol->value.enumerated.item[1] = (val >> e->shift_r) & (bitmask - 1); ucontrol 474 sound/pci/ac97/ac97_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 483 sound/pci/ac97/ac97_codec.c if (ucontrol->value.enumerated.item[0] > e->mask - 1) ucontrol 485 sound/pci/ac97/ac97_codec.c val = ucontrol->value.enumerated.item[0] << e->shift_l; ucontrol 488 sound/pci/ac97/ac97_codec.c if (ucontrol->value.enumerated.item[1] > e->mask - 1) ucontrol 490 sound/pci/ac97/ac97_codec.c val |= ucontrol->value.enumerated.item[1] << e->shift_r; ucontrol 535 sound/pci/ac97/ac97_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 546 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[0] = (snd_ac97_read_cache(ac97, reg) >> shift) & mask; ucontrol 548 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[1] = (snd_ac97_read_cache(ac97, reg) >> rshift) & mask; ucontrol 550 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 552 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 559 sound/pci/ac97/ac97_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 571 sound/pci/ac97/ac97_codec.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 577 sound/pci/ac97/ac97_codec.c val2 = (ucontrol->value.integer.value[1] & mask); ucontrol 694 sound/pci/ac97/ac97_codec.c static int snd_ac97_spdif_cmask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 696 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | ucontrol 700 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[1] = IEC958_AES1_CON_CATEGORY | ucontrol 702 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; ucontrol 706 sound/pci/ac97/ac97_codec.c static int snd_ac97_spdif_pmask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 709 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | ucontrol 716 sound/pci/ac97/ac97_codec.c static int snd_ac97_spdif_default_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 721 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[0] = ac97->spdif_status & 0xff; ucontrol 722 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[1] = (ac97->spdif_status >> 8) & 0xff; ucontrol 723 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[2] = (ac97->spdif_status >> 16) & 0xff; ucontrol 724 sound/pci/ac97/ac97_codec.c ucontrol->value.iec958.status[3] = (ac97->spdif_status >> 24) & 0xff; ucontrol 729 sound/pci/ac97/ac97_codec.c static int snd_ac97_spdif_default_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 736 sound/pci/ac97/ac97_codec.c new = val = ucontrol->value.iec958.status[0] & (IEC958_AES0_PROFESSIONAL|IEC958_AES0_NONAUDIO); ucontrol 737 sound/pci/ac97/ac97_codec.c if (ucontrol->value.iec958.status[0] & IEC958_AES0_PROFESSIONAL) { ucontrol 738 sound/pci/ac97/ac97_codec.c new |= ucontrol->value.iec958.status[0] & (IEC958_AES0_PRO_FS|IEC958_AES0_PRO_EMPHASIS_5015); ucontrol 748 sound/pci/ac97/ac97_codec.c new |= ucontrol->value.iec958.status[0] & (IEC958_AES0_CON_EMPHASIS_5015|IEC958_AES0_CON_NOT_COPYRIGHT); ucontrol 749 sound/pci/ac97/ac97_codec.c new |= ((ucontrol->value.iec958.status[1] & (IEC958_AES1_CON_CATEGORY|IEC958_AES1_CON_ORIGINAL)) << 8); ucontrol 750 sound/pci/ac97/ac97_codec.c new |= ((ucontrol->value.iec958.status[3] & IEC958_AES3_CON_FS) << 24); ucontrol 803 sound/pci/ac97/ac97_codec.c static int snd_ac97_put_spsa(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 813 sound/pci/ac97/ac97_codec.c value = (ucontrol->value.integer.value[0] & mask); ucontrol 889 sound/pci/ac97/ac97_codec.c static int snd_ac97_ad18xx_pcm_get_bits(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 897 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask); ucontrol 899 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[1] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> rshift) & mask); ucontrol 903 sound/pci/ac97/ac97_codec.c static int snd_ac97_ad18xx_pcm_put_bits(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 912 sound/pci/ac97/ac97_codec.c val = (mask - (ucontrol->value.integer.value[0] & mask)) << lshift; ucontrol 915 sound/pci/ac97/ac97_codec.c val |= (mask - (ucontrol->value.integer.value[1] & mask)) << rshift; ucontrol 935 sound/pci/ac97/ac97_codec.c static int snd_ac97_ad18xx_pcm_get_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 941 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[0] = 31 - ((ac97->spec.ad18xx.pcmreg[codec] >> 0) & 31); ucontrol 942 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[1] = 31 - ((ac97->spec.ad18xx.pcmreg[codec] >> 8) & 31); ucontrol 947 sound/pci/ac97/ac97_codec.c static int snd_ac97_ad18xx_pcm_put_volume(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 953 sound/pci/ac97/ac97_codec.c val1 = 31 - (ucontrol->value.integer.value[0] & 31); ucontrol 954 sound/pci/ac97/ac97_codec.c val2 = 31 - (ucontrol->value.integer.value[1] & 31); ucontrol 2653 sound/pci/ac97/ac97_codec.c static int bind_hp_volsw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2655 sound/pci/ac97/ac97_codec.c int err = snd_ac97_put_volsw(kcontrol, ucontrol); ucontrol 2659 sound/pci/ac97/ac97_codec.c snd_ac97_put_volsw(kcontrol, ucontrol); ucontrol 2753 sound/pci/ac97/ac97_codec.c static int master_mute_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2755 sound/pci/ac97/ac97_codec.c int err = snd_ac97_put_volsw(kcontrol, ucontrol); ucontrol 2789 sound/pci/ac97/ac97_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2791 sound/pci/ac97/ac97_codec.c int err = bind_hp_volsw_put(kcontrol, ucontrol); ucontrol 77 sound/pci/ac97/ac97_patch.c static int ac97_surround_jack_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 81 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = ac97->indep_surround; ucontrol 85 sound/pci/ac97/ac97_patch.c static int ac97_surround_jack_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 88 sound/pci/ac97/ac97_patch.c unsigned char indep = !!ucontrol->value.enumerated.item[0]; ucontrol 106 sound/pci/ac97/ac97_patch.c static int ac97_channel_mode_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 110 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = ac97->channel_mode; ucontrol 114 sound/pci/ac97/ac97_patch.c static int ac97_channel_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 117 sound/pci/ac97/ac97_patch.c unsigned char mode = ucontrol->value.enumerated.item[0]; ucontrol 226 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 235 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; ucontrol 240 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 245 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 247 sound/pci/ac97/ac97_patch.c val = (ucontrol->value.enumerated.item[0] + 1) << 10; ucontrol 271 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 277 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 1) & 1; ucontrol 282 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 287 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 1) ucontrol 289 sound/pci/ac97/ac97_patch.c val = ucontrol->value.enumerated.item[0] << 1; ucontrol 372 sound/pci/ac97/ac97_patch.c static int snd_ac97_ymf753_spdif_output_pin_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 378 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val & 0x0008) ? 2 : (val & 0x0020) ? 1 : 0; ucontrol 382 sound/pci/ac97/ac97_patch.c static int snd_ac97_ymf753_spdif_output_pin_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 387 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 389 sound/pci/ac97/ac97_patch.c val = (ucontrol->value.enumerated.item[0] == 2) ? 0x0008 : ucontrol 390 sound/pci/ac97/ac97_patch.c (ucontrol->value.enumerated.item[0] == 1) ? 0x0020 : 0; ucontrol 956 sound/pci/ac97/ac97_patch.c static int snd_ac97_stac9708_put_bias(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 964 sound/pci/ac97/ac97_patch.c (ucontrol->value.integer.value[0] & 1) << 4); ucontrol 1070 sound/pci/ac97/ac97_patch.c static int snd_ac97_stac9758_output_jack_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1078 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1080 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1 + (val & 3); ucontrol 1084 sound/pci/ac97/ac97_patch.c static int snd_ac97_stac9758_output_jack_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1090 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 4) ucontrol 1092 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] == 0) ucontrol 1095 sound/pci/ac97/ac97_patch.c val = 4 | (ucontrol->value.enumerated.item[0] - 1); ucontrol 1109 sound/pci/ac97/ac97_patch.c static int snd_ac97_stac9758_input_jack_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1116 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> shift) & 7; ucontrol 1120 sound/pci/ac97/ac97_patch.c static int snd_ac97_stac9758_input_jack_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1126 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] << shift, 0); ucontrol 1138 sound/pci/ac97/ac97_patch.c static int snd_ac97_stac9758_phonesel_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1142 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = ac97->regs[AC97_SIGMATEL_IOMISC] & 3; ucontrol 1146 sound/pci/ac97/ac97_patch.c static int snd_ac97_stac9758_phonesel_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1151 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0], 0); ucontrol 1755 sound/pci/ac97/ac97_patch.c static int snd_ac97_ad198x_spdif_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1761 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 2) & 1; ucontrol 1765 sound/pci/ac97/ac97_patch.c static int snd_ac97_ad198x_spdif_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1770 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 1) ucontrol 1772 sound/pci/ac97/ac97_patch.c val = ucontrol->value.enumerated.item[0] << 2; ucontrol 1906 sound/pci/ac97/ac97_patch.c static int snd_ac97_ad1888_lohpsel_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1912 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = !(val & AC97_AD198X_LOSEL); ucontrol 1914 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = ucontrol 1915 sound/pci/ac97/ac97_patch.c !ucontrol->value.integer.value[0]; ucontrol 1919 sound/pci/ac97/ac97_patch.c static int snd_ac97_ad1888_lohpsel_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1924 sound/pci/ac97/ac97_patch.c val = !ucontrol->value.integer.value[0]; ucontrol 1939 sound/pci/ac97/ac97_patch.c static int snd_ac97_ad1888_downmix_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1946 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1948 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1 + ((val >> 8) & 1); ucontrol 1952 sound/pci/ac97/ac97_patch.c static int snd_ac97_ad1888_downmix_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1957 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 1959 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] == 0) ucontrol 1963 sound/pci/ac97/ac97_patch.c ((ucontrol->value.enumerated.item[0] - 1) << 8); ucontrol 2095 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2102 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = reg2ctrl[val]; ucontrol 2107 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2113 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] > 3) ucontrol 2115 sound/pci/ac97/ac97_patch.c val = ctrl2reg[ucontrol->value.enumerated.item[0]] ucontrol 2215 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2221 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = (val & AC97_AD1986_LOSEL) != 0; ucontrol 2226 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2234 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] != 0 ucontrol 2241 sound/pci/ac97/ac97_patch.c (ucontrol->value.integer.value[0] != 0 ucontrol 2251 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2257 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = (val & AC97_AD1986_SPRD) != 0; ucontrol 2262 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2270 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] != 0 ucontrol 2277 sound/pci/ac97/ac97_patch.c (ucontrol->value.integer.value[0] != 0 ucontrol 2287 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2291 sound/pci/ac97/ac97_patch.c ucontrol->value.integer.value[0] = ac97->spec.ad18xx.swap_mic_linein; ucontrol 2296 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2299 sound/pci/ac97/ac97_patch.c unsigned char swap = ucontrol->value.integer.value[0] != 0; ucontrol 2311 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2325 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; ucontrol 2330 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2340 sound/pci/ac97/ac97_patch.c switch (ucontrol->value.enumerated.item[0]) ucontrol 2525 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 2531 sound/pci/ac97/ac97_patch.c if (ucontrol->value.integer.value[0]) ucontrol 2536 sound/pci/ac97/ac97_patch.c return snd_ac97_put_volsw(kcontrol, ucontrol); ucontrol 2699 sound/pci/ac97/ac97_patch.c static int alc655_iec958_route_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2708 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = val; ucontrol 2712 sound/pci/ac97/ac97_patch.c static int alc655_iec958_route_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2717 sound/pci/ac97/ac97_patch.c (unsigned short)ucontrol->value.enumerated.item[0] << 12, ucontrol 2987 sound/pci/ac97/ac97_patch.c static int snd_ac97_cmedia_spdif_playback_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2993 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (val >> 1) & 0x01; ucontrol 2997 sound/pci/ac97/ac97_patch.c static int snd_ac97_cmedia_spdif_playback_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3003 sound/pci/ac97/ac97_patch.c (ucontrol->value.enumerated.item[0] & 0x01) << 1); ucontrol 3161 sound/pci/ac97/ac97_patch.c static int cm9761_spdif_out_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3166 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 2; /* SPDIF-loopback */ ucontrol 3168 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 1; /* ADC loopback */ ucontrol 3170 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = 0; /* AC-link */ ucontrol 3174 sound/pci/ac97/ac97_patch.c static int cm9761_spdif_out_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3178 sound/pci/ac97/ac97_patch.c if (ucontrol->value.enumerated.item[0] == 2) ucontrol 3182 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] == 1 ? 0x2 : 0); ucontrol 3508 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 3522 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = (usSM51 << 1) + usMS; ucontrol 3528 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 3536 sound/pci/ac97/ac97_patch.c usSM51 = ucontrol->value.enumerated.item[0] >> 1; ucontrol 3537 sound/pci/ac97/ac97_patch.c usMS = ucontrol->value.enumerated.item[0] & 1; ucontrol 3677 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 3693 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = uaj >> ucontrol 3700 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 3704 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0]<< ucontrol 3720 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 3722 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] = ucontrol 3728 sound/pci/ac97/ac97_patch.c struct snd_ctl_elem_value *ucontrol) ucontrol 3733 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] << 3); ucontrol 3738 sound/pci/ac97/ac97_patch.c ucontrol->value.enumerated.item[0] << 3); ucontrol 59 sound/pci/ac97/ac97_patch.h struct snd_ctl_elem_value *ucontrol); ucontrol 61 sound/pci/ac97/ac97_patch.h struct snd_ctl_elem_value *ucontrol); ucontrol 78 sound/pci/ac97/ac97_patch.h struct snd_ctl_elem_value *ucontrol); ucontrol 80 sound/pci/ac97/ac97_patch.h struct snd_ctl_elem_value *ucontrol); ucontrol 71 sound/pci/ak4531_codec.c static int snd_ak4531_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 86 sound/pci/ak4531_codec.c ucontrol->value.integer.value[0] = val; ucontrol 90 sound/pci/ak4531_codec.c static int snd_ak4531_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 100 sound/pci/ak4531_codec.c val = ucontrol->value.integer.value[0] & mask; ucontrol 138 sound/pci/ak4531_codec.c static int snd_ak4531_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 157 sound/pci/ak4531_codec.c ucontrol->value.integer.value[0] = left; ucontrol 158 sound/pci/ak4531_codec.c ucontrol->value.integer.value[1] = right; ucontrol 162 sound/pci/ak4531_codec.c static int snd_ak4531_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 174 sound/pci/ak4531_codec.c left = ucontrol->value.integer.value[0] & mask; ucontrol 175 sound/pci/ak4531_codec.c right = ucontrol->value.integer.value[1] & mask; ucontrol 213 sound/pci/ak4531_codec.c static int snd_ak4531_get_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 222 sound/pci/ak4531_codec.c ucontrol->value.integer.value[0] = (ak4531->regs[reg1] >> left_shift) & 1; ucontrol 223 sound/pci/ak4531_codec.c ucontrol->value.integer.value[1] = (ak4531->regs[reg2] >> left_shift) & 1; ucontrol 224 sound/pci/ak4531_codec.c ucontrol->value.integer.value[2] = (ak4531->regs[reg1] >> right_shift) & 1; ucontrol 225 sound/pci/ak4531_codec.c ucontrol->value.integer.value[3] = (ak4531->regs[reg2] >> right_shift) & 1; ucontrol 230 sound/pci/ak4531_codec.c static int snd_ak4531_put_input_sw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 243 sound/pci/ak4531_codec.c val1 |= (ucontrol->value.integer.value[0] & 1) << left_shift; ucontrol 244 sound/pci/ak4531_codec.c val2 |= (ucontrol->value.integer.value[1] & 1) << left_shift; ucontrol 245 sound/pci/ak4531_codec.c val1 |= (ucontrol->value.integer.value[2] & 1) << right_shift; ucontrol 246 sound/pci/ak4531_codec.c val2 |= (ucontrol->value.integer.value[3] & 1) << right_shift; ucontrol 1722 sound/pci/ali5451/ali5451.c struct snd_ctl_elem_value *ucontrol) ucontrol 1727 sound/pci/ali5451/ali5451.c spdif_enable = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 1744 sound/pci/ali5451/ali5451.c ucontrol->value.integer.value[0] = spdif_enable; ucontrol 1750 sound/pci/ali5451/ali5451.c struct snd_ctl_elem_value *ucontrol) ucontrol 1755 sound/pci/ali5451/ali5451.c spdif_enable = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 1507 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1513 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = an_gain_mB[0] / VOL_STEP_mB; ucontrol 1514 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[1] = an_gain_mB[1] / VOL_STEP_mB; ucontrol 1520 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1526 sound/pci/asihpi/asihpi.c (ucontrol->value.integer.value[0]) * VOL_STEP_mB; ucontrol 1528 sound/pci/asihpi/asihpi.c (ucontrol->value.integer.value[1]) * VOL_STEP_mB; ucontrol 1541 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1547 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = mute ? 0 : 1; ucontrol 1553 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1559 sound/pci/asihpi/asihpi.c int mute = ucontrol->value.integer.value[0] ? 0 : HPI_BITMASK_ALL_CHANNELS; ucontrol 1625 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1631 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = ucontrol 1633 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[1] = ucontrol 1640 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1647 sound/pci/asihpi/asihpi.c (ucontrol->value.integer.value[0]) * HPI_UNITS_PER_dB; ucontrol 1649 sound/pci/asihpi/asihpi.c (ucontrol->value.integer.value[1]) * HPI_UNITS_PER_dB; ucontrol 1693 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol, ucontrol 1702 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1707 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 1; ucontrol 1709 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 2; ucontrol 1715 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol, ucontrol 1723 sound/pci/asihpi/asihpi.c if (ucontrol->value.enumerated.item[0] == 1) ucontrol 1725 sound/pci/asihpi/asihpi.c if (ucontrol->value.enumerated.item[0] == 2) ucontrol 1735 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) { ucontrol 1736 sound/pci/asihpi/asihpi.c return snd_asihpi_aesebu_format_get(kcontrol, ucontrol, ucontrol 1741 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) { ucontrol 1742 sound/pci/asihpi/asihpi.c return snd_asihpi_aesebu_format_put(kcontrol, ucontrol, ucontrol 1760 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) { ucontrol 1767 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = status; ucontrol 1797 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) { ucontrol 1798 sound/pci/asihpi/asihpi.c return snd_asihpi_aesebu_format_get(kcontrol, ucontrol, ucontrol 1803 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) { ucontrol 1804 sound/pci/asihpi/asihpi.c return snd_asihpi_aesebu_format_put(kcontrol, ucontrol, ucontrol 1854 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1863 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = gain / HPI_UNITS_PER_dB; ucontrol 1869 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1877 sound/pci/asihpi/asihpi.c gain = (ucontrol->value.integer.value[0]) * HPI_UNITS_PER_dB; ucontrol 1920 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1935 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = -1; ucontrol 1938 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = idx; ucontrol 1946 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 1960 sound/pci/asihpi/asihpi.c idx = ucontrol->value.enumerated.item[0]; ucontrol 2017 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2023 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = freq; ucontrol 2029 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2034 sound/pci/asihpi/asihpi.c freq = ucontrol->value.integer.value[0]; ucontrol 2120 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2130 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[i] = 0; ucontrol 2132 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[i] = ucontrol 2138 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[i] = ucontrol 2210 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2227 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = s; ucontrol 2234 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 0; ucontrol 2239 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2249 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0], ucontrol 2311 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2319 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = mode - 1; ucontrol 2325 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2333 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] + 1)); ucontrol 2388 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2397 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = 0; ucontrol 2410 sound/pci/asihpi/asihpi.c ucontrol->value.enumerated.item[0] = i; ucontrol 2416 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2426 sound/pci/asihpi/asihpi.c item = ucontrol->value.enumerated.item[0]; ucontrol 2456 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2464 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = rate; ucontrol 2466 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = 0; ucontrol 2471 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2481 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0])); ucontrol 2498 sound/pci/asihpi/asihpi.c struct snd_ctl_elem_value *ucontrol) ucontrol 2506 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = rate; ucontrol 2508 sound/pci/asihpi/asihpi.c ucontrol->value.integer.value[0] = 0; ucontrol 755 sound/pci/au88x0/au88x0_a3d.c snd_vortex_a3d_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 765 sound/pci/au88x0/au88x0_a3d.c struct snd_ctl_elem_value *ucontrol) ucontrol 771 sound/pci/au88x0/au88x0_a3d.c coord[i] = ucontrol->value.integer.value[i]; ucontrol 782 sound/pci/au88x0/au88x0_a3d.c struct snd_ctl_elem_value *ucontrol) ucontrol 788 sound/pci/au88x0/au88x0_a3d.c coord[i] = ucontrol->value.integer.value[i]; ucontrol 801 sound/pci/au88x0/au88x0_a3d.c struct snd_ctl_elem_value *ucontrol) ucontrol 806 sound/pci/au88x0/au88x0_a3d.c l = ucontrol->value.integer.value[0]; ucontrol 807 sound/pci/au88x0/au88x0_a3d.c r = ucontrol->value.integer.value[1]; ucontrol 817 sound/pci/au88x0/au88x0_a3d.c struct snd_ctl_elem_value *ucontrol) ucontrol 823 sound/pci/au88x0/au88x0_a3d.c params[i] = ucontrol->value.integer.value[i]; ucontrol 723 sound/pci/au88x0/au88x0_eq.c struct snd_ctl_elem_value *ucontrol) ucontrol 729 sound/pci/au88x0/au88x0_eq.c ucontrol->value.integer.value[0] = eq->this54 ? 0 : 1; ucontrol 736 sound/pci/au88x0/au88x0_eq.c struct snd_ctl_elem_value *ucontrol) ucontrol 742 sound/pci/au88x0/au88x0_eq.c eq->this54 = ucontrol->value.integer.value[0] ? 0 : 1; ucontrol 770 sound/pci/au88x0/au88x0_eq.c snd_vortex_eq_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 778 sound/pci/au88x0/au88x0_eq.c ucontrol->value.integer.value[0] = gainL; ucontrol 779 sound/pci/au88x0/au88x0_eq.c ucontrol->value.integer.value[1] = gainR; ucontrol 784 sound/pci/au88x0/au88x0_eq.c snd_vortex_eq_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 793 sound/pci/au88x0/au88x0_eq.c if (gainL != ucontrol->value.integer.value[0]) { ucontrol 795 sound/pci/au88x0/au88x0_eq.c ucontrol->value.integer.value[0]); ucontrol 798 sound/pci/au88x0/au88x0_eq.c if (gainR != ucontrol->value.integer.value[1]) { ucontrol 800 sound/pci/au88x0/au88x0_eq.c ucontrol->value.integer.value[1]); ucontrol 828 sound/pci/au88x0/au88x0_eq.c snd_vortex_peaks_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 841 sound/pci/au88x0/au88x0_eq.c ucontrol->value.integer.value[i] = peaks[i]; ucontrol 470 sound/pci/au88x0/au88x0_pcm.c static int snd_vortex_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 472 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 473 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 474 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 475 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; ucontrol 479 sound/pci/au88x0/au88x0_pcm.c static int snd_vortex_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 482 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.iec958.status[0] = 0x00; ucontrol 483 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL|IEC958_AES1_CON_DIGDIGCONV_ID; ucontrol 484 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.iec958.status[2] = 0x00; ucontrol 486 sound/pci/au88x0/au88x0_pcm.c case 32000: ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_32000; break; ucontrol 487 sound/pci/au88x0/au88x0_pcm.c case 44100: ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_44100; break; ucontrol 488 sound/pci/au88x0/au88x0_pcm.c case 48000: ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; break; ucontrol 493 sound/pci/au88x0/au88x0_pcm.c static int snd_vortex_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 497 sound/pci/au88x0/au88x0_pcm.c switch (ucontrol->value.iec958.status[3] & IEC958_AES3_CON_FS) { ucontrol 541 sound/pci/au88x0/au88x0_pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 549 sound/pci/au88x0/au88x0_pcm.c ucontrol->value.integer.value[i] = p->vol[i]; ucontrol 554 sound/pci/au88x0/au88x0_pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 565 sound/pci/au88x0/au88x0_pcm.c if (p->vol[i] != ucontrol->value.integer.value[i]) { ucontrol 566 sound/pci/au88x0/au88x0_pcm.c p->vol[i] = ucontrol->value.integer.value[i]; ucontrol 131 sound/pci/aw2/aw2-alsa.c *ucontrol); ucontrol 134 sound/pci/aw2/aw2-alsa.c *ucontrol); ucontrol 705 sound/pci/aw2/aw2-alsa.c *ucontrol) ucontrol 709 sound/pci/aw2/aw2-alsa.c ucontrol->value.enumerated.item[0] = CTL_ROUTE_DIGITAL; ucontrol 711 sound/pci/aw2/aw2-alsa.c ucontrol->value.enumerated.item[0] = CTL_ROUTE_ANALOG; ucontrol 717 sound/pci/aw2/aw2-alsa.c *ucontrol) ucontrol 724 sound/pci/aw2/aw2-alsa.c if (((ucontrol->value.integer.value[0] == CTL_ROUTE_DIGITAL) ucontrol 726 sound/pci/aw2/aw2-alsa.c || ((ucontrol->value.integer.value[0] == CTL_ROUTE_ANALOG) ucontrol 936 sound/pci/azt3328.c struct snd_ctl_elem_value *ucontrol) ucontrol 948 sound/pci/azt3328.c ucontrol->value.integer.value[0] = val; ucontrol 953 sound/pci/azt3328.c ucontrol->value.integer.value[1] = val; ucontrol 958 sound/pci/azt3328.c ucontrol->value.integer.value[0], ucontrol->value.integer.value[1], ucontrol 965 sound/pci/azt3328.c struct snd_ctl_elem_value *ucontrol) ucontrol 973 sound/pci/azt3328.c val = ucontrol->value.integer.value[0] & reg.mask; ucontrol 979 sound/pci/azt3328.c val = ucontrol->value.integer.value[1] & reg.mask; ucontrol 996 sound/pci/azt3328.c reg.reg, ucontrol->value.integer.value[0], ucontrol->value.integer.value[1], ucontrol 1045 sound/pci/azt3328.c struct snd_ctl_elem_value *ucontrol) ucontrol 1054 sound/pci/azt3328.c ucontrol->value.enumerated.item[0] = (val >> 8) & (reg.enum_c - 1); ucontrol 1055 sound/pci/azt3328.c ucontrol->value.enumerated.item[1] = (val >> 0) & (reg.enum_c - 1); ucontrol 1057 sound/pci/azt3328.c ucontrol->value.enumerated.item[0] = (val >> reg.lchan_shift) & (reg.enum_c - 1); ucontrol 1061 sound/pci/azt3328.c reg.reg, val, ucontrol->value.enumerated.item[0], ucontrol->value.enumerated.item[1], ucontrol 1068 sound/pci/azt3328.c struct snd_ctl_elem_value *ucontrol) ucontrol 1078 sound/pci/azt3328.c if (ucontrol->value.enumerated.item[0] > reg.enum_c - 1U || ucontrol 1079 sound/pci/azt3328.c ucontrol->value.enumerated.item[1] > reg.enum_c - 1U) ucontrol 1081 sound/pci/azt3328.c val = (ucontrol->value.enumerated.item[0] << 8) | ucontrol 1082 sound/pci/azt3328.c (ucontrol->value.enumerated.item[1] << 0); ucontrol 1084 sound/pci/azt3328.c if (ucontrol->value.enumerated.item[0] > reg.enum_c - 1U) ucontrol 1087 sound/pci/azt3328.c val |= (ucontrol->value.enumerated.item[0] << reg.lchan_shift); ucontrol 147 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 151 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.integer.value[0] = emu->spdif_enable; ucontrol 156 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 162 sound/pci/ca0106/ca0106_mixer.c val = !!ucontrol->value.integer.value[0]; ucontrol 182 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 186 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.enumerated.item[0] = emu->capture_source; ucontrol 191 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 197 sound/pci/ca0106/ca0106_mixer.c val = ucontrol->value.enumerated.item[0] ; ucontrol 219 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 223 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.enumerated.item[0] = emu->i2c_capture_source; ucontrol 228 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 237 sound/pci/ca0106/ca0106_mixer.c source_id = ucontrol->value.enumerated.item[0] ; ucontrol 264 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 268 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.enumerated.item[0] = emu->capture_mic_line_in; ucontrol 273 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 279 sound/pci/ca0106/ca0106_mixer.c val = ucontrol->value.enumerated.item[0] ; ucontrol 326 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 329 sound/pci/ca0106/ca0106_mixer.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 331 sound/pci/ca0106/ca0106_mixer.c decode_spdif_bits(ucontrol->value.iec958.status, ucontrol 337 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 340 sound/pci/ca0106/ca0106_mixer.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 342 sound/pci/ca0106/ca0106_mixer.c decode_spdif_bits(ucontrol->value.iec958.status, ucontrol 348 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 350 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 351 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 352 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 353 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 366 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 369 sound/pci/ca0106/ca0106_mixer.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 372 sound/pci/ca0106/ca0106_mixer.c val = encode_spdif_bits(ucontrol->value.iec958.status); ucontrol 386 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 389 sound/pci/ca0106/ca0106_mixer.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 392 sound/pci/ca0106/ca0106_mixer.c val = encode_spdif_bits(ucontrol->value.iec958.status); ucontrol 412 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 422 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.integer.value[0] = 0xff - ((value >> 24) & 0xff); /* Left */ ucontrol 423 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.integer.value[1] = 0xff - ((value >> 16) & 0xff); /* Right */ ucontrol 428 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 438 sound/pci/ca0106/ca0106_mixer.c nval = ((0xff - ucontrol->value.integer.value[0]) << 24) | ucontrol 439 sound/pci/ca0106/ca0106_mixer.c ((0xff - ucontrol->value.integer.value[1]) << 16); ucontrol 440 sound/pci/ca0106/ca0106_mixer.c nval |= ((0xff - ucontrol->value.integer.value[0]) << 8) | ucontrol 441 sound/pci/ca0106/ca0106_mixer.c ((0xff - ucontrol->value.integer.value[1]) ); ucontrol 459 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 466 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.integer.value[0] = emu->i2c_capture_volume[source_id][0]; ucontrol 467 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.integer.value[1] = emu->i2c_capture_volume[source_id][1]; ucontrol 472 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 482 sound/pci/ca0106/ca0106_mixer.c ngain = ucontrol->value.integer.value[0]; ucontrol 488 sound/pci/ca0106/ca0106_mixer.c emu->i2c_capture_volume[source_id][0] = ucontrol->value.integer.value[0]; ucontrol 492 sound/pci/ca0106/ca0106_mixer.c ngain = ucontrol->value.integer.value[1]; ucontrol 498 sound/pci/ca0106/ca0106_mixer.c emu->i2c_capture_volume[source_id][1] = ucontrol->value.integer.value[1]; ucontrol 508 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 514 sound/pci/ca0106/ca0106_mixer.c ucontrol->value.integer.value[0] = !(emu->spi_dac_reg[reg] & bit); ucontrol 519 sound/pci/ca0106/ca0106_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 527 sound/pci/ca0106/ca0106_mixer.c if (ucontrol->value.integer.value[0]) { ucontrol 1006 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 1013 sound/pci/cmipci.c ucontrol->value.iec958.status[i] = (chip->dig_status >> (i * 8)) & 0xff; ucontrol 1019 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 1028 sound/pci/cmipci.c val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); ucontrol 1053 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 1055 sound/pci/cmipci.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 1056 sound/pci/cmipci.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1057 sound/pci/cmipci.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 1058 sound/pci/cmipci.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 1080 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 1087 sound/pci/cmipci.c ucontrol->value.iec958.status[i] = (chip->dig_pcm_status >> (i * 8)) & 0xff; ucontrol 1093 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 1102 sound/pci/cmipci.c val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); ucontrol 2036 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2047 sound/pci/cmipci.c ucontrol->value.integer.value[0] = val; ucontrol 2052 sound/pci/cmipci.c ucontrol->value.integer.value[1] = val; ucontrol 2059 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2067 sound/pci/cmipci.c left = ucontrol->value.integer.value[0] & reg.mask; ucontrol 2072 sound/pci/cmipci.c right = ucontrol->value.integer.value[1] & reg.mask; ucontrol 2118 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2129 sound/pci/cmipci.c ucontrol->value.integer.value[0] = (val1 >> reg.left_shift) & 1; ucontrol 2130 sound/pci/cmipci.c ucontrol->value.integer.value[1] = (val2 >> reg.left_shift) & 1; ucontrol 2131 sound/pci/cmipci.c ucontrol->value.integer.value[2] = (val1 >> reg.right_shift) & 1; ucontrol 2132 sound/pci/cmipci.c ucontrol->value.integer.value[3] = (val2 >> reg.right_shift) & 1; ucontrol 2137 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2150 sound/pci/cmipci.c val1 |= (ucontrol->value.integer.value[0] & 1) << reg.left_shift; ucontrol 2151 sound/pci/cmipci.c val2 |= (ucontrol->value.integer.value[1] & 1) << reg.left_shift; ucontrol 2152 sound/pci/cmipci.c val1 |= (ucontrol->value.integer.value[2] & 1) << reg.right_shift; ucontrol 2153 sound/pci/cmipci.c val2 |= (ucontrol->value.integer.value[3] & 1) << reg.right_shift; ucontrol 2208 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2220 sound/pci/cmipci.c ucontrol->value.integer.value[0] = val; ucontrol 2225 sound/pci/cmipci.c ucontrol->value.integer.value[1] = val; ucontrol 2232 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2241 sound/pci/cmipci.c val = ucontrol->value.integer.value[0] & reg.mask; ucontrol 2247 sound/pci/cmipci.c val = ucontrol->value.integer.value[1] & reg.mask; ucontrol 2262 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2265 sound/pci/cmipci.c return snd_cmipci_get_native_mixer(kcontrol, ucontrol); ucontrol 2269 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2276 sound/pci/cmipci.c return snd_cmipci_put_native_mixer(kcontrol, ucontrol); ucontrol 2335 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol, ucontrol 2343 sound/pci/cmipci.c ucontrol->value.integer.value[0] = 0; ucontrol 2351 sound/pci/cmipci.c ucontrol->value.integer.value[0] = ((val & args->mask) == args->mask_on) ? 1 : 0; ucontrol 2357 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2363 sound/pci/cmipci.c return _snd_cmipci_uswitch_get(kcontrol, ucontrol, args); ucontrol 2367 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol, ucontrol 2384 sound/pci/cmipci.c change = (val & args->mask) != (ucontrol->value.integer.value[0] ? ucontrol 2388 sound/pci/cmipci.c if (ucontrol->value.integer.value[0]) ucontrol 2402 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2408 sound/pci/cmipci.c return _snd_cmipci_uswitch_put(kcontrol, ucontrol, args); ucontrol 2470 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2473 sound/pci/cmipci.c changed = _snd_cmipci_uswitch_get(kcontrol, ucontrol, &cmipci_switch_arg_spdif_enable); ucontrol 2474 sound/pci/cmipci.c changed |= _snd_cmipci_uswitch_get(kcontrol, ucontrol, &cmipci_switch_arg_spdo2dac); ucontrol 2479 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2483 sound/pci/cmipci.c changed = _snd_cmipci_uswitch_put(kcontrol, ucontrol, &cmipci_switch_arg_spdif_enable); ucontrol 2484 sound/pci/cmipci.c changed |= _snd_cmipci_uswitch_put(kcontrol, ucontrol, &cmipci_switch_arg_spdo2dac); ucontrol 2486 sound/pci/cmipci.c if (ucontrol->value.integer.value[0]) { ucontrol 2494 sound/pci/cmipci.c chip->spdif_playback_enabled = ucontrol->value.integer.value[0]; ucontrol 2526 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2531 sound/pci/cmipci.c ucontrol->value.enumerated.item[0] = get_line_in_mode(cm); ucontrol 2537 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2543 sound/pci/cmipci.c if (ucontrol->value.enumerated.item[0] == 2) ucontrol 2547 sound/pci/cmipci.c if (ucontrol->value.enumerated.item[0] == 1) ucontrol 2564 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2569 sound/pci/cmipci.c ucontrol->value.enumerated.item[0] = ucontrol 2576 sound/pci/cmipci.c struct snd_ctl_elem_value *ucontrol) ucontrol 2582 sound/pci/cmipci.c if (ucontrol->value.enumerated.item[0]) ucontrol 1000 sound/pci/cs4281.c struct snd_ctl_elem_value *ucontrol) ucontrol 1010 sound/pci/cs4281.c ucontrol->value.integer.value[0] = volL; ucontrol 1011 sound/pci/cs4281.c ucontrol->value.integer.value[1] = volR; ucontrol 1016 sound/pci/cs4281.c struct snd_ctl_elem_value *ucontrol) ucontrol 1027 sound/pci/cs4281.c if (ucontrol->value.integer.value[0] != volL) { ucontrol 1028 sound/pci/cs4281.c volL = CS_VOL_MASK - (ucontrol->value.integer.value[0] & CS_VOL_MASK); ucontrol 1032 sound/pci/cs4281.c if (ucontrol->value.integer.value[1] != volR) { ucontrol 1033 sound/pci/cs4281.c volR = CS_VOL_MASK - (ucontrol->value.integer.value[1] & CS_VOL_MASK); ucontrol 1900 sound/pci/cs46xx/cs46xx_lib.c static int snd_cs46xx_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1905 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 0xffff - (val >> 16); ucontrol 1906 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[1] = 0xffff - (val & 0xffff); ucontrol 1910 sound/pci/cs46xx/cs46xx_lib.c static int snd_cs46xx_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1914 sound/pci/cs46xx/cs46xx_lib.c unsigned int val = ((0xffff - ucontrol->value.integer.value[0]) << 16 | ucontrol 1915 sound/pci/cs46xx/cs46xx_lib.c (0xffff - ucontrol->value.integer.value[1])); ucontrol 1928 sound/pci/cs46xx/cs46xx_lib.c static int snd_cs46xx_vol_dac_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1932 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = chip->dsp_spos_instance->dac_volume_left; ucontrol 1933 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[1] = chip->dsp_spos_instance->dac_volume_right; ucontrol 1938 sound/pci/cs46xx/cs46xx_lib.c static int snd_cs46xx_vol_dac_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1943 sound/pci/cs46xx/cs46xx_lib.c if (chip->dsp_spos_instance->dac_volume_right != ucontrol->value.integer.value[0] || ucontrol 1944 sound/pci/cs46xx/cs46xx_lib.c chip->dsp_spos_instance->dac_volume_left != ucontrol->value.integer.value[1]) { ucontrol 1946 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0], ucontrol 1947 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[1]); ucontrol 1955 sound/pci/cs46xx/cs46xx_lib.c static int snd_cs46xx_vol_iec958_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1959 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = chip->dsp_spos_instance->spdif_input_volume_left; ucontrol 1960 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[1] = chip->dsp_spos_instance->spdif_input_volume_right; ucontrol 1964 sound/pci/cs46xx/cs46xx_lib.c static int snd_cs46xx_vol_iec958_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1969 sound/pci/cs46xx/cs46xx_lib.c if (chip->dsp_spos_instance->spdif_input_volume_left != ucontrol->value.integer.value[0] || ucontrol 1970 sound/pci/cs46xx/cs46xx_lib.c chip->dsp_spos_instance->spdif_input_volume_right!= ucontrol->value.integer.value[1]) { ucontrol 1972 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0], ucontrol 1973 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[1]); ucontrol 1984 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 1990 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = (chip->dsp_spos_instance->spdif_status_out & DSP_SPDIF_STATUS_OUTPUT_ENABLED); ucontrol 1992 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = chip->dsp_spos_instance->spdif_status_in; ucontrol 1998 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2007 sound/pci/cs46xx/cs46xx_lib.c if (ucontrol->value.integer.value[0] && !change) ucontrol 2009 sound/pci/cs46xx/cs46xx_lib.c else if (change && !ucontrol->value.integer.value[0]) ucontrol 2017 sound/pci/cs46xx/cs46xx_lib.c if (ucontrol->value.integer.value[0] && !change) { ucontrol 2021 sound/pci/cs46xx/cs46xx_lib.c else if (change && !ucontrol->value.integer.value[0]) ucontrol 2035 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2041 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 1; ucontrol 2043 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 0; ucontrol 2049 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2055 sound/pci/cs46xx/cs46xx_lib.c if (ucontrol->value.integer.value[0] && !ins->adc_input) { ucontrol 2058 sound/pci/cs46xx/cs46xx_lib.c } else if (!ucontrol->value.integer.value[0] && ins->adc_input) { ucontrol 2066 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2072 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 1; ucontrol 2074 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 0; ucontrol 2081 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2087 sound/pci/cs46xx/cs46xx_lib.c if (ucontrol->value.integer.value[0] && !ins->pcm_input) { ucontrol 2090 sound/pci/cs46xx/cs46xx_lib.c } else if (!ucontrol->value.integer.value[0] && ins->pcm_input) { ucontrol 2099 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2106 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 1; ucontrol 2108 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = 0; ucontrol 2117 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2123 sound/pci/cs46xx/cs46xx_lib.c if (ucontrol->value.integer.value[0]) { ucontrol 2149 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2155 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[0] = _wrap_all_bits((ins->spdif_csuv_default >> 24) & 0xff); ucontrol 2156 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[1] = _wrap_all_bits((ins->spdif_csuv_default >> 16) & 0xff); ucontrol 2157 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[2] = 0; ucontrol 2158 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[3] = _wrap_all_bits((ins->spdif_csuv_default) & 0xff); ucontrol 2165 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2173 sound/pci/cs46xx/cs46xx_lib.c val = ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[0]) << 24) | ucontrol 2174 sound/pci/cs46xx/cs46xx_lib.c ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[2]) << 16) | ucontrol 2175 sound/pci/cs46xx/cs46xx_lib.c ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[3])) | ucontrol 2192 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2194 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 2195 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 2196 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[2] = 0x00; ucontrol 2197 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 2202 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2208 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[0] = _wrap_all_bits((ins->spdif_csuv_stream >> 24) & 0xff); ucontrol 2209 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[1] = _wrap_all_bits((ins->spdif_csuv_stream >> 16) & 0xff); ucontrol 2210 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[2] = 0; ucontrol 2211 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.iec958.status[3] = _wrap_all_bits((ins->spdif_csuv_stream) & 0xff); ucontrol 2218 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2226 sound/pci/cs46xx/cs46xx_lib.c val = ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[0]) << 24) | ucontrol 2227 sound/pci/cs46xx/cs46xx_lib.c ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[1]) << 16) | ucontrol 2228 sound/pci/cs46xx/cs46xx_lib.c ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[3])) | ucontrol 2344 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2349 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] = (val & 0x200) ? 0 : 1; ucontrol 2354 sound/pci/cs46xx/cs46xx_lib.c struct snd_ctl_elem_value *ucontrol) ucontrol 2359 sound/pci/cs46xx/cs46xx_lib.c ucontrol->value.integer.value[0] ? 0 : 0x200); ucontrol 342 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 357 sound/pci/ctxfi/ctmixer.c ucontrol->value.integer.value[i] = val; ucontrol 364 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 373 sound/pci/ctxfi/ctmixer.c val = ucontrol->value.integer.value[i]; ucontrol 421 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 424 sound/pci/ctxfi/ctmixer.c ucontrol->value.enumerated.item[0] = atc->output_switch_get(atc); ucontrol 429 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 432 sound/pci/ctxfi/ctmixer.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 434 sound/pci/ctxfi/ctmixer.c return atc->output_switch_put(atc, ucontrol->value.enumerated.item[0]); ucontrol 456 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 459 sound/pci/ctxfi/ctmixer.c ucontrol->value.enumerated.item[0] = atc->mic_source_switch_get(atc); ucontrol 464 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 467 sound/pci/ctxfi/ctmixer.c if (ucontrol->value.enumerated.item[0] > 2) ucontrol 470 sound/pci/ctxfi/ctmixer.c ucontrol->value.enumerated.item[0]); ucontrol 579 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 585 sound/pci/ctxfi/ctmixer.c ucontrol->value.integer.value[0] = get_switch_state(mixer, type); ucontrol 590 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 597 sound/pci/ctxfi/ctmixer.c state = ucontrol->value.integer.value[0]; ucontrol 624 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 626 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 627 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 628 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 629 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 634 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 644 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[0] = (status >> 0) & 0xff; ucontrol 645 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[1] = (status >> 8) & 0xff; ucontrol 646 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[2] = (status >> 16) & 0xff; ucontrol 647 sound/pci/ctxfi/ctmixer.c ucontrol->value.iec958.status[3] = (status >> 24) & 0xff; ucontrol 653 sound/pci/ctxfi/ctmixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 659 sound/pci/ctxfi/ctmixer.c status = (ucontrol->value.iec958.status[0] << 0) | ucontrol 660 sound/pci/ctxfi/ctmixer.c (ucontrol->value.iec958.status[1] << 8) | ucontrol 661 sound/pci/ctxfi/ctmixer.c (ucontrol->value.iec958.status[2] << 16) | ucontrol 662 sound/pci/ctxfi/ctmixer.c (ucontrol->value.iec958.status[3] << 24); ucontrol 991 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 998 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[c] = chip->output_gain[c]; ucontrol 1003 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1012 sound/pci/echoaudio/echoaudio.c gain = ucontrol->value.integer.value[c]; ucontrol 1072 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1079 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[c] = chip->input_gain[c]; ucontrol 1084 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1093 sound/pci/echoaudio/echoaudio.c gain = ucontrol->value.integer.value[c]; ucontrol 1141 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1148 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[c] = chip->nominal_level[c]; ucontrol 1153 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1162 sound/pci/echoaudio/echoaudio.c if (chip->nominal_level[c] != ucontrol->value.integer.value[c]) { ucontrol 1164 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[c]); ucontrol 1203 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1210 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[c] = ucontrol 1216 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1226 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[c]) { ucontrol 1228 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[c]); ucontrol 1271 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1274 sound/pci/echoaudio/echoaudio.c unsigned int out = ucontrol->id.index / num_busses_in(chip); ucontrol 1275 sound/pci/echoaudio/echoaudio.c unsigned int in = ucontrol->id.index % num_busses_in(chip); ucontrol 1280 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[0] = chip->monitor_gain[out][in]; ucontrol 1285 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1293 sound/pci/echoaudio/echoaudio.c out = ucontrol->id.index / num_busses_in(chip); ucontrol 1294 sound/pci/echoaudio/echoaudio.c in = ucontrol->id.index % num_busses_in(chip); ucontrol 1297 sound/pci/echoaudio/echoaudio.c gain = ucontrol->value.integer.value[0]; ucontrol 1343 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1348 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[0] = ucontrol 1349 sound/pci/echoaudio/echoaudio.c chip->vmixer_gain[ucontrol->id.index / num_pipes_out(chip)] ucontrol 1350 sound/pci/echoaudio/echoaudio.c [ucontrol->id.index % num_pipes_out(chip)]; ucontrol 1355 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1363 sound/pci/echoaudio/echoaudio.c out = ucontrol->id.index / num_pipes_out(chip); ucontrol 1364 sound/pci/echoaudio/echoaudio.c vch = ucontrol->id.index % num_pipes_out(chip); ucontrol 1365 sound/pci/echoaudio/echoaudio.c gain = ucontrol->value.integer.value[0]; ucontrol 1368 sound/pci/echoaudio/echoaudio.c if (chip->vmixer_gain[out][vch] != ucontrol->value.integer.value[0]) { ucontrol 1370 sound/pci/echoaudio/echoaudio.c set_vmixer_gain(chip, out, vch, ucontrol->value.integer.value[0]); ucontrol 1409 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1418 sound/pci/echoaudio/echoaudio.c ucontrol->value.enumerated.item[0] = i; ucontrol 1425 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1434 sound/pci/echoaudio/echoaudio.c emode = ucontrol->value.enumerated.item[0]; ucontrol 1491 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1496 sound/pci/echoaudio/echoaudio.c ucontrol->value.enumerated.item[0] = !!chip->professional_spdif; ucontrol 1501 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1507 sound/pci/echoaudio/echoaudio.c mode = !!ucontrol->value.enumerated.item[0]; ucontrol 1546 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1556 sound/pci/echoaudio/echoaudio.c ucontrol->value.enumerated.item[0] = i; ucontrol 1562 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1570 sound/pci/echoaudio/echoaudio.c eclock = ucontrol->value.enumerated.item[0]; ucontrol 1608 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1612 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[0] = chip->phantom_power; ucontrol 1617 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1622 sound/pci/echoaudio/echoaudio.c power = !!ucontrol->value.integer.value[0]; ucontrol 1651 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1655 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[0] = chip->digital_in_automute; ucontrol 1660 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1665 sound/pci/echoaudio/echoaudio.c automute = !!ucontrol->value.integer.value[0]; ucontrol 1692 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1698 sound/pci/echoaudio/echoaudio.c set_meters_on(chip, ucontrol->value.integer.value[0]); ucontrol 1732 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1737 sound/pci/echoaudio/echoaudio.c get_audio_meters(chip, ucontrol->value.integer.value); ucontrol 1766 sound/pci/echoaudio/echoaudio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1772 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[0] = num_busses_in(chip); ucontrol 1773 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[1] = num_analog_busses_in(chip); ucontrol 1774 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[2] = num_busses_out(chip); ucontrol 1775 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[3] = num_analog_busses_out(chip); ucontrol 1776 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[4] = num_pipes_out(chip); ucontrol 1789 sound/pci/echoaudio/echoaudio.c ucontrol->value.integer.value[5] = clocks; ucontrol 1063 sound/pci/emu10k1/emu10k1x.c struct snd_ctl_elem_value *ucontrol) ucontrol 1067 sound/pci/emu10k1/emu10k1x.c ucontrol->value.integer.value[0] = (snd_emu10k1x_ptr_read(emu, SPDIF_SELECT, 0) == 0x700) ? 0 : 1; ucontrol 1073 sound/pci/emu10k1/emu10k1x.c struct snd_ctl_elem_value *ucontrol) ucontrol 1078 sound/pci/emu10k1/emu10k1x.c val = ucontrol->value.integer.value[0] ; ucontrol 1111 sound/pci/emu10k1/emu10k1x.c struct snd_ctl_elem_value *ucontrol) ucontrol 1114 sound/pci/emu10k1/emu10k1x.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 1116 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[0] = (emu->spdif_bits[idx] >> 0) & 0xff; ucontrol 1117 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[1] = (emu->spdif_bits[idx] >> 8) & 0xff; ucontrol 1118 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[2] = (emu->spdif_bits[idx] >> 16) & 0xff; ucontrol 1119 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[3] = (emu->spdif_bits[idx] >> 24) & 0xff; ucontrol 1124 sound/pci/emu10k1/emu10k1x.c struct snd_ctl_elem_value *ucontrol) ucontrol 1126 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 1127 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1128 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 1129 sound/pci/emu10k1/emu10k1x.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 1134 sound/pci/emu10k1/emu10k1x.c struct snd_ctl_elem_value *ucontrol) ucontrol 1137 sound/pci/emu10k1/emu10k1x.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 1141 sound/pci/emu10k1/emu10k1x.c val = (ucontrol->value.iec958.status[0] << 0) | ucontrol 1142 sound/pci/emu10k1/emu10k1x.c (ucontrol->value.iec958.status[1] << 8) | ucontrol 1143 sound/pci/emu10k1/emu10k1x.c (ucontrol->value.iec958.status[2] << 16) | ucontrol 1144 sound/pci/emu10k1/emu10k1x.c (ucontrol->value.iec958.status[3] << 24); ucontrol 319 sound/pci/emu10k1/emufx.c static int snd_emu10k1_gpr_ctl_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 329 sound/pci/emu10k1/emufx.c ucontrol->value.integer.value[i] = ctl->value[i]; ucontrol 334 sound/pci/emu10k1/emufx.c static int snd_emu10k1_gpr_ctl_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 346 sound/pci/emu10k1/emufx.c nval = ucontrol->value.integer.value[i]; ucontrol 40 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 43 sound/pci/emu10k1/emumixer.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 50 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[0] = (emu->spdif_bits[idx] >> 0) & 0xff; ucontrol 51 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[1] = (emu->spdif_bits[idx] >> 8) & 0xff; ucontrol 52 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[2] = (emu->spdif_bits[idx] >> 16) & 0xff; ucontrol 53 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[3] = (emu->spdif_bits[idx] >> 24) & 0xff; ucontrol 59 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 61 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 62 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 63 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 64 sound/pci/emu10k1/emumixer.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 390 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 401 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.output_source[channel]; ucontrol 406 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 412 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; ucontrol 436 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 445 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.input_source[channel]; ucontrol 450 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 456 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; ucontrol 577 sound/pci/emu10k1/emumixer.c static int snd_emu1010_adc_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 581 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = (emu->emu1010.adc_pads & mask) ? 1 : 0; ucontrol 585 sound/pci/emu10k1/emumixer.c static int snd_emu1010_adc_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 590 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[0]; ucontrol 625 sound/pci/emu10k1/emumixer.c static int snd_emu1010_dac_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 629 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = (emu->emu1010.dac_pads & mask) ? 1 : 0; ucontrol 633 sound/pci/emu10k1/emumixer.c static int snd_emu1010_dac_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 638 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[0]; ucontrol 684 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 688 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.internal_clock; ucontrol 693 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 699 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0] ; ucontrol 806 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 810 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.optical_out; ucontrol 815 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 822 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; ucontrol 857 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 861 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->emu1010.optical_in; ucontrol 866 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 873 sound/pci/emu10k1/emumixer.c val = ucontrol->value.enumerated.item[0]; ucontrol 913 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 917 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = emu->i2c_capture_source; ucontrol 922 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 935 sound/pci/emu10k1/emumixer.c source_id = ucontrol->value.enumerated.item[0]; ucontrol 987 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 998 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = emu->i2c_capture_volume[source_id][0]; ucontrol 999 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[1] = emu->i2c_capture_volume[source_id][1]; ucontrol 1004 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1018 sound/pci/emu10k1/emumixer.c ngain = ucontrol->value.integer.value[0]; ucontrol 1028 sound/pci/emu10k1/emumixer.c ngain = ucontrol->value.integer.value[1]; ucontrol 1068 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1079 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1082 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 1; ucontrol 1085 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 2; ucontrol 1088 sound/pci/emu10k1/emumixer.c ucontrol->value.enumerated.item[0] = 1; ucontrol 1095 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1102 sound/pci/emu10k1/emumixer.c switch(ucontrol->value.enumerated.item[0]) { ucontrol 1141 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1144 sound/pci/emu10k1/emumixer.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 1152 sound/pci/emu10k1/emumixer.c val = (ucontrol->value.iec958.status[0] << 0) | ucontrol 1153 sound/pci/emu10k1/emumixer.c (ucontrol->value.iec958.status[1] << 8) | ucontrol 1154 sound/pci/emu10k1/emumixer.c (ucontrol->value.iec958.status[2] << 16) | ucontrol 1155 sound/pci/emu10k1/emumixer.c (ucontrol->value.iec958.status[3] << 24); ucontrol 1228 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1233 sound/pci/emu10k1/emumixer.c &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1241 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[(voice * num_efx) + idx] = ucontrol 1248 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1253 sound/pci/emu10k1/emumixer.c &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1261 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[(voice * num_efx) + idx] & mask; ucontrol 1304 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1309 sound/pci/emu10k1/emumixer.c &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1315 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[idx] = mix->send_volume[idx/num_efx][idx%num_efx]; ucontrol 1321 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1326 sound/pci/emu10k1/emumixer.c &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1332 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & 255; ucontrol 1374 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1378 sound/pci/emu10k1/emumixer.c &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1384 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[idx] = mix->attn[idx]; ucontrol 1390 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1395 sound/pci/emu10k1/emumixer.c &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1400 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & 0xffff; ucontrol 1442 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1447 sound/pci/emu10k1/emumixer.c &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1454 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[idx] = ucontrol 1461 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1465 sound/pci/emu10k1/emumixer.c int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 1473 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & mask; ucontrol 1512 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1517 sound/pci/emu10k1/emumixer.c &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1523 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[idx] = mix->send_volume[0][idx]; ucontrol 1529 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1533 sound/pci/emu10k1/emumixer.c int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 1540 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[idx] & 255; ucontrol 1578 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1582 sound/pci/emu10k1/emumixer.c &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; ucontrol 1586 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = mix->attn[0]; ucontrol 1592 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1596 sound/pci/emu10k1/emumixer.c int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 1601 sound/pci/emu10k1/emumixer.c val = ucontrol->value.integer.value[0] & 0xffff; ucontrol 1629 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1634 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = inl(emu->port + A_IOCFG) & A_IOCFG_GPOUT0 ? 1 : 0; ucontrol 1636 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = inl(emu->port + HCFG) & HCFG_GPOUT0 ? 1 : 0; ucontrol 1638 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = ucontrol 1639 sound/pci/emu10k1/emumixer.c !ucontrol->value.integer.value[0]; ucontrol 1645 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1652 sound/pci/emu10k1/emumixer.c sw = ucontrol->value.integer.value[0]; ucontrol 1703 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1710 sound/pci/emu10k1/emumixer.c ucontrol->value.integer.value[0] = !!val; ucontrol 1715 sound/pci/emu10k1/emumixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1720 sound/pci/emu10k1/emumixer.c if (ucontrol->value.integer.value[0]) ucontrol 1500 sound/pci/emu10k1/emupcm.c static int snd_emu10k1_pcm_efx_voices_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1508 sound/pci/emu10k1/emupcm.c ucontrol->value.integer.value[idx] = (emu->efx_voices_mask[idx / 32] & (1 << (idx % 32))) ? 1 : 0; ucontrol 1513 sound/pci/emu10k1/emupcm.c static int snd_emu10k1_pcm_efx_voices_mask_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1523 sound/pci/emu10k1/emupcm.c if (ucontrol->value.integer.value[idx]) { ucontrol 681 sound/pci/emu10k1/p16v.c struct snd_ctl_elem_value *ucontrol) ucontrol 690 sound/pci/emu10k1/p16v.c ucontrol->value.integer.value[0] = 0xff - ((value >> 24) & 0xff); /* Left */ ucontrol 691 sound/pci/emu10k1/p16v.c ucontrol->value.integer.value[1] = 0xff - ((value >> 16) & 0xff); /* Right */ ucontrol 693 sound/pci/emu10k1/p16v.c ucontrol->value.integer.value[0] = 0xff - ((value >> 8) & 0xff); /* Left */ ucontrol 694 sound/pci/emu10k1/p16v.c ucontrol->value.integer.value[1] = 0xff - ((value >> 0) & 0xff); /* Right */ ucontrol 700 sound/pci/emu10k1/p16v.c struct snd_ctl_elem_value *ucontrol) ucontrol 710 sound/pci/emu10k1/p16v.c value |= ((0xff - ucontrol->value.integer.value[0]) << 24) | ucontrol 711 sound/pci/emu10k1/p16v.c ((0xff - ucontrol->value.integer.value[1]) << 16); ucontrol 714 sound/pci/emu10k1/p16v.c value |= ((0xff - ucontrol->value.integer.value[0]) << 8) | ucontrol 715 sound/pci/emu10k1/p16v.c ((0xff - ucontrol->value.integer.value[1]) ); ucontrol 736 sound/pci/emu10k1/p16v.c struct snd_ctl_elem_value *ucontrol) ucontrol 740 sound/pci/emu10k1/p16v.c ucontrol->value.enumerated.item[0] = emu->p16v_capture_source; ucontrol 745 sound/pci/emu10k1/p16v.c struct snd_ctl_elem_value *ucontrol) ucontrol 753 sound/pci/emu10k1/p16v.c val = ucontrol->value.enumerated.item[0] ; ucontrol 775 sound/pci/emu10k1/p16v.c struct snd_ctl_elem_value *ucontrol) ucontrol 779 sound/pci/emu10k1/p16v.c ucontrol->value.enumerated.item[0] = emu->p16v_capture_channel; ucontrol 784 sound/pci/emu10k1/p16v.c struct snd_ctl_elem_value *ucontrol) ucontrol 791 sound/pci/emu10k1/p16v.c val = ucontrol->value.enumerated.item[0] ; ucontrol 1339 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1343 sound/pci/ens1370.c ucontrol->value.iec958.status[0] = (ensoniq->spdif_default >> 0) & 0xff; ucontrol 1344 sound/pci/ens1370.c ucontrol->value.iec958.status[1] = (ensoniq->spdif_default >> 8) & 0xff; ucontrol 1345 sound/pci/ens1370.c ucontrol->value.iec958.status[2] = (ensoniq->spdif_default >> 16) & 0xff; ucontrol 1346 sound/pci/ens1370.c ucontrol->value.iec958.status[3] = (ensoniq->spdif_default >> 24) & 0xff; ucontrol 1352 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1358 sound/pci/ens1370.c val = ((u32)ucontrol->value.iec958.status[0] << 0) | ucontrol 1359 sound/pci/ens1370.c ((u32)ucontrol->value.iec958.status[1] << 8) | ucontrol 1360 sound/pci/ens1370.c ((u32)ucontrol->value.iec958.status[2] << 16) | ucontrol 1361 sound/pci/ens1370.c ((u32)ucontrol->value.iec958.status[3] << 24); ucontrol 1373 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1375 sound/pci/ens1370.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 1376 sound/pci/ens1370.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1377 sound/pci/ens1370.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 1378 sound/pci/ens1370.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 1383 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1387 sound/pci/ens1370.c ucontrol->value.iec958.status[0] = (ensoniq->spdif_stream >> 0) & 0xff; ucontrol 1388 sound/pci/ens1370.c ucontrol->value.iec958.status[1] = (ensoniq->spdif_stream >> 8) & 0xff; ucontrol 1389 sound/pci/ens1370.c ucontrol->value.iec958.status[2] = (ensoniq->spdif_stream >> 16) & 0xff; ucontrol 1390 sound/pci/ens1370.c ucontrol->value.iec958.status[3] = (ensoniq->spdif_stream >> 24) & 0xff; ucontrol 1396 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1402 sound/pci/ens1370.c val = ((u32)ucontrol->value.iec958.status[0] << 0) | ucontrol 1403 sound/pci/ens1370.c ((u32)ucontrol->value.iec958.status[1] << 8) | ucontrol 1404 sound/pci/ens1370.c ((u32)ucontrol->value.iec958.status[2] << 16) | ucontrol 1405 sound/pci/ens1370.c ((u32)ucontrol->value.iec958.status[3] << 24); ucontrol 1423 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1428 sound/pci/ens1370.c ucontrol->value.integer.value[0] = ensoniq->ctrl & ES_1373_SPDIF_THRU ? 1 : 0; ucontrol 1434 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1440 sound/pci/ens1370.c nval1 = ucontrol->value.integer.value[0] ? ES_1373_SPDIF_THRU : 0; ucontrol 1441 sound/pci/ens1370.c nval2 = ucontrol->value.integer.value[0] ? ES_1373_SPDIF_EN : 0; ucontrol 1485 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1494 sound/pci/ens1370.c ucontrol->value.integer.value[0] = val; ucontrol 1500 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1506 sound/pci/ens1370.c nval1 = ucontrol->value.integer.value[0] ? ucontrol 1530 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1538 sound/pci/ens1370.c ucontrol->value.integer.value[0] = val; ucontrol 1544 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1552 sound/pci/ens1370.c if (ucontrol->value.integer.value[0]) ucontrol 1688 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1694 sound/pci/ens1370.c ucontrol->value.integer.value[0] = ensoniq->ctrl & mask ? 1 : 0; ucontrol 1700 sound/pci/ens1370.c struct snd_ctl_elem_value *ucontrol) ucontrol 1707 sound/pci/ens1370.c nval = ucontrol->value.integer.value[0] ? mask : 0; ucontrol 1058 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1061 sound/pci/es1938.c ucontrol->value.enumerated.item[0] = snd_es1938_mixer_read(chip, 0x1c) & 0x07; ucontrol 1066 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1069 sound/pci/es1938.c unsigned char val = ucontrol->value.enumerated.item[0]; ucontrol 1079 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1083 sound/pci/es1938.c ucontrol->value.integer.value[0] = !!(val & 8); ucontrol 1088 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1093 sound/pci/es1938.c nval = ucontrol->value.integer.value[0] ? 0x0c : 0x04; ucontrol 1114 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1117 sound/pci/es1938.c ucontrol->value.integer.value[0] = snd_es1938_mixer_read(chip, 0x61) & 0x3f; ucontrol 1118 sound/pci/es1938.c ucontrol->value.integer.value[1] = snd_es1938_mixer_read(chip, 0x63) & 0x3f; ucontrol 1125 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1128 sound/pci/es1938.c ucontrol->value.integer.value[0] = !(snd_es1938_mixer_read(chip, 0x61) & 0x40); ucontrol 1129 sound/pci/es1938.c ucontrol->value.integer.value[1] = !(snd_es1938_mixer_read(chip, 0x63) & 0x40); ucontrol 1186 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1196 sound/pci/es1938.c ucontrol->value.integer.value[0] = (val >> shift) & mask; ucontrol 1198 sound/pci/es1938.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 1203 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1212 sound/pci/es1938.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 1247 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1263 sound/pci/es1938.c ucontrol->value.integer.value[0] = (left >> shift_left) & mask; ucontrol 1264 sound/pci/es1938.c ucontrol->value.integer.value[1] = (right >> shift_right) & mask; ucontrol 1266 sound/pci/es1938.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 1267 sound/pci/es1938.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 1273 sound/pci/es1938.c struct snd_ctl_elem_value *ucontrol) ucontrol 1285 sound/pci/es1938.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 1286 sound/pci/es1938.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 853 sound/pci/fm801.c struct snd_ctl_elem_value *ucontrol) ucontrol 860 sound/pci/fm801.c long *value = ucontrol->value.integer.value; ucontrol 869 sound/pci/fm801.c struct snd_ctl_elem_value *ucontrol) ucontrol 878 sound/pci/fm801.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 909 sound/pci/fm801.c struct snd_ctl_elem_value *ucontrol) ucontrol 917 sound/pci/fm801.c long *value = ucontrol->value.integer.value; ucontrol 931 sound/pci/fm801.c struct snd_ctl_elem_value *ucontrol) ucontrol 941 sound/pci/fm801.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 942 sound/pci/fm801.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 963 sound/pci/fm801.c struct snd_ctl_elem_value *ucontrol) ucontrol 971 sound/pci/fm801.c ucontrol->value.enumerated.item[0] = val; ucontrol 976 sound/pci/fm801.c struct snd_ctl_elem_value *ucontrol) ucontrol 981 sound/pci/fm801.c if ((val = ucontrol->value.enumerated.item[0]) > 4) ucontrol 289 sound/pci/hda/hda_beep.c struct snd_ctl_elem_value *ucontrol) ucontrol 297 sound/pci/hda/hda_beep.c ucontrol->value.integer.value[0] = beep->enabled; ucontrol 299 sound/pci/hda/hda_beep.c ucontrol->value.integer.value[1] = beep->enabled; ucontrol 302 sound/pci/hda/hda_beep.c return snd_hda_mixer_amp_switch_get(kcontrol, ucontrol); ucontrol 312 sound/pci/hda/hda_beep.c struct snd_ctl_elem_value *ucontrol) ucontrol 319 sound/pci/hda/hda_beep.c long *valp = ucontrol->value.integer.value; ucontrol 330 sound/pci/hda/hda_beep.c return snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); ucontrol 1462 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1470 sound/pci/hda/hda_codec.c long *valp = ucontrol->value.integer.value; ucontrol 1489 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1497 sound/pci/hda/hda_codec.c long *valp = ucontrol->value.integer.value; ucontrol 1841 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol; ucontrol 1842 sound/pci/hda/hda_codec.c ucontrol = kzalloc(sizeof(*ucontrol), GFP_KERNEL); ucontrol 1843 sound/pci/hda/hda_codec.c if (!ucontrol) ucontrol 1845 sound/pci/hda/hda_codec.c ucontrol->value.integer.value[0] = val; ucontrol 1846 sound/pci/hda/hda_codec.c ucontrol->value.integer.value[1] = val; ucontrol 1847 sound/pci/hda/hda_codec.c kctl->put(kctl, ucontrol); ucontrol 1848 sound/pci/hda/hda_codec.c kfree(ucontrol); ucontrol 1996 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1999 sound/pci/hda/hda_codec.c ucontrol->value.enumerated.item[0] = hook->mute_mode; ucontrol 2004 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2009 sound/pci/hda/hda_codec.c hook->mute_mode = ucontrol->value.enumerated.item[0]; ucontrol 2117 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2124 sound/pci/hda/hda_codec.c long *valp = ucontrol->value.integer.value; ucontrol 2145 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2152 sound/pci/hda/hda_codec.c long *valp = ucontrol->value.integer.value; ucontrol 2183 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2185 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | ucontrol 2189 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[1] = IEC958_AES1_CON_CATEGORY | ucontrol 2195 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2197 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | ucontrol 2204 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2214 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[0] = spdif->status & 0xff; ucontrol 2215 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[1] = (spdif->status >> 8) & 0xff; ucontrol 2216 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[2] = (spdif->status >> 16) & 0xff; ucontrol 2217 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[3] = (spdif->status >> 24) & 0xff; ucontrol 2310 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2324 sound/pci/hda/hda_codec.c spdif->status = ucontrol->value.iec958.status[0] | ucontrol 2325 sound/pci/hda/hda_codec.c ((unsigned int)ucontrol->value.iec958.status[1] << 8) | ucontrol 2326 sound/pci/hda/hda_codec.c ((unsigned int)ucontrol->value.iec958.status[2] << 16) | ucontrol 2327 sound/pci/hda/hda_codec.c ((unsigned int)ucontrol->value.iec958.status[3] << 24); ucontrol 2341 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2351 sound/pci/hda/hda_codec.c ucontrol->value.integer.value[0] = spdif->ctls & AC_DIG1_ENABLE; ucontrol 2368 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2383 sound/pci/hda/hda_codec.c if (ucontrol->value.integer.value[0]) ucontrol 2565 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2568 sound/pci/hda/hda_codec.c ucontrol->value.integer.value[0] = mout->share_spdif; ucontrol 2573 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2576 sound/pci/hda/hda_codec.c mout->share_spdif = !!ucontrol->value.integer.value[0]; ucontrol 2616 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2620 sound/pci/hda/hda_codec.c ucontrol->value.integer.value[0] = codec->spdif_in_enable; ucontrol 2625 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2629 sound/pci/hda/hda_codec.c unsigned int val = !!ucontrol->value.integer.value[0]; ucontrol 2644 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 2654 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[0] = sbits; ucontrol 2655 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[1] = sbits >> 8; ucontrol 2656 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[2] = sbits >> 16; ucontrol 2657 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[3] = sbits >> 24; ucontrol 3496 sound/pci/hda/hda_codec.c struct snd_ctl_elem_value *ucontrol, ucontrol 3504 sound/pci/hda/hda_codec.c idx = ucontrol->value.enumerated.item[0]; ucontrol 940 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol); ucontrol 942 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol); ucontrol 944 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol); ucontrol 1076 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 1084 sound/pci/hda/hda_generic.c ucontrol->value.integer.value[0] &= enabled; ucontrol 1085 sound/pci/hda/hda_generic.c ucontrol->value.integer.value[1] &= enabled; ucontrol 1090 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 1092 sound/pci/hda/hda_generic.c sync_auto_mute_bits(kcontrol, ucontrol); ucontrol 1093 sound/pci/hda/hda_generic.c return snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); ucontrol 1103 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 1112 sound/pci/hda/hda_generic.c err = snd_hda_mixer_amp_switch_get(kcontrol, ucontrol); ucontrol 1119 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 1125 sound/pci/hda/hda_generic.c sync_auto_mute_bits(kcontrol, ucontrol); ucontrol 1133 sound/pci/hda/hda_generic.c err = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); ucontrol 2209 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2213 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->indep_hp_enabled; ucontrol 2222 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2226 sound/pci/hda/hda_generic.c unsigned int select = ucontrol->value.enumerated.item[0]; ucontrol 2324 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2328 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = ucontrol 2382 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2388 sound/pci/hda/hda_generic.c ch = ucontrol->value.enumerated.item[0]; ucontrol 2429 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2433 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->aamix_mode; ucontrol 2484 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2489 sound/pci/hda/hda_generic.c unsigned int val = ucontrol->value.enumerated.item[0]; ucontrol 2652 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2657 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = 1; ucontrol 2659 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = 0; ucontrol 2664 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2670 sound/pci/hda/hda_generic.c val = ucontrol->value.enumerated.item[0] ? PIN_HP : PIN_OUT; ucontrol 2814 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2822 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = cvt_from_vref_idx(vref_caps, idx); ucontrol 2827 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2836 sound/pci/hda/hda_generic.c if (idx == ucontrol->value.enumerated.item[0]) ucontrol 2840 sound/pci/hda/hda_generic.c val |= get_vref_idx(vref_caps, ucontrol->value.enumerated.item[0]); ucontrol 2947 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2951 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = ucontrol 2957 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 2966 sound/pci/hda/hda_generic.c idx = ucontrol->value.enumerated.item[0]; ucontrol 3407 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3412 sound/pci/hda/hda_generic.c unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 3414 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->cur_mux[adc_idx]; ucontrol 3419 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3422 sound/pci/hda/hda_generic.c unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 3424 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0]); ucontrol 3440 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol); ucontrol 3444 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol, ucontrol 3461 sound/pci/hda/hda_generic.c err = func(kcontrol, ucontrol); ucontrol 3467 sound/pci/hda/hda_generic.c spec->cap_sync_hook(codec, kcontrol, ucontrol); ucontrol 3477 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3479 sound/pci/hda/hda_generic.c return cap_put_caller(kcontrol, ucontrol, ucontrol 3501 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3503 sound/pci/hda/hda_generic.c return cap_put_caller(kcontrol, ucontrol, ucontrol 3577 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3583 sound/pci/hda/hda_generic.c ret = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); ucontrol 3588 sound/pci/hda/hda_generic.c spec->cap_sync_hook(codec, kcontrol, ucontrol); ucontrol 3930 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3936 sound/pci/hda/hda_generic.c spec->micmute_led.old_hook(codec, kcontrol, ucontrol); ucontrol 3938 sound/pci/hda/hda_generic.c if (!ucontrol) ucontrol 3940 sound/pci/hda/hda_generic.c mask = 1U << snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 3941 sound/pci/hda/hda_generic.c if (!strcmp("Capture Switch", ucontrol->id.name)) { ucontrol 3943 sound/pci/hda/hda_generic.c if (ucontrol->value.integer.value[0] || ucontrol 3944 sound/pci/hda/hda_generic.c ucontrol->value.integer.value[1]) ucontrol 3963 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3968 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = spec->micmute_led.led_mode; ucontrol 3973 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 3979 sound/pci/hda/hda_generic.c mode = ucontrol->value.enumerated.item[0]; ucontrol 4683 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 4693 sound/pci/hda/hda_generic.c ucontrol->value.enumerated.item[0] = val; ucontrol 4698 sound/pci/hda/hda_generic.c struct snd_ctl_elem_value *ucontrol) ucontrol 4703 sound/pci/hda/hda_generic.c switch (ucontrol->value.enumerated.item[0]) { ucontrol 92 sound/pci/hda/hda_generic.h struct snd_ctl_elem_value *ucontrol); ucontrol 284 sound/pci/hda/hda_generic.h struct snd_ctl_elem_value *ucontrol); ucontrol 99 sound/pci/hda/hda_local.h struct snd_ctl_elem_value *ucontrol); ucontrol 101 sound/pci/hda/hda_local.h struct snd_ctl_elem_value *ucontrol); ucontrol 107 sound/pci/hda/hda_local.h struct snd_ctl_elem_value *ucontrol); ucontrol 109 sound/pci/hda/hda_local.h struct snd_ctl_elem_value *ucontrol); ucontrol 112 sound/pci/hda/hda_local.h struct snd_ctl_elem_value *ucontrol); ucontrol 114 sound/pci/hda/hda_local.h struct snd_ctl_elem_value *ucontrol); ucontrol 197 sound/pci/hda/hda_local.h struct snd_ctl_elem_value *ucontrol, hda_nid_t nid, ucontrol 468 sound/pci/hda/patch_analog.c struct snd_ctl_elem_value *ucontrol) ucontrol 473 sound/pci/hda/patch_analog.c ucontrol->value.enumerated.item[0] = spec->cur_smux; ucontrol 478 sound/pci/hda/patch_analog.c struct snd_ctl_elem_value *ucontrol) ucontrol 482 sound/pci/hda/patch_analog.c unsigned int val = ucontrol->value.enumerated.item[0]; ucontrol 743 sound/pci/hda/patch_analog.c struct snd_ctl_elem_value *ucontrol) ucontrol 748 sound/pci/hda/patch_analog.c ucontrol->value.enumerated.item[0] = spec->cur_smux; ucontrol 753 sound/pci/hda/patch_analog.c struct snd_ctl_elem_value *ucontrol) ucontrol 757 sound/pci/hda/patch_analog.c unsigned int val = ucontrol->value.enumerated.item[0]; ucontrol 3853 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 3858 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 3879 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 3884 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 3914 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 3919 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 3949 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 3954 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5061 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5115 sound/pci/hda/patch_ca0132.c ret = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); ucontrol 5171 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5175 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5182 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5187 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5225 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5230 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5246 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5251 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5293 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5298 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->mic_boost_enum_val; ucontrol 5303 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5307 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5347 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5352 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->ae5_headphone_gain_val; ucontrol 5357 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5361 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5400 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5405 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->ae5_filter_val; ucontrol 5410 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5414 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5450 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5455 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->in_enum_val; ucontrol 5460 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5464 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5495 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5500 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->out_enum_val; ucontrol 5505 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5509 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5551 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5556 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->smart_volume_setting; ucontrol 5561 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5565 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5615 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5620 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->eq_preset_val; ucontrol 5625 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5630 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5672 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5677 sound/pci/hda/patch_ca0132.c ucontrol->value.enumerated.item[0] = spec->voicefx_val; ucontrol 5682 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5687 sound/pci/hda/patch_ca0132.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 5717 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5723 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5754 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5760 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5777 sound/pci/hda/patch_ca0132.c changed = ca0132_vnode_switch_set(kcontrol, ucontrol); ucontrol 5910 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5916 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5931 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5937 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 5963 sound/pci/hda/patch_ca0132.c changed = snd_hda_mixer_amp_volume_put(kcontrol, ucontrol); ucontrol 5978 sound/pci/hda/patch_ca0132.c struct snd_ctl_elem_value *ucontrol) ucontrol 5984 sound/pci/hda/patch_ca0132.c long *valp = ucontrol->value.integer.value; ucontrol 6010 sound/pci/hda/patch_ca0132.c changed = snd_hda_mixer_amp_volume_put(kcontrol, ucontrol); ucontrol 39 sound/pci/hda/patch_cirrus.c struct snd_ctl_elem_value *ucontrol); ucontrol 697 sound/pci/hda/patch_cirrus.c struct snd_ctl_elem_value *ucontrol) ucontrol 702 sound/pci/hda/patch_cirrus.c int pinctl = ucontrol->value.integer.value[0] ? PIN_OUT : 0; ucontrol 705 sound/pci/hda/patch_cirrus.c return spec->spdif_sw_put(kcontrol, ucontrol); ucontrol 945 sound/pci/hda/patch_cirrus.c struct snd_ctl_elem_value *ucontrol) ucontrol 949 sound/pci/hda/patch_cirrus.c ucontrol->value.integer.value[0] = ucontrol 955 sound/pci/hda/patch_cirrus.c struct snd_ctl_elem_value *ucontrol) ucontrol 959 sound/pci/hda/patch_cirrus.c unsigned int vol = ucontrol->value.integer.value[0]; ucontrol 272 sound/pci/hda/patch_conexant.c struct snd_ctl_elem_value *ucontrol) ucontrol 439 sound/pci/hda/patch_conexant.c struct snd_ctl_elem_value *ucontrol) ucontrol 443 sound/pci/hda/patch_conexant.c ucontrol->value.integer.value[0] = spec->dc_enable; ucontrol 448 sound/pci/hda/patch_conexant.c struct snd_ctl_elem_value *ucontrol) ucontrol 452 sound/pci/hda/patch_conexant.c int dc_enable = !!ucontrol->value.integer.value[0]; ucontrol 464 sound/pci/hda/patch_conexant.c struct snd_ctl_elem_value *ucontrol) ucontrol 468 sound/pci/hda/patch_conexant.c ucontrol->value.enumerated.item[0] = spec->dc_input_bias; ucontrol 479 sound/pci/hda/patch_conexant.c struct snd_ctl_elem_value *ucontrol) ucontrol 486 sound/pci/hda/patch_conexant.c idx = ucontrol->value.enumerated.item[0]; ucontrol 520 sound/pci/hda/patch_conexant.c struct snd_ctl_elem_value *ucontrol) ucontrol 524 sound/pci/hda/patch_conexant.c int ret = snd_hda_mixer_amp_volume_put(kcontrol, ucontrol); ucontrol 355 sound/pci/hda/patch_hdmi.c struct snd_ctl_elem_value *ucontrol) ucontrol 369 sound/pci/hda/patch_hdmi.c memset(ucontrol->value.bytes.data, 0, ucontrol 370 sound/pci/hda/patch_hdmi.c ARRAY_SIZE(ucontrol->value.bytes.data)); ucontrol 375 sound/pci/hda/patch_hdmi.c if (eld->eld_size > ARRAY_SIZE(ucontrol->value.bytes.data) || ucontrol 382 sound/pci/hda/patch_hdmi.c memset(ucontrol->value.bytes.data, 0, ucontrol 383 sound/pci/hda/patch_hdmi.c ARRAY_SIZE(ucontrol->value.bytes.data)); ucontrol 385 sound/pci/hda/patch_hdmi.c memcpy(ucontrol->value.bytes.data, eld->eld_buffer, ucontrol 2771 sound/pci/hda/patch_realtek.c struct snd_ctl_elem_value *ucontrol) ucontrol 2780 sound/pci/hda/patch_realtek.c err = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); ucontrol 2783 sound/pci/hda/patch_realtek.c err = snd_hda_mixer_amp_switch_put(kcontrol, ucontrol); ucontrol 5294 sound/pci/hda/patch_realtek.c struct snd_ctl_elem_value *ucontrol) ucontrol 566 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 569 sound/pci/hda/patch_sigmatel.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 572 sound/pci/hda/patch_sigmatel.c ucontrol->value.integer.value[0] = !!(spec->aloopback & ucontrol 578 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 582 sound/pci/hda/patch_sigmatel.c unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 587 sound/pci/hda/patch_sigmatel.c if (ucontrol->value.integer.value[0]) ucontrol 867 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 870 sound/pci/hda/patch_sigmatel.c ucontrol->value.integer.value[0] = codec->beep->enabled; ucontrol 875 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 878 sound/pci/hda/patch_sigmatel.c return snd_hda_enable_beep_device(codec, ucontrol->value.integer.value[0]); ucontrol 912 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 916 sound/pci/hda/patch_sigmatel.c unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 918 sound/pci/hda/patch_sigmatel.c ucontrol->value.enumerated.item[0] = spec->cur_smux[smux_idx]; ucontrol 923 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 927 sound/pci/hda/patch_sigmatel.c unsigned int smux_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 929 sound/pci/hda/patch_sigmatel.c return snd_hda_input_mux_put(codec, &spec->spdif_mux, ucontrol, ucontrol 2937 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 2941 sound/pci/hda/patch_sigmatel.c ucontrol->value.integer.value[0] = !!(spec->gpio_data & 0x20); ucontrol 2946 sound/pci/hda/patch_sigmatel.c struct snd_ctl_elem_value *ucontrol) ucontrol 2953 sound/pci/hda/patch_sigmatel.c (ucontrol->value.integer.value[0] ? 0x20 : 0); ucontrol 219 sound/pci/hda/patch_via.c struct snd_ctl_elem_value *ucontrol) ucontrol 224 sound/pci/hda/patch_via.c ucontrol->value.enumerated.item[0] = spec->gen.power_down_unused; ucontrol 229 sound/pci/hda/patch_via.c struct snd_ctl_elem_value *ucontrol) ucontrol 233 sound/pci/hda/patch_via.c bool val = !!ucontrol->value.enumerated.item[0]; ucontrol 456 sound/pci/hda/patch_via.c struct snd_ctl_elem_value *ucontrol) ucontrol 463 sound/pci/hda/patch_via.c ucontrol->value.integer.value[0] = spec->vt1708_jack_detect; ucontrol 468 sound/pci/hda/patch_via.c struct snd_ctl_elem_value *ucontrol) ucontrol 476 sound/pci/hda/patch_via.c val = !!ucontrol->value.integer.value[0]; ucontrol 887 sound/pci/hda/patch_via.c struct snd_ctl_elem_value *ucontrol) ucontrol 895 sound/pci/hda/patch_via.c *ucontrol->value.integer.value = index; ucontrol 901 sound/pci/hda/patch_via.c struct snd_ctl_elem_value *ucontrol) ucontrol 905 sound/pci/hda/patch_via.c int index = *ucontrol->value.integer.value; ucontrol 198 sound/pci/ice1712/aureon.c struct snd_ctl_elem_value *ucontrol) ucontrol 202 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = spec->pca9554_out; ucontrol 207 sound/pci/ice1712/aureon.c struct snd_ctl_elem_value *ucontrol) ucontrol 214 sound/pci/ice1712/aureon.c nval = ucontrol->value.enumerated.item[0]; ucontrol 356 sound/pci/ice1712/aureon.c static int aureon_ac97_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 364 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = 0x1F - (vol & 0x1F); ucontrol 366 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[1] = 0x1F - ((vol >> 8) & 0x1F); ucontrol 372 sound/pci/ice1712/aureon.c static int aureon_ac97_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 381 sound/pci/ice1712/aureon.c nvol = (0x1F - ucontrol->value.integer.value[0]) & 0x001F; ucontrol 383 sound/pci/ice1712/aureon.c nvol |= ((0x1F - ucontrol->value.integer.value[1]) << 8) & 0x1F00; ucontrol 400 sound/pci/ice1712/aureon.c static int aureon_ac97_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 406 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = aureon_ac97_read(ice, ucontrol 413 sound/pci/ice1712/aureon.c static int aureon_ac97_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 422 sound/pci/ice1712/aureon.c nvol = (ucontrol->value.integer.value[0] ? 0x0000 : 0x8000) | (ovol & ~0x8000); ucontrol 438 sound/pci/ice1712/aureon.c static int aureon_ac97_micboost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 444 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = aureon_ac97_read(ice, AC97_MIC) & 0x0020 ? 0 : 1; ucontrol 450 sound/pci/ice1712/aureon.c static int aureon_ac97_micboost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 459 sound/pci/ice1712/aureon.c nvol = (ucontrol->value.integer.value[0] ? 0x0000 : 0x0020) | (ovol & ~0x0020); ucontrol 641 sound/pci/ice1712/aureon.c static int aureon_ac97_mmute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 647 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX1) >> 1) & 0x01; ucontrol 653 sound/pci/ice1712/aureon.c static int aureon_ac97_mmute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 662 sound/pci/ice1712/aureon.c nvol = (ovol & ~0x02) | (ucontrol->value.integer.value[0] ? 0x02 : 0x00); ucontrol 703 sound/pci/ice1712/aureon.c static int wm_pcm_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 708 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? 0 : 1; ucontrol 713 sound/pci/ice1712/aureon.c static int wm_pcm_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 721 sound/pci/ice1712/aureon.c nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); ucontrol 742 sound/pci/ice1712/aureon.c static int wm_master_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 748 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] = ucontrol 753 sound/pci/ice1712/aureon.c static int wm_master_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 761 sound/pci/ice1712/aureon.c unsigned int vol = ucontrol->value.integer.value[ch]; ucontrol 792 sound/pci/ice1712/aureon.c static int wm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 801 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] = ucontrol 806 sound/pci/ice1712/aureon.c static int wm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 817 sound/pci/ice1712/aureon.c unsigned int vol = ucontrol->value.integer.value[i]; ucontrol 845 sound/pci/ice1712/aureon.c static int wm_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 855 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] = ucontrol 860 sound/pci/ice1712/aureon.c static int wm_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 872 sound/pci/ice1712/aureon.c if (ucontrol->value.integer.value[i] != val) { ucontrol 875 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; ucontrol 891 sound/pci/ice1712/aureon.c static int wm_master_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 896 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = ucontrol 898 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[1] = ucontrol 903 sound/pci/ice1712/aureon.c static int wm_master_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 912 sound/pci/ice1712/aureon.c if (ucontrol->value.integer.value[i] != val) { ucontrol 916 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; ucontrol 942 sound/pci/ice1712/aureon.c static int wm_pcm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 950 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = val; ucontrol 955 sound/pci/ice1712/aureon.c static int wm_pcm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 961 sound/pci/ice1712/aureon.c nvol = ucontrol->value.integer.value[0]; ucontrol 981 sound/pci/ice1712/aureon.c static int wm_adc_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 990 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] = ~val>>5 & 0x1; ucontrol 996 sound/pci/ice1712/aureon.c static int wm_adc_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1005 sound/pci/ice1712/aureon.c new = (~ucontrol->value.integer.value[i]<<5&0x20) | (old&~0x20); ucontrol 1028 sound/pci/ice1712/aureon.c static int wm_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1038 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[i] = vol; ucontrol 1044 sound/pci/ice1712/aureon.c static int wm_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1054 sound/pci/ice1712/aureon.c nvol = ucontrol->value.integer.value[i] & 0x1f; ucontrol 1095 sound/pci/ice1712/aureon.c static int wm_adc_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1102 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = val & 7; ucontrol 1103 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[1] = (val >> 4) & 7; ucontrol 1108 sound/pci/ice1712/aureon.c static int wm_adc_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1117 sound/pci/ice1712/aureon.c nval |= ucontrol->value.enumerated.item[0] & 7; ucontrol 1118 sound/pci/ice1712/aureon.c nval |= (ucontrol->value.enumerated.item[1] & 7) << 4; ucontrol 1146 sound/pci/ice1712/aureon.c static int aureon_cs8415_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1153 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = spec->cs8415_mux; ucontrol 1158 sound/pci/ice1712/aureon.c static int aureon_cs8415_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1168 sound/pci/ice1712/aureon.c nval |= ucontrol->value.enumerated.item[0] & 7; ucontrol 1173 sound/pci/ice1712/aureon.c spec->cs8415_mux = ucontrol->value.enumerated.item[0]; ucontrol 1186 sound/pci/ice1712/aureon.c static int aureon_cs8415_rate_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1191 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = (int)((unsigned int)ratio * 750); ucontrol 1200 sound/pci/ice1712/aureon.c static int aureon_cs8415_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1204 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = (aureon_cs8415_get(ice, CS8415_CTRL1) & 0x20) ? 0 : 1; ucontrol 1209 sound/pci/ice1712/aureon.c static int aureon_cs8415_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1216 sound/pci/ice1712/aureon.c if (ucontrol->value.integer.value[0]) ucontrol 1237 sound/pci/ice1712/aureon.c static int aureon_cs8415_qsub_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1242 sound/pci/ice1712/aureon.c aureon_cs8415_read(ice, CS8415_QSUB, ucontrol->value.bytes.data, 10); ucontrol 1255 sound/pci/ice1712/aureon.c static int aureon_cs8415_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1257 sound/pci/ice1712/aureon.c memset(ucontrol->value.iec958.status, 0xFF, 24); ucontrol 1261 sound/pci/ice1712/aureon.c static int aureon_cs8415_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1266 sound/pci/ice1712/aureon.c aureon_cs8415_read(ice, CS8415_C_BUFFER, ucontrol->value.iec958.status, 24); ucontrol 1307 sound/pci/ice1712/aureon.c static int aureon_hpamp_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1311 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = aureon_get_headphone_amp(ice); ucontrol 1316 sound/pci/ice1712/aureon.c static int aureon_hpamp_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1320 sound/pci/ice1712/aureon.c return aureon_set_headphone_amp(ice, ucontrol->value.integer.value[0]); ucontrol 1329 sound/pci/ice1712/aureon.c static int aureon_deemp_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1332 sound/pci/ice1712/aureon.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == 0xf; ucontrol 1336 sound/pci/ice1712/aureon.c static int aureon_deemp_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1341 sound/pci/ice1712/aureon.c if (ucontrol->value.integer.value[0]) ucontrol 1362 sound/pci/ice1712/aureon.c static int aureon_oversampling_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1365 sound/pci/ice1712/aureon.c ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == 0x8; ucontrol 1369 sound/pci/ice1712/aureon.c static int aureon_oversampling_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1376 sound/pci/ice1712/aureon.c if (ucontrol->value.enumerated.item[0]) ucontrol 197 sound/pci/ice1712/delta.c static void delta_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 199 sound/pci/ice1712/delta.c snd_cs8403_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); ucontrol 202 sound/pci/ice1712/delta.c static int delta_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 207 sound/pci/ice1712/delta.c val = snd_cs8403_encode_spdif_bits(&ucontrol->value.iec958); ucontrol 220 sound/pci/ice1712/delta.c static void delta_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 222 sound/pci/ice1712/delta.c snd_cs8403_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); ucontrol 225 sound/pci/ice1712/delta.c static int delta_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 230 sound/pci/ice1712/delta.c val = snd_cs8403_encode_spdif_bits(&ucontrol->value.iec958); ucontrol 408 sound/pci/ice1712/delta.c struct snd_ctl_elem_value *ucontrol) ucontrol 417 sound/pci/ice1712/delta.c ucontrol->value.integer.value[0] = (reg & CS8427_UNLOCK) ? 1 : 0; ucontrol 252 sound/pci/ice1712/ews.c static void ews88_spdif_default_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 254 sound/pci/ice1712/ews.c snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); ucontrol 257 sound/pci/ice1712/ews.c static int ews88_spdif_default_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 262 sound/pci/ice1712/ews.c val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); ucontrol 275 sound/pci/ice1712/ews.c static void ews88_spdif_stream_get(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 277 sound/pci/ice1712/ews.c snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); ucontrol 280 sound/pci/ice1712/ews.c static int ews88_spdif_stream_put(struct snd_ice1712 *ice, struct snd_ctl_elem_value *ucontrol) ucontrol 285 sound/pci/ice1712/ews.c val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); ucontrol 572 sound/pci/ice1712/ews.c static int snd_ice1712_ewx_io_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 578 sound/pci/ice1712/ews.c ucontrol->value.enumerated.item[0] = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA) & mask ? 1 : 0; ucontrol 583 sound/pci/ice1712/ews.c static int snd_ice1712_ewx_io_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 591 sound/pci/ice1712/ews.c nval = ucontrol->value.enumerated.item[0] ? mask : 0; ucontrol 624 sound/pci/ice1712/ews.c static int snd_ice1712_ews88mt_output_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 636 sound/pci/ice1712/ews.c ucontrol->value.enumerated.item[0] = data & ICE1712_EWS88MT_OUTPUT_SENSE ? 1 : 0; /* high = -10dBV, low = +4dBu */ ucontrol 641 sound/pci/ice1712/ews.c static int snd_ice1712_ews88mt_output_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 652 sound/pci/ice1712/ews.c ndata = (data & ~ICE1712_EWS88MT_OUTPUT_SENSE) | (ucontrol->value.enumerated.item[0] ? ICE1712_EWS88MT_OUTPUT_SENSE : 0); ucontrol 663 sound/pci/ice1712/ews.c static int snd_ice1712_ews88mt_input_sense_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 667 sound/pci/ice1712/ews.c int channel = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 678 sound/pci/ice1712/ews.c ucontrol->value.enumerated.item[0] = data & (1 << channel) ? 0 : 1; ucontrol 684 sound/pci/ice1712/ews.c static int snd_ice1712_ews88mt_input_sense_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 688 sound/pci/ice1712/ews.c int channel = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 698 sound/pci/ice1712/ews.c ndata = (data & ~(1 << channel)) | (ucontrol->value.enumerated.item[0] ? 0 : (1 << channel)); ucontrol 732 sound/pci/ice1712/ews.c static int snd_ice1712_ews88d_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 749 sound/pci/ice1712/ews.c ucontrol->value.integer.value[0] = data[0]; ucontrol 753 sound/pci/ice1712/ews.c static int snd_ice1712_ews88d_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 769 sound/pci/ice1712/ews.c if (! ucontrol->value.integer.value[0]) ucontrol 772 sound/pci/ice1712/ews.c if (ucontrol->value.integer.value[0]) ucontrol 849 sound/pci/ice1712/ews.c static int snd_ice1712_6fire_control_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 861 sound/pci/ice1712/ews.c ucontrol->value.integer.value[0] = data; ucontrol 865 sound/pci/ice1712/ews.c static int snd_ice1712_6fire_control_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 875 sound/pci/ice1712/ews.c if (ucontrol->value.integer.value[0]) ucontrol 894 sound/pci/ice1712/ews.c static int snd_ice1712_6fire_select_input_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 901 sound/pci/ice1712/ews.c ucontrol->value.integer.value[0] = data & 3; ucontrol 905 sound/pci/ice1712/ews.c static int snd_ice1712_6fire_select_input_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 913 sound/pci/ice1712/ews.c ndata |= (ucontrol->value.integer.value[0] & 3); ucontrol 245 sound/pci/ice1712/ice1712.c static int snd_ice1712_digmix_route_ac97_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 249 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[0] = inb(ICEMT(ice, MONITOR_ROUTECTRL)) & ICE1712_ROUTE_AC97 ? 1 : 0; ucontrol 253 sound/pci/ice1712/ice1712.c static int snd_ice1712_digmix_route_ac97_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 261 sound/pci/ice1712/ice1712.c if (ucontrol->value.integer.value[0]) ucontrol 1289 sound/pci/ice1712/ice1712.c static int snd_ice1712_pro_mixer_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1292 sound/pci/ice1712/ice1712.c int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + ucontrol 1296 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[0] = ucontrol 1298 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[1] = ucontrol 1304 sound/pci/ice1712/ice1712.c static int snd_ice1712_pro_mixer_switch_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1307 sound/pci/ice1712/ice1712.c int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + ucontrol 1311 sound/pci/ice1712/ice1712.c nval = (ucontrol->value.integer.value[0] ? 0 : 0x00008000) | ucontrol 1312 sound/pci/ice1712/ice1712.c (ucontrol->value.integer.value[1] ? 0 : 0x80000000); ucontrol 1331 sound/pci/ice1712/ice1712.c static int snd_ice1712_pro_mixer_volume_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1334 sound/pci/ice1712/ice1712.c int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + ucontrol 1338 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[0] = ucontrol 1340 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[1] = ucontrol 1346 sound/pci/ice1712/ice1712.c static int snd_ice1712_pro_mixer_volume_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1349 sound/pci/ice1712/ice1712.c int priv_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + ucontrol 1353 sound/pci/ice1712/ice1712.c nval = (ucontrol->value.integer.value[0] & 127) | ucontrol 1354 sound/pci/ice1712/ice1712.c ((ucontrol->value.integer.value[1] & 127) << 16); ucontrol 1608 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1612 sound/pci/ice1712/ice1712.c memcpy(ucontrol->value.bytes.data, &ice->eeprom, sizeof(ice->eeprom)); ucontrol 1635 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1639 sound/pci/ice1712/ice1712.c ice->spdif.ops.default_get(ice, ucontrol); ucontrol 1644 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1648 sound/pci/ice1712/ice1712.c return ice->spdif.ops.default_put(ice, ucontrol); ucontrol 1662 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1666 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | ucontrol 1670 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL | ucontrol 1672 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; ucontrol 1674 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 1675 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1676 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 1677 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 1678 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[4] = 0xff; ucontrol 1684 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1688 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | ucontrol 1692 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[1] = IEC958_AES1_PRO_MODE; ucontrol 1694 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 1695 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1696 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 1697 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 1698 sound/pci/ice1712/ice1712.c ucontrol->value.iec958.status[4] = 0xff; ucontrol 1722 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1726 sound/pci/ice1712/ice1712.c ice->spdif.ops.stream_get(ice, ucontrol); ucontrol 1731 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1735 sound/pci/ice1712/ice1712.c return ice->spdif.ops.stream_put(ice, ucontrol); ucontrol 1751 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1758 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[0] = ucontrol 1765 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1774 sound/pci/ice1712/ice1712.c nval = (ucontrol->value.integer.value[0] ? mask : 0) ^ invert; ucontrol 1810 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1820 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 13; ucontrol 1827 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = val; ucontrol 1834 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1846 sound/pci/ice1712/ice1712.c if (ucontrol->value.enumerated.item[0] == 13) { ucontrol 1849 sound/pci/ice1712/ice1712.c PRO_RATE_DEFAULT = xrate[ucontrol->value.integer.value[0] % 13]; ucontrol 1895 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1908 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = val; ucontrol 1913 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1923 sound/pci/ice1712/ice1712.c PRO_RATE_DEFAULT = xrate[ucontrol->value.integer.value[0] % 13]; ucontrol 1940 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1942 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[0] = PRO_RATE_LOCKED; ucontrol 1947 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1952 sound/pci/ice1712/ice1712.c nval = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 1971 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1973 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[0] = PRO_RATE_RESET; ucontrol 1978 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 1983 sound/pci/ice1712/ice1712.c nval = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 2017 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 2020 sound/pci/ice1712/ice1712.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2032 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 11; ucontrol 2034 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = (cval & 7) + 1; ucontrol 2036 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; ucontrol 2038 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 0; ucontrol 2043 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 2047 sound/pci/ice1712/ice1712.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2051 sound/pci/ice1712/ice1712.c if (ucontrol->value.enumerated.item[0] >= 11) ucontrol 2053 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 9) ucontrol 2055 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 1) ucontrol 2076 sound/pci/ice1712/ice1712.c nval = ucontrol->value.enumerated.item[0] - 1; ucontrol 2080 sound/pci/ice1712/ice1712.c nval = (ucontrol->value.enumerated.item[0] - 9) << 3; ucontrol 2093 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 2096 sound/pci/ice1712/ice1712.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2102 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 11; ucontrol 2104 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = (cval & 7) + 1; ucontrol 2106 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; ucontrol 2108 sound/pci/ice1712/ice1712.c ucontrol->value.enumerated.item[0] = 0; ucontrol 2113 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 2117 sound/pci/ice1712/ice1712.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2123 sound/pci/ice1712/ice1712.c if (ucontrol->value.enumerated.item[0] >= 11) ucontrol 2125 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 9) ucontrol 2127 sound/pci/ice1712/ice1712.c else if (ucontrol->value.enumerated.item[0] >= 1) ucontrol 2136 sound/pci/ice1712/ice1712.c nval = ucontrol->value.enumerated.item[0] - 1; ucontrol 2140 sound/pci/ice1712/ice1712.c nval = (ucontrol->value.enumerated.item[0] - 9) << 3; ucontrol 2180 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 2184 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[0] = inb(ICEMT(ice, MONITOR_RATE)); ucontrol 2189 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 2195 sound/pci/ice1712/ice1712.c change = inb(ICEMT(ice, MONITOR_RATE)) != ucontrol->value.integer.value[0]; ucontrol 2196 sound/pci/ice1712/ice1712.c outb(ucontrol->value.integer.value[0], ICEMT(ice, MONITOR_RATE)); ucontrol 2220 sound/pci/ice1712/ice1712.c struct snd_ctl_elem_value *ucontrol) ucontrol 2228 sound/pci/ice1712/ice1712.c ucontrol->value.integer.value[idx] = inb(ICEMT(ice, MONITOR_PEAKDATA)); ucontrol 275 sound/pci/ice1712/ice1712.h void (*default_get)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol); ucontrol 276 sound/pci/ice1712/ice1712.h int (*default_put)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol); ucontrol 277 sound/pci/ice1712/ice1712.h void (*stream_get)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol); ucontrol 278 sound/pci/ice1712/ice1712.h int (*stream_put)(struct snd_ice1712 *, struct snd_ctl_elem_value *ucontrol); ucontrol 447 sound/pci/ice1712/ice1712.h int snd_ice1712_gpio_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); ucontrol 448 sound/pci/ice1712/ice1712.h int snd_ice1712_gpio_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); ucontrol 1579 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1583 sound/pci/ice1712/ice1724.c memcpy(ucontrol->value.bytes.data, &ice->eeprom, sizeof(ice->eeprom)); ucontrol 1676 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1681 sound/pci/ice1712/ice1724.c decode_spdif_bits(&ucontrol->value.iec958, val); ucontrol 1686 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1691 sound/pci/ice1712/ice1724.c val = encode_spdif_bits(&ucontrol->value.iec958); ucontrol 1710 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1712 sound/pci/ice1712/ice1724.c ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | ucontrol 1716 sound/pci/ice1712/ice1724.c ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL | ucontrol 1718 sound/pci/ice1712/ice1724.c ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; ucontrol 1723 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1725 sound/pci/ice1712/ice1724.c ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | ucontrol 1753 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1756 sound/pci/ice1712/ice1724.c ucontrol->value.integer.value[0] = inb(ICEREG1724(ice, SPDIF_CFG)) & ucontrol 1762 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1770 sound/pci/ice1712/ice1724.c if (ucontrol->value.integer.value[0]) ucontrol 1798 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1805 sound/pci/ice1712/ice1724.c ucontrol->value.integer.value[0] = ucontrol 1812 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1821 sound/pci/ice1712/ice1724.c nval = (ucontrol->value.integer.value[0] ? (1 << shift) : 0) ^ invert; ucontrol 1865 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1872 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = ice->hw_rates->count + ucontrol 1876 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1879 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = i; ucontrol 1909 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1913 sound/pci/ice1712/ice1724.c unsigned int item = ucontrol->value.enumerated.item[0]; ucontrol 1964 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1966 sound/pci/ice1712/ice1724.c ucontrol->value.integer.value[0] = PRO_RATE_LOCKED; ucontrol 1971 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1976 sound/pci/ice1712/ice1724.c nval = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 1995 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 1997 sound/pci/ice1712/ice1724.c ucontrol->value.integer.value[0] = PRO_RATE_RESET ? 1 : 0; ucontrol 2002 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 2007 sound/pci/ice1712/ice1724.c nval = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 2092 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 2095 sound/pci/ice1712/ice1724.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2096 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = ucontrol 2102 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 2105 sound/pci/ice1712/ice1724.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2107 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0], ucontrol 2112 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 2115 sound/pci/ice1712/ice1724.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2116 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0] = ucontrol 2122 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 2125 sound/pci/ice1712/ice1724.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 2127 sound/pci/ice1712/ice1724.c ucontrol->value.enumerated.item[0], ucontrol 2161 sound/pci/ice1712/ice1724.c struct snd_ctl_elem_value *ucontrol) ucontrol 2169 sound/pci/ice1712/ice1724.c ucontrol->value.integer.value[idx] = ucontrol 290 sound/pci/ice1712/juli.c struct snd_ctl_elem_value *ucontrol) ucontrol 297 sound/pci/ice1712/juli.c ucontrol->value.integer.value[0] = (val) ? 0 : 1; ucontrol 300 sound/pci/ice1712/juli.c ucontrol->value.integer.value[0] = (val) ? 1 : 0; ucontrol 305 sound/pci/ice1712/juli.c struct snd_ctl_elem_value *ucontrol) ucontrol 310 sound/pci/ice1712/juli.c if (ucontrol->value.integer.value[0]) { ucontrol 171 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 175 sound/pci/ice1712/maya44.c &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; ucontrol 179 sound/pci/ice1712/maya44.c ucontrol->value.integer.value[0] = wm->volumes[idx][0]; ucontrol 180 sound/pci/ice1712/maya44.c ucontrol->value.integer.value[1] = wm->volumes[idx][1]; ucontrol 186 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 190 sound/pci/ice1712/maya44.c &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; ucontrol 198 sound/pci/ice1712/maya44.c val = ucontrol->value.integer.value[ch]; ucontrol 232 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 236 sound/pci/ice1712/maya44.c &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; ucontrol 239 sound/pci/ice1712/maya44.c ucontrol->value.integer.value[0] = (wm->switch_bits >> idx) & 1; ucontrol 244 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 248 sound/pci/ice1712/maya44.c &chip->wm[snd_ctl_get_ioff(kcontrol, &ucontrol->id)]; ucontrol 256 sound/pci/ice1712/maya44.c val = ucontrol->value.integer.value[0]; ucontrol 297 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 306 sound/pci/ice1712/maya44.c ucontrol->value.integer.value[0] = val; ucontrol 311 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 320 sound/pci/ice1712/maya44.c val = ucontrol->value.integer.value[0]; ucontrol 352 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 361 sound/pci/ice1712/maya44.c ucontrol->value.enumerated.item[0] = sel; ucontrol 366 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 369 sound/pci/ice1712/maya44.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 403 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 406 sound/pci/ice1712/maya44.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 407 sound/pci/ice1712/maya44.c ucontrol->value.enumerated.item[0] = ucontrol 413 sound/pci/ice1712/maya44.c struct snd_ctl_elem_value *ucontrol) ucontrol 416 sound/pci/ice1712/maya44.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 418 sound/pci/ice1712/maya44.c ucontrol->value.enumerated.item[0], ucontrol 286 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 291 sound/pci/ice1712/phase.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_MUTE) & 0x10) ? ucontrol 298 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 306 sound/pci/ice1712/phase.c nval = (oval & ~0x10) | (ucontrol->value.integer.value[0] ? 0 : 0x10); ucontrol 329 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 335 sound/pci/ice1712/phase.c ucontrol->value.integer.value[i] = spec->master[i] & ucontrol 341 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 349 sound/pci/ice1712/phase.c unsigned int vol = ucontrol->value.integer.value[ch]; ucontrol 476 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 485 sound/pci/ice1712/phase.c ucontrol->value.integer.value[i] = ucontrol 491 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 503 sound/pci/ice1712/phase.c vol = ucontrol->value.integer.value[i]; ucontrol 532 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 542 sound/pci/ice1712/phase.c ucontrol->value.integer.value[i] = ucontrol 548 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 560 sound/pci/ice1712/phase.c if (ucontrol->value.integer.value[i] != val) { ucontrol 563 sound/pci/ice1712/phase.c ucontrol->value.integer.value[i] ? 0 : ucontrol 581 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 586 sound/pci/ice1712/phase.c ucontrol->value.integer.value[0] = ucontrol 588 sound/pci/ice1712/phase.c ucontrol->value.integer.value[1] = ucontrol 594 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 603 sound/pci/ice1712/phase.c if (ucontrol->value.integer.value[i] != val) { ucontrol 607 sound/pci/ice1712/phase.c ucontrol->value.integer.value[i] ? 0 : ucontrol 636 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 644 sound/pci/ice1712/phase.c ucontrol->value.integer.value[0] = val; ucontrol 650 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 656 sound/pci/ice1712/phase.c nvol = ucontrol->value.integer.value[0]; ucontrol 678 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 681 sound/pci/ice1712/phase.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL2) & 0xf) == ucontrol 687 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 693 sound/pci/ice1712/phase.c if (ucontrol->value.integer.value[0]) ucontrol 716 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 719 sound/pci/ice1712/phase.c ucontrol->value.enumerated.item[0] = (wm_get(ice, WM_MASTER) & 0x8) == ucontrol 725 sound/pci/ice1712/phase.c struct snd_ctl_elem_value *ucontrol) ucontrol 733 sound/pci/ice1712/phase.c if (ucontrol->value.enumerated.item[0]) ucontrol 109 sound/pci/ice1712/pontis.c static int wm_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 119 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[i] = val; ucontrol 125 sound/pci/ice1712/pontis.c static int wm_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 133 sound/pci/ice1712/pontis.c nval = ucontrol->value.integer.value[i]; ucontrol 164 sound/pci/ice1712/pontis.c static int wm_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 174 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[i] = val; ucontrol 180 sound/pci/ice1712/pontis.c static int wm_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 188 sound/pci/ice1712/pontis.c nvol = ucontrol->value.integer.value[i]; ucontrol 206 sound/pci/ice1712/pontis.c static int wm_adc_mux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 212 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; ucontrol 217 sound/pci/ice1712/pontis.c static int wm_adc_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 226 sound/pci/ice1712/pontis.c if (ucontrol->value.integer.value[0]) ucontrol 243 sound/pci/ice1712/pontis.c static int wm_bypass_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 248 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_OUT_MUX) & 0x04) ? 1 : 0; ucontrol 253 sound/pci/ice1712/pontis.c static int wm_bypass_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 261 sound/pci/ice1712/pontis.c if (ucontrol->value.integer.value[0]) ucontrol 278 sound/pci/ice1712/pontis.c static int wm_chswap_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 283 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[0] = (wm_get(ice, WM_DAC_CTRL1) & 0xf0) != 0x90; ucontrol 288 sound/pci/ice1712/pontis.c static int wm_chswap_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 297 sound/pci/ice1712/pontis.c if (ucontrol->value.integer.value[0]) ucontrol 409 sound/pci/ice1712/pontis.c static int cs_source_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 414 sound/pci/ice1712/pontis.c ucontrol->value.enumerated.item[0] = ice->gpio.saved[0]; ucontrol 419 sound/pci/ice1712/pontis.c static int cs_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 426 sound/pci/ice1712/pontis.c if (ucontrol->value.enumerated.item[0] != ice->gpio.saved[0]) { ucontrol 427 sound/pci/ice1712/pontis.c ice->gpio.saved[0] = ucontrol->value.enumerated.item[0] & 3; ucontrol 449 sound/pci/ice1712/pontis.c static int pontis_gpio_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 454 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[0] = (~ice->gpio.write_mask & 0xffff) | 0x00f0; ucontrol 459 sound/pci/ice1712/pontis.c static int pontis_gpio_mask_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 466 sound/pci/ice1712/pontis.c val = (~ucontrol->value.integer.value[0] & 0xffff) | 0x00f0; ucontrol 473 sound/pci/ice1712/pontis.c static int pontis_gpio_dir_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 478 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[0] = ice->gpio.direction & 0xff0f; ucontrol 483 sound/pci/ice1712/pontis.c static int pontis_gpio_dir_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 490 sound/pci/ice1712/pontis.c val = ucontrol->value.integer.value[0] & 0xff0f; ucontrol 497 sound/pci/ice1712/pontis.c static int pontis_gpio_data_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 503 sound/pci/ice1712/pontis.c ucontrol->value.integer.value[0] = snd_ice1712_gpio_read(ice) & 0xffff; ucontrol 508 sound/pci/ice1712/pontis.c static int pontis_gpio_data_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 517 sound/pci/ice1712/pontis.c nval = ucontrol->value.integer.value[0] & 0xffff; ucontrol 94 sound/pci/ice1712/prodigy192.c static int stac9460_dac_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 103 sound/pci/ice1712/prodigy192.c idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; ucontrol 105 sound/pci/ice1712/prodigy192.c ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; ucontrol 109 sound/pci/ice1712/prodigy192.c static int stac9460_dac_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 118 sound/pci/ice1712/prodigy192.c idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; ucontrol 125 sound/pci/ice1712/prodigy192.c change = stac9460_dac_mute(ice, idx, ucontrol->value.integer.value[0]); ucontrol 142 sound/pci/ice1712/prodigy192.c static int stac9460_dac_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 151 sound/pci/ice1712/prodigy192.c idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; ucontrol 153 sound/pci/ice1712/prodigy192.c ucontrol->value.integer.value[0] = 0x7f - vol; ucontrol 158 sound/pci/ice1712/prodigy192.c static int stac9460_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 168 sound/pci/ice1712/prodigy192.c idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + STAC946X_LF_VOLUME; ucontrol 169 sound/pci/ice1712/prodigy192.c nvol = ucontrol->value.integer.value[0]; ucontrol 189 sound/pci/ice1712/prodigy192.c static int stac9460_adc_mute_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 197 sound/pci/ice1712/prodigy192.c ucontrol->value.integer.value[i] = ~val>>7 & 0x1; ucontrol 203 sound/pci/ice1712/prodigy192.c static int stac9460_adc_mute_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 213 sound/pci/ice1712/prodigy192.c new = (~ucontrol->value.integer.value[i]<<7&0x80) | (old&~0x80); ucontrol 234 sound/pci/ice1712/prodigy192.c static int stac9460_adc_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 243 sound/pci/ice1712/prodigy192.c ucontrol->value.integer.value[i] = 0x0f - vol; ucontrol 249 sound/pci/ice1712/prodigy192.c static int stac9460_adc_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 258 sound/pci/ice1712/prodigy192.c nvol = ucontrol->value.integer.value[i] & 0x0f; ucontrol 278 sound/pci/ice1712/prodigy192.c struct snd_ctl_elem_value *ucontrol) ucontrol 284 sound/pci/ice1712/prodigy192.c ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1; ucontrol 289 sound/pci/ice1712/prodigy192.c struct snd_ctl_elem_value *ucontrol) ucontrol 295 sound/pci/ice1712/prodigy192.c new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); ucontrol 549 sound/pci/ice1712/prodigy192.c struct snd_ctl_elem_value *ucontrol) ucontrol 558 sound/pci/ice1712/prodigy192.c ucontrol->value.enumerated.item[0] = (val & AK4114_IPS0) ? 1 : 0; ucontrol 563 sound/pci/ice1712/prodigy192.c struct snd_ctl_elem_value *ucontrol) ucontrol 571 sound/pci/ice1712/prodigy192.c itemvalue = (ucontrol->value.enumerated.item[0]) ? 0xff : 0x00; ucontrol 252 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 259 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[i] = spec->vol[i]; ucontrol 264 sound/pci/ice1712/prodigy_hifi.c static int ak4396_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 273 sound/pci/ice1712/prodigy_hifi.c if (ucontrol->value.integer.value[i] != spec->vol[i]) { ucontrol 274 sound/pci/ice1712/prodigy_hifi.c spec->vol[i] = ucontrol->value.integer.value[i]; ucontrol 361 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 368 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[i] = ucontrol 373 sound/pci/ice1712/prodigy_hifi.c static int wm_dac_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 381 sound/pci/ice1712/prodigy_hifi.c if (ucontrol->value.integer.value[i] != spec->vol[2 + i]) { ucontrol 384 sound/pci/ice1712/prodigy_hifi.c spec->vol[2 + i] |= ucontrol->value.integer.value[i]; ucontrol 409 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 418 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[i] = spec->vol[ofs + i]; ucontrol 422 sound/pci/ice1712/prodigy_hifi.c static int wm8766_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 433 sound/pci/ice1712/prodigy_hifi.c if (ucontrol->value.integer.value[i] != spec->vol[ofs + i]) { ucontrol 436 sound/pci/ice1712/prodigy_hifi.c spec->vol[ofs + i] |= ucontrol->value.integer.value[i]; ucontrol 460 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 466 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[i] = spec->master[i]; ucontrol 471 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 479 sound/pci/ice1712/prodigy_hifi.c if (ucontrol->value.integer.value[ch] != spec->master[ch]) { ucontrol 480 sound/pci/ice1712/prodigy_hifi.c spec->master[ch] = ucontrol->value.integer.value[ch]; ucontrol 534 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 539 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.enumerated.item[0] = wm_get(ice, WM_ADC_MUX) & 0x1f; ucontrol 545 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 553 sound/pci/ice1712/prodigy_hifi.c nval = (oval & 0xe0) | ucontrol->value.enumerated.item[0]; ucontrol 583 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 593 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[i] = val; ucontrol 600 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 608 sound/pci/ice1712/prodigy_hifi.c nvol = ucontrol->value.integer.value[i]; ucontrol 627 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 633 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[0] = ucontrol 640 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 649 sound/pci/ice1712/prodigy_hifi.c if (ucontrol->value.integer.value[0]) ucontrol 667 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 672 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[0] = ucontrol 679 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 687 sound/pci/ice1712/prodigy_hifi.c if (ucontrol->value.integer.value[0]) ucontrol 705 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 710 sound/pci/ice1712/prodigy_hifi.c ucontrol->value.integer.value[0] = ucontrol 717 sound/pci/ice1712/prodigy_hifi.c struct snd_ctl_elem_value *ucontrol) ucontrol 726 sound/pci/ice1712/prodigy_hifi.c if (ucontrol->value.integer.value[0]) ucontrol 262 sound/pci/ice1712/psc724.c struct snd_ctl_elem_value *ucontrol) ucontrol 267 sound/pci/ice1712/psc724.c ucontrol->value.integer.value[0] = psc724_cont[n].get(ice); ucontrol 273 sound/pci/ice1712/psc724.c struct snd_ctl_elem_value *ucontrol) ucontrol 278 sound/pci/ice1712/psc724.c psc724_cont[n].set(ice, ucontrol->value.integer.value[0]); ucontrol 494 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 499 sound/pci/ice1712/quartet.c ucontrol->value.integer.value[0] = (val) ? 0 : 1; ucontrol 504 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 509 sound/pci/ice1712/quartet.c if (ucontrol->value.integer.value[0]) { ucontrol 540 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 560 sound/pci/ice1712/quartet.c ucontrol->value.integer.value[0] = result; ucontrol 565 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 571 sound/pci/ice1712/quartet.c tmp = ucontrol->value.integer.value[0]; ucontrol 609 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 615 sound/pci/ice1712/quartet.c ucontrol->value.integer.value[0] = val ? 1 : 0; ucontrol 620 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 625 sound/pci/ice1712/quartet.c if (ucontrol->value.integer.value[0] /* phantom on requested */ ucontrol 634 sound/pci/ice1712/quartet.c } else if (!ucontrol->value.integer.value[0] && (old & SCR_PHP_V)) { ucontrol 683 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 688 sound/pci/ice1712/quartet.c ucontrol->value.integer.value[0] = ucontrol 694 sound/pci/ice1712/quartet.c struct snd_ctl_elem_value *ucontrol) ucontrol 701 sound/pci/ice1712/quartet.c if (ucontrol->value.integer.value[0]) ucontrol 206 sound/pci/ice1712/wm8766.c struct snd_ctl_elem_value *ucontrol) ucontrol 229 sound/pci/ice1712/wm8766.c ucontrol->value.integer.value[0] = val1; ucontrol 231 sound/pci/ice1712/wm8766.c ucontrol->value.integer.value[1] = val2; ucontrol 237 sound/pci/ice1712/wm8766.c struct snd_ctl_elem_value *ucontrol) ucontrol 244 sound/pci/ice1712/wm8766.c regval1 = ucontrol->value.integer.value[0]; ucontrol 245 sound/pci/ice1712/wm8766.c regval2 = ucontrol->value.integer.value[1]; ucontrol 480 sound/pci/ice1712/wm8776.c struct snd_ctl_elem_value *ucontrol) ucontrol 503 sound/pci/ice1712/wm8776.c ucontrol->value.integer.value[0] = val1; ucontrol 505 sound/pci/ice1712/wm8776.c ucontrol->value.integer.value[1] = val2; ucontrol 511 sound/pci/ice1712/wm8776.c struct snd_ctl_elem_value *ucontrol) ucontrol 518 sound/pci/ice1712/wm8776.c regval1 = ucontrol->value.integer.value[0]; ucontrol 519 sound/pci/ice1712/wm8776.c regval2 = ucontrol->value.integer.value[1]; ucontrol 114 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 127 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 134 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[0] = (~val >> 7) & 0x1; ucontrol 141 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 151 sound/pci/ice1712/wtm.c new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | ucontrol 159 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 165 sound/pci/ice1712/wtm.c new = (~ucontrol->value.integer.value[0] << 7 & 0x80) | ucontrol 192 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 202 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 209 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[0] = 0x7f - vol; ucontrol 214 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 223 sound/pci/ice1712/wtm.c nvol = ucontrol->value.integer.value[0] & 0x7f; ucontrol 232 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 234 sound/pci/ice1712/wtm.c nvol = ucontrol->value.integer.value[0] & 0x7f; ucontrol 259 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 265 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 269 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[i] = ~val>>7 & 0x1; ucontrol 274 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[i] = ~val>>7 & 0x1; ucontrol 281 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 288 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 293 sound/pci/ice1712/wtm.c new = (~ucontrol->value.integer.value[i]<<7&0x80) | ucontrol 303 sound/pci/ice1712/wtm.c new = (~ucontrol->value.integer.value[i]<<7&0x80) | ucontrol 327 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 333 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 338 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[i] = 0x0f - vol; ucontrol 344 sound/pci/ice1712/wtm.c ucontrol->value.integer.value[i] = 0x0f - vol; ucontrol 351 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 358 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 362 sound/pci/ice1712/wtm.c nvol = ucontrol->value.integer.value[i] & 0x0f; ucontrol 372 sound/pci/ice1712/wtm.c nvol = ucontrol->value.integer.value[i] & 0x0f; ucontrol 396 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 402 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 407 sound/pci/ice1712/wtm.c ucontrol->value.enumerated.item[0] = (val >> 7) & 0x1; ucontrol 412 sound/pci/ice1712/wtm.c struct snd_ctl_elem_value *ucontrol) ucontrol 418 sound/pci/ice1712/wtm.c id = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); ucontrol 423 sound/pci/ice1712/wtm.c new = (ucontrol->value.enumerated.item[0] << 7 & 0x80) | (old & ~0x80); ucontrol 1966 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *ucontrol) ucontrol 1972 sound/pci/korg1212/korg1212.c ucontrol->value.enumerated.item[0] = korg1212->clkSource; ucontrol 1979 sound/pci/korg1212/korg1212.c struct snd_ctl_elem_value *ucontrol) ucontrol 1985 sound/pci/korg1212/korg1212.c val = ucontrol->value.enumerated.item[0] % 3; ucontrol 513 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 520 sound/pci/lola/lola_mixer.c ucontrol->value.integer.value[i] = ucontrol 526 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 534 sound/pci/lola/lola_mixer.c ucontrol->value.integer.value[i], ucontrol 610 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 616 sound/pci/lola/lola_mixer.c ucontrol->value.integer.value[i] = ucontrol 622 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 630 sound/pci/lola/lola_mixer.c if (ucontrol->value.integer.value[i]) ucontrol 672 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 689 sound/pci/lola/lola_mixer.c ucontrol->value.integer.value[i] = val; ucontrol 695 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 704 sound/pci/lola/lola_mixer.c unsigned short val = ucontrol->value.integer.value[i]; ucontrol 753 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 761 sound/pci/lola/lola_mixer.c dst = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + dst_ofs; ucontrol 772 sound/pci/lola/lola_mixer.c ucontrol->value.integer.value[i] = val; ucontrol 778 sound/pci/lola/lola_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 791 sound/pci/lola/lola_mixer.c unsigned short val = ucontrol->value.integer.value[i]; ucontrol 798 sound/pci/lola/lola_mixer.c dst = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id) + dst_ofs; ucontrol 869 sound/pci/lx6464es/lx6464es.c struct snd_ctl_elem_value *ucontrol) ucontrol 872 sound/pci/lx6464es/lx6464es.c ucontrol->value.integer.value[0] = chip->playback_mute; ucontrol 877 sound/pci/lx6464es/lx6464es.c struct snd_ctl_elem_value *ucontrol) ucontrol 883 sound/pci/lx6464es/lx6464es.c if (current_value != ucontrol->value.integer.value[0]) { ucontrol 344 sound/pci/mixart/mixart_mixer.c static int mixart_analog_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 349 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; ucontrol 350 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; ucontrol 352 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[0] = chip->analog_capture_volume[0]; ucontrol 353 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[1] = chip->analog_capture_volume[1]; ucontrol 359 sound/pci/mixart/mixart_mixer.c static int mixart_analog_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 368 sound/pci/mixart/mixart_mixer.c int new_volume = ucontrol->value.integer.value[i]; ucontrol 408 sound/pci/mixart/mixart_mixer.c static int mixart_audio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 413 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[0] = chip->analog_playback_active[0]; ucontrol 414 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[1] = chip->analog_playback_active[1]; ucontrol 419 sound/pci/mixart/mixart_mixer.c static int mixart_audio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 426 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[i]) { ucontrol 428 sound/pci/mixart/mixart_mixer.c !!ucontrol->value.integer.value[i]; ucontrol 821 sound/pci/mixart/mixart_mixer.c static int mixart_pcm_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 824 sound/pci/mixart/mixart_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 837 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[0] = stored_volume[0]; ucontrol 838 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[1] = stored_volume[1]; ucontrol 843 sound/pci/mixart/mixart_mixer.c static int mixart_pcm_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 846 sound/pci/mixart/mixart_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 866 sound/pci/mixart/mixart_mixer.c int vol = ucontrol->value.integer.value[i]; ucontrol 901 sound/pci/mixart/mixart_mixer.c static int mixart_pcm_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 904 sound/pci/mixart/mixart_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 909 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[0] = chip->digital_playback_active[idx][0]; ucontrol 910 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[1] = chip->digital_playback_active[idx][1]; ucontrol 915 sound/pci/mixart/mixart_mixer.c static int mixart_pcm_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 920 sound/pci/mixart/mixart_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 929 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[i]) { ucontrol 931 sound/pci/mixart/mixart_mixer.c !!ucontrol->value.integer.value[i]; ucontrol 985 sound/pci/mixart/mixart_mixer.c static int mixart_monitor_vol_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 989 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[0] = chip->monitoring_volume[0]; ucontrol 990 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[1] = chip->monitoring_volume[1]; ucontrol 995 sound/pci/mixart/mixart_mixer.c static int mixart_monitor_vol_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1003 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[i]) { ucontrol 1005 sound/pci/mixart/mixart_mixer.c !!ucontrol->value.integer.value[i]; ucontrol 1029 sound/pci/mixart/mixart_mixer.c static int mixart_monitor_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1033 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[0] = chip->monitoring_active[0]; ucontrol 1034 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[1] = chip->monitoring_active[1]; ucontrol 1039 sound/pci/mixart/mixart_mixer.c static int mixart_monitor_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1047 sound/pci/mixart/mixart_mixer.c ucontrol->value.integer.value[i]) { ucontrol 1049 sound/pci/mixart/mixart_mixer.c !!ucontrol->value.integer.value[i]; ucontrol 710 sound/pci/pcxhr/pcxhr_mix22.c struct snd_ctl_elem_value *ucontrol) ucontrol 714 sound/pci/pcxhr/pcxhr_mix22.c ucontrol->value.integer.value[0] = chip->mic_volume; ucontrol 720 sound/pci/pcxhr/pcxhr_mix22.c struct snd_ctl_elem_value *ucontrol) ucontrol 725 sound/pci/pcxhr/pcxhr_mix22.c if (chip->mic_volume != ucontrol->value.integer.value[0]) { ucontrol 727 sound/pci/pcxhr/pcxhr_mix22.c chip->mic_volume = ucontrol->value.integer.value[0]; ucontrol 760 sound/pci/pcxhr/pcxhr_mix22.c struct snd_ctl_elem_value *ucontrol) ucontrol 764 sound/pci/pcxhr/pcxhr_mix22.c ucontrol->value.integer.value[0] = chip->mic_boost; ucontrol 770 sound/pci/pcxhr/pcxhr_mix22.c struct snd_ctl_elem_value *ucontrol) ucontrol 775 sound/pci/pcxhr/pcxhr_mix22.c if (chip->mic_boost != ucontrol->value.integer.value[0]) { ucontrol 777 sound/pci/pcxhr/pcxhr_mix22.c chip->mic_boost = ucontrol->value.integer.value[0]; ucontrol 800 sound/pci/pcxhr/pcxhr_mix22.c struct snd_ctl_elem_value *ucontrol) ucontrol 804 sound/pci/pcxhr/pcxhr_mix22.c ucontrol->value.integer.value[0] = chip->phantom_power; ucontrol 810 sound/pci/pcxhr/pcxhr_mix22.c struct snd_ctl_elem_value *ucontrol) ucontrol 816 sound/pci/pcxhr/pcxhr_mix22.c power = !!ucontrol->value.integer.value[0]; ucontrol 110 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 115 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[0] = chip->analog_playback_volume[0]; ucontrol 116 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[1] = chip->analog_playback_volume[1]; ucontrol 118 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[0] = chip->analog_capture_volume[0]; ucontrol 119 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[1] = chip->analog_capture_volume[1]; ucontrol 126 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 135 sound/pci/pcxhr/pcxhr_mixer.c int new_volume = ucontrol->value.integer.value[i]; ucontrol 191 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 196 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[0] = chip->analog_playback_active[0]; ucontrol 197 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[1] = chip->analog_playback_active[1]; ucontrol 203 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 210 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[i]) { ucontrol 212 sound/pci/pcxhr/pcxhr_mixer.c !!ucontrol->value.integer.value[i]; ucontrol 348 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 351 sound/pci/pcxhr/pcxhr_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 360 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[0] = stored_volume[0]; ucontrol 361 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[1] = stored_volume[1]; ucontrol 367 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 370 sound/pci/pcxhr/pcxhr_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 382 sound/pci/pcxhr/pcxhr_mixer.c int vol = ucontrol->value.integer.value[i]; ucontrol 414 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 417 sound/pci/pcxhr/pcxhr_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 420 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[0] = chip->digital_playback_active[idx][0]; ucontrol 421 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[1] = chip->digital_playback_active[idx][1]; ucontrol 427 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 431 sound/pci/pcxhr/pcxhr_mixer.c int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); /* index */ ucontrol 438 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[i]) { ucontrol 440 sound/pci/pcxhr/pcxhr_mixer.c !!ucontrol->value.integer.value[i]; ucontrol 465 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 469 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[0] = chip->monitoring_volume[0]; ucontrol 470 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[1] = chip->monitoring_volume[1]; ucontrol 476 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 485 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[i]) { ucontrol 487 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[i]; ucontrol 515 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 519 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[0] = chip->monitoring_active[0]; ucontrol 520 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[1] = chip->monitoring_active[1]; ucontrol 526 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 535 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[i]) { ucontrol 537 sound/pci/pcxhr/pcxhr_mixer.c !!ucontrol->value.integer.value[i]; ucontrol 654 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 657 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.enumerated.item[0] = chip->audio_capture_source; ucontrol 662 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 672 sound/pci/pcxhr/pcxhr_mixer.c if (ucontrol->value.enumerated.item[0] >= i) ucontrol 675 sound/pci/pcxhr/pcxhr_mixer.c if (chip->audio_capture_source != ucontrol->value.enumerated.item[0]) { ucontrol 676 sound/pci/pcxhr/pcxhr_mixer.c chip->audio_capture_source = ucontrol->value.enumerated.item[0]; ucontrol 743 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 746 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.enumerated.item[0] = mgr->use_clock_type; ucontrol 751 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 761 sound/pci/pcxhr/pcxhr_mixer.c if (ucontrol->value.enumerated.item[0] >= clock_items) ucontrol 764 sound/pci/pcxhr/pcxhr_mixer.c if (mgr->use_clock_type != ucontrol->value.enumerated.item[0]) { ucontrol 766 sound/pci/pcxhr/pcxhr_mixer.c mgr->use_clock_type = ucontrol->value.enumerated.item[0]; ucontrol 812 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 826 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.integer.value[i] = rate; ucontrol 915 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 935 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.iec958.status[i] = aes_bits; ucontrol 942 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 946 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.iec958.status[i] = 0xff; ucontrol 985 sound/pci/pcxhr/pcxhr_mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 993 sound/pci/pcxhr/pcxhr_mixer.c if (ucontrol->value.iec958.status[i] != chip->aes_bits[i]) { ucontrol 996 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.iec958.status[i]); ucontrol 999 sound/pci/pcxhr/pcxhr_mixer.c ucontrol->value.iec958.status[i]); ucontrol 1568 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1573 sound/pci/rme32.c ucontrol->value.integer.value[0] = ucontrol 1580 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1586 sound/pci/rme32.c val = ucontrol->value.integer.value[0] ? 0 : RME32_WCR_SEL; ucontrol 1590 sound/pci/rme32.c if (ucontrol->value.integer.value[0]) ucontrol 1626 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1632 sound/pci/rme32.c ucontrol->value.enumerated.item[0] = snd_rme32_getinputtype(rme32); ucontrol 1646 sound/pci/rme32.c if (ucontrol->value.enumerated.item[0] >= items) { ucontrol 1647 sound/pci/rme32.c ucontrol->value.enumerated.item[0] = items - 1; ucontrol 1655 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1673 sound/pci/rme32.c val = ucontrol->value.enumerated.item[0] % items; ucontrol 1695 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1700 sound/pci/rme32.c ucontrol->value.enumerated.item[0] = snd_rme32_getclockmode(rme32); ucontrol 1706 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1712 sound/pci/rme32.c val = ucontrol->value.enumerated.item[0] % 3; ucontrol 1749 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1753 sound/pci/rme32.c snd_rme32_convert_to_aes(&ucontrol->value.iec958, ucontrol 1759 sound/pci/rme32.c struct snd_ctl_elem_value *ucontrol) ucontrol 1765 sound/pci/rme32.c val = snd_rme32_convert_from_aes(&ucontrol->value.iec958); ucontrol 1783 sound/pci/rme32.c ucontrol) ucontrol 1787 sound/pci/rme32.c snd_rme32_convert_to_aes(&ucontrol->value.iec958, ucontrol 1794 sound/pci/rme32.c ucontrol) ucontrol 1800 sound/pci/rme32.c val = snd_rme32_convert_from_aes(&ucontrol->value.iec958); ucontrol 1821 sound/pci/rme32.c ucontrol) ucontrol 1823 sound/pci/rme32.c ucontrol->value.iec958.status[0] = kcontrol->private_value; ucontrol 1867 sound/pci/rme96.c snd_rme96_get_loopback_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1872 sound/pci/rme96.c ucontrol->value.integer.value[0] = rme96->wcreg & RME96_WCR_SEL ? 0 : 1; ucontrol 1877 sound/pci/rme96.c snd_rme96_put_loopback_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1883 sound/pci/rme96.c val = ucontrol->value.integer.value[0] ? 0 : RME96_WCR_SEL; ucontrol 1930 sound/pci/rme96.c snd_rme96_get_inputtype_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1936 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getinputtype(rme96); ucontrol 1949 sound/pci/rme96.c if (ucontrol->value.enumerated.item[0] == RME96_INPUT_ANALOG) { ucontrol 1950 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = RME96_INPUT_XLR; ucontrol 1961 sound/pci/rme96.c if (ucontrol->value.enumerated.item[0] >= items) { ucontrol 1962 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = items - 1; ucontrol 1969 sound/pci/rme96.c snd_rme96_put_inputtype_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1994 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % items; ucontrol 2018 sound/pci/rme96.c snd_rme96_get_clockmode_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2023 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getclockmode(rme96); ucontrol 2028 sound/pci/rme96.c snd_rme96_put_clockmode_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2034 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 3; ucontrol 2052 sound/pci/rme96.c snd_rme96_get_attenuation_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2057 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getattenuation(rme96); ucontrol 2062 sound/pci/rme96.c snd_rme96_put_attenuation_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2068 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 4; ucontrol 2085 sound/pci/rme96.c snd_rme96_get_montracks_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2090 sound/pci/rme96.c ucontrol->value.enumerated.item[0] = snd_rme96_getmontracks(rme96); ucontrol 2095 sound/pci/rme96.c snd_rme96_put_montracks_control(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2101 sound/pci/rme96.c val = ucontrol->value.enumerated.item[0] % 4; ucontrol 2138 sound/pci/rme96.c static int snd_rme96_control_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2142 sound/pci/rme96.c snd_rme96_convert_to_aes(&ucontrol->value.iec958, rme96->wcreg_spdif); ucontrol 2146 sound/pci/rme96.c static int snd_rme96_control_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2152 sound/pci/rme96.c val = snd_rme96_convert_from_aes(&ucontrol->value.iec958); ucontrol 2167 sound/pci/rme96.c static int snd_rme96_control_spdif_stream_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2171 sound/pci/rme96.c snd_rme96_convert_to_aes(&ucontrol->value.iec958, rme96->wcreg_spdif_stream); ucontrol 2175 sound/pci/rme96.c static int snd_rme96_control_spdif_stream_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2181 sound/pci/rme96.c val = snd_rme96_convert_from_aes(&ucontrol->value.iec958); ucontrol 2199 sound/pci/rme96.c static int snd_rme96_control_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2201 sound/pci/rme96.c ucontrol->value.iec958.status[0] = kcontrol->private_value; ucontrol 1573 sound/pci/rme9652/hdsp.c static int snd_hdsp_control_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1577 sound/pci/rme9652/hdsp.c snd_hdsp_convert_to_aes(&ucontrol->value.iec958, hdsp->creg_spdif); ucontrol 1581 sound/pci/rme9652/hdsp.c static int snd_hdsp_control_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1587 sound/pci/rme9652/hdsp.c val = snd_hdsp_convert_from_aes(&ucontrol->value.iec958); ucontrol 1602 sound/pci/rme9652/hdsp.c static int snd_hdsp_control_spdif_stream_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1606 sound/pci/rme9652/hdsp.c snd_hdsp_convert_to_aes(&ucontrol->value.iec958, hdsp->creg_spdif_stream); ucontrol 1610 sound/pci/rme9652/hdsp.c static int snd_hdsp_control_spdif_stream_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1616 sound/pci/rme9652/hdsp.c val = snd_hdsp_convert_from_aes(&ucontrol->value.iec958); ucontrol 1633 sound/pci/rme9652/hdsp.c static int snd_hdsp_control_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1635 sound/pci/rme9652/hdsp.c ucontrol->value.iec958.status[0] = kcontrol->private_value; ucontrol 1671 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1675 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_spdif_in(hdsp); ucontrol 1679 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1687 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0] % ((hdsp->io_type == H9632) ? 4 : 3); ucontrol 1724 sound/pci/rme9652/hdsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 1730 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[0] = hdsp_toggle_setting(hdsp, regmask); ucontrol 1736 sound/pci/rme9652/hdsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 1745 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; ucontrol 1775 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_spdif_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1781 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1784 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 1; ucontrol 1787 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 2; ucontrol 1790 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 3; ucontrol 1793 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 4; ucontrol 1796 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 5; ucontrol 1799 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 7; ucontrol 1802 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 8; ucontrol 1805 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 9; ucontrol 1808 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 6; ucontrol 1829 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_system_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1833 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp->system_sample_rate; ucontrol 1858 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_autosync_sample_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1864 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1867 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 1; ucontrol 1870 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 2; ucontrol 1873 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 3; ucontrol 1876 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 4; ucontrol 1879 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 5; ucontrol 1882 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 7; ucontrol 1885 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 8; ucontrol 1888 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 9; ucontrol 1891 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = 6; ucontrol 1921 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_system_clock_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1925 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_system_clock_mode(hdsp); ucontrol 2031 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2035 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_clock_source(hdsp); ucontrol 2039 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_clock_source(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2047 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; ucontrol 2067 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_clock_source_lock(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2071 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[0] = hdsp->clock_source_locked; ucontrol 2075 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_clock_source_lock(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2080 sound/pci/rme9652/hdsp.c change = (int)ucontrol->value.integer.value[0] != hdsp->clock_source_locked; ucontrol 2082 sound/pci/rme9652/hdsp.c hdsp->clock_source_locked = !!ucontrol->value.integer.value[0]; ucontrol 2137 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2141 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_da_gain(hdsp); ucontrol 2145 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_da_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2153 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; ucontrol 2216 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2220 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_ad_gain(hdsp); ucontrol 2224 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_ad_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2232 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; ucontrol 2295 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2299 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_phone_gain(hdsp); ucontrol 2303 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_phone_gain(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2311 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; ucontrol 2412 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2416 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_pref_sync_ref(hdsp); ucontrol 2420 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_pref_sync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2444 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0] % max; ucontrol 2496 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_autosync_ref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2500 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_autosync_ref(hdsp); ucontrol 2524 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_precise_pointer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2529 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[0] = hdsp->precise_ptr; ucontrol 2534 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_precise_pointer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2542 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; ucontrol 2570 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_use_midi_tasklet(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2575 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[0] = hdsp->use_midi_tasklet; ucontrol 2580 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_use_midi_tasklet(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2588 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; ucontrol 2618 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2625 sound/pci/rme9652/hdsp.c source = ucontrol->value.integer.value[0]; ucontrol 2626 sound/pci/rme9652/hdsp.c destination = ucontrol->value.integer.value[1]; ucontrol 2634 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[2] = hdsp_read_gain (hdsp, addr); ucontrol 2639 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_mixer(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2651 sound/pci/rme9652/hdsp.c source = ucontrol->value.integer.value[0]; ucontrol 2652 sound/pci/rme9652/hdsp.c destination = ucontrol->value.integer.value[1]; ucontrol 2659 sound/pci/rme9652/hdsp.c gain = ucontrol->value.integer.value[2]; ucontrol 2698 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_wc_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2702 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_wc_sync_check(hdsp); ucontrol 2729 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_spdif_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2733 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_spdif_sync_check(hdsp); ucontrol 2758 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_adatsync_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2762 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_adatsync_sync_check(hdsp); ucontrol 2786 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_adat_sync_check(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2791 sound/pci/rme9652/hdsp.c offset = ucontrol->id.index - 1; ucontrol 2810 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_adat_sync_check(hdsp, offset); ucontrol 2861 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2865 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[0] = hdsp_dds_offset(hdsp); ucontrol 2869 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_dds_offset(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2877 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0]; ucontrol 2978 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_rpm_input12(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 2982 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_rpm_input12(hdsp); ucontrol 3014 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_rpm_input12(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3022 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; ucontrol 3063 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_rpm_input34(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3067 sound/pci/rme9652/hdsp.c ucontrol->value.enumerated.item[0] = hdsp_rpm_input34(hdsp); ucontrol 3099 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_rpm_input34(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3107 sound/pci/rme9652/hdsp.c val = ucontrol->value.enumerated.item[0]; ucontrol 3129 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3133 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[0] = hdsp_rpm_bypass(hdsp); ucontrol 3149 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_rpm_bypass(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3157 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; ucontrol 3181 sound/pci/rme9652/hdsp.c static int snd_hdsp_get_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3185 sound/pci/rme9652/hdsp.c ucontrol->value.integer.value[0] = hdsp_rpm_disconnect(hdsp); ucontrol 3201 sound/pci/rme9652/hdsp.c static int snd_hdsp_put_rpm_disconnect(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 3209 sound/pci/rme9652/hdsp.c val = ucontrol->value.integer.value[0] & 1; ucontrol 2251 sound/pci/rme9652/hdspm.c ucontrol) ucontrol 2255 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = hdspm_get_system_sample_rate(hdspm); ucontrol 2261 sound/pci/rme9652/hdspm.c ucontrol) ucontrol 2264 sound/pci/rme9652/hdspm.c int rate = ucontrol->value.integer.value[0]; ucontrol 2268 sound/pci/rme9652/hdspm.c hdspm_set_dds_value(hdspm, ucontrol->value.integer.value[0]); ucontrol 2415 sound/pci/rme9652/hdspm.c ucontrol) ucontrol 2423 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2427 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2431 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2435 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2444 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2448 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2452 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2456 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2466 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2470 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2474 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2478 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2482 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2492 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ucontrol 2559 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 2563 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_system_clock_mode(hdspm); ucontrol 2568 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 2576 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0]; ucontrol 2651 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 2655 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_clock_source(hdspm); ucontrol 2660 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 2668 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0]; ucontrol 2972 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 2978 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = psf; ucontrol 2986 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 2994 sound/pci/rme9652/hdspm.c val = ucontrol->value.enumerated.item[0]; ucontrol 3075 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3079 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_autosync_ref(hdspm); ucontrol 3103 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3125 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = ret; ucontrol 3181 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3185 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_tco_ltc_frames(hdspm); ucontrol 3236 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3242 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = hdspm_toggle_setting(hdspm, regmask); ucontrol 3248 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3257 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; ucontrol 3299 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3304 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_input_select(hdspm); ucontrol 3310 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3318 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; ucontrol 3361 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3366 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_ds_wire(hdspm); ucontrol 3372 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3380 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0] & 1; ucontrol 3434 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3439 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_qs_wire(hdspm); ucontrol 3445 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3453 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0]; ucontrol 3509 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3515 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_tristate(hdspm, regmask); ucontrol 3521 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3530 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0]; ucontrol 3588 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3593 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm_madi_speedmode(hdspm); ucontrol 3599 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3607 sound/pci/rme9652/hdspm.c val = ucontrol->value.integer.value[0]; ucontrol 3643 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3649 sound/pci/rme9652/hdspm.c source = ucontrol->value.integer.value[0]; ucontrol 3655 sound/pci/rme9652/hdspm.c destination = ucontrol->value.integer.value[1]; ucontrol 3663 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[2] = ucontrol 3667 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[2] = ucontrol 3676 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3687 sound/pci/rme9652/hdspm.c source = ucontrol->value.integer.value[0]; ucontrol 3688 sound/pci/rme9652/hdspm.c destination = ucontrol->value.integer.value[1]; ucontrol 3695 sound/pci/rme9652/hdspm.c gain = ucontrol->value.integer.value[2]; ucontrol 3747 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3752 sound/pci/rme9652/hdspm.c channel = ucontrol->id.index - 1; ucontrol 3758 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = ucontrol 3766 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3776 sound/pci/rme9652/hdspm.c channel = ucontrol->id.index - 1; ucontrol 3781 sound/pci/rme9652/hdspm.c gain = ucontrol->value.integer.value[0]*UNITY_GAIN/64; ucontrol 4012 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4098 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = val; ucontrol 4217 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4221 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->samplerate; ucontrol 4227 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4231 sound/pci/rme9652/hdspm.c if (hdspm->tco->samplerate != ucontrol->value.enumerated.item[0]) { ucontrol 4232 sound/pci/rme9652/hdspm.c hdspm->tco->samplerate = ucontrol->value.enumerated.item[0]; ucontrol 4264 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4268 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->pull; ucontrol 4274 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4278 sound/pci/rme9652/hdspm.c if (hdspm->tco->pull != ucontrol->value.enumerated.item[0]) { ucontrol 4279 sound/pci/rme9652/hdspm.c hdspm->tco->pull = ucontrol->value.enumerated.item[0]; ucontrol 4309 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4313 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->wordclock; ucontrol 4319 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4323 sound/pci/rme9652/hdspm.c if (hdspm->tco->wordclock != ucontrol->value.enumerated.item[0]) { ucontrol 4324 sound/pci/rme9652/hdspm.c hdspm->tco->wordclock = ucontrol->value.enumerated.item[0]; ucontrol 4356 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4360 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->framerate; ucontrol 4366 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4370 sound/pci/rme9652/hdspm.c if (hdspm->tco->framerate != ucontrol->value.enumerated.item[0]) { ucontrol 4371 sound/pci/rme9652/hdspm.c hdspm->tco->framerate = ucontrol->value.enumerated.item[0]; ucontrol 4402 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4406 sound/pci/rme9652/hdspm.c ucontrol->value.enumerated.item[0] = hdspm->tco->input; ucontrol 4412 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4416 sound/pci/rme9652/hdspm.c if (hdspm->tco->input != ucontrol->value.enumerated.item[0]) { ucontrol 4417 sound/pci/rme9652/hdspm.c hdspm->tco->input = ucontrol->value.enumerated.item[0]; ucontrol 4452 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4456 sound/pci/rme9652/hdspm.c ucontrol->value.integer.value[0] = hdspm->tco->term; ucontrol 4463 sound/pci/rme9652/hdspm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4467 sound/pci/rme9652/hdspm.c if (hdspm->tco->term != ucontrol->value.integer.value[0]) { ucontrol 4468 sound/pci/rme9652/hdspm.c hdspm->tco->term = ucontrol->value.integer.value[0]; ucontrol 804 sound/pci/rme9652/rme9652.c static int snd_rme9652_control_spdif_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 808 sound/pci/rme9652/rme9652.c snd_rme9652_convert_to_aes(&ucontrol->value.iec958, rme9652->creg_spdif); ucontrol 812 sound/pci/rme9652/rme9652.c static int snd_rme9652_control_spdif_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 818 sound/pci/rme9652/rme9652.c val = snd_rme9652_convert_from_aes(&ucontrol->value.iec958); ucontrol 833 sound/pci/rme9652/rme9652.c static int snd_rme9652_control_spdif_stream_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 837 sound/pci/rme9652/rme9652.c snd_rme9652_convert_to_aes(&ucontrol->value.iec958, rme9652->creg_spdif_stream); ucontrol 841 sound/pci/rme9652/rme9652.c static int snd_rme9652_control_spdif_stream_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 847 sound/pci/rme9652/rme9652.c val = snd_rme9652_convert_from_aes(&ucontrol->value.iec958); ucontrol 864 sound/pci/rme9652/rme9652.c static int snd_rme9652_control_spdif_mask_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 866 sound/pci/rme9652/rme9652.c ucontrol->value.iec958.status[0] = kcontrol->private_value; ucontrol 915 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_adat1_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 920 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_adat1_in(rme9652); ucontrol 925 sound/pci/rme9652/rme9652.c static int snd_rme9652_put_adat1_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 933 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 2; ucontrol 980 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 985 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_spdif_in(rme9652); ucontrol 990 sound/pci/rme9652/rme9652.c static int snd_rme9652_put_spdif_in(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 998 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 3; ucontrol 1042 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_spdif_out(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1047 sound/pci/rme9652/rme9652.c ucontrol->value.integer.value[0] = rme9652_spdif_out(rme9652); ucontrol 1052 sound/pci/rme9652/rme9652.c static int snd_rme9652_put_spdif_out(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1060 sound/pci/rme9652/rme9652.c val = ucontrol->value.integer.value[0] & 1; ucontrol 1125 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_sync_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1130 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_sync_mode(rme9652); ucontrol 1135 sound/pci/rme9652/rme9652.c static int snd_rme9652_put_sync_mode(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1141 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % 3; ucontrol 1215 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_sync_pref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1220 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = rme9652_sync_pref(rme9652); ucontrol 1225 sound/pci/rme9652/rme9652.c static int snd_rme9652_put_sync_pref(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1234 sound/pci/rme9652/rme9652.c val = ucontrol->value.enumerated.item[0] % max; ucontrol 1252 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_thru(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1259 sound/pci/rme9652/rme9652.c ucontrol->value.integer.value[k] = !!(thru_bits & (1 << k)); ucontrol 1264 sound/pci/rme9652/rme9652.c static int snd_rme9652_put_thru(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1275 sound/pci/rme9652/rme9652.c if (ucontrol->value.integer.value[chn]) ucontrol 1300 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_passthru(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1305 sound/pci/rme9652/rme9652.c ucontrol->value.integer.value[0] = rme9652->passthru; ucontrol 1310 sound/pci/rme9652/rme9652.c static int snd_rme9652_put_passthru(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1320 sound/pci/rme9652/rme9652.c val = ucontrol->value.integer.value[0] & 1; ucontrol 1322 sound/pci/rme9652/rme9652.c change = (ucontrol->value.integer.value[0] != rme9652->passthru); ucontrol 1346 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_spdif_rate(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1351 sound/pci/rme9652/rme9652.c ucontrol->value.integer.value[0] = rme9652_spdif_sample_rate(rme9652); ucontrol 1371 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_adat_sync(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1383 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] = (val & mask1) ? 1 : 0; ucontrol 1384 sound/pci/rme9652/rme9652.c ucontrol->value.enumerated.item[0] |= (val & mask2) ? 2 : 0; ucontrol 1396 sound/pci/rme9652/rme9652.c static int snd_rme9652_get_tc_valid(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1400 sound/pci/rme9652/rme9652.c ucontrol->value.integer.value[0] = ucontrol 910 sound/pci/sonicvibes.c static int snd_sonicvibes_get_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 915 sound/pci/sonicvibes.c ucontrol->value.enumerated.item[0] = ((snd_sonicvibes_in1(sonic, SV_IREG_LEFT_ADC) & SV_RECSRC_OUT) >> 5) - 1; ucontrol 916 sound/pci/sonicvibes.c ucontrol->value.enumerated.item[1] = ((snd_sonicvibes_in1(sonic, SV_IREG_RIGHT_ADC) & SV_RECSRC_OUT) >> 5) - 1; ucontrol 921 sound/pci/sonicvibes.c static int snd_sonicvibes_put_mux(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 927 sound/pci/sonicvibes.c if (ucontrol->value.enumerated.item[0] >= 7 || ucontrol 928 sound/pci/sonicvibes.c ucontrol->value.enumerated.item[1] >= 7) ucontrol 930 sound/pci/sonicvibes.c left = (ucontrol->value.enumerated.item[0] + 1) << 5; ucontrol 931 sound/pci/sonicvibes.c right = (ucontrol->value.enumerated.item[1] + 1) << 5; ucontrol 961 sound/pci/sonicvibes.c static int snd_sonicvibes_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 970 sound/pci/sonicvibes.c ucontrol->value.integer.value[0] = (snd_sonicvibes_in1(sonic, reg)>> shift) & mask; ucontrol 973 sound/pci/sonicvibes.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 977 sound/pci/sonicvibes.c static int snd_sonicvibes_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 987 sound/pci/sonicvibes.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 1017 sound/pci/sonicvibes.c static int snd_sonicvibes_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1028 sound/pci/sonicvibes.c ucontrol->value.integer.value[0] = (snd_sonicvibes_in1(sonic, left_reg) >> shift_left) & mask; ucontrol 1029 sound/pci/sonicvibes.c ucontrol->value.integer.value[1] = (snd_sonicvibes_in1(sonic, right_reg) >> shift_right) & mask; ucontrol 1032 sound/pci/sonicvibes.c ucontrol->value.integer.value[0] = mask - ucontrol->value.integer.value[0]; ucontrol 1033 sound/pci/sonicvibes.c ucontrol->value.integer.value[1] = mask - ucontrol->value.integer.value[1]; ucontrol 1038 sound/pci/sonicvibes.c static int snd_sonicvibes_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1050 sound/pci/sonicvibes.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 1051 sound/pci/sonicvibes.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 2302 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2309 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = val == kcontrol->private_value; ucontrol 2315 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2321 sound/pci/trident/trident_main.c val = ucontrol->value.integer.value[0] ? (unsigned char) kcontrol->private_value : 0x00; ucontrol 2370 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2375 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[0] = (trident->spdif_bits >> 0) & 0xff; ucontrol 2376 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[1] = (trident->spdif_bits >> 8) & 0xff; ucontrol 2377 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[2] = (trident->spdif_bits >> 16) & 0xff; ucontrol 2378 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[3] = (trident->spdif_bits >> 24) & 0xff; ucontrol 2384 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2390 sound/pci/trident/trident_main.c val = (ucontrol->value.iec958.status[0] << 0) | ucontrol 2391 sound/pci/trident/trident_main.c (ucontrol->value.iec958.status[1] << 8) | ucontrol 2392 sound/pci/trident/trident_main.c (ucontrol->value.iec958.status[2] << 16) | ucontrol 2393 sound/pci/trident/trident_main.c (ucontrol->value.iec958.status[3] << 24); ucontrol 2432 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2434 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 2435 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 2436 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 2437 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 2465 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2470 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[0] = (trident->spdif_pcm_bits >> 0) & 0xff; ucontrol 2471 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[1] = (trident->spdif_pcm_bits >> 8) & 0xff; ucontrol 2472 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[2] = (trident->spdif_pcm_bits >> 16) & 0xff; ucontrol 2473 sound/pci/trident/trident_main.c ucontrol->value.iec958.status[3] = (trident->spdif_pcm_bits >> 24) & 0xff; ucontrol 2479 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2485 sound/pci/trident/trident_main.c val = (ucontrol->value.iec958.status[0] << 0) | ucontrol 2486 sound/pci/trident/trident_main.c (ucontrol->value.iec958.status[1] << 8) | ucontrol 2487 sound/pci/trident/trident_main.c (ucontrol->value.iec958.status[2] << 16) | ucontrol 2488 sound/pci/trident/trident_main.c (ucontrol->value.iec958.status[3] << 24); ucontrol 2522 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2529 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = (val & (1 << kcontrol->private_value)) ? 1 : 0; ucontrol 2535 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2544 sound/pci/trident/trident_main.c if (ucontrol->value.integer.value[0]) ucontrol 2580 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2586 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 255 - ((val >> kcontrol->private_value) & 0xff); ucontrol 2587 sound/pci/trident/trident_main.c ucontrol->value.integer.value[1] = 255 - ((val >> (kcontrol->private_value + 8)) & 0xff); ucontrol 2594 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2603 sound/pci/trident/trident_main.c val |= ((255 - (ucontrol->value.integer.value[0] & 0xff)) | ucontrol 2604 sound/pci/trident/trident_main.c ((255 - (ucontrol->value.integer.value[1] & 0xff)) << 8)) << kcontrol->private_value; ucontrol 2654 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2657 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2660 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 1023 - mix->vol; ucontrol 2662 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 255 - (mix->vol>>2); ucontrol 2668 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2671 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2676 sound/pci/trident/trident_main.c val = 1023 - (ucontrol->value.integer.value[0] & 1023); ucontrol 2678 sound/pci/trident/trident_main.c val = (255 - (ucontrol->value.integer.value[0] & 255)) << 2; ucontrol 2718 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2721 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2723 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = mix->pan; ucontrol 2724 sound/pci/trident/trident_main.c if (ucontrol->value.integer.value[0] & 0x40) { ucontrol 2725 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = (0x3f - (ucontrol->value.integer.value[0] & 0x3f)); ucontrol 2727 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] |= 0x40; ucontrol 2733 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2736 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2740 sound/pci/trident/trident_main.c if (ucontrol->value.integer.value[0] & 0x40) ucontrol 2741 sound/pci/trident/trident_main.c val = ucontrol->value.integer.value[0] & 0x3f; ucontrol 2743 sound/pci/trident/trident_main.c val = (0x3f - (ucontrol->value.integer.value[0] & 0x3f)) | 0x40; ucontrol 2781 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2784 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2786 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 127 - mix->rvol; ucontrol 2791 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2794 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2798 sound/pci/trident/trident_main.c val = 0x7f - (ucontrol->value.integer.value[0] & 0x7f); ucontrol 2839 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2842 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2844 sound/pci/trident/trident_main.c ucontrol->value.integer.value[0] = 127 - mix->cvol; ucontrol 2849 sound/pci/trident/trident_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 2852 sound/pci/trident/trident_main.c struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)]; ucontrol 2856 sound/pci/trident/trident_main.c val = 0x7f - (ucontrol->value.integer.value[0] & 0x7f); ucontrol 1608 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1612 sound/pci/via82xx.c ucontrol->value.enumerated.item[0] = inb(port) & VIA_REG_CAPTURE_CHANNEL_MIC ? 1 : 0; ucontrol 1617 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1626 sound/pci/via82xx.c if (ucontrol->value.enumerated.item[0]) ucontrol 1645 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1651 sound/pci/via82xx.c ucontrol->value.integer.value[0] = (val & VIA8233_SPDIF_DX3) ? 1 : 0; ucontrol 1656 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1663 sound/pci/via82xx.c if (ucontrol->value.integer.value[0]) ucontrol 1666 sound/pci/via82xx.c chip->spdif_on = ucontrol->value.integer.value[0] ? 1 : 0; ucontrol 1693 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1698 sound/pci/via82xx.c ucontrol->value.integer.value[0] = VIA_DXS_MAX_VOLUME - chip->playback_volume[idx][0]; ucontrol 1699 sound/pci/via82xx.c ucontrol->value.integer.value[1] = VIA_DXS_MAX_VOLUME - chip->playback_volume[idx][1]; ucontrol 1704 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1707 sound/pci/via82xx.c ucontrol->value.integer.value[0] = VIA_DXS_MAX_VOLUME - chip->playback_volume_c[0]; ucontrol 1708 sound/pci/via82xx.c ucontrol->value.integer.value[1] = VIA_DXS_MAX_VOLUME - chip->playback_volume_c[1]; ucontrol 1713 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1722 sound/pci/via82xx.c val = ucontrol->value.integer.value[i]; ucontrol 1736 sound/pci/via82xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 1744 sound/pci/via82xx.c val = ucontrol->value.integer.value[i]; ucontrol 865 sound/pci/vx222/vx222_ops.c static int vx_input_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 870 sound/pci/vx222/vx222_ops.c ucontrol->value.integer.value[0] = chip->input_level[0]; ucontrol 871 sound/pci/vx222/vx222_ops.c ucontrol->value.integer.value[1] = chip->input_level[1]; ucontrol 876 sound/pci/vx222/vx222_ops.c static int vx_input_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 880 sound/pci/vx222/vx222_ops.c if (ucontrol->value.integer.value[0] < 0 || ucontrol 881 sound/pci/vx222/vx222_ops.c ucontrol->value.integer.value[0] > MIC_LEVEL_MAX) ucontrol 883 sound/pci/vx222/vx222_ops.c if (ucontrol->value.integer.value[1] < 0 || ucontrol 884 sound/pci/vx222/vx222_ops.c ucontrol->value.integer.value[1] > MIC_LEVEL_MAX) ucontrol 887 sound/pci/vx222/vx222_ops.c if (chip->input_level[0] != ucontrol->value.integer.value[0] || ucontrol 888 sound/pci/vx222/vx222_ops.c chip->input_level[1] != ucontrol->value.integer.value[1]) { ucontrol 889 sound/pci/vx222/vx222_ops.c chip->input_level[0] = ucontrol->value.integer.value[0]; ucontrol 890 sound/pci/vx222/vx222_ops.c chip->input_level[1] = ucontrol->value.integer.value[1]; ucontrol 909 sound/pci/vx222/vx222_ops.c static int vx_mic_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 913 sound/pci/vx222/vx222_ops.c ucontrol->value.integer.value[0] = chip->mic_level; ucontrol 917 sound/pci/vx222/vx222_ops.c static int vx_mic_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 921 sound/pci/vx222/vx222_ops.c if (ucontrol->value.integer.value[0] < 0 || ucontrol 922 sound/pci/vx222/vx222_ops.c ucontrol->value.integer.value[0] > MIC_LEVEL_MAX) ucontrol 925 sound/pci/vx222/vx222_ops.c if (chip->mic_level != ucontrol->value.integer.value[0]) { ucontrol 926 sound/pci/vx222/vx222_ops.c chip->mic_level = ucontrol->value.integer.value[0]; ucontrol 1275 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1280 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[0] = (chip->spdif_bits >> 0) & 0xff; ucontrol 1281 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[1] = (chip->spdif_bits >> 8) & 0xff; ucontrol 1282 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; ucontrol 1288 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1294 sound/pci/ymfpci/ymfpci_main.c val = ((ucontrol->value.iec958.status[0] & 0x3e) << 0) | ucontrol 1295 sound/pci/ymfpci/ymfpci_main.c (ucontrol->value.iec958.status[1] << 8); ucontrol 1322 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1327 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[0] = 0x3e; ucontrol 1328 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1350 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1355 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[0] = (chip->spdif_pcm_bits >> 0) & 0xff; ucontrol 1356 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[1] = (chip->spdif_pcm_bits >> 8) & 0xff; ucontrol 1357 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; ucontrol 1363 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1369 sound/pci/ymfpci/ymfpci_main.c val = ((ucontrol->value.iec958.status[0] & 0x3e) << 0) | ucontrol 1370 sound/pci/ymfpci/ymfpci_main.c (ucontrol->value.iec958.status[1] << 8); ucontrol 1450 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1462 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[0] = ucontrol 1468 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1482 sound/pci/ymfpci/ymfpci_main.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 1516 sound/pci/ymfpci/ymfpci_main.c static int snd_ymfpci_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1528 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[0] = (val >> shift_left) & mask; ucontrol 1529 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[1] = (val >> shift_right) & mask; ucontrol 1533 sound/pci/ymfpci/ymfpci_main.c static int snd_ymfpci_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1543 sound/pci/ymfpci/ymfpci_main.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 1544 sound/pci/ymfpci/ymfpci_main.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 1557 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1565 sound/pci/ymfpci/ymfpci_main.c value = ucontrol->value.integer.value[0] & 0x3fff; ucontrol 1566 sound/pci/ymfpci/ymfpci_main.c value |= (ucontrol->value.integer.value[1] & 0x3fff) << 16; ucontrol 1581 sound/pci/ymfpci/ymfpci_main.c static int snd_ymfpci_get_dup4ch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1584 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[0] = chip->mode_dup4ch; ucontrol 1588 sound/pci/ymfpci/ymfpci_main.c static int snd_ymfpci_put_dup4ch(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1592 sound/pci/ymfpci/ymfpci_main.c change = (ucontrol->value.integer.value[0] != chip->mode_dup4ch); ucontrol 1594 sound/pci/ymfpci/ymfpci_main.c chip->mode_dup4ch = !!ucontrol->value.integer.value[0]; ucontrol 1680 sound/pci/ymfpci/ymfpci_main.c static int snd_ymfpci_gpio_sw_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1684 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[0] = snd_ymfpci_get_gpio_out(chip, pin); ucontrol 1688 sound/pci/ymfpci/ymfpci_main.c static int snd_ymfpci_gpio_sw_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 1693 sound/pci/ymfpci/ymfpci_main.c if (snd_ymfpci_get_gpio_out(chip, pin) != ucontrol->value.integer.value[0]) { ucontrol 1694 sound/pci/ymfpci/ymfpci_main.c snd_ymfpci_set_gpio_out(chip, pin, !!ucontrol->value.integer.value[0]); ucontrol 1695 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[0] = snd_ymfpci_get_gpio_out(chip, pin); ucontrol 1725 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1730 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[0] = chip->pcm_mixer[subs].left; ucontrol 1731 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[1] = chip->pcm_mixer[subs].right; ucontrol 1736 sound/pci/ymfpci/ymfpci_main.c struct snd_ctl_elem_value *ucontrol) ucontrol 1743 sound/pci/ymfpci/ymfpci_main.c if (ucontrol->value.integer.value[0] != chip->pcm_mixer[subs].left || ucontrol 1744 sound/pci/ymfpci/ymfpci_main.c ucontrol->value.integer.value[1] != chip->pcm_mixer[subs].right) { ucontrol 1745 sound/pci/ymfpci/ymfpci_main.c chip->pcm_mixer[subs].left = ucontrol->value.integer.value[0]; ucontrol 1746 sound/pci/ymfpci/ymfpci_main.c chip->pcm_mixer[subs].right = ucontrol->value.integer.value[1]; ucontrol 30 sound/pcmcia/vx/vxp_mixer.c static int vx_mic_level_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 34 sound/pcmcia/vx/vxp_mixer.c ucontrol->value.integer.value[0] = chip->mic_level; ucontrol 38 sound/pcmcia/vx/vxp_mixer.c static int vx_mic_level_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 42 sound/pcmcia/vx/vxp_mixer.c unsigned int val = ucontrol->value.integer.value[0]; ucontrol 47 sound/pcmcia/vx/vxp_mixer.c if (chip->mic_level != ucontrol->value.integer.value[0]) { ucontrol 48 sound/pcmcia/vx/vxp_mixer.c vx_set_mic_level(_chip, ucontrol->value.integer.value[0]); ucontrol 49 sound/pcmcia/vx/vxp_mixer.c chip->mic_level = ucontrol->value.integer.value[0]; ucontrol 75 sound/pcmcia/vx/vxp_mixer.c static int vx_mic_boost_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 79 sound/pcmcia/vx/vxp_mixer.c ucontrol->value.integer.value[0] = chip->mic_level; ucontrol 83 sound/pcmcia/vx/vxp_mixer.c static int vx_mic_boost_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 87 sound/pcmcia/vx/vxp_mixer.c int val = !!ucontrol->value.integer.value[0]; ucontrol 133 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 150 sound/ppc/awacs.c ucontrol->value.integer.value[0] = vol[0]; ucontrol 151 sound/ppc/awacs.c ucontrol->value.integer.value[1] = vol[1]; ucontrol 156 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 166 sound/ppc/awacs.c vol[0] = ucontrol->value.integer.value[0]; ucontrol 167 sound/ppc/awacs.c vol[1] = ucontrol->value.integer.value[1]; ucontrol 199 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 213 sound/ppc/awacs.c ucontrol->value.integer.value[0] = val; ucontrol 218 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 230 sound/ppc/awacs.c if (ucontrol->value.integer.value[0] != invert) ucontrol 331 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 337 sound/ppc/awacs.c ucontrol->value.integer.value[0] = 31 - (amp->amp_vol[index][0] & 31); ucontrol 338 sound/ppc/awacs.c ucontrol->value.integer.value[1] = 31 - (amp->amp_vol[index][1] & 31); ucontrol 343 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 350 sound/ppc/awacs.c vol[0] = (31 - (ucontrol->value.integer.value[0] & 31)) ucontrol 352 sound/ppc/awacs.c vol[1] = (31 - (ucontrol->value.integer.value[1] & 31)) ucontrol 358 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 364 sound/ppc/awacs.c ucontrol->value.integer.value[0] = (amp->amp_vol[index][0] & 32) ucontrol 366 sound/ppc/awacs.c ucontrol->value.integer.value[1] = (amp->amp_vol[index][1] & 32) ucontrol 372 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 379 sound/ppc/awacs.c vol[0] = (ucontrol->value.integer.value[0] ? 0 : 32) ucontrol 381 sound/ppc/awacs.c vol[1] = (ucontrol->value.integer.value[1] ? 0 : 32) ucontrol 397 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 403 sound/ppc/awacs.c ucontrol->value.integer.value[0] = amp->amp_tone[index]; ucontrol 408 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 415 sound/ppc/awacs.c val = ucontrol->value.integer.value[0]; ucontrol 437 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 442 sound/ppc/awacs.c ucontrol->value.integer.value[0] = amp->amp_master; ucontrol 447 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 453 sound/ppc/awacs.c val = ucontrol->value.integer.value[0]; ucontrol 539 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 551 sound/ppc/awacs.c ucontrol->value.integer.value[0] = val; ucontrol 556 sound/ppc/awacs.c struct snd_ctl_elem_value *ucontrol) ucontrol 566 sound/ppc/awacs.c if (ucontrol->value.integer.value[0] & 1) ucontrol 568 sound/ppc/awacs.c if (ucontrol->value.integer.value[0] & 2) ucontrol 172 sound/ppc/beep.c struct snd_ctl_elem_value *ucontrol) ucontrol 177 sound/ppc/beep.c ucontrol->value.integer.value[0] = chip->beep->volume; ucontrol 182 sound/ppc/beep.c struct snd_ctl_elem_value *ucontrol) ucontrol 189 sound/ppc/beep.c nval = ucontrol->value.integer.value[0]; ucontrol 172 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 178 sound/ppc/burgundy.c ucontrol->value.integer.value, shift); ucontrol 183 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 191 sound/ppc/burgundy.c ucontrol->value.integer.value, shift); ucontrol 193 sound/ppc/burgundy.c return (nvoices[0] != ucontrol->value.integer.value[0] || ucontrol 194 sound/ppc/burgundy.c nvoices[1] != ucontrol->value.integer.value[1]); ucontrol 248 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 254 sound/ppc/burgundy.c ucontrol->value.integer.value, off); ucontrol 259 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 267 sound/ppc/burgundy.c ucontrol->value.integer.value, off); ucontrol 269 sound/ppc/burgundy.c return (nvoices[0] != ucontrol->value.integer.value[0] || ucontrol 270 sound/ppc/burgundy.c nvoices[1] != ucontrol->value.integer.value[1]); ucontrol 295 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 306 sound/ppc/burgundy.c ucontrol->value.integer.value[0] = oval & 0xf; ucontrol 308 sound/ppc/burgundy.c ucontrol->value.integer.value[1] = (oval >> 4) & 0xf; ucontrol 313 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 324 sound/ppc/burgundy.c val = ucontrol->value.integer.value[0]; ucontrol 326 sound/ppc/burgundy.c val |= ucontrol->value.integer.value[1] << 4; ucontrol 328 sound/ppc/burgundy.c val |= ucontrol->value.integer.value[0] << 4; ucontrol 357 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 365 sound/ppc/burgundy.c ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; ucontrol 367 sound/ppc/burgundy.c ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; ucontrol 372 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 382 sound/ppc/burgundy.c if (ucontrol->value.integer.value[0]) ucontrol 384 sound/ppc/burgundy.c if (stereo && ucontrol->value.integer.value[1]) ucontrol 413 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 421 sound/ppc/burgundy.c ucontrol->value.integer.value[0] = (val & lmask) ? 1 : 0; ucontrol 423 sound/ppc/burgundy.c ucontrol->value.integer.value[1] = (val & rmask) ? 1 : 0; ucontrol 428 sound/ppc/burgundy.c struct snd_ctl_elem_value *ucontrol) ucontrol 438 sound/ppc/burgundy.c if (ucontrol->value.integer.value[0]) ucontrol 440 sound/ppc/burgundy.c if (stereo && ucontrol->value.integer.value[1]) ucontrol 83 sound/ppc/daca.c struct snd_ctl_elem_value *ucontrol) ucontrol 89 sound/ppc/daca.c ucontrol->value.integer.value[0] = mix->deemphasis ? 1 : 0; ucontrol 94 sound/ppc/daca.c struct snd_ctl_elem_value *ucontrol) ucontrol 102 sound/ppc/daca.c change = mix->deemphasis != ucontrol->value.integer.value[0]; ucontrol 104 sound/ppc/daca.c mix->deemphasis = !!ucontrol->value.integer.value[0]; ucontrol 122 sound/ppc/daca.c struct snd_ctl_elem_value *ucontrol) ucontrol 128 sound/ppc/daca.c ucontrol->value.integer.value[0] = mix->left_vol; ucontrol 129 sound/ppc/daca.c ucontrol->value.integer.value[1] = mix->right_vol; ucontrol 134 sound/ppc/daca.c struct snd_ctl_elem_value *ucontrol) ucontrol 143 sound/ppc/daca.c vol[0] = ucontrol->value.integer.value[0]; ucontrol 144 sound/ppc/daca.c vol[1] = ucontrol->value.integer.value[1]; ucontrol 161 sound/ppc/daca.c struct snd_ctl_elem_value *ucontrol) ucontrol 167 sound/ppc/daca.c ucontrol->value.integer.value[0] = mix->amp_on ? 1 : 0; ucontrol 172 sound/ppc/daca.c struct snd_ctl_elem_value *ucontrol) ucontrol 180 sound/ppc/daca.c change = mix->amp_on != ucontrol->value.integer.value[0]; ucontrol 182 sound/ppc/daca.c mix->amp_on = !!ucontrol->value.integer.value[0]; ucontrol 1100 sound/ppc/pmac.c struct snd_ctl_elem_value *ucontrol) ucontrol 1103 sound/ppc/pmac.c ucontrol->value.integer.value[0] = chip->auto_mute; ucontrol 1108 sound/ppc/pmac.c struct snd_ctl_elem_value *ucontrol) ucontrol 1111 sound/ppc/pmac.c if (ucontrol->value.integer.value[0] != chip->auto_mute) { ucontrol 1112 sound/ppc/pmac.c chip->auto_mute = !!ucontrol->value.integer.value[0]; ucontrol 1121 sound/ppc/pmac.c struct snd_ctl_elem_value *ucontrol) ucontrol 1125 sound/ppc/pmac.c ucontrol->value.integer.value[0] = chip->detect_headphone(chip); ucontrol 1127 sound/ppc/pmac.c ucontrol->value.integer.value[0] = 0; ucontrol 705 sound/ppc/snd_ps3.c struct snd_ctl_elem_value *ucontrol) ucontrol 707 sound/ppc/snd_ps3.c memset(ucontrol->value.iec958.status, 0xff, 8); ucontrol 712 sound/ppc/snd_ps3.c struct snd_ctl_elem_value *ucontrol) ucontrol 718 sound/ppc/snd_ps3.c struct snd_ctl_elem_value *ucontrol) ucontrol 720 sound/ppc/snd_ps3.c memcpy(ucontrol->value.iec958.status, ps3av_mode_cs_info, 8); ucontrol 725 sound/ppc/snd_ps3.c struct snd_ctl_elem_value *ucontrol) ucontrol 727 sound/ppc/snd_ps3.c if (memcmp(ps3av_mode_cs_info, ucontrol->value.iec958.status, 8)) { ucontrol 728 sound/ppc/snd_ps3.c memcpy(ps3av_mode_cs_info, ucontrol->value.iec958.status, 8); ucontrol 253 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 258 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->master_vol[0]; ucontrol 259 sound/ppc/tumbler.c ucontrol->value.integer.value[1] = mix->master_vol[1]; ucontrol 264 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 271 sound/ppc/tumbler.c vol[0] = ucontrol->value.integer.value[0]; ucontrol 272 sound/ppc/tumbler.c vol[1] = ucontrol->value.integer.value[1]; ucontrol 288 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 293 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->master_switch[0]; ucontrol 294 sound/ppc/tumbler.c ucontrol->value.integer.value[1] = mix->master_switch[1]; ucontrol 299 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 305 sound/ppc/tumbler.c change = mix->master_switch[0] != ucontrol->value.integer.value[0] || ucontrol 306 sound/ppc/tumbler.c mix->master_switch[1] != ucontrol->value.integer.value[1]; ucontrol 308 sound/ppc/tumbler.c mix->master_switch[0] = !!ucontrol->value.integer.value[0]; ucontrol 309 sound/ppc/tumbler.c mix->master_switch[1] = !!ucontrol->value.integer.value[1]; ucontrol 401 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 407 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->drc_range; ucontrol 412 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 421 sound/ppc/tumbler.c val = ucontrol->value.integer.value[0]; ucontrol 441 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 447 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->drc_enable; ucontrol 452 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 460 sound/ppc/tumbler.c change = mix->drc_enable != ucontrol->value.integer.value[0]; ucontrol 462 sound/ppc/tumbler.c mix->drc_enable = !!ucontrol->value.integer.value[0]; ucontrol 522 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 529 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->mono_vol[info->index]; ucontrol 534 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 544 sound/ppc/tumbler.c vol = ucontrol->value.integer.value[0]; ucontrol 667 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 674 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = mix->mix_vol[idx][0]; ucontrol 675 sound/ppc/tumbler.c ucontrol->value.integer.value[1] = mix->mix_vol[idx][1]; ucontrol 680 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 690 sound/ppc/tumbler.c vol[0] = ucontrol->value.integer.value[0]; ucontrol 691 sound/ppc/tumbler.c vol[1] = ucontrol->value.integer.value[1]; ucontrol 714 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 733 sound/ppc/tumbler.c ucontrol->value.integer.value[0] = !check_audio_gpio(gp); ucontrol 738 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 763 sound/ppc/tumbler.c if (val != ucontrol->value.integer.value[0]) { ucontrol 764 sound/ppc/tumbler.c write_audio_gpio(gp, ! ucontrol->value.integer.value[0]); ucontrol 792 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 797 sound/ppc/tumbler.c ucontrol->value.enumerated.item[0] = mix->capture_source; ucontrol 802 sound/ppc/tumbler.c struct snd_ctl_elem_value *ucontrol) ucontrol 808 sound/ppc/tumbler.c change = ucontrol->value.enumerated.item[0] != mix->capture_source; ucontrol 810 sound/ppc/tumbler.c mix->capture_source = !!ucontrol->value.enumerated.item[0]; ucontrol 456 sound/sh/aica.c struct snd_ctl_elem_value *ucontrol) ucontrol 458 sound/sh/aica.c ucontrol->value.integer.value[0] = 1; /* TO DO: Fix me */ ucontrol 463 sound/sh/aica.c struct snd_ctl_elem_value *ucontrol) ucontrol 465 sound/sh/aica.c if (ucontrol->value.integer.value[0] == 1) ucontrol 483 sound/sh/aica.c struct snd_ctl_elem_value *ucontrol) ucontrol 489 sound/sh/aica.c ucontrol->value.integer.value[0] = dreamcastcard->channel->vol; ucontrol 494 sound/sh/aica.c struct snd_ctl_elem_value *ucontrol) ucontrol 501 sound/sh/aica.c vol = ucontrol->value.integer.value[0]; ucontrol 506 sound/sh/aica.c dreamcastcard->channel->vol = ucontrol->value.integer.value[0]; ucontrol 507 sound/sh/aica.c dreamcastcard->master_volume = ucontrol->value.integer.value[0]; ucontrol 287 sound/soc/atmel/atmel-pdmic.c struct snd_ctl_elem_value *ucontrol) ucontrol 302 sound/soc/atmel/atmel-pdmic.c ucontrol->value.integer.value[0] = i; ucontrol 309 sound/soc/atmel/atmel-pdmic.c struct snd_ctl_elem_value *ucontrol) ucontrol 318 sound/soc/atmel/atmel-pdmic.c val = ucontrol->value.integer.value[0]; ucontrol 61 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 67 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->loop1_cache; ucontrol 73 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 79 sound/soc/atmel/tse850-pcm5142.c unsigned int val = ucontrol->value.enumerated.item[0]; ucontrol 87 sound/soc/atmel/tse850-pcm5142.c return snd_soc_dapm_put_enum_double(kctrl, ucontrol); ucontrol 91 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 97 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->loop2_cache; ucontrol 103 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 109 sound/soc/atmel/tse850-pcm5142.c unsigned int val = ucontrol->value.enumerated.item[0]; ucontrol 117 sound/soc/atmel/tse850-pcm5142.c return snd_soc_dapm_put_enum_double(kctrl, ucontrol); ucontrol 121 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 127 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = tse850->add_cache; ucontrol 133 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 138 sound/soc/atmel/tse850-pcm5142.c int connect = !!ucontrol->value.integer.value[0]; ucontrol 155 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 182 sound/soc/atmel/tse850-pcm5142.c ucontrol->value.enumerated.item[0] = ret; ucontrol 188 sound/soc/atmel/tse850-pcm5142.c struct snd_ctl_elem_value *ucontrol) ucontrol 194 sound/soc/atmel/tse850-pcm5142.c unsigned int uV = ucontrol->value.enumerated.item[0]; ucontrol 218 sound/soc/atmel/tse850-pcm5142.c return snd_soc_dapm_put_enum_double(kctrl, ucontrol); ucontrol 268 sound/soc/codecs/88pm860x-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 284 sound/soc/codecs/88pm860x-codec.c ucontrol->value.integer.value[0] = i; ucontrol 286 sound/soc/codecs/88pm860x-codec.c ucontrol->value.integer.value[1] = i; ucontrol 292 sound/soc/codecs/88pm860x-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 302 sound/soc/codecs/88pm860x-codec.c val = ucontrol->value.integer.value[0]; ucontrol 303 sound/soc/codecs/88pm860x-codec.c val2 = ucontrol->value.integer.value[1]; ucontrol 325 sound/soc/codecs/88pm860x-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 338 sound/soc/codecs/88pm860x-codec.c ucontrol->value.integer.value[0] = (max - val) & mask; ucontrol 339 sound/soc/codecs/88pm860x-codec.c ucontrol->value.integer.value[1] = (max - val2) & mask; ucontrol 345 sound/soc/codecs/88pm860x-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 359 sound/soc/codecs/88pm860x-codec.c val = ((max - ucontrol->value.integer.value[0]) & mask); ucontrol 360 sound/soc/codecs/88pm860x-codec.c val2 = ((max - ucontrol->value.integer.value[1]) & mask); ucontrol 1124 sound/soc/codecs/ab8500-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1130 sound/soc/codecs/ab8500-codec.c ucontrol->value.enumerated.item[0] = drvdata->sid_status; ucontrol 1138 sound/soc/codecs/ab8500-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1147 sound/soc/codecs/ab8500-codec.c if (ucontrol->value.enumerated.item[0] != SID_APPLY_FIR) { ucontrol 1193 sound/soc/codecs/ab8500-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1199 sound/soc/codecs/ab8500-codec.c ucontrol->value.enumerated.item[0] = drvdata->anc_status; ucontrol 1206 sound/soc/codecs/ab8500-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1220 sound/soc/codecs/ab8500-codec.c req = ucontrol->value.enumerated.item[0]; ucontrol 1289 sound/soc/codecs/ab8500-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1299 sound/soc/codecs/ab8500-codec.c ucontrol->value.integer.value[i] = fc->value[i]; ucontrol 1306 sound/soc/codecs/ab8500-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 1316 sound/soc/codecs/ab8500-codec.c fc->value[i] = ucontrol->value.integer.value[i]; ucontrol 187 sound/soc/codecs/adau17x1.c struct snd_ctl_elem_value *ucontrol) ucontrol 198 sound/soc/codecs/adau17x1.c if (ucontrol->value.enumerated.item[0] >= e->items) ucontrol 201 sound/soc/codecs/adau17x1.c switch (ucontrol->value.enumerated.item[0]) { ucontrol 225 sound/soc/codecs/adau17x1.c ucontrol->value.enumerated.item[0], e, &update); ucontrol 232 sound/soc/codecs/adau17x1.c struct snd_ctl_elem_value *ucontrol) ucontrol 252 sound/soc/codecs/adau17x1.c ucontrol->value.enumerated.item[0] = val; ucontrol 315 sound/soc/codecs/adav80x.c struct snd_ctl_elem_value *ucontrol) ucontrol 319 sound/soc/codecs/adav80x.c unsigned int deemph = ucontrol->value.integer.value[0]; ucontrol 330 sound/soc/codecs/adav80x.c struct snd_ctl_elem_value *ucontrol) ucontrol 335 sound/soc/codecs/adav80x.c ucontrol->value.integer.value[0] = adav80x->deemph; ucontrol 172 sound/soc/codecs/ak4458.c struct snd_ctl_elem_value *ucontrol) ucontrol 177 sound/soc/codecs/ak4458.c ucontrol->value.enumerated.item[0] = ak4458->digfil; ucontrol 183 sound/soc/codecs/ak4458.c struct snd_ctl_elem_value *ucontrol) ucontrol 189 sound/soc/codecs/ak4458.c num = ucontrol->value.enumerated.item[0]; ucontrol 92 sound/soc/codecs/ak4641.c struct snd_ctl_elem_value *ucontrol) ucontrol 96 sound/soc/codecs/ak4641.c int deemph = ucontrol->value.integer.value[0]; ucontrol 107 sound/soc/codecs/ak4641.c struct snd_ctl_elem_value *ucontrol) ucontrol 112 sound/soc/codecs/ak4641.c ucontrol->value.integer.value[0] = ak4641->deemph; ucontrol 2724 sound/soc/codecs/arizona.c struct snd_ctl_elem_value *ucontrol) ucontrol 2736 sound/soc/codecs/arizona.c data = kmemdup(ucontrol->value.bytes.data, len, GFP_KERNEL | GFP_DMA); ucontrol 2768 sound/soc/codecs/arizona.c struct snd_ctl_elem_value *ucontrol) ucontrol 2772 sound/soc/codecs/arizona.c __be16 *data = (__be16 *)ucontrol->value.bytes.data; ucontrol 2780 sound/soc/codecs/arizona.c return snd_soc_bytes_put(kcontrol, ucontrol); ucontrol 267 sound/soc/codecs/arizona.h struct snd_ctl_elem_value *ucontrol); ucontrol 269 sound/soc/codecs/arizona.h struct snd_ctl_elem_value *ucontrol); ucontrol 71 sound/soc/codecs/bd28623.c struct snd_ctl_elem_value *ucontrol) ucontrol 77 sound/soc/codecs/bd28623.c ucontrol->value.integer.value[0] = bd->switch_spk; ucontrol 83 sound/soc/codecs/bd28623.c struct snd_ctl_elem_value *ucontrol) ucontrol 89 sound/soc/codecs/bd28623.c if (bd->switch_spk == ucontrol->value.integer.value[0]) ucontrol 92 sound/soc/codecs/bd28623.c bd->switch_spk = ucontrol->value.integer.value[0]; ucontrol 358 sound/soc/codecs/cpcap.c struct snd_ctl_elem_value *ucontrol) ucontrol 384 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 3; ucontrol 387 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 2; ucontrol 390 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 1; ucontrol 393 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 0; ucontrol 401 sound/soc/codecs/cpcap.c struct snd_ctl_elem_value *ucontrol) ucontrol 408 sound/soc/codecs/cpcap.c unsigned int muxval = ucontrol->value.enumerated.item[0]; ucontrol 446 sound/soc/codecs/cpcap.c struct snd_ctl_elem_value *ucontrol) ucontrol 465 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 4; ucontrol 468 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 3; ucontrol 471 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 2; ucontrol 474 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 1; ucontrol 477 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 0; ucontrol 485 sound/soc/codecs/cpcap.c struct snd_ctl_elem_value *ucontrol) ucontrol 492 sound/soc/codecs/cpcap.c unsigned int muxval = ucontrol->value.enumerated.item[0]; ucontrol 530 sound/soc/codecs/cpcap.c struct snd_ctl_elem_value *ucontrol) ucontrol 547 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 2; ucontrol 550 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 1; ucontrol 553 sound/soc/codecs/cpcap.c ucontrol->value.enumerated.item[0] = 0; ucontrol 561 sound/soc/codecs/cpcap.c struct snd_ctl_elem_value *ucontrol) ucontrol 568 sound/soc/codecs/cpcap.c unsigned int muxval = ucontrol->value.enumerated.item[0]; ucontrol 245 sound/soc/codecs/cros_ec_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 256 sound/soc/codecs/cros_ec_codec.c ucontrol->value.integer.value[0] = left; ucontrol 257 sound/soc/codecs/cros_ec_codec.c ucontrol->value.integer.value[1] = right; ucontrol 278 sound/soc/codecs/cros_ec_codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 284 sound/soc/codecs/cros_ec_codec.c int left = ucontrol->value.integer.value[0]; ucontrol 285 sound/soc/codecs/cros_ec_codec.c int right = ucontrol->value.integer.value[1]; ucontrol 457 sound/soc/codecs/cs35l36.c struct snd_ctl_elem_value *ucontrol) ucontrol 464 sound/soc/codecs/cs35l36.c ucontrol->value.integer.value[0] = cs35l36->ldm_mode_sel; ucontrol 470 sound/soc/codecs/cs35l36.c struct snd_ctl_elem_value *ucontrol) ucontrol 476 sound/soc/codecs/cs35l36.c int val = (ucontrol->value.integer.value[0]) ? CS35L36_NG_AMP_EN_MASK : ucontrol 439 sound/soc/codecs/cs4270.c struct snd_ctl_elem_value *ucontrol) ucontrol 443 sound/soc/codecs/cs4270.c int left = !ucontrol->value.integer.value[0]; ucontrol 444 sound/soc/codecs/cs4270.c int right = !ucontrol->value.integer.value[1]; ucontrol 449 sound/soc/codecs/cs4270.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 281 sound/soc/codecs/cs4271.c struct snd_ctl_elem_value *ucontrol) ucontrol 286 sound/soc/codecs/cs4271.c ucontrol->value.integer.value[0] = cs4271->deemph; ucontrol 291 sound/soc/codecs/cs4271.c struct snd_ctl_elem_value *ucontrol) ucontrol 296 sound/soc/codecs/cs4271.c cs4271->deemph = ucontrol->value.integer.value[0]; ucontrol 61 sound/soc/codecs/cs42l51.c struct snd_ctl_elem_value *ucontrol) ucontrol 69 sound/soc/codecs/cs42l51.c ucontrol->value.enumerated.item[0] = 0; ucontrol 74 sound/soc/codecs/cs42l51.c ucontrol->value.enumerated.item[0] = 1; ucontrol 77 sound/soc/codecs/cs42l51.c ucontrol->value.enumerated.item[0] = 2; ucontrol 89 sound/soc/codecs/cs42l51.c struct snd_ctl_elem_value *ucontrol) ucontrol 94 sound/soc/codecs/cs42l51.c switch (ucontrol->value.enumerated.item[0]) { ucontrol 1013 sound/soc/codecs/cs43130.c struct snd_ctl_elem_value *ucontrol) ucontrol 1015 sound/soc/codecs/cs43130.c return snd_soc_get_enum_double(kcontrol, ucontrol); ucontrol 1019 sound/soc/codecs/cs43130.c struct snd_ctl_elem_value *ucontrol) ucontrol 1022 sound/soc/codecs/cs43130.c unsigned int *item = ucontrol->value.enumerated.item; ucontrol 1043 sound/soc/codecs/cs43130.c return snd_soc_put_enum_double(kcontrol, ucontrol); ucontrol 107 sound/soc/codecs/cs47l15.c struct snd_ctl_elem_value *ucontrol) ucontrol 113 sound/soc/codecs/cs47l15.c ucontrol->value.integer.value[0] = !!cs47l15->in1_lp_mode; ucontrol 119 sound/soc/codecs/cs47l15.c struct snd_ctl_elem_value *ucontrol) ucontrol 125 sound/soc/codecs/cs47l15.c switch (ucontrol->value.integer.value[0]) { ucontrol 53 sound/soc/codecs/cs47l92.c struct snd_ctl_elem_value *ucontrol) ucontrol 67 sound/soc/codecs/cs47l92.c if (ucontrol->value.enumerated.item[0] > e->items - 1) ucontrol 70 sound/soc/codecs/cs47l92.c mux = ucontrol->value.enumerated.item[0]; ucontrol 327 sound/soc/codecs/da7210.c struct snd_ctl_elem_value *ucontrol) ucontrol 331 sound/soc/codecs/da7210.c if (ucontrol->value.integer.value[0]) { ucontrol 340 sound/soc/codecs/da7210.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 350 sound/soc/codecs/da7210.c struct snd_ctl_elem_value *ucontrol) ucontrol 355 sound/soc/codecs/da7210.c if (ucontrol->value.integer.value[0]) { ucontrol 382 sound/soc/codecs/da7210.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 343 sound/soc/codecs/da7213.c struct snd_ctl_elem_value *ucontrol) ucontrol 349 sound/soc/codecs/da7213.c ret = snd_soc_put_volsw_2r(kcontrol, ucontrol); ucontrol 359 sound/soc/codecs/da7213.c struct snd_ctl_elem_value *ucontrol) ucontrol 365 sound/soc/codecs/da7213.c if (ucontrol->value.integer.value[0] || ucontrol 366 sound/soc/codecs/da7213.c ucontrol->value.integer.value[1]) { ucontrol 375 sound/soc/codecs/da7213.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 426 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 432 sound/soc/codecs/da7218.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 445 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 451 sound/soc/codecs/da7218.c unsigned int lvalue = ucontrol->value.integer.value[0]; ucontrol 452 sound/soc/codecs/da7218.c unsigned int rvalue = ucontrol->value.integer.value[1]; ucontrol 465 sound/soc/codecs/da7218.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 470 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 488 sound/soc/codecs/da7218.c ucontrol->value.integer.value[0] = le16_to_cpu(val); ucontrol 494 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 508 sound/soc/codecs/da7218.c val = cpu_to_le16(ucontrol->value.integer.value[0]); ucontrol 514 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 520 sound/soc/codecs/da7218.c unsigned int lvalue = ucontrol->value.integer.value[0]; ucontrol 521 sound/soc/codecs/da7218.c unsigned int rvalue = ucontrol->value.integer.value[1]; ucontrol 541 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 552 sound/soc/codecs/da7218.c ucontrol->value.integer.value[0] = ucontrol 554 sound/soc/codecs/da7218.c ucontrol->value.integer.value[1] = ucontrol 561 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 571 sound/soc/codecs/da7218.c memcpy(ucontrol->value.bytes.data, da7218->biq_5stage_coeff, ucontrol 575 sound/soc/codecs/da7218.c memcpy(ucontrol->value.bytes.data, da7218->stbiq_3stage_coeff, ucontrol 586 sound/soc/codecs/da7218.c struct snd_ctl_elem_value *ucontrol) ucontrol 603 sound/soc/codecs/da7218.c memcpy(da7218->biq_5stage_coeff, ucontrol->value.bytes.data, ucontrol 608 sound/soc/codecs/da7218.c memcpy(da7218->stbiq_3stage_coeff, ucontrol->value.bytes.data, ucontrol 621 sound/soc/codecs/da7218.c cfg[DA7218_BIQ_CFG_DATA] = ucontrol->value.bytes.data[i]; ucontrol 255 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 262 sound/soc/codecs/da7219.c ret = snd_soc_get_volsw(kcontrol, ucontrol); ucontrol 269 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 276 sound/soc/codecs/da7219.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 283 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 290 sound/soc/codecs/da7219.c ret = snd_soc_get_enum_double(kcontrol, ucontrol); ucontrol 297 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 304 sound/soc/codecs/da7219.c ret = snd_soc_put_enum_double(kcontrol, ucontrol); ucontrol 377 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 383 sound/soc/codecs/da7219.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 396 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 403 sound/soc/codecs/da7219.c if ((ucontrol->value.integer.value[0]) && (!da7219->alc_en)) { ucontrol 410 sound/soc/codecs/da7219.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 415 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 436 sound/soc/codecs/da7219.c ucontrol->value.integer.value[0] = le16_to_cpu(val); ucontrol 442 sound/soc/codecs/da7219.c struct snd_ctl_elem_value *ucontrol) ucontrol 457 sound/soc/codecs/da7219.c val = cpu_to_le16(ucontrol->value.integer.value[0]); ucontrol 329 sound/soc/codecs/da732x.c struct snd_ctl_elem_value *ucontrol) ucontrol 334 sound/soc/codecs/da732x.c unsigned int sel = ucontrol->value.enumerated.item[0]; ucontrol 357 sound/soc/codecs/da732x.c struct snd_ctl_elem_value *ucontrol) ucontrol 368 sound/soc/codecs/da732x.c ucontrol->value.enumerated.item[0] = DA732X_HPF_VOICE; ucontrol 371 sound/soc/codecs/da732x.c ucontrol->value.enumerated.item[0] = DA732X_HPF_MUSIC; ucontrol 374 sound/soc/codecs/da732x.c ucontrol->value.enumerated.item[0] = DA732X_HPF_DISABLED; ucontrol 478 sound/soc/codecs/da9055.c struct snd_ctl_elem_value *ucontrol) ucontrol 484 sound/soc/codecs/da9055.c if (ucontrol->value.integer.value[0]) { ucontrol 541 sound/soc/codecs/da9055.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 144 sound/soc/codecs/es8328.c struct snd_ctl_elem_value *ucontrol) ucontrol 149 sound/soc/codecs/es8328.c ucontrol->value.integer.value[0] = es8328->deemph; ucontrol 154 sound/soc/codecs/es8328.c struct snd_ctl_elem_value *ucontrol) ucontrol 158 sound/soc/codecs/es8328.c unsigned int deemph = ucontrol->value.integer.value[0]; ucontrol 899 sound/soc/codecs/hdac_hdmi.c struct snd_ctl_elem_value *ucontrol) ucontrol 910 sound/soc/codecs/hdac_hdmi.c const char *cvt_name = e->texts[ucontrol->value.enumerated.item[0]]; ucontrol 912 sound/soc/codecs/hdac_hdmi.c ret = snd_soc_dapm_put_enum_double(kcontrol, ucontrol); ucontrol 301 sound/soc/codecs/hdmi-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 306 sound/soc/codecs/hdmi-codec.c memcpy(ucontrol->value.bytes.data, hcp->eld, sizeof(hcp->eld)); ucontrol 368 sound/soc/codecs/hdmi-codec.c struct snd_ctl_elem_value *ucontrol) ucontrol 379 sound/soc/codecs/hdmi-codec.c ucontrol->value.integer.value[i] = 0; ucontrol 381 sound/soc/codecs/hdmi-codec.c ucontrol->value.integer.value[i] = map[i]; ucontrol 48 sound/soc/codecs/inno_rk3036.c struct snd_ctl_elem_value *ucontrol) ucontrol 58 sound/soc/codecs/inno_rk3036.c ucontrol->value.integer.value[0] = val; ucontrol 62 sound/soc/codecs/inno_rk3036.c ucontrol->value.integer.value[1] = val; ucontrol 68 sound/soc/codecs/inno_rk3036.c struct snd_ctl_elem_value *ucontrol) ucontrol 73 sound/soc/codecs/inno_rk3036.c val = (ucontrol->value.integer.value[0] ? ucontrol 76 sound/soc/codecs/inno_rk3036.c val |= (ucontrol->value.integer.value[1] ? ucontrol 492 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 505 sound/soc/codecs/madera.c if (ucontrol->value.enumerated.item[0] > e->items - 1) ucontrol 508 sound/soc/codecs/madera.c mux = ucontrol->value.enumerated.item[0]; ucontrol 576 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 589 sound/soc/codecs/madera.c ucontrol->value.enumerated.item[0] = val; ucontrol 596 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 611 sound/soc/codecs/madera.c mux = ucontrol->value.enumerated.item[0]; ucontrol 821 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 836 sound/soc/codecs/madera.c ucontrol->value.enumerated.item[0] = item; ucontrol 842 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 849 sound/soc/codecs/madera.c const unsigned int item = ucontrol->value.enumerated.item[0]; ucontrol 1002 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 1008 sound/soc/codecs/madera.c unsigned int item = ucontrol->value.enumerated.item[0]; ucontrol 1042 sound/soc/codecs/madera.c ret = snd_soc_put_enum_double(kcontrol, ucontrol); ucontrol 2113 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 2138 sound/soc/codecs/madera.c ret = snd_soc_put_enum_double(kcontrol, ucontrol); ucontrol 2147 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 2174 sound/soc/codecs/madera.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 4621 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 4635 sound/soc/codecs/madera.c data = kmemdup(ucontrol->value.bytes.data, len, GFP_KERNEL | GFP_DMA); ucontrol 4668 sound/soc/codecs/madera.c struct snd_ctl_elem_value *ucontrol) ucontrol 4674 sound/soc/codecs/madera.c __be16 *data = (__be16 *)ucontrol->value.bytes.data; ucontrol 4682 sound/soc/codecs/madera.c return snd_soc_bytes_put(kcontrol, ucontrol); ucontrol 366 sound/soc/codecs/madera.h struct snd_ctl_elem_value *ucontrol); ucontrol 369 sound/soc/codecs/madera.h struct snd_ctl_elem_value *ucontrol); ucontrol 372 sound/soc/codecs/madera.h struct snd_ctl_elem_value *ucontrol); ucontrol 374 sound/soc/codecs/madera.h struct snd_ctl_elem_value *ucontrol); ucontrol 377 sound/soc/codecs/madera.h struct snd_ctl_elem_value *ucontrol); ucontrol 380 sound/soc/codecs/madera.h struct snd_ctl_elem_value *ucontrol); ucontrol 382 sound/soc/codecs/madera.h struct snd_ctl_elem_value *ucontrol); ucontrol 43 sound/soc/codecs/max9759.c struct snd_ctl_elem_value *ucontrol) ucontrol 48 sound/soc/codecs/max9759.c ucontrol->value.integer.value[0] = priv->gain; ucontrol 62 sound/soc/codecs/max9759.c struct snd_ctl_elem_value *ucontrol) ucontrol 67 sound/soc/codecs/max9759.c if (ucontrol->value.integer.value[0] > 3) ucontrol 70 sound/soc/codecs/max9759.c priv->gain = ucontrol->value.integer.value[0]; ucontrol 83 sound/soc/codecs/max9759.c struct snd_ctl_elem_value *ucontrol) ucontrol 88 sound/soc/codecs/max9759.c ucontrol->value.integer.value[0] = !priv->is_mute; ucontrol 94 sound/soc/codecs/max9759.c struct snd_ctl_elem_value *ucontrol) ucontrol 99 sound/soc/codecs/max9759.c priv->is_mute = !ucontrol->value.integer.value[0]; ucontrol 41 sound/soc/codecs/max9768.c struct snd_ctl_elem_value *ucontrol) ucontrol 47 sound/soc/codecs/max9768.c ucontrol->value.integer.value[0] = !val; ucontrol 53 sound/soc/codecs/max9768.c struct snd_ctl_elem_value *ucontrol) ucontrol 58 sound/soc/codecs/max9768.c gpio_set_value_cansleep(max9768->mute_gpio, !ucontrol->value.integer.value[0]); ucontrol 380 sound/soc/codecs/max98088.c struct snd_ctl_elem_value *ucontrol) ucontrol 384 sound/soc/codecs/max98088.c unsigned int sel = ucontrol->value.integer.value[0]; ucontrol 394 sound/soc/codecs/max98088.c struct snd_ctl_elem_value *ucontrol) ucontrol 399 sound/soc/codecs/max98088.c ucontrol->value.integer.value[0] = max98088->mic1pre; ucontrol 404 sound/soc/codecs/max98088.c struct snd_ctl_elem_value *ucontrol) ucontrol 408 sound/soc/codecs/max98088.c unsigned int sel = ucontrol->value.integer.value[0]; ucontrol 418 sound/soc/codecs/max98088.c struct snd_ctl_elem_value *ucontrol) ucontrol 423 sound/soc/codecs/max98088.c ucontrol->value.integer.value[0] = max98088->mic2pre; ucontrol 1507 sound/soc/codecs/max98088.c struct snd_ctl_elem_value *ucontrol) ucontrol 1514 sound/soc/codecs/max98088.c int sel = ucontrol->value.enumerated.item[0]; ucontrol 1539 sound/soc/codecs/max98088.c struct snd_ctl_elem_value *ucontrol) ucontrol 1550 sound/soc/codecs/max98088.c ucontrol->value.enumerated.item[0] = cdata->eq_sel; ucontrol 349 sound/soc/codecs/max98090.c struct snd_ctl_elem_value *ucontrol) ucontrol 384 sound/soc/codecs/max98090.c ucontrol->value.integer.value[0] = val; ucontrol 389 sound/soc/codecs/max98090.c struct snd_ctl_elem_value *ucontrol) ucontrol 396 sound/soc/codecs/max98090.c unsigned int sel = ucontrol->value.integer.value[0]; ucontrol 351 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 355 sound/soc/codecs/max98095.c unsigned int sel = ucontrol->value.integer.value[0]; ucontrol 365 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 370 sound/soc/codecs/max98095.c ucontrol->value.integer.value[0] = max98095->mic1pre; ucontrol 375 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 379 sound/soc/codecs/max98095.c unsigned int sel = ucontrol->value.integer.value[0]; ucontrol 389 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 394 sound/soc/codecs/max98095.c ucontrol->value.integer.value[0] = max98095->mic2pre; ucontrol 1492 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 1499 sound/soc/codecs/max98095.c unsigned int sel = ucontrol->value.enumerated.item[0]; ucontrol 1556 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 1564 sound/soc/codecs/max98095.c ucontrol->value.enumerated.item[0] = cdata->eq_sel; ucontrol 1643 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 1650 sound/soc/codecs/max98095.c unsigned int sel = ucontrol->value.enumerated.item[0]; ucontrol 1704 sound/soc/codecs/max98095.c struct snd_ctl_elem_value *ucontrol) ucontrol 1715 sound/soc/codecs/max98095.c ucontrol->value.enumerated.item[0] = cdata->bq_sel; ucontrol 423 sound/soc/codecs/msm8916-wcd-digital.c struct snd_ctl_elem_value *ucontrol) ucontrol 441 sound/soc/codecs/msm8916-wcd-digital.c memcpy(ucontrol->value.bytes.data, &coeff[0], params->max); ucontrol 470 sound/soc/codecs/msm8916-wcd-digital.c struct snd_ctl_elem_value *ucontrol) ucontrol 481 sound/soc/codecs/msm8916-wcd-digital.c memcpy(&coeff[0], ucontrol->value.bytes.data, params->max); ucontrol 499 sound/soc/codecs/msm8916-wcd-digital.c struct snd_ctl_elem_info *ucontrol) ucontrol 505 sound/soc/codecs/msm8916-wcd-digital.c ucontrol->type = SNDRV_CTL_ELEM_TYPE_BYTES; ucontrol 506 sound/soc/codecs/msm8916-wcd-digital.c ucontrol->count = params->max; ucontrol 417 sound/soc/codecs/mt6358.c struct snd_ctl_elem_value *ucontrol) ucontrol 427 sound/soc/codecs/mt6358.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 165 sound/soc/codecs/nau8810.c struct snd_ctl_elem_value *ucontrol) ucontrol 173 sound/soc/codecs/nau8810.c val = (u16 *)ucontrol->value.bytes.data; ucontrol 196 sound/soc/codecs/nau8810.c struct snd_ctl_elem_value *ucontrol) ucontrol 205 sound/soc/codecs/nau8810.c data = kmemdup(ucontrol->value.bytes.data, ucontrol 180 sound/soc/codecs/nau8822.c struct snd_ctl_elem_value *ucontrol) ucontrol 188 sound/soc/codecs/nau8822.c val = (u16 *)ucontrol->value.bytes.data; ucontrol 211 sound/soc/codecs/nau8822.c struct snd_ctl_elem_value *ucontrol) ucontrol 220 sound/soc/codecs/nau8822.c data = kmemdup(ucontrol->value.bytes.data, ucontrol 984 sound/soc/codecs/nau8825.c struct snd_ctl_elem_value *ucontrol) ucontrol 993 sound/soc/codecs/nau8825.c ucontrol->value.bytes.data, params->max); ucontrol 998 sound/soc/codecs/nau8825.c struct snd_ctl_elem_value *ucontrol) ucontrol 1007 sound/soc/codecs/nau8825.c data = kmemdup(ucontrol->value.bytes.data, ucontrol 112 sound/soc/codecs/pcm1681.c struct snd_ctl_elem_value *ucontrol) ucontrol 117 sound/soc/codecs/pcm1681.c ucontrol->value.integer.value[0] = priv->deemph; ucontrol 123 sound/soc/codecs/pcm1681.c struct snd_ctl_elem_value *ucontrol) ucontrol 128 sound/soc/codecs/pcm1681.c priv->deemph = ucontrol->value.integer.value[0]; ucontrol 222 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 227 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = pcm512x->overclock_pll; ucontrol 232 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 245 sound/soc/codecs/pcm512x.c pcm512x->overclock_pll = ucontrol->value.integer.value[0]; ucontrol 250 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 255 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = pcm512x->overclock_dsp; ucontrol 260 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 273 sound/soc/codecs/pcm512x.c pcm512x->overclock_dsp = ucontrol->value.integer.value[0]; ucontrol 278 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 283 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = pcm512x->overclock_dac; ucontrol 288 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 301 sound/soc/codecs/pcm512x.c pcm512x->overclock_dac = ucontrol->value.integer.value[0]; ucontrol 391 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 397 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = !(pcm512x->mute & 0x4); ucontrol 398 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[1] = !(pcm512x->mute & 0x2); ucontrol 405 sound/soc/codecs/pcm512x.c struct snd_ctl_elem_value *ucontrol) ucontrol 413 sound/soc/codecs/pcm512x.c if ((pcm512x->mute & 0x4) == (ucontrol->value.integer.value[0] << 2)) { ucontrol 417 sound/soc/codecs/pcm512x.c if ((pcm512x->mute & 0x2) == (ucontrol->value.integer.value[1] << 1)) { ucontrol 1038 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1045 sound/soc/codecs/rt1011.c ucontrol->value.integer.value[0] = rt1011->recv_spk_mode; ucontrol 1051 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1058 sound/soc/codecs/rt1011.c if (ucontrol->value.integer.value[0] == rt1011->recv_spk_mode) ucontrol 1062 sound/soc/codecs/rt1011.c rt1011->recv_spk_mode = ucontrol->value.integer.value[0]; ucontrol 1118 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1126 sound/soc/codecs/rt1011.c (struct rt1011_bq_drc_params *)ucontrol->value.integer.value; ucontrol 1129 sound/soc/codecs/rt1011.c if (strstr(ucontrol->id.name, "AdvanceMode Initial Set")) ucontrol 1131 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode SEP BQ Coeff")) ucontrol 1133 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode EQ BQ Coeff")) ucontrol 1135 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode BQ UI Coeff")) ucontrol 1137 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode SmartBoost Coeff")) ucontrol 1143 sound/soc/codecs/rt1011.c ucontrol->id.name, mode_idx); ucontrol 1155 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1163 sound/soc/codecs/rt1011.c (struct rt1011_bq_drc_params *)ucontrol->value.integer.value; ucontrol 1169 sound/soc/codecs/rt1011.c if (strstr(ucontrol->id.name, "AdvanceMode Initial Set")) ucontrol 1171 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode SEP BQ Coeff")) ucontrol 1173 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode EQ BQ Coeff")) ucontrol 1175 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode BQ UI Coeff")) ucontrol 1177 sound/soc/codecs/rt1011.c else if (strstr(ucontrol->id.name, "AdvanceMode SmartBoost Coeff")) ucontrol 1187 sound/soc/codecs/rt1011.c ucontrol->id.name, mode_idx); ucontrol 1223 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1228 sound/soc/codecs/rt1011.c ucontrol->value.integer.value[0] = rt1011->cali_done; ucontrol 1234 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1244 sound/soc/codecs/rt1011.c ucontrol->value.integer.value[0]) ucontrol 1266 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1271 sound/soc/codecs/rt1011.c ucontrol->value.integer.value[0] = rt1011->r0_reg; ucontrol 1277 sound/soc/codecs/rt1011.c struct snd_ctl_elem_value *ucontrol) ucontrol 1284 sound/soc/codecs/rt1011.c if (ucontrol->value.integer.value[0] == rt1011->r0_reg) ucontrol 1290 sound/soc/codecs/rt1011.c if (ucontrol->value.integer.value[0] == 0) ucontrol 1295 sound/soc/codecs/rt1011.c rt1011->r0_reg = ucontrol->value.integer.value[0]; ucontrol 288 sound/soc/codecs/rt5514.c struct snd_ctl_elem_value *ucontrol) ucontrol 293 sound/soc/codecs/rt5514.c ucontrol->value.integer.value[0] = rt5514->dsp_enabled; ucontrol 326 sound/soc/codecs/rt5514.c struct snd_ctl_elem_value *ucontrol) ucontrol 333 sound/soc/codecs/rt5514.c if (ucontrol->value.integer.value[0] == rt5514->dsp_enabled) ucontrol 337 sound/soc/codecs/rt5514.c rt5514->dsp_enabled = ucontrol->value.integer.value[0]; ucontrol 184 sound/soc/codecs/rt5631.c struct snd_ctl_elem_value *ucontrol) ucontrol 189 sound/soc/codecs/rt5631.c ucontrol->value.integer.value[0] = rt5631->dmic_used_flag; ucontrol 195 sound/soc/codecs/rt5631.c struct snd_ctl_elem_value *ucontrol) ucontrol 200 sound/soc/codecs/rt5631.c rt5631->dmic_used_flag = ucontrol->value.integer.value[0]; ucontrol 673 sound/soc/codecs/rt5645.c struct snd_ctl_elem_value *ucontrol) ucontrol 678 sound/soc/codecs/rt5645.c (struct rt5645_eq_param_s_be16 *)ucontrol->value.bytes.data; ucontrol 699 sound/soc/codecs/rt5645.c struct snd_ctl_elem_value *ucontrol) ucontrol 704 sound/soc/codecs/rt5645.c (struct rt5645_eq_param_s_be16 *)ucontrol->value.bytes.data; ucontrol 741 sound/soc/codecs/rt5645.c struct snd_ctl_elem_value *ucontrol) ucontrol 750 sound/soc/codecs/rt5645.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 1236 sound/soc/codecs/rt5659.c struct snd_ctl_elem_value *ucontrol) ucontrol 1239 sound/soc/codecs/rt5659.c int ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 998 sound/soc/codecs/rt5665.c struct snd_ctl_elem_value *ucontrol) ucontrol 1001 sound/soc/codecs/rt5665.c int ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 1014 sound/soc/codecs/rt5665.c struct snd_ctl_elem_value *ucontrol) ucontrol 1017 sound/soc/codecs/rt5665.c int ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 804 sound/soc/codecs/rt5677.c struct snd_ctl_elem_value *ucontrol) ucontrol 809 sound/soc/codecs/rt5677.c ucontrol->value.integer.value[0] = rt5677->dsp_vad_en; ucontrol 815 sound/soc/codecs/rt5677.c struct snd_ctl_elem_value *ucontrol) ucontrol 820 sound/soc/codecs/rt5677.c rt5677->dsp_vad_en = !!ucontrol->value.integer.value[0]; ucontrol 541 sound/soc/codecs/sgtl5000.c struct snd_ctl_elem_value *ucontrol) ucontrol 564 sound/soc/codecs/sgtl5000.c ucontrol->value.integer.value[0] = l; ucontrol 565 sound/soc/codecs/sgtl5000.c ucontrol->value.integer.value[1] = r; ucontrol 594 sound/soc/codecs/sgtl5000.c struct snd_ctl_elem_value *ucontrol) ucontrol 601 sound/soc/codecs/sgtl5000.c l = ucontrol->value.integer.value[0]; ucontrol 602 sound/soc/codecs/sgtl5000.c r = ucontrol->value.integer.value[1]; ucontrol 632 sound/soc/codecs/sgtl5000.c struct snd_ctl_elem_value *ucontrol) ucontrol 640 sound/soc/codecs/sgtl5000.c ucontrol->value.integer.value[0] = 96; ucontrol 641 sound/soc/codecs/sgtl5000.c ucontrol->value.integer.value[1] = 96; ucontrol 650 sound/soc/codecs/sgtl5000.c ucontrol->value.integer.value[0] = db; ucontrol 651 sound/soc/codecs/sgtl5000.c ucontrol->value.integer.value[1] = db; ucontrol 665 sound/soc/codecs/sgtl5000.c struct snd_ctl_elem_value *ucontrol) ucontrol 671 sound/soc/codecs/sgtl5000.c db = (int)ucontrol->value.integer.value[0]; ucontrol 128 sound/soc/codecs/sigmadsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 137 sound/soc/codecs/sigmadsp.c data = ucontrol->value.bytes.data; ucontrol 153 sound/soc/codecs/sigmadsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 168 sound/soc/codecs/sigmadsp.c memcpy(ucontrol->value.bytes.data, ctrl->cache, ucontrol 269 sound/soc/codecs/sta32x.c struct snd_ctl_elem_value *ucontrol) ucontrol 301 sound/soc/codecs/sta32x.c ucontrol->value.bytes.data[i] = val; ucontrol 311 sound/soc/codecs/sta32x.c struct snd_ctl_elem_value *ucontrol) ucontrol 332 sound/soc/codecs/sta32x.c (ucontrol->value.bytes.data[3 * i] << 16) ucontrol 333 sound/soc/codecs/sta32x.c | (ucontrol->value.bytes.data[3 * i + 1] << 8) ucontrol 334 sound/soc/codecs/sta32x.c | (ucontrol->value.bytes.data[3 * i + 2]); ucontrol 337 sound/soc/codecs/sta32x.c ucontrol->value.bytes.data[i]); ucontrol 306 sound/soc/codecs/sta350.c struct snd_ctl_elem_value *ucontrol) ucontrol 338 sound/soc/codecs/sta350.c ucontrol->value.bytes.data[i] = val; ucontrol 348 sound/soc/codecs/sta350.c struct snd_ctl_elem_value *ucontrol) ucontrol 369 sound/soc/codecs/sta350.c (ucontrol->value.bytes.data[3 * i] << 16) ucontrol 370 sound/soc/codecs/sta350.c | (ucontrol->value.bytes.data[3 * i + 1] << 8) ucontrol 371 sound/soc/codecs/sta350.c | (ucontrol->value.bytes.data[3 * i + 2]); ucontrol 374 sound/soc/codecs/sta350.c ucontrol->value.bytes.data[i]); ucontrol 274 sound/soc/codecs/tas5086.c struct snd_ctl_elem_value *ucontrol) ucontrol 279 sound/soc/codecs/tas5086.c ucontrol->value.integer.value[0] = priv->deemph; ucontrol 285 sound/soc/codecs/tas5086.c struct snd_ctl_elem_value *ucontrol) ucontrol 290 sound/soc/codecs/tas5086.c priv->deemph = ucontrol->value.integer.value[0]; ucontrol 242 sound/soc/codecs/tas571x.c struct snd_ctl_elem_value *ucontrol) ucontrol 250 sound/soc/codecs/tas571x.c ucontrol->value.integer.value, numcoef); ucontrol 254 sound/soc/codecs/tas571x.c struct snd_ctl_elem_value *ucontrol) ucontrol 262 sound/soc/codecs/tas571x.c ucontrol->value.integer.value, numcoef); ucontrol 506 sound/soc/codecs/tas5720.c struct snd_ctl_elem_value *ucontrol) ucontrol 512 sound/soc/codecs/tas5720.c ucontrol->value.integer.value[0] = val << 1; ucontrol 515 sound/soc/codecs/tas5720.c ucontrol->value.integer.value[0] |= val & TAS5722_VOL_CONTROL_LSB; ucontrol 521 sound/soc/codecs/tas5720.c struct snd_ctl_elem_value *ucontrol) ucontrol 524 sound/soc/codecs/tas5720.c unsigned int sel = ucontrol->value.integer.value[0]; ucontrol 178 sound/soc/codecs/tda7419.c struct snd_ctl_elem_value *ucontrol) ucontrol 195 sound/soc/codecs/tda7419.c ucontrol->value.integer.value[0] = ucontrol 202 sound/soc/codecs/tda7419.c ucontrol->value.integer.value[1] = ucontrol 225 sound/soc/codecs/tda7419.c struct snd_ctl_elem_value *ucontrol) ucontrol 239 sound/soc/codecs/tda7419.c val = tda7419_vol_put_value(ucontrol->value.integer.value[0], ucontrol 247 sound/soc/codecs/tda7419.c val = tda7419_vol_put_value(ucontrol->value.integer.value[1], ucontrol 78 sound/soc/codecs/tlv320aic23.c struct snd_ctl_elem_value *ucontrol) ucontrol 83 sound/soc/codecs/tlv320aic23.c val = (ucontrol->value.integer.value[0] & 0x07); ucontrol 101 sound/soc/codecs/tlv320aic23.c struct snd_ctl_elem_value *ucontrol) ucontrol 109 sound/soc/codecs/tlv320aic23.c ucontrol->value.integer.value[0] = val; ucontrol 80 sound/soc/codecs/tlv320aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 87 sound/soc/codecs/tlv320aic32x4.c ucontrol->value.integer.value[0] = (val & 0x01); ucontrol 93 sound/soc/codecs/tlv320aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 107 sound/soc/codecs/tlv320aic32x4.c if (ucontrol->value.integer.value[0] == (val & AIC32X4_MFP2_GPIO_OUT_HIGH)) ucontrol 110 sound/soc/codecs/tlv320aic32x4.c if (ucontrol->value.integer.value[0]) ucontrol 111 sound/soc/codecs/tlv320aic32x4.c val |= ucontrol->value.integer.value[0]; ucontrol 121 sound/soc/codecs/tlv320aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 128 sound/soc/codecs/tlv320aic32x4.c ucontrol->value.integer.value[0] = (val & 0x01); ucontrol 134 sound/soc/codecs/tlv320aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 148 sound/soc/codecs/tlv320aic32x4.c if (ucontrol->value.integer.value[0] == (val & AIC32X4_MFP5_GPIO_OUT_HIGH)) ucontrol 151 sound/soc/codecs/tlv320aic32x4.c if (ucontrol->value.integer.value[0]) ucontrol 152 sound/soc/codecs/tlv320aic32x4.c val |= ucontrol->value.integer.value[0]; ucontrol 162 sound/soc/codecs/tlv320aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 168 sound/soc/codecs/tlv320aic32x4.c ucontrol->value.integer.value[0] = ((val & 0x2) >> 1); ucontrol 174 sound/soc/codecs/tlv320aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 188 sound/soc/codecs/tlv320aic32x4.c if (ucontrol->value.integer.value[0] == (val & 0x1)) ucontrol 191 sound/soc/codecs/tlv320aic32x4.c if (ucontrol->value.integer.value[0]) ucontrol 192 sound/soc/codecs/tlv320aic32x4.c val |= ucontrol->value.integer.value[0]; ucontrol 160 sound/soc/codecs/tlv320aic3x.c struct snd_ctl_elem_value *ucontrol) ucontrol 175 sound/soc/codecs/tlv320aic3x.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 432 sound/soc/codecs/tlv320dac33.c struct snd_ctl_elem_value *ucontrol) ucontrol 437 sound/soc/codecs/tlv320dac33.c ucontrol->value.enumerated.item[0] = dac33->fifo_mode; ucontrol 443 sound/soc/codecs/tlv320dac33.c struct snd_ctl_elem_value *ucontrol) ucontrol 449 sound/soc/codecs/tlv320dac33.c if (dac33->fifo_mode == ucontrol->value.enumerated.item[0]) ucontrol 455 sound/soc/codecs/tlv320dac33.c if (ucontrol->value.enumerated.item[0] >= DAC33_FIFO_LAST_MODE) ucontrol 458 sound/soc/codecs/tlv320dac33.c dac33->fifo_mode = ucontrol->value.enumerated.item[0]; ucontrol 264 sound/soc/codecs/tscs42xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 275 sound/soc/codecs/tscs42xx.c memcpy(ucontrol->value.bytes.data, ucontrol 284 sound/soc/codecs/tscs42xx.c struct snd_ctl_elem_value *ucontrol) ucontrol 300 sound/soc/codecs/tscs42xx.c ucontrol->value.bytes.data, params->max); ucontrol 604 sound/soc/codecs/tscs42xx.c struct snd_ctl_elem_info *ucontrol) ucontrol 610 sound/soc/codecs/tscs42xx.c ucontrol->type = SNDRV_CTL_ELEM_TYPE_BYTES; ucontrol 611 sound/soc/codecs/tscs42xx.c ucontrol->count = params->max; ucontrol 308 sound/soc/codecs/tscs454.c struct snd_ctl_elem_value *ucontrol) ucontrol 334 sound/soc/codecs/tscs454.c memcpy(ucontrol->value.bytes.data, ucontrol 394 sound/soc/codecs/tscs454.c struct snd_ctl_elem_value *ucontrol) ucontrol 442 sound/soc/codecs/tscs454.c ucontrol->value.bytes.data, params->max); ucontrol 1486 sound/soc/codecs/tscs454.c struct snd_ctl_elem_info *ucontrol) ucontrol 1492 sound/soc/codecs/tscs454.c ucontrol->type = SNDRV_CTL_ELEM_TYPE_BYTES; ucontrol 1493 sound/soc/codecs/tscs454.c ucontrol->count = params->max; ucontrol 827 sound/soc/codecs/twl4030.c struct snd_ctl_elem_value *ucontrol) ucontrol 838 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[0] = ucontrol 840 sound/soc/codecs/twl4030.c if (ucontrol->value.integer.value[0]) ucontrol 841 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[0] = ucontrol 842 sound/soc/codecs/twl4030.c max + 1 - ucontrol->value.integer.value[0]; ucontrol 845 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[1] = ucontrol 847 sound/soc/codecs/twl4030.c if (ucontrol->value.integer.value[1]) ucontrol 848 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[1] = ucontrol 849 sound/soc/codecs/twl4030.c max + 1 - ucontrol->value.integer.value[1]; ucontrol 856 sound/soc/codecs/twl4030.c struct snd_ctl_elem_value *ucontrol) ucontrol 868 sound/soc/codecs/twl4030.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 875 sound/soc/codecs/twl4030.c val2 = (ucontrol->value.integer.value[1] & mask); ucontrol 885 sound/soc/codecs/twl4030.c struct snd_ctl_elem_value *ucontrol) ucontrol 896 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[0] = ucontrol 898 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[1] = ucontrol 901 sound/soc/codecs/twl4030.c if (ucontrol->value.integer.value[0]) ucontrol 902 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[0] = ucontrol 903 sound/soc/codecs/twl4030.c max + 1 - ucontrol->value.integer.value[0]; ucontrol 904 sound/soc/codecs/twl4030.c if (ucontrol->value.integer.value[1]) ucontrol 905 sound/soc/codecs/twl4030.c ucontrol->value.integer.value[1] = ucontrol 906 sound/soc/codecs/twl4030.c max + 1 - ucontrol->value.integer.value[1]; ucontrol 912 sound/soc/codecs/twl4030.c struct snd_ctl_elem_value *ucontrol) ucontrol 926 sound/soc/codecs/twl4030.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 927 sound/soc/codecs/twl4030.c val2 = (ucontrol->value.integer.value[1] & mask); ucontrol 955 sound/soc/codecs/twl4030.c struct snd_ctl_elem_value *ucontrol) ucontrol 966 sound/soc/codecs/twl4030.c return snd_soc_put_enum_double(kcontrol, ucontrol); ucontrol 324 sound/soc/codecs/twl6040.c struct snd_ctl_elem_value *ucontrol) ucontrol 335 sound/soc/codecs/twl6040.c return snd_soc_dapm_put_enum_double(kcontrol, ucontrol); ucontrol 473 sound/soc/codecs/twl6040.c struct snd_ctl_elem_value *ucontrol) ucontrol 478 sound/soc/codecs/twl6040.c ucontrol->value.enumerated.item[0] = priv->hs_power_mode; ucontrol 484 sound/soc/codecs/twl6040.c struct snd_ctl_elem_value *ucontrol) ucontrol 488 sound/soc/codecs/twl6040.c int high_perf = ucontrol->value.enumerated.item[0]; ucontrol 501 sound/soc/codecs/twl6040.c struct snd_ctl_elem_value *ucontrol) ucontrol 506 sound/soc/codecs/twl6040.c ucontrol->value.enumerated.item[0] = priv->pll_power_mode; ucontrol 512 sound/soc/codecs/twl6040.c struct snd_ctl_elem_value *ucontrol) ucontrol 517 sound/soc/codecs/twl6040.c priv->pll_power_mode = ucontrol->value.enumerated.item[0]; ucontrol 43 sound/soc/codecs/uda1334.c struct snd_ctl_elem_value *ucontrol) ucontrol 47 sound/soc/codecs/uda1334.c int deemph = ucontrol->value.integer.value[0]; ucontrol 58 sound/soc/codecs/uda1334.c struct snd_ctl_elem_value *ucontrol) ucontrol 68 sound/soc/codecs/uda1334.c ucontrol->value.integer.value[0] = ret; ucontrol 1270 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 1275 sound/soc/codecs/wcd9335.c ucontrol->value.enumerated.item[0] = wcd->rx_port_value; ucontrol 1281 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 1289 sound/soc/codecs/wcd9335.c wcd->rx_port_value = ucontrol->value.enumerated.item[0]; ucontrol 1325 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 1331 sound/soc/codecs/wcd9335.c ucontrol->value.integer.value[0] = wcd->tx_port_value; ucontrol 1337 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 1345 sound/soc/codecs/wcd9335.c int enable = ucontrol->value.integer.value[0]; ucontrol 1472 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 1479 sound/soc/codecs/wcd9335.c val = ucontrol->value.enumerated.item[0]; ucontrol 1519 sound/soc/codecs/wcd9335.c return snd_soc_dapm_put_enum_double(kc, ucontrol); ucontrol 1523 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 1530 sound/soc/codecs/wcd9335.c val = ucontrol->value.enumerated.item[0]; ucontrol 1546 sound/soc/codecs/wcd9335.c return snd_soc_dapm_put_enum_double(kc, ucontrol); ucontrol 2174 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 2181 sound/soc/codecs/wcd9335.c ucontrol->value.integer.value[0] = wcd->comp_enabled[comp]; ucontrol 2186 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 2191 sound/soc/codecs/wcd9335.c int value = ucontrol->value.integer.value[0]; ucontrol 2225 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 2230 sound/soc/codecs/wcd9335.c ucontrol->value.enumerated.item[0] = wcd->hph_mode; ucontrol 2236 sound/soc/codecs/wcd9335.c struct snd_ctl_elem_value *ucontrol) ucontrol 2242 sound/soc/codecs/wcd9335.c mode_val = ucontrol->value.enumerated.item[0]; ucontrol 159 sound/soc/codecs/wl1273.c struct snd_ctl_elem_value *ucontrol) ucontrol 164 sound/soc/codecs/wl1273.c ucontrol->value.enumerated.item[0] = wl1273->mode; ucontrol 177 sound/soc/codecs/wl1273.c struct snd_ctl_elem_value *ucontrol) ucontrol 182 sound/soc/codecs/wl1273.c if (wl1273->mode == ucontrol->value.enumerated.item[0]) ucontrol 189 sound/soc/codecs/wl1273.c if (ucontrol->value.enumerated.item[0] >= ARRAY_SIZE(wl1273_audio_route)) ucontrol 192 sound/soc/codecs/wl1273.c wl1273->mode = ucontrol->value.enumerated.item[0]; ucontrol 200 sound/soc/codecs/wl1273.c struct snd_ctl_elem_value *ucontrol) ucontrol 207 sound/soc/codecs/wl1273.c ucontrol->value.enumerated.item[0] = wl1273->core->audio_mode; ucontrol 213 sound/soc/codecs/wl1273.c struct snd_ctl_elem_value *ucontrol) ucontrol 221 sound/soc/codecs/wl1273.c val = ucontrol->value.enumerated.item[0]; ucontrol 237 sound/soc/codecs/wl1273.c struct snd_ctl_elem_value *ucontrol) ucontrol 244 sound/soc/codecs/wl1273.c ucontrol->value.integer.value[0] = wl1273->core->volume; ucontrol 250 sound/soc/codecs/wl1273.c struct snd_ctl_elem_value *ucontrol) ucontrol 259 sound/soc/codecs/wl1273.c ucontrol->value.integer.value[0]); ucontrol 599 sound/soc/codecs/wm2000.c struct snd_ctl_elem_value *ucontrol) ucontrol 604 sound/soc/codecs/wm2000.c ucontrol->value.integer.value[0] = wm2000->anc_active; ucontrol 610 sound/soc/codecs/wm2000.c struct snd_ctl_elem_value *ucontrol) ucontrol 614 sound/soc/codecs/wm2000.c unsigned int anc_active = ucontrol->value.integer.value[0]; ucontrol 632 sound/soc/codecs/wm2000.c struct snd_ctl_elem_value *ucontrol) ucontrol 637 sound/soc/codecs/wm2000.c ucontrol->value.integer.value[0] = wm2000->spk_ena; ucontrol 643 sound/soc/codecs/wm2000.c struct snd_ctl_elem_value *ucontrol) ucontrol 647 sound/soc/codecs/wm2000.c unsigned int val = ucontrol->value.integer.value[0]; ucontrol 665 sound/soc/codecs/wm5102.c struct snd_ctl_elem_value *ucontrol) ucontrol 672 sound/soc/codecs/wm5102.c ucontrol->value.bytes.data); ucontrol 679 sound/soc/codecs/wm5102.c struct snd_ctl_elem_value *ucontrol) ucontrol 685 sound/soc/codecs/wm5102.c memcpy(&arizona->dac_comp_coeff, ucontrol->value.bytes.data, ucontrol 694 sound/soc/codecs/wm5102.c struct snd_ctl_elem_value *ucontrol) ucontrol 700 sound/soc/codecs/wm5102.c ucontrol->value.integer.value[0] = arizona->dac_comp_enabled; ucontrol 707 sound/soc/codecs/wm5102.c struct snd_ctl_elem_value *ucontrol) ucontrol 713 sound/soc/codecs/wm5102.c arizona->dac_comp_enabled = ucontrol->value.integer.value[0]; ucontrol 403 sound/soc/codecs/wm5110.c struct snd_ctl_elem_value *ucontrol) ucontrol 412 sound/soc/codecs/wm5110.c unsigned int lnew = (!!ucontrol->value.integer.value[0]) << mc->shift; ucontrol 413 sound/soc/codecs/wm5110.c unsigned int rnew = (!!ucontrol->value.integer.value[1]) << mc->rshift; ucontrol 464 sound/soc/codecs/wm5110.c struct snd_ctl_elem_value *ucontrol) ucontrol 476 sound/soc/codecs/wm5110.c ret = snd_soc_get_volsw_range(kcontrol, ucontrol); ucontrol 484 sound/soc/codecs/wm5110.c struct snd_ctl_elem_value *ucontrol) ucontrol 496 sound/soc/codecs/wm5110.c ret = snd_soc_put_volsw_range(kcontrol, ucontrol); ucontrol 297 sound/soc/codecs/wm8350.c struct snd_ctl_elem_value *ucontrol) ucontrol 323 sound/soc/codecs/wm8350.c out->left_vol = ucontrol->value.integer.value[0]; ucontrol 324 sound/soc/codecs/wm8350.c out->right_vol = ucontrol->value.integer.value[1]; ucontrol 329 sound/soc/codecs/wm8350.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 340 sound/soc/codecs/wm8350.c struct snd_ctl_elem_value *ucontrol) ucontrol 353 sound/soc/codecs/wm8350.c ucontrol->value.integer.value[0] = out1->left_vol; ucontrol 354 sound/soc/codecs/wm8350.c ucontrol->value.integer.value[1] = out1->right_vol; ucontrol 358 sound/soc/codecs/wm8350.c ucontrol->value.integer.value[0] = out2->left_vol; ucontrol 359 sound/soc/codecs/wm8350.c ucontrol->value.integer.value[1] = out2->right_vol; ucontrol 366 sound/soc/codecs/wm8350.c return snd_soc_get_volsw(kcontrol, ucontrol); ucontrol 87 sound/soc/codecs/wm8400.c struct snd_ctl_elem_value *ucontrol) ucontrol 96 sound/soc/codecs/wm8400.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 257 sound/soc/codecs/wm8580.c struct snd_ctl_elem_value *ucontrol) ucontrol 273 sound/soc/codecs/wm8580.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 117 sound/soc/codecs/wm8731.c struct snd_ctl_elem_value *ucontrol) ucontrol 122 sound/soc/codecs/wm8731.c ucontrol->value.integer.value[0] = wm8731->deemph; ucontrol 128 sound/soc/codecs/wm8731.c struct snd_ctl_elem_value *ucontrol) ucontrol 132 sound/soc/codecs/wm8731.c unsigned int deemph = ucontrol->value.integer.value[0]; ucontrol 225 sound/soc/codecs/wm8753.c struct snd_ctl_elem_value *ucontrol) ucontrol 230 sound/soc/codecs/wm8753.c ucontrol->value.enumerated.item[0] = wm8753->dai_func; ucontrol 235 sound/soc/codecs/wm8753.c struct snd_ctl_elem_value *ucontrol) ucontrol 241 sound/soc/codecs/wm8753.c if (wm8753->dai_func == ucontrol->value.enumerated.item[0]) ucontrol 249 sound/soc/codecs/wm8753.c wm8753->dai_func = ucontrol->value.enumerated.item[0]; ucontrol 72 sound/soc/codecs/wm8804.c struct snd_ctl_elem_value *ucontrol); ucontrol 159 sound/soc/codecs/wm8804.c struct snd_ctl_elem_value *ucontrol) ucontrol 164 sound/soc/codecs/wm8804.c unsigned int val = ucontrol->value.enumerated.item[0] << e->shift_l; ucontrol 371 sound/soc/codecs/wm8903.c struct snd_ctl_elem_value *ucontrol) ucontrol 381 sound/soc/codecs/wm8903.c if (ucontrol->value.integer.value[0]) { ucontrol 391 sound/soc/codecs/wm8903.c ret = snd_soc_dapm_put_volsw(kcontrol, ucontrol); ucontrol 394 sound/soc/codecs/wm8903.c if (!ucontrol->value.integer.value[0]) { ucontrol 446 sound/soc/codecs/wm8903.c struct snd_ctl_elem_value *ucontrol) ucontrol 451 sound/soc/codecs/wm8903.c ucontrol->value.integer.value[0] = wm8903->deemph; ucontrol 457 sound/soc/codecs/wm8903.c struct snd_ctl_elem_value *ucontrol) ucontrol 461 sound/soc/codecs/wm8903.c unsigned int deemph = ucontrol->value.integer.value[0]; ucontrol 389 sound/soc/codecs/wm8904.c struct snd_ctl_elem_value *ucontrol) ucontrol 394 sound/soc/codecs/wm8904.c int value = ucontrol->value.enumerated.item[0]; ucontrol 407 sound/soc/codecs/wm8904.c struct snd_ctl_elem_value *ucontrol) ucontrol 412 sound/soc/codecs/wm8904.c ucontrol->value.enumerated.item[0] = wm8904->drc_cfg; ucontrol 460 sound/soc/codecs/wm8904.c struct snd_ctl_elem_value *ucontrol) ucontrol 465 sound/soc/codecs/wm8904.c int value = ucontrol->value.enumerated.item[0]; ucontrol 478 sound/soc/codecs/wm8904.c struct snd_ctl_elem_value *ucontrol) ucontrol 483 sound/soc/codecs/wm8904.c ucontrol->value.enumerated.item[0] = wm8904->retune_mobile_cfg; ucontrol 518 sound/soc/codecs/wm8904.c struct snd_ctl_elem_value *ucontrol) ucontrol 523 sound/soc/codecs/wm8904.c ucontrol->value.integer.value[0] = wm8904->deemph; ucontrol 528 sound/soc/codecs/wm8904.c struct snd_ctl_elem_value *ucontrol) ucontrol 532 sound/soc/codecs/wm8904.c unsigned int deemph = ucontrol->value.integer.value[0]; ucontrol 556 sound/soc/codecs/wm8904.c struct snd_ctl_elem_value *ucontrol) ucontrol 562 sound/soc/codecs/wm8904.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 566 sound/soc/codecs/wm8904.c if (ucontrol->value.integer.value[0]) ucontrol 388 sound/soc/codecs/wm8955.c struct snd_ctl_elem_value *ucontrol) ucontrol 393 sound/soc/codecs/wm8955.c ucontrol->value.integer.value[0] = wm8955->deemph; ucontrol 398 sound/soc/codecs/wm8955.c struct snd_ctl_elem_value *ucontrol) ucontrol 402 sound/soc/codecs/wm8955.c unsigned int deemph = ucontrol->value.integer.value[0]; ucontrol 454 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 459 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; ucontrol 476 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 481 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->mbc_cfg; ucontrol 497 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 503 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.integer.value[0] = wm8994->mbc_ena[mbc]; ucontrol 509 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 515 sound/soc/codecs/wm8958-dsp2.c if (wm8994->mbc_ena[mbc] == ucontrol->value.integer.value[0]) ucontrol 518 sound/soc/codecs/wm8958-dsp2.c if (ucontrol->value.integer.value[0] > 1) ucontrol 529 sound/soc/codecs/wm8958-dsp2.c wm8994->mbc_ena[mbc] = ucontrol->value.integer.value[0]; ucontrol 544 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 549 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; ucontrol 566 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 571 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->vss_cfg; ucontrol 577 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 582 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; ucontrol 599 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 604 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->vss_hpf_cfg; ucontrol 620 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 626 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.integer.value[0] = wm8994->vss_ena[vss]; ucontrol 632 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 638 sound/soc/codecs/wm8958-dsp2.c if (wm8994->vss_ena[vss] == ucontrol->value.integer.value[0]) ucontrol 641 sound/soc/codecs/wm8958-dsp2.c if (ucontrol->value.integer.value[0] > 1) ucontrol 655 sound/soc/codecs/wm8958-dsp2.c wm8994->vss_ena[vss] = ucontrol->value.integer.value[0]; ucontrol 681 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 688 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.integer.value[0] = wm8994->hpf1_ena[hpf % 3]; ucontrol 690 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.integer.value[0] = wm8994->hpf2_ena[hpf % 3]; ucontrol 696 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 704 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.integer.value[0]) ucontrol 708 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.integer.value[0]) ucontrol 712 sound/soc/codecs/wm8958-dsp2.c if (ucontrol->value.integer.value[0] > 1) ucontrol 727 sound/soc/codecs/wm8958-dsp2.c wm8994->hpf1_ena[hpf % 3] = ucontrol->value.integer.value[0]; ucontrol 729 sound/soc/codecs/wm8958-dsp2.c wm8994->hpf2_ena[hpf % 3] = ucontrol->value.integer.value[0]; ucontrol 731 sound/soc/codecs/wm8958-dsp2.c wm8958_dsp_apply(component, hpf % 3, ucontrol->value.integer.value[0]); ucontrol 744 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 749 sound/soc/codecs/wm8958-dsp2.c int value = ucontrol->value.enumerated.item[0]; ucontrol 766 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 771 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.enumerated.item[0] = wm8994->enh_eq_cfg; ucontrol 787 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 793 sound/soc/codecs/wm8958-dsp2.c ucontrol->value.integer.value[0] = wm8994->enh_eq_ena[eq]; ucontrol 799 sound/soc/codecs/wm8958-dsp2.c struct snd_ctl_elem_value *ucontrol) ucontrol 805 sound/soc/codecs/wm8958-dsp2.c if (wm8994->enh_eq_ena[eq] == ucontrol->value.integer.value[0]) ucontrol 808 sound/soc/codecs/wm8958-dsp2.c if (ucontrol->value.integer.value[0] > 1) ucontrol 823 sound/soc/codecs/wm8958-dsp2.c wm8994->enh_eq_ena[eq] = ucontrol->value.integer.value[0]; ucontrol 825 sound/soc/codecs/wm8958-dsp2.c wm8958_dsp_apply(component, eq, ucontrol->value.integer.value[0]); ucontrol 196 sound/soc/codecs/wm8960.c struct snd_ctl_elem_value *ucontrol) ucontrol 201 sound/soc/codecs/wm8960.c ucontrol->value.integer.value[0] = wm8960->deemph; ucontrol 206 sound/soc/codecs/wm8960.c struct snd_ctl_elem_value *ucontrol) ucontrol 210 sound/soc/codecs/wm8960.c unsigned int deemph = ucontrol->value.integer.value[0]; ucontrol 1546 sound/soc/codecs/wm8962.c struct snd_ctl_elem_value *ucontrol) ucontrol 1552 sound/soc/codecs/wm8962.c ucontrol->value.integer.value[0] = !!(wm8962->dsp2_ena & 1 << shift); ucontrol 1558 sound/soc/codecs/wm8962.c struct snd_ctl_elem_value *ucontrol) ucontrol 1570 sound/soc/codecs/wm8962.c if (ucontrol->value.integer.value[0]) ucontrol 1597 sound/soc/codecs/wm8962.c struct snd_ctl_elem_value *ucontrol) ucontrol 1603 sound/soc/codecs/wm8962.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 1627 sound/soc/codecs/wm8962.c struct snd_ctl_elem_value *ucontrol) ucontrol 1633 sound/soc/codecs/wm8962.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 125 sound/soc/codecs/wm8983.c struct snd_ctl_elem_value *ucontrol); ucontrol 127 sound/soc/codecs/wm8983.c struct snd_ctl_elem_value *ucontrol); ucontrol 490 sound/soc/codecs/wm8983.c struct snd_ctl_elem_value *ucontrol) ucontrol 497 sound/soc/codecs/wm8983.c ucontrol->value.enumerated.item[0] = 1; ucontrol 499 sound/soc/codecs/wm8983.c ucontrol->value.enumerated.item[0] = 0; ucontrol 505 sound/soc/codecs/wm8983.c struct snd_ctl_elem_value *ucontrol) ucontrol 511 sound/soc/codecs/wm8983.c if (ucontrol->value.enumerated.item[0] != 0 ucontrol 512 sound/soc/codecs/wm8983.c && ucontrol->value.enumerated.item[0] != 1) ucontrol 518 sound/soc/codecs/wm8983.c if (!ucontrol->value.enumerated.item[0]) ucontrol 522 sound/soc/codecs/wm8983.c if (ucontrol->value.enumerated.item[0]) ucontrol 537 sound/soc/codecs/wm8983.c ucontrol->value.enumerated.item[0] ucontrol 215 sound/soc/codecs/wm8985.c struct snd_ctl_elem_value *ucontrol); ucontrol 217 sound/soc/codecs/wm8985.c struct snd_ctl_elem_value *ucontrol); ucontrol 590 sound/soc/codecs/wm8985.c struct snd_ctl_elem_value *ucontrol) ucontrol 597 sound/soc/codecs/wm8985.c ucontrol->value.enumerated.item[0] = 1; ucontrol 599 sound/soc/codecs/wm8985.c ucontrol->value.enumerated.item[0] = 0; ucontrol 605 sound/soc/codecs/wm8985.c struct snd_ctl_elem_value *ucontrol) ucontrol 611 sound/soc/codecs/wm8985.c if (ucontrol->value.enumerated.item[0] != 0 ucontrol 612 sound/soc/codecs/wm8985.c && ucontrol->value.enumerated.item[0] != 1) ucontrol 618 sound/soc/codecs/wm8985.c if (!ucontrol->value.enumerated.item[0]) ucontrol 622 sound/soc/codecs/wm8985.c if (ucontrol->value.enumerated.item[0]) ucontrol 639 sound/soc/codecs/wm8985.c ucontrol->value.enumerated.item[0] ucontrol 129 sound/soc/codecs/wm8990.c struct snd_ctl_elem_value *ucontrol) ucontrol 138 sound/soc/codecs/wm8990.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 130 sound/soc/codecs/wm8991.c struct snd_ctl_elem_value *ucontrol) ucontrol 137 sound/soc/codecs/wm8991.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 295 sound/soc/codecs/wm8994.c struct snd_ctl_elem_value *ucontrol) ucontrol 315 sound/soc/codecs/wm8994.c return snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 354 sound/soc/codecs/wm8994.c struct snd_ctl_elem_value *ucontrol) ucontrol 361 sound/soc/codecs/wm8994.c int value = ucontrol->value.enumerated.item[0]; ucontrol 377 sound/soc/codecs/wm8994.c struct snd_ctl_elem_value *ucontrol) ucontrol 385 sound/soc/codecs/wm8994.c ucontrol->value.enumerated.item[0] = wm8994->drc_cfg[drc]; ucontrol 461 sound/soc/codecs/wm8994.c struct snd_ctl_elem_value *ucontrol) ucontrol 468 sound/soc/codecs/wm8994.c int value = ucontrol->value.enumerated.item[0]; ucontrol 484 sound/soc/codecs/wm8994.c struct snd_ctl_elem_value *ucontrol) ucontrol 493 sound/soc/codecs/wm8994.c ucontrol->value.enumerated.item[0] = wm8994->retune_mobile_cfg[block]; ucontrol 1445 sound/soc/codecs/wm8994.c struct snd_ctl_elem_value *ucontrol) ucontrol 1450 sound/soc/codecs/wm8994.c ret = snd_soc_dapm_put_volsw(kcontrol, ucontrol); ucontrol 548 sound/soc/codecs/wm8995.c struct snd_ctl_elem_value *ucontrol) ucontrol 553 sound/soc/codecs/wm8995.c ret = snd_soc_dapm_put_volsw(kcontrol, ucontrol); ucontrol 410 sound/soc/codecs/wm8996.c struct snd_ctl_elem_value *ucontrol) ucontrol 416 sound/soc/codecs/wm8996.c int value = ucontrol->value.enumerated.item[0]; ucontrol 432 sound/soc/codecs/wm8996.c struct snd_ctl_elem_value *ucontrol) ucontrol 440 sound/soc/codecs/wm8996.c ucontrol->value.enumerated.item[0] = wm8996->retune_mobile_cfg[block]; ucontrol 102 sound/soc/codecs/wm8998.c struct snd_ctl_elem_value *ucontrol) ucontrol 112 sound/soc/codecs/wm8998.c mux = ucontrol->value.enumerated.item[0]; ucontrol 146 sound/soc/codecs/wm8998.c ucontrol->value.enumerated.item[0], ucontrol 336 sound/soc/codecs/wm9081.c struct snd_ctl_elem_value *ucontrol) ucontrol 343 sound/soc/codecs/wm9081.c ucontrol->value.enumerated.item[0] = 1; ucontrol 345 sound/soc/codecs/wm9081.c ucontrol->value.enumerated.item[0] = 0; ucontrol 357 sound/soc/codecs/wm9081.c struct snd_ctl_elem_value *ucontrol) ucontrol 364 sound/soc/codecs/wm9081.c if (ucontrol->value.enumerated.item[0] == ucontrol 372 sound/soc/codecs/wm9081.c if (ucontrol->value.enumerated.item[0]) { ucontrol 216 sound/soc/codecs/wm9712.c struct snd_ctl_elem_value *ucontrol) ucontrol 221 sound/soc/codecs/wm9712.c unsigned int val = ucontrol->value.integer.value[0]; ucontrol 234 sound/soc/codecs/wm9712.c if (ucontrol->value.integer.value[0]) ucontrol 260 sound/soc/codecs/wm9712.c struct snd_ctl_elem_value *ucontrol) ucontrol 272 sound/soc/codecs/wm9712.c ucontrol->value.integer.value[0] = ucontrol 225 sound/soc/codecs/wm9713.c struct snd_ctl_elem_value *ucontrol) ucontrol 230 sound/soc/codecs/wm9713.c unsigned int val = ucontrol->value.integer.value[0]; ucontrol 243 sound/soc/codecs/wm9713.c if (ucontrol->value.integer.value[0]) ucontrol 269 sound/soc/codecs/wm9713.c struct snd_ctl_elem_value *ucontrol) ucontrol 281 sound/soc/codecs/wm9713.c ucontrol->value.integer.value[0] = ucontrol 594 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol); ucontrol 596 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol); ucontrol 776 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 782 sound/soc/codecs/wm_adsp.c ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; ucontrol 789 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 796 sound/soc/codecs/wm_adsp.c if (ucontrol->value.enumerated.item[0] == dsp[e->shift_l].fw) ucontrol 799 sound/soc/codecs/wm_adsp.c if (ucontrol->value.enumerated.item[0] >= WM_ADSP_NUM_FW) ucontrol 807 sound/soc/codecs/wm_adsp.c dsp[e->shift_l].fw = ucontrol->value.enumerated.item[0]; ucontrol 1062 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 1067 sound/soc/codecs/wm_adsp.c char *p = ucontrol->value.bytes.data; ucontrol 1112 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 1117 sound/soc/codecs/wm_adsp.c unsigned int val = ucontrol->value.integer.value[0]; ucontrol 1167 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 1172 sound/soc/codecs/wm_adsp.c char *p = ucontrol->value.bytes.data; ucontrol 1223 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 1232 sound/soc/codecs/wm_adsp.c ucontrol->value.integer.value[0] = 0; ucontrol 3017 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 3025 sound/soc/codecs/wm_adsp.c ucontrol->value.integer.value[0] = dsp->preloaded; ucontrol 3032 sound/soc/codecs/wm_adsp.c struct snd_ctl_elem_value *ucontrol) ucontrol 3044 sound/soc/codecs/wm_adsp.c dsp->preloaded = ucontrol->value.integer.value[0]; ucontrol 3046 sound/soc/codecs/wm_adsp.c if (ucontrol->value.integer.value[0]) ucontrol 184 sound/soc/codecs/wm_adsp.h struct snd_ctl_elem_value *ucontrol); ucontrol 186 sound/soc/codecs/wm_adsp.h struct snd_ctl_elem_value *ucontrol); ucontrol 188 sound/soc/codecs/wm_adsp.h struct snd_ctl_elem_value *ucontrol); ucontrol 190 sound/soc/codecs/wm_adsp.h struct snd_ctl_elem_value *ucontrol); ucontrol 331 sound/soc/codecs/wm_hubs.c struct snd_ctl_elem_value *ucontrol) ucontrol 337 sound/soc/codecs/wm_hubs.c ret = snd_soc_put_volsw(kcontrol, ucontrol); ucontrol 694 sound/soc/codecs/wm_hubs.c struct snd_ctl_elem_value *ucontrol) ucontrol 699 sound/soc/codecs/wm_hubs.c ret = snd_soc_dapm_put_volsw(kcontrol, ucontrol); ucontrol 714 sound/soc/codecs/wm_hubs.c struct snd_ctl_elem_value *ucontrol) ucontrol 719 sound/soc/codecs/wm_hubs.c ret = snd_soc_dapm_put_enum_double(kcontrol, ucontrol); ucontrol 112 sound/soc/fsl/fsl_audmix.c struct snd_ctl_elem_value *ucontrol) ucontrol 117 sound/soc/fsl/fsl_audmix.c unsigned int *item = ucontrol->value.enumerated.item; ucontrol 150 sound/soc/fsl/fsl_audmix.c return snd_soc_put_enum_double(kcontrol, ucontrol); ucontrol 154 sound/soc/fsl/fsl_audmix.c struct snd_ctl_elem_value *ucontrol) ucontrol 159 sound/soc/fsl/fsl_audmix.c unsigned int *item = ucontrol->value.enumerated.item; ucontrol 687 sound/soc/fsl/fsl_spdif.c struct snd_ctl_elem_value *ucontrol) ucontrol 699 sound/soc/fsl/fsl_spdif.c ucontrol->value.iec958.status[0] = (cstatus >> 16) & 0xFF; ucontrol 700 sound/soc/fsl/fsl_spdif.c ucontrol->value.iec958.status[1] = (cstatus >> 8) & 0xFF; ucontrol 701 sound/soc/fsl/fsl_spdif.c ucontrol->value.iec958.status[2] = cstatus & 0xFF; ucontrol 704 sound/soc/fsl/fsl_spdif.c ucontrol->value.iec958.status[3] = (cstatus >> 16) & 0xFF; ucontrol 705 sound/soc/fsl/fsl_spdif.c ucontrol->value.iec958.status[4] = (cstatus >> 8) & 0xFF; ucontrol 706 sound/soc/fsl/fsl_spdif.c ucontrol->value.iec958.status[5] = cstatus & 0xFF; ucontrol 719 sound/soc/fsl/fsl_spdif.c struct snd_ctl_elem_value *ucontrol) ucontrol 730 sound/soc/fsl/fsl_spdif.c memcpy(&ucontrol->value.iec958.subcode[0], ucontrol 751 sound/soc/fsl/fsl_spdif.c struct snd_ctl_elem_value *ucontrol) ucontrol 762 sound/soc/fsl/fsl_spdif.c memcpy(&ucontrol->value.bytes.data[0], ucontrol 785 sound/soc/fsl/fsl_spdif.c struct snd_ctl_elem_value *ucontrol) ucontrol 793 sound/soc/fsl/fsl_spdif.c ucontrol->value.integer.value[0] = (val & INT_VAL_NOGOOD) != 0; ucontrol 852 sound/soc/fsl/fsl_spdif.c struct snd_ctl_elem_value *ucontrol) ucontrol 861 sound/soc/fsl/fsl_spdif.c ucontrol->value.integer.value[0] = rate; ucontrol 884 sound/soc/fsl/fsl_spdif.c struct snd_ctl_elem_value *ucontrol) ucontrol 892 sound/soc/fsl/fsl_spdif.c ucontrol->value.integer.value[0] = (val & SRCD_CD_USER) != 0; ucontrol 903 sound/soc/fsl/fsl_spdif.c struct snd_ctl_elem_value *ucontrol) ucontrol 908 sound/soc/fsl/fsl_spdif.c u32 val = ucontrol->value.integer.value[0] << SRCD_CD_USER_OFFSET; ucontrol 66 sound/soc/fsl/mx27vis-aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 70 sound/soc/fsl/mx27vis-aic32x4.c int value = ucontrol->value.integer.value[0]; ucontrol 93 sound/soc/fsl/mx27vis-aic32x4.c struct snd_ctl_elem_value *ucontrol) ucontrol 101 sound/soc/fsl/mx27vis-aic32x4.c ucontrol->value.integer.value[0] = mx27vis_amp_gain; ucontrol 104 sound/soc/fsl/mx27vis-aic32x4.c ucontrol->value.integer.value[0] = mx27vis_amp_mute; ucontrol 280 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 282 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 283 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 284 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 285 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 286 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[4] = 0xff; ucontrol 292 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 299 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[0] = reg & 0xff; ucontrol 300 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[1] = (reg >> 8) & 0xff; ucontrol 301 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[2] = (reg >> 16) & 0xff; ucontrol 302 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[3] = (reg >> 24) & 0xff; ucontrol 304 sound/soc/img/img-spdif-in.c ucontrol->value.iec958.status[4] = (reg & IMG_SPDIF_IN_CSH_MASK) ucontrol 322 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 330 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[0] = spdif->multi_freqs[0]; ucontrol 331 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[1] = spdif->multi_freqs[1]; ucontrol 332 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[2] = spdif->multi_freqs[2]; ucontrol 333 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[3] = spdif->multi_freqs[3]; ucontrol 335 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[0] = 0; ucontrol 336 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[1] = 0; ucontrol 337 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[2] = 0; ucontrol 338 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[3] = 0; ucontrol 346 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 354 sound/soc/img/img-spdif-in.c if ((ucontrol->value.integer.value[0] == 0) && ucontrol 355 sound/soc/img/img-spdif-in.c (ucontrol->value.integer.value[1] == 0) && ucontrol 356 sound/soc/img/img-spdif-in.c (ucontrol->value.integer.value[2] == 0) && ucontrol 357 sound/soc/img/img-spdif-in.c (ucontrol->value.integer.value[3] == 0)) { ucontrol 360 sound/soc/img/img-spdif-in.c multi_freqs[0] = ucontrol->value.integer.value[0]; ucontrol 361 sound/soc/img/img-spdif-in.c multi_freqs[1] = ucontrol->value.integer.value[1]; ucontrol 362 sound/soc/img/img-spdif-in.c multi_freqs[2] = ucontrol->value.integer.value[2]; ucontrol 363 sound/soc/img/img-spdif-in.c multi_freqs[3] = ucontrol->value.integer.value[3]; ucontrol 436 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 441 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[0] = spdif->trk; ucontrol 447 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 462 sound/soc/img/img-spdif-in.c spdif->trk = ucontrol->value.integer.value[0]; ucontrol 494 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 499 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[0] = spdif->lock_acquire; ucontrol 505 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 519 sound/soc/img/img-spdif-in.c spdif->lock_acquire = ucontrol->value.integer.value[0]; ucontrol 533 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 538 sound/soc/img/img-spdif-in.c ucontrol->value.integer.value[0] = spdif->lock_release; ucontrol 544 sound/soc/img/img-spdif-in.c struct snd_ctl_elem_value *ucontrol) ucontrol 558 sound/soc/img/img-spdif-in.c spdif->lock_release = ucontrol->value.integer.value[0]; ucontrol 121 sound/soc/img/img-spdif-out.c struct snd_ctl_elem_value *ucontrol) ucontrol 123 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 124 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 125 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 126 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 127 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[4] = 0xff; ucontrol 133 sound/soc/img/img-spdif-out.c struct snd_ctl_elem_value *ucontrol) ucontrol 143 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[0] = reg & 0xff; ucontrol 144 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[1] = (reg >> 8) & 0xff; ucontrol 145 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[2] = (reg >> 16) & 0xff; ucontrol 146 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[3] = (reg >> 24) & 0xff; ucontrol 149 sound/soc/img/img-spdif-out.c ucontrol->value.iec958.status[4] = ucontrol 159 sound/soc/img/img-spdif-out.c struct snd_ctl_elem_value *ucontrol) ucontrol 166 sound/soc/img/img-spdif-out.c reg = ((u32)ucontrol->value.iec958.status[3] << 24); ucontrol 167 sound/soc/img/img-spdif-out.c reg |= ((u32)ucontrol->value.iec958.status[2] << 16); ucontrol 168 sound/soc/img/img-spdif-out.c reg |= ((u32)ucontrol->value.iec958.status[1] << 8); ucontrol 169 sound/soc/img/img-spdif-out.c reg |= (u32)ucontrol->value.iec958.status[0]; ucontrol 177 sound/soc/img/img-spdif-out.c reg |= (u32)ucontrol->value.iec958.status[4] << ucontrol 152 sound/soc/intel/atom/sst-atom-controls.c struct snd_ctl_elem_value *ucontrol) ucontrol 169 sound/soc/intel/atom/sst-atom-controls.c ucontrol->value.enumerated.item[0] = mux; ucontrol 210 sound/soc/intel/atom/sst-atom-controls.c struct snd_ctl_elem_value *ucontrol) ucontrol 225 sound/soc/intel/atom/sst-atom-controls.c mux = ucontrol->value.enumerated.item[0]; ucontrol 319 sound/soc/intel/atom/sst-atom-controls.c struct snd_ctl_elem_value *ucontrol) ucontrol 326 sound/soc/intel/atom/sst-atom-controls.c memcpy(ucontrol->value.bytes.data, bc->params, bc->max); ucontrol 338 sound/soc/intel/atom/sst-atom-controls.c struct snd_ctl_elem_value *ucontrol) ucontrol 349 sound/soc/intel/atom/sst-atom-controls.c memcpy(bc->params, ucontrol->value.bytes.data, bc->max); ucontrol 425 sound/soc/intel/atom/sst-atom-controls.c struct snd_ctl_elem_value *ucontrol) ucontrol 433 sound/soc/intel/atom/sst-atom-controls.c ucontrol->value.integer.value[0] = gv->l_gain; ucontrol 434 sound/soc/intel/atom/sst-atom-controls.c ucontrol->value.integer.value[1] = gv->r_gain; ucontrol 438 sound/soc/intel/atom/sst-atom-controls.c ucontrol->value.integer.value[0] = gv->mute ? 0 : 1; ucontrol 442 sound/soc/intel/atom/sst-atom-controls.c ucontrol->value.integer.value[0] = gv->ramp_duration; ucontrol 455 sound/soc/intel/atom/sst-atom-controls.c struct snd_ctl_elem_value *ucontrol) ucontrol 467 sound/soc/intel/atom/sst-atom-controls.c gv->l_gain = ucontrol->value.integer.value[0]; ucontrol 468 sound/soc/intel/atom/sst-atom-controls.c gv->r_gain = ucontrol->value.integer.value[1]; ucontrol 474 sound/soc/intel/atom/sst-atom-controls.c gv->mute = !ucontrol->value.integer.value[0]; ucontrol 479 sound/soc/intel/atom/sst-atom-controls.c gv->ramp_duration = ucontrol->value.integer.value[0]; ucontrol 173 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 194 sound/soc/intel/haswell/sst-haswell-pcm.c hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); ucontrol 196 sound/soc/intel/haswell/sst-haswell-pcm.c hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); ucontrol 203 sound/soc/intel/haswell/sst-haswell-pcm.c if (ucontrol->value.integer.value[0] == ucontrol 204 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[1]) { ucontrol 205 sound/soc/intel/haswell/sst-haswell-pcm.c volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); ucontrol 209 sound/soc/intel/haswell/sst-haswell-pcm.c volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); ucontrol 211 sound/soc/intel/haswell/sst-haswell-pcm.c volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); ucontrol 222 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 242 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[0] = ucontrol 244 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[1] = ucontrol 253 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[0] = hsw_ipc_to_mixer(volume); ucontrol 255 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[1] = hsw_ipc_to_mixer(volume); ucontrol 265 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 274 sound/soc/intel/haswell/sst-haswell-pcm.c if (ucontrol->value.integer.value[0] == ucontrol 275 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[1]) { ucontrol 277 sound/soc/intel/haswell/sst-haswell-pcm.c volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); ucontrol 281 sound/soc/intel/haswell/sst-haswell-pcm.c volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[0]); ucontrol 284 sound/soc/intel/haswell/sst-haswell-pcm.c volume = hsw_mixer_to_ipc(ucontrol->value.integer.value[1]); ucontrol 294 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 303 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[0] = hsw_ipc_to_mixer(volume); ucontrol 306 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[1] = hsw_ipc_to_mixer(volume); ucontrol 314 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 321 sound/soc/intel/haswell/sst-haswell-pcm.c ucontrol->value.integer.value[0] = ucontrol 328 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 335 sound/soc/intel/haswell/sst-haswell-pcm.c bool switch_on = (bool)ucontrol->value.integer.value[0]; ucontrol 362 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 369 sound/soc/intel/haswell/sst-haswell-pcm.c return sst_hsw_load_param_line(hsw, ucontrol->value.bytes.data); ucontrol 373 sound/soc/intel/haswell/sst-haswell-pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 380 sound/soc/intel/haswell/sst-haswell-pcm.c int param_id = ucontrol->value.bytes.data[0]; ucontrol 390 sound/soc/intel/haswell/sst-haswell-pcm.c ret = sst_hsw_store_param_line(hsw, ucontrol->value.bytes.data); ucontrol 396 sound/soc/intel/haswell/sst-haswell-pcm.c param_size, ucontrol->value.bytes.data); ucontrol 1386 sound/soc/intel/skylake/skl-topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 1394 sound/soc/intel/skylake/skl-topology.c ucontrol->value.enumerated.item[0] = ucontrol 1397 sound/soc/intel/skylake/skl-topology.c ucontrol->value.enumerated.item[0] = 0; ucontrol 1424 sound/soc/intel/skylake/skl-topology.c struct snd_ctl_elem_value *ucontrol) ucontrol 1435 sound/soc/intel/skylake/skl-topology.c mconfig->dmic_ch_combo_index = ucontrol->value.enumerated.item[0]; ucontrol 1084 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1089 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = bt->band; ucontrol 1094 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1100 sound/soc/mediatek/common/mtk-btcvsd.c if (ucontrol->value.enumerated.item[0] >= e->items) ucontrol 1103 sound/soc/mediatek/common/mtk-btcvsd.c bt->band = ucontrol->value.integer.value[0]; ucontrol 1109 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1115 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = lpbk_en; ucontrol 1120 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1125 sound/soc/mediatek/common/mtk-btcvsd.c if (ucontrol->value.integer.value[0]) { ucontrol 1136 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1142 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = 0; ucontrol 1146 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = bt->tx->mute; ucontrol 1151 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1159 sound/soc/mediatek/common/mtk-btcvsd.c bt->tx->mute = ucontrol->value.integer.value[0]; ucontrol 1164 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1172 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = bt->rx->rw_cnt ? 1 : 0; ucontrol 1177 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1185 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = bt->rx->timeout; ucontrol 1218 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1226 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = bt->tx->rw_cnt ? 1 : 0; ucontrol 1231 sound/soc/mediatek/common/mtk-btcvsd.c struct snd_ctl_elem_value *ucontrol) ucontrol 1236 sound/soc/mediatek/common/mtk-btcvsd.c ucontrol->value.integer.value[0] = bt->tx->timeout; ucontrol 36 sound/soc/mediatek/mt2701/mt2701-cs42448.c struct snd_ctl_elem_value *ucontrol) ucontrol 41 sound/soc/mediatek/mt2701/mt2701-cs42448.c ucontrol->value.integer.value[0] = priv->i2s1_in_mux; ucontrol 46 sound/soc/mediatek/mt2701/mt2701-cs42448.c struct snd_ctl_elem_value *ucontrol) ucontrol 51 sound/soc/mediatek/mt2701/mt2701-cs42448.c if (ucontrol->value.integer.value[0] == priv->i2s1_in_mux) ucontrol 54 sound/soc/mediatek/mt2701/mt2701-cs42448.c switch (ucontrol->value.integer.value[0]) { ucontrol 75 sound/soc/mediatek/mt2701/mt2701-cs42448.c priv->i2s1_in_mux = ucontrol->value.integer.value[0]; ucontrol 198 sound/soc/mediatek/mt8183/mt8183-dai-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 204 sound/soc/mediatek/mt8183/mt8183-dai-adda.c ucontrol->value.integer.value[0] = afe_priv->mtkaif_dmic; ucontrol 210 sound/soc/mediatek/mt8183/mt8183-dai-adda.c struct snd_ctl_elem_value *ucontrol) ucontrol 217 sound/soc/mediatek/mt8183/mt8183-dai-adda.c if (ucontrol->value.enumerated.item[0] >= e->items) ucontrol 220 sound/soc/mediatek/mt8183/mt8183-dai-adda.c afe_priv->mtkaif_dmic = ucontrol->value.integer.value[0]; ucontrol 118 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_ctl_elem_value *ucontrol) ucontrol 131 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c ucontrol->value.integer.value[0] = i2s_priv->low_jitter_en; ucontrol 137 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_ctl_elem_value *ucontrol) ucontrol 145 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c if (ucontrol->value.enumerated.item[0] >= e->items) ucontrol 148 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c hd_en = ucontrol->value.integer.value[0]; ucontrol 285 sound/soc/meson/axg-spdifin.c struct snd_ctl_elem_value *ucontrol) ucontrol 290 sound/soc/meson/axg-spdifin.c ucontrol->value.iec958.status[i] = 0xff; ucontrol 296 sound/soc/meson/axg-spdifin.c struct snd_ctl_elem_value *ucontrol) ucontrol 314 sound/soc/meson/axg-spdifin.c ucontrol->value.iec958.status[offset] = ucontrol 361 sound/soc/meson/axg-spdifin.c struct snd_ctl_elem_value *ucontrol) ucontrol 366 sound/soc/meson/axg-spdifin.c ucontrol->value.integer.value[0] = axg_spdifin_get_rate(priv); ucontrol 93 sound/soc/meson/g12a-tohdmitx.c struct snd_ctl_elem_value *ucontrol) ucontrol 98 sound/soc/meson/g12a-tohdmitx.c ucontrol->value.enumerated.item[0] = ucontrol 105 sound/soc/meson/g12a-tohdmitx.c struct snd_ctl_elem_value *ucontrol) ucontrol 112 sound/soc/meson/g12a-tohdmitx.c unsigned int mux = ucontrol->value.enumerated.item[0]; ucontrol 146 sound/soc/meson/g12a-tohdmitx.c struct snd_ctl_elem_value *ucontrol) ucontrol 151 sound/soc/meson/g12a-tohdmitx.c ucontrol->value.enumerated.item[0] = ucontrol 158 sound/soc/meson/g12a-tohdmitx.c struct snd_ctl_elem_value *ucontrol) ucontrol 165 sound/soc/meson/g12a-tohdmitx.c unsigned int mux = ucontrol->value.enumerated.item[0]; ucontrol 160 sound/soc/pxa/corgi.c struct snd_ctl_elem_value *ucontrol) ucontrol 162 sound/soc/pxa/corgi.c ucontrol->value.enumerated.item[0] = corgi_jack_func; ucontrol 167 sound/soc/pxa/corgi.c struct snd_ctl_elem_value *ucontrol) ucontrol 171 sound/soc/pxa/corgi.c if (corgi_jack_func == ucontrol->value.enumerated.item[0]) ucontrol 174 sound/soc/pxa/corgi.c corgi_jack_func = ucontrol->value.enumerated.item[0]; ucontrol 180 sound/soc/pxa/corgi.c struct snd_ctl_elem_value *ucontrol) ucontrol 182 sound/soc/pxa/corgi.c ucontrol->value.enumerated.item[0] = corgi_spk_func; ucontrol 187 sound/soc/pxa/corgi.c struct snd_ctl_elem_value *ucontrol) ucontrol 191 sound/soc/pxa/corgi.c if (corgi_spk_func == ucontrol->value.enumerated.item[0]) ucontrol 194 sound/soc/pxa/corgi.c corgi_spk_func = ucontrol->value.enumerated.item[0]; ucontrol 162 sound/soc/pxa/magician.c struct snd_ctl_elem_value *ucontrol) ucontrol 164 sound/soc/pxa/magician.c ucontrol->value.integer.value[0] = magician_hp_switch; ucontrol 169 sound/soc/pxa/magician.c struct snd_ctl_elem_value *ucontrol) ucontrol 173 sound/soc/pxa/magician.c if (magician_hp_switch == ucontrol->value.integer.value[0]) ucontrol 176 sound/soc/pxa/magician.c magician_hp_switch = ucontrol->value.integer.value[0]; ucontrol 182 sound/soc/pxa/magician.c struct snd_ctl_elem_value *ucontrol) ucontrol 184 sound/soc/pxa/magician.c ucontrol->value.integer.value[0] = magician_spk_switch; ucontrol 189 sound/soc/pxa/magician.c struct snd_ctl_elem_value *ucontrol) ucontrol 193 sound/soc/pxa/magician.c if (magician_spk_switch == ucontrol->value.integer.value[0]) ucontrol 196 sound/soc/pxa/magician.c magician_spk_switch = ucontrol->value.integer.value[0]; ucontrol 202 sound/soc/pxa/magician.c struct snd_ctl_elem_value *ucontrol) ucontrol 204 sound/soc/pxa/magician.c ucontrol->value.enumerated.item[0] = magician_in_sel; ucontrol 209 sound/soc/pxa/magician.c struct snd_ctl_elem_value *ucontrol) ucontrol 211 sound/soc/pxa/magician.c if (magician_in_sel == ucontrol->value.enumerated.item[0]) ucontrol 214 sound/soc/pxa/magician.c magician_in_sel = ucontrol->value.enumerated.item[0]; ucontrol 134 sound/soc/pxa/poodle.c struct snd_ctl_elem_value *ucontrol) ucontrol 136 sound/soc/pxa/poodle.c ucontrol->value.enumerated.item[0] = poodle_jack_func; ucontrol 141 sound/soc/pxa/poodle.c struct snd_ctl_elem_value *ucontrol) ucontrol 145 sound/soc/pxa/poodle.c if (poodle_jack_func == ucontrol->value.enumerated.item[0]) ucontrol 148 sound/soc/pxa/poodle.c poodle_jack_func = ucontrol->value.enumerated.item[0]; ucontrol 154 sound/soc/pxa/poodle.c struct snd_ctl_elem_value *ucontrol) ucontrol 156 sound/soc/pxa/poodle.c ucontrol->value.enumerated.item[0] = poodle_spk_func; ucontrol 161 sound/soc/pxa/poodle.c struct snd_ctl_elem_value *ucontrol) ucontrol 165 sound/soc/pxa/poodle.c if (poodle_spk_func == ucontrol->value.enumerated.item[0]) ucontrol 168 sound/soc/pxa/poodle.c poodle_spk_func = ucontrol->value.enumerated.item[0]; ucontrol 160 sound/soc/pxa/spitz.c struct snd_ctl_elem_value *ucontrol) ucontrol 162 sound/soc/pxa/spitz.c ucontrol->value.enumerated.item[0] = spitz_jack_func; ucontrol 167 sound/soc/pxa/spitz.c struct snd_ctl_elem_value *ucontrol) ucontrol 171 sound/soc/pxa/spitz.c if (spitz_jack_func == ucontrol->value.enumerated.item[0]) ucontrol 174 sound/soc/pxa/spitz.c spitz_jack_func = ucontrol->value.enumerated.item[0]; ucontrol 180 sound/soc/pxa/spitz.c struct snd_ctl_elem_value *ucontrol) ucontrol 182 sound/soc/pxa/spitz.c ucontrol->value.enumerated.item[0] = spitz_spk_func; ucontrol 187 sound/soc/pxa/spitz.c struct snd_ctl_elem_value *ucontrol) ucontrol 191 sound/soc/pxa/spitz.c if (spitz_spk_func == ucontrol->value.enumerated.item[0]) ucontrol 194 sound/soc/pxa/spitz.c spitz_spk_func = ucontrol->value.enumerated.item[0]; ucontrol 88 sound/soc/pxa/tosa.c struct snd_ctl_elem_value *ucontrol) ucontrol 90 sound/soc/pxa/tosa.c ucontrol->value.enumerated.item[0] = tosa_jack_func; ucontrol 95 sound/soc/pxa/tosa.c struct snd_ctl_elem_value *ucontrol) ucontrol 99 sound/soc/pxa/tosa.c if (tosa_jack_func == ucontrol->value.enumerated.item[0]) ucontrol 102 sound/soc/pxa/tosa.c tosa_jack_func = ucontrol->value.enumerated.item[0]; ucontrol 108 sound/soc/pxa/tosa.c struct snd_ctl_elem_value *ucontrol) ucontrol 110 sound/soc/pxa/tosa.c ucontrol->value.enumerated.item[0] = tosa_spk_func; ucontrol 115 sound/soc/pxa/tosa.c struct snd_ctl_elem_value *ucontrol) ucontrol 119 sound/soc/pxa/tosa.c if (tosa_spk_func == ucontrol->value.enumerated.item[0]) ucontrol 122 sound/soc/pxa/tosa.c tosa_spk_func = ucontrol->value.enumerated.item[0]; ucontrol 409 sound/soc/qcom/qdsp6/q6routing.c struct snd_ctl_elem_value *ucontrol) ucontrol 421 sound/soc/qcom/qdsp6/q6routing.c ucontrol->value.integer.value[0] = 1; ucontrol 423 sound/soc/qcom/qdsp6/q6routing.c ucontrol->value.integer.value[0] = 0; ucontrol 429 sound/soc/qcom/qdsp6/q6routing.c struct snd_ctl_elem_value *ucontrol) ucontrol 442 sound/soc/qcom/qdsp6/q6routing.c if (ucontrol->value.integer.value[0]) { ucontrol 172 sound/soc/samsung/neo1973_wm8753.c struct snd_ctl_elem_value *ucontrol) ucontrol 174 sound/soc/samsung/neo1973_wm8753.c gta02_speaker_enabled = ucontrol->value.integer.value[0]; ucontrol 182 sound/soc/samsung/neo1973_wm8753.c struct snd_ctl_elem_value *ucontrol) ucontrol 184 sound/soc/samsung/neo1973_wm8753.c ucontrol->value.integer.value[0] = gta02_speaker_enabled; ucontrol 30 sound/soc/samsung/s3c24xx_simtec.c struct snd_ctl_elem_value *ucontrol) ucontrol 32 sound/soc/samsung/s3c24xx_simtec.c ucontrol->value.integer.value[0] = spk_gain; ucontrol 59 sound/soc/samsung/s3c24xx_simtec.c struct snd_ctl_elem_value *ucontrol) ucontrol 61 sound/soc/samsung/s3c24xx_simtec.c int value = ucontrol->value.integer.value[0]; ucontrol 100 sound/soc/samsung/s3c24xx_simtec.c struct snd_ctl_elem_value *ucontrol) ucontrol 102 sound/soc/samsung/s3c24xx_simtec.c ucontrol->value.integer.value[0] = spk_unmute; ucontrol 115 sound/soc/samsung/s3c24xx_simtec.c struct snd_ctl_elem_value *ucontrol) ucontrol 117 sound/soc/samsung/s3c24xx_simtec.c spk_unmute_state(ucontrol->value.integer.value[0]); ucontrol 353 sound/soc/sh/siu_dai.c struct snd_ctl_elem_value *ucontrol) ucontrol 365 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[0] = vol & 0xffff; ucontrol 366 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; ucontrol 371 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[0] = vol & 0xffff; ucontrol 372 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; ucontrol 384 sound/soc/sh/siu_dai.c struct snd_ctl_elem_value *ucontrol) ucontrol 395 sound/soc/sh/siu_dai.c if (ucontrol->value.integer.value[0] < 0 || ucontrol 396 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[0] > SIU_MAX_VOLUME || ucontrol 397 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[1] < 0 || ucontrol 398 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[1] > SIU_MAX_VOLUME) ucontrol 401 sound/soc/sh/siu_dai.c new_vol = ucontrol->value.integer.value[0] | ucontrol 402 sound/soc/sh/siu_dai.c ucontrol->value.integer.value[1] << 16; ucontrol 3278 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3316 sound/soc/soc-dapm.c ucontrol->value.integer.value[0] = max - val; ucontrol 3318 sound/soc/soc-dapm.c ucontrol->value.integer.value[0] = val; ucontrol 3322 sound/soc/soc-dapm.c ucontrol->value.integer.value[1] = max - rval; ucontrol 3324 sound/soc/soc-dapm.c ucontrol->value.integer.value[1] = rval; ucontrol 3341 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3358 sound/soc/soc-dapm.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 3365 sound/soc/soc-dapm.c rval = (ucontrol->value.integer.value[1] & mask); ucontrol 3433 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3453 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[0] = snd_soc_enum_val_to_item(e, val); ucontrol 3457 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[1] = val; ucontrol 3474 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3479 sound/soc/soc-dapm.c unsigned int *item = ucontrol->value.enumerated.item; ucontrol 3555 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3562 sound/soc/soc-dapm.c ucontrol->value.integer.value[0] = ucontrol 3578 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 3583 sound/soc/soc-dapm.c if (ucontrol->value.integer.value[0]) ucontrol 4003 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4008 sound/soc/soc-dapm.c ucontrol->value.enumerated.item[0] = rtd->params_select; ucontrol 4014 sound/soc/soc-dapm.c struct snd_ctl_elem_value *ucontrol) ucontrol 4023 sound/soc/soc-dapm.c if (ucontrol->value.enumerated.item[0] == rtd->params_select) ucontrol 4026 sound/soc/soc-dapm.c if (ucontrol->value.enumerated.item[0] >= rtd->dai_link->num_params) ucontrol 4029 sound/soc/soc-dapm.c rtd->params_select = ucontrol->value.enumerated.item[0]; ucontrol 60 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 73 sound/soc/soc-ops.c ucontrol->value.enumerated.item[0] = item; ucontrol 77 sound/soc/soc-ops.c ucontrol->value.enumerated.item[1] = item; ucontrol 94 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 98 sound/soc/soc-ops.c unsigned int *item = ucontrol->value.enumerated.item; ucontrol 243 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 267 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = val - min; ucontrol 269 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = ucontrol 270 sound/soc/soc-ops.c max - ucontrol->value.integer.value[0]; ucontrol 282 sound/soc/soc-ops.c ucontrol->value.integer.value[1] = val - min; ucontrol 284 sound/soc/soc-ops.c ucontrol->value.integer.value[1] = ucontrol 285 sound/soc/soc-ops.c max - ucontrol->value.integer.value[1]; ucontrol 303 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 325 sound/soc/soc-ops.c val = ((ucontrol->value.integer.value[0] + min) & mask); ucontrol 331 sound/soc/soc-ops.c val2 = ((ucontrol->value.integer.value[1] + min) & mask); ucontrol 365 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 384 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; ucontrol 392 sound/soc/soc-ops.c ucontrol->value.integer.value[1] = val; ucontrol 409 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 426 sound/soc/soc-ops.c val = (ucontrol->value.integer.value[0] + min) & mask; ucontrol 435 sound/soc/soc-ops.c val2 = (ucontrol->value.integer.value[1] + min) & mask; ucontrol 486 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 502 sound/soc/soc-ops.c val = (max - ucontrol->value.integer.value[0]) & mask; ucontrol 504 sound/soc/soc-ops.c val = ((ucontrol->value.integer.value[0] + min) & mask); ucontrol 514 sound/soc/soc-ops.c val = (max - ucontrol->value.integer.value[1]) & mask; ucontrol 516 sound/soc/soc-ops.c val = ((ucontrol->value.integer.value[1] + min) & mask); ucontrol 538 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 557 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = (val >> shift) & mask; ucontrol 559 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = ucontrol 560 sound/soc/soc-ops.c max - ucontrol->value.integer.value[0]; ucontrol 562 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = ucontrol 563 sound/soc/soc-ops.c ucontrol->value.integer.value[0] - min; ucontrol 570 sound/soc/soc-ops.c ucontrol->value.integer.value[1] = (val >> shift) & mask; ucontrol 572 sound/soc/soc-ops.c ucontrol->value.integer.value[1] = ucontrol 573 sound/soc/soc-ops.c max - ucontrol->value.integer.value[1]; ucontrol 575 sound/soc/soc-ops.c ucontrol->value.integer.value[1] = ucontrol 576 sound/soc/soc-ops.c ucontrol->value.integer.value[1] - min; ucontrol 636 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 644 sound/soc/soc-ops.c ucontrol->value.bytes.data, ucontrol 653 sound/soc/soc-ops.c ucontrol->value.bytes.data[0] &= ~params->mask; ucontrol 656 sound/soc/soc-ops.c ((u16 *)(&ucontrol->value.bytes.data))[0] ucontrol 660 sound/soc/soc-ops.c ((u32 *)(&ucontrol->value.bytes.data))[0] ucontrol 673 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 686 sound/soc/soc-ops.c data = kmemdup(ucontrol->value.bytes.data, len, GFP_KERNEL | GFP_DMA); ucontrol 756 sound/soc/soc-ops.c struct snd_ctl_elem_info *ucontrol) ucontrol 760 sound/soc/soc-ops.c ucontrol->type = SNDRV_CTL_ELEM_TYPE_BYTES; ucontrol 761 sound/soc/soc-ops.c ucontrol->count = params->max; ucontrol 827 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 856 sound/soc/soc-ops.c ucontrol->value.integer.value[0] = val; ucontrol 876 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 888 sound/soc/soc-ops.c long val = ucontrol->value.integer.value[0]; ucontrol 918 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 938 sound/soc/soc-ops.c ucontrol->value.enumerated.item[0] = val ^ invert; ucontrol 955 sound/soc/soc-ops.c struct snd_ctl_elem_value *ucontrol) ucontrol 964 sound/soc/soc-ops.c unsigned int strobe = ucontrol->value.enumerated.item[0] != 0; ucontrol 37 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 47 sound/soc/sof/control.c ucontrol->value.integer.value[i] = ucontrol 55 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 68 sound/soc/sof/control.c value = mixer_to_ipc(ucontrol->value.integer.value[i], ucontrol 86 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 96 sound/soc/sof/control.c ucontrol->value.integer.value[i] = cdata->chanv[i].value; ucontrol 102 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 115 sound/soc/sof/control.c value = ucontrol->value.integer.value[i]; ucontrol 133 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 143 sound/soc/sof/control.c ucontrol->value.enumerated.item[i] = cdata->chanv[i].value; ucontrol 149 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 162 sound/soc/sof/control.c value = ucontrol->value.enumerated.item[i]; ucontrol 180 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 191 sound/soc/sof/control.c if (be->max > sizeof(ucontrol->value.bytes.data)) { ucontrol 208 sound/soc/sof/control.c memcpy(ucontrol->value.bytes.data, data, size); ucontrol 215 sound/soc/sof/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 225 sound/soc/sof/control.c if (be->max > sizeof(ucontrol->value.bytes.data)) { ucontrol 240 sound/soc/sof/control.c memcpy(data, ucontrol->value.bytes.data, size); ucontrol 598 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 600 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 602 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 604 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 606 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 608 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 610 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 612 sound/soc/sof/sof-priv.h struct snd_ctl_elem_value *ucontrol); ucontrol 214 sound/soc/spear/spdif_out.c struct snd_ctl_elem_value *ucontrol) ucontrol 219 sound/soc/spear/spdif_out.c ucontrol->value.integer.value[0] = host->saved_params.mute; ucontrol 224 sound/soc/spear/spdif_out.c struct snd_ctl_elem_value *ucontrol) ucontrol 229 sound/soc/spear/spdif_out.c if (host->saved_params.mute == ucontrol->value.integer.value[0]) ucontrol 232 sound/soc/spear/spdif_out.c spdif_digital_mute(cpu_dai, ucontrol->value.integer.value[0]); ucontrol 571 sound/soc/sti/uniperif_player.c struct snd_ctl_elem_value *ucontrol) ucontrol 579 sound/soc/sti/uniperif_player.c ucontrol->value.iec958.status[0] = iec958->status[0]; ucontrol 580 sound/soc/sti/uniperif_player.c ucontrol->value.iec958.status[1] = iec958->status[1]; ucontrol 581 sound/soc/sti/uniperif_player.c ucontrol->value.iec958.status[2] = iec958->status[2]; ucontrol 582 sound/soc/sti/uniperif_player.c ucontrol->value.iec958.status[3] = iec958->status[3]; ucontrol 588 sound/soc/sti/uniperif_player.c struct snd_ctl_elem_value *ucontrol) ucontrol 597 sound/soc/sti/uniperif_player.c iec958->status[0] = ucontrol->value.iec958.status[0]; ucontrol 598 sound/soc/sti/uniperif_player.c iec958->status[1] = ucontrol->value.iec958.status[1]; ucontrol 599 sound/soc/sti/uniperif_player.c iec958->status[2] = ucontrol->value.iec958.status[2]; ucontrol 600 sound/soc/sti/uniperif_player.c iec958->status[3] = ucontrol->value.iec958.status[3]; ucontrol 639 sound/soc/sti/uniperif_player.c struct snd_ctl_elem_value *ucontrol) ucontrol 646 sound/soc/sti/uniperif_player.c ucontrol->value.integer.value[0] = player->clk_adj; ucontrol 653 sound/soc/sti/uniperif_player.c struct snd_ctl_elem_value *ucontrol) ucontrol 660 sound/soc/sti/uniperif_player.c if ((ucontrol->value.integer.value[0] < UNIPERIF_PLAYER_CLK_ADJ_MIN) || ucontrol 661 sound/soc/sti/uniperif_player.c (ucontrol->value.integer.value[0] > UNIPERIF_PLAYER_CLK_ADJ_MAX)) ucontrol 665 sound/soc/sti/uniperif_player.c player->clk_adj = ucontrol->value.integer.value[0]; ucontrol 520 sound/soc/stm/stm32_spdifrx.c struct snd_ctl_elem_value *ucontrol) ucontrol 527 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[0] = spdifrx->cs[0]; ucontrol 528 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[1] = spdifrx->cs[1]; ucontrol 529 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[2] = spdifrx->cs[2]; ucontrol 530 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[3] = spdifrx->cs[3]; ucontrol 531 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[4] = spdifrx->cs[4]; ucontrol 537 sound/soc/stm/stm32_spdifrx.c struct snd_ctl_elem_value *ucontrol) ucontrol 544 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[0] = spdifrx->ub[0]; ucontrol 545 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[1] = spdifrx->ub[1]; ucontrol 546 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[2] = spdifrx->ub[2]; ucontrol 547 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[3] = spdifrx->ub[3]; ucontrol 548 sound/soc/stm/stm32_spdifrx.c ucontrol->value.iec958.status[4] = spdifrx->ub[4]; ucontrol 101 sound/soc/ti/ams-delta.c struct snd_ctl_elem_value *ucontrol) ucontrol 113 sound/soc/ti/ams-delta.c if (ucontrol->value.enumerated.item[0] >= control->items) ucontrol 119 sound/soc/ti/ams-delta.c pins = ams_delta_audio_mode_pins[ucontrol->value.enumerated.item[0]]; ucontrol 174 sound/soc/ti/ams-delta.c struct snd_ctl_elem_value *ucontrol) ucontrol 201 sound/soc/ti/ams-delta.c ucontrol->value.enumerated.item[0] = mode; ucontrol 121 sound/soc/ti/n810.c struct snd_ctl_elem_value *ucontrol) ucontrol 123 sound/soc/ti/n810.c ucontrol->value.enumerated.item[0] = n810_spk_func; ucontrol 129 sound/soc/ti/n810.c struct snd_ctl_elem_value *ucontrol) ucontrol 133 sound/soc/ti/n810.c if (n810_spk_func == ucontrol->value.enumerated.item[0]) ucontrol 136 sound/soc/ti/n810.c n810_spk_func = ucontrol->value.enumerated.item[0]; ucontrol 143 sound/soc/ti/n810.c struct snd_ctl_elem_value *ucontrol) ucontrol 145 sound/soc/ti/n810.c ucontrol->value.enumerated.item[0] = n810_jack_func; ucontrol 151 sound/soc/ti/n810.c struct snd_ctl_elem_value *ucontrol) ucontrol 155 sound/soc/ti/n810.c if (n810_jack_func == ucontrol->value.enumerated.item[0]) ucontrol 158 sound/soc/ti/n810.c n810_jack_func = ucontrol->value.enumerated.item[0]; ucontrol 165 sound/soc/ti/n810.c struct snd_ctl_elem_value *ucontrol) ucontrol 167 sound/soc/ti/n810.c ucontrol->value.enumerated.item[0] = n810_dmic_func; ucontrol 173 sound/soc/ti/n810.c struct snd_ctl_elem_value *ucontrol) ucontrol 177 sound/soc/ti/n810.c if (n810_dmic_func == ucontrol->value.enumerated.item[0]) ucontrol 180 sound/soc/ti/n810.c n810_dmic_func = ucontrol->value.enumerated.item[0]; ucontrol 438 sound/soc/ti/omap-mcbsp-st.c struct snd_ctl_elem_value *ucontrol) ucontrol 442 sound/soc/ti/omap-mcbsp-st.c u8 value = ucontrol->value.integer.value[0]; ucontrol 456 sound/soc/ti/omap-mcbsp-st.c struct snd_ctl_elem_value *ucontrol) ucontrol 461 sound/soc/ti/omap-mcbsp-st.c ucontrol->value.integer.value[0] = omap_mcbsp_st_is_enabled(mcbsp); ucontrol 119 sound/soc/ti/rx51.c struct snd_ctl_elem_value *ucontrol) ucontrol 121 sound/soc/ti/rx51.c ucontrol->value.enumerated.item[0] = rx51_spk_func; ucontrol 127 sound/soc/ti/rx51.c struct snd_ctl_elem_value *ucontrol) ucontrol 131 sound/soc/ti/rx51.c if (rx51_spk_func == ucontrol->value.enumerated.item[0]) ucontrol 134 sound/soc/ti/rx51.c rx51_spk_func = ucontrol->value.enumerated.item[0]; ucontrol 154 sound/soc/ti/rx51.c struct snd_ctl_elem_value *ucontrol) ucontrol 156 sound/soc/ti/rx51.c ucontrol->value.enumerated.item[0] = rx51_dmic_func; ucontrol 162 sound/soc/ti/rx51.c struct snd_ctl_elem_value *ucontrol) ucontrol 166 sound/soc/ti/rx51.c if (rx51_dmic_func == ucontrol->value.enumerated.item[0]) ucontrol 169 sound/soc/ti/rx51.c rx51_dmic_func = ucontrol->value.enumerated.item[0]; ucontrol 176 sound/soc/ti/rx51.c struct snd_ctl_elem_value *ucontrol) ucontrol 178 sound/soc/ti/rx51.c ucontrol->value.enumerated.item[0] = rx51_jack_func; ucontrol 184 sound/soc/ti/rx51.c struct snd_ctl_elem_value *ucontrol) ucontrol 188 sound/soc/ti/rx51.c if (rx51_jack_func == ucontrol->value.enumerated.item[0]) ucontrol 191 sound/soc/ti/rx51.c rx51_jack_func = ucontrol->value.enumerated.item[0]; ucontrol 501 sound/soc/uniphier/aio-cpu.c struct snd_ctl_elem_value *ucontrol) ucontrol 512 sound/soc/uniphier/aio-cpu.c ucontrol->value.integer.value[0] = sub->vol; ucontrol 518 sound/soc/uniphier/aio-cpu.c struct snd_ctl_elem_value *ucontrol) ucontrol 529 sound/soc/uniphier/aio-cpu.c if (sub->vol == ucontrol->value.integer.value[0]) ucontrol 531 sound/soc/uniphier/aio-cpu.c sub->vol = ucontrol->value.integer.value[0]; ucontrol 229 sound/soc/uniphier/evea.c struct snd_ctl_elem_value *ucontrol) ucontrol 234 sound/soc/uniphier/evea.c ucontrol->value.integer.value[0] = evea->switch_lin; ucontrol 240 sound/soc/uniphier/evea.c struct snd_ctl_elem_value *ucontrol) ucontrol 245 sound/soc/uniphier/evea.c if (evea->switch_lin == ucontrol->value.integer.value[0]) ucontrol 248 sound/soc/uniphier/evea.c evea->switch_lin = ucontrol->value.integer.value[0]; ucontrol 254 sound/soc/uniphier/evea.c struct snd_ctl_elem_value *ucontrol) ucontrol 259 sound/soc/uniphier/evea.c ucontrol->value.integer.value[0] = evea->switch_lo; ucontrol 265 sound/soc/uniphier/evea.c struct snd_ctl_elem_value *ucontrol) ucontrol 270 sound/soc/uniphier/evea.c if (evea->switch_lo == ucontrol->value.integer.value[0]) ucontrol 273 sound/soc/uniphier/evea.c evea->switch_lo = ucontrol->value.integer.value[0]; ucontrol 279 sound/soc/uniphier/evea.c struct snd_ctl_elem_value *ucontrol) ucontrol 284 sound/soc/uniphier/evea.c ucontrol->value.integer.value[0] = evea->switch_hp; ucontrol 290 sound/soc/uniphier/evea.c struct snd_ctl_elem_value *ucontrol) ucontrol 295 sound/soc/uniphier/evea.c if (evea->switch_hp == ucontrol->value.integer.value[0]) ucontrol 298 sound/soc/uniphier/evea.c evea->switch_hp = ucontrol->value.integer.value[0]; ucontrol 131 sound/soc/ux500/mop500_ab8500.c struct snd_ctl_elem_value *ucontrol) ucontrol 137 sound/soc/ux500/mop500_ab8500.c ucontrol->value.enumerated.item[0] = drvdata->mclk_sel; ucontrol 143 sound/soc/ux500/mop500_ab8500.c struct snd_ctl_elem_value *ucontrol) ucontrol 148 sound/soc/ux500/mop500_ab8500.c unsigned int val = ucontrol->value.enumerated.item[0]; ucontrol 800 sound/sparc/amd7930.c static int snd_amd7930_get_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) ucontrol 819 sound/sparc/amd7930.c ucontrol->value.integer.value[0] = *swval; ucontrol 824 sound/sparc/amd7930.c static int snd_amd7930_put_volume(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *ucontrol) ucontrol 846 sound/sparc/amd7930.c if (*swval != ucontrol->value.integer.value[0]) { ucontrol 847 sound/sparc/amd7930.c *swval = ucontrol->value.integer.value[0] & 0xff; ucontrol 1293 sound/sparc/cs4231.c struct snd_ctl_elem_value *ucontrol) ucontrol 1299 sound/sparc/cs4231.c ucontrol->value.enumerated.item[0] = ucontrol 1301 sound/sparc/cs4231.c ucontrol->value.enumerated.item[1] = ucontrol 1309 sound/sparc/cs4231.c struct snd_ctl_elem_value *ucontrol) ucontrol 1316 sound/sparc/cs4231.c if (ucontrol->value.enumerated.item[0] > 3 || ucontrol 1317 sound/sparc/cs4231.c ucontrol->value.enumerated.item[1] > 3) ucontrol 1319 sound/sparc/cs4231.c left = ucontrol->value.enumerated.item[0] << 6; ucontrol 1320 sound/sparc/cs4231.c right = ucontrol->value.enumerated.item[1] << 6; ucontrol 1351 sound/sparc/cs4231.c struct snd_ctl_elem_value *ucontrol) ucontrol 1362 sound/sparc/cs4231.c ucontrol->value.integer.value[0] = (chip->image[reg] >> shift) & mask; ucontrol 1367 sound/sparc/cs4231.c ucontrol->value.integer.value[0] = ucontrol 1368 sound/sparc/cs4231.c (mask - ucontrol->value.integer.value[0]); ucontrol 1374 sound/sparc/cs4231.c struct snd_ctl_elem_value *ucontrol) ucontrol 1385 sound/sparc/cs4231.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 1416 sound/sparc/cs4231.c struct snd_ctl_elem_value *ucontrol) ucontrol 1429 sound/sparc/cs4231.c ucontrol->value.integer.value[0] = ucontrol 1431 sound/sparc/cs4231.c ucontrol->value.integer.value[1] = ucontrol 1437 sound/sparc/cs4231.c ucontrol->value.integer.value[0] = ucontrol 1438 sound/sparc/cs4231.c (mask - ucontrol->value.integer.value[0]); ucontrol 1439 sound/sparc/cs4231.c ucontrol->value.integer.value[1] = ucontrol 1440 sound/sparc/cs4231.c (mask - ucontrol->value.integer.value[1]); ucontrol 1447 sound/sparc/cs4231.c struct snd_ctl_elem_value *ucontrol) ucontrol 1460 sound/sparc/cs4231.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 1461 sound/sparc/cs4231.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 2275 sound/sparc/dbri.c struct snd_ctl_elem_value *ucontrol) ucontrol 2284 sound/sparc/dbri.c ucontrol->value.integer.value[0] = info->left_gain; ucontrol 2285 sound/sparc/dbri.c ucontrol->value.integer.value[1] = info->right_gain; ucontrol 2290 sound/sparc/dbri.c struct snd_ctl_elem_value *ucontrol) ucontrol 2298 sound/sparc/dbri.c vol[0] = ucontrol->value.integer.value[0]; ucontrol 2299 sound/sparc/dbri.c vol[1] = ucontrol->value.integer.value[1]; ucontrol 2341 sound/sparc/dbri.c struct snd_ctl_elem_value *ucontrol) ucontrol 2353 sound/sparc/dbri.c ucontrol->value.integer.value[0] = ucontrol 2356 sound/sparc/dbri.c ucontrol->value.integer.value[0] = ucontrol 2360 sound/sparc/dbri.c ucontrol->value.integer.value[0] = ucontrol 2361 sound/sparc/dbri.c mask - ucontrol->value.integer.value[0]; ucontrol 2366 sound/sparc/dbri.c struct snd_ctl_elem_value *ucontrol) ucontrol 2379 sound/sparc/dbri.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 2396 sound/sparc/dbri.c mask, changed, ucontrol->value.integer.value[0], ucontrol 402 sound/spi/at73c213.c struct snd_ctl_elem_value *ucontrol) ucontrol 412 sound/spi/at73c213.c ucontrol->value.integer.value[0] = ucontrol 416 sound/spi/at73c213.c ucontrol->value.integer.value[0] = ucontrol 417 sound/spi/at73c213.c mask - ucontrol->value.integer.value[0]; ucontrol 425 sound/spi/at73c213.c struct snd_ctl_elem_value *ucontrol) ucontrol 435 sound/spi/at73c213.c val = (ucontrol->value.integer.value[0] & mask); ucontrol 472 sound/spi/at73c213.c struct snd_ctl_elem_value *ucontrol) ucontrol 484 sound/spi/at73c213.c ucontrol->value.integer.value[0] = ucontrol 486 sound/spi/at73c213.c ucontrol->value.integer.value[1] = ucontrol 490 sound/spi/at73c213.c ucontrol->value.integer.value[0] = ucontrol 491 sound/spi/at73c213.c mask - ucontrol->value.integer.value[0]; ucontrol 492 sound/spi/at73c213.c ucontrol->value.integer.value[1] = ucontrol 493 sound/spi/at73c213.c mask - ucontrol->value.integer.value[1]; ucontrol 502 sound/spi/at73c213.c struct snd_ctl_elem_value *ucontrol) ucontrol 514 sound/spi/at73c213.c val1 = ucontrol->value.integer.value[0] & mask; ucontrol 515 sound/spi/at73c213.c val2 = ucontrol->value.integer.value[1] & mask; ucontrol 551 sound/spi/at73c213.c struct snd_ctl_elem_value *ucontrol) ucontrol 560 sound/spi/at73c213.c ucontrol->value.integer.value[0] = ucontrol 564 sound/spi/at73c213.c ucontrol->value.integer.value[0] = ucontrol 565 sound/spi/at73c213.c 0x01 - ucontrol->value.integer.value[0]; ucontrol 573 sound/spi/at73c213.c struct snd_ctl_elem_value *ucontrol) ucontrol 583 sound/spi/at73c213.c if (ucontrol->value.integer.value[0]) ucontrol 186 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 198 sound/usb/6fire/control.c if (rt->output_vol[ch] != ucontrol->value.integer.value[0]) { ucontrol 199 sound/usb/6fire/control.c rt->output_vol[ch] = ucontrol->value.integer.value[0]; ucontrol 203 sound/usb/6fire/control.c if (rt->output_vol[ch + 1] != ucontrol->value.integer.value[1]) { ucontrol 204 sound/usb/6fire/control.c rt->output_vol[ch + 1] = ucontrol->value.integer.value[1]; ucontrol 216 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 227 sound/usb/6fire/control.c ucontrol->value.integer.value[0] = rt->output_vol[ch]; ucontrol 228 sound/usb/6fire/control.c ucontrol->value.integer.value[1] = rt->output_vol[ch + 1]; ucontrol 233 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 247 sound/usb/6fire/control.c if (ucontrol->value.integer.value[0]) ucontrol 249 sound/usb/6fire/control.c if (ucontrol->value.integer.value[1]) ucontrol 260 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 272 sound/usb/6fire/control.c ucontrol->value.integer.value[0] = 1 & value; ucontrol 274 sound/usb/6fire/control.c ucontrol->value.integer.value[1] = 1 & value; ucontrol 290 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 295 sound/usb/6fire/control.c if (rt->input_vol[0] != ucontrol->value.integer.value[0]) { ucontrol 296 sound/usb/6fire/control.c rt->input_vol[0] = ucontrol->value.integer.value[0] - 15; ucontrol 300 sound/usb/6fire/control.c if (rt->input_vol[1] != ucontrol->value.integer.value[1]) { ucontrol 301 sound/usb/6fire/control.c rt->input_vol[1] = ucontrol->value.integer.value[1] - 15; ucontrol 313 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 317 sound/usb/6fire/control.c ucontrol->value.integer.value[0] = rt->input_vol[0] + 15; ucontrol 318 sound/usb/6fire/control.c ucontrol->value.integer.value[1] = rt->input_vol[1] + 15; ucontrol 330 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 334 sound/usb/6fire/control.c if (rt->line_phono_switch != ucontrol->value.integer.value[0]) { ucontrol 335 sound/usb/6fire/control.c rt->line_phono_switch = ucontrol->value.integer.value[0]; ucontrol 343 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 346 sound/usb/6fire/control.c ucontrol->value.integer.value[0] = rt->line_phono_switch; ucontrol 357 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 362 sound/usb/6fire/control.c if (rt->opt_coax_switch != ucontrol->value.enumerated.item[0]) { ucontrol 363 sound/usb/6fire/control.c rt->opt_coax_switch = ucontrol->value.enumerated.item[0]; ucontrol 371 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 374 sound/usb/6fire/control.c ucontrol->value.enumerated.item[0] = rt->opt_coax_switch; ucontrol 379 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 384 sound/usb/6fire/control.c if (rt->digital_thru_switch != ucontrol->value.integer.value[0]) { ucontrol 385 sound/usb/6fire/control.c rt->digital_thru_switch = ucontrol->value.integer.value[0]; ucontrol 393 sound/usb/6fire/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 396 sound/usb/6fire/control.c ucontrol->value.integer.value[0] = rt->digital_thru_switch; ucontrol 67 sound/usb/caiaq/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 74 sound/usb/caiaq/control.c ucontrol->value.integer.value[0] ucontrol 77 sound/usb/caiaq/control.c ucontrol->value.integer.value[0] ucontrol 84 sound/usb/caiaq/control.c struct snd_ctl_elem_value *ucontrol) ucontrol 89 sound/usb/caiaq/control.c int v = ucontrol->value.integer.value[0]; ucontrol 31 sound/usb/line6/pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 35 sound/usb/line6/pcm.c ucontrol->value.integer.value[0] = line6pcm->impulse_volume; ucontrol 40 sound/usb/line6/pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 43 sound/usb/line6/pcm.c int value = ucontrol->value.integer.value[0]; ucontrol 74 sound/usb/line6/pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 78 sound/usb/line6/pcm.c ucontrol->value.integer.value[0] = line6pcm->impulse_period; ucontrol 83 sound/usb/line6/pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 86 sound/usb/line6/pcm.c int value = ucontrol->value.integer.value[0]; ucontrol 401 sound/usb/line6/pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 407 sound/usb/line6/pcm.c ucontrol->value.integer.value[i] = line6pcm->volume_playback[i]; ucontrol 414 sound/usb/line6/pcm.c struct snd_ctl_elem_value *ucontrol) ucontrol 421 sound/usb/line6/pcm.c ucontrol->value.integer.value[i]) { ucontrol 423 sound/usb/line6/pcm.c ucontrol->value.integer.value[i]; ucontrol 326 sound/usb/line6/pod.c struct snd_ctl_elem_value *ucontrol) ucontrol 331 sound/usb/line6/pod.c ucontrol->value.integer.value[0] = pod->monitor_level; ucontrol 337 sound/usb/line6/pod.c struct snd_ctl_elem_value *ucontrol) ucontrol 342 sound/usb/line6/pod.c if (ucontrol->value.integer.value[0] == pod->monitor_level) ucontrol 345 sound/usb/line6/pod.c pod->monitor_level = ucontrol->value.integer.value[0]; ucontrol 346 sound/usb/line6/pod.c pod_set_system_param_int(pod, ucontrol->value.integer.value[0], ucontrol 154 sound/usb/line6/toneport.c struct snd_ctl_elem_value *ucontrol) ucontrol 158 sound/usb/line6/toneport.c ucontrol->value.integer.value[0] = line6pcm->volume_monitor; ucontrol 164 sound/usb/line6/toneport.c struct snd_ctl_elem_value *ucontrol) ucontrol 169 sound/usb/line6/toneport.c if (ucontrol->value.integer.value[0] == line6pcm->volume_monitor) ucontrol 172 sound/usb/line6/toneport.c line6pcm->volume_monitor = ucontrol->value.integer.value[0]; ucontrol 209 sound/usb/line6/toneport.c struct snd_ctl_elem_value *ucontrol) ucontrol 214 sound/usb/line6/toneport.c ucontrol->value.enumerated.item[0] = toneport->source; ucontrol 220 sound/usb/line6/toneport.c struct snd_ctl_elem_value *ucontrol) ucontrol 226 sound/usb/line6/toneport.c source = ucontrol->value.enumerated.item[0]; ucontrol 1335 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1340 sound/usb/mixer.c ucontrol->value.integer.value[0] = cval->min; ucontrol 1350 sound/usb/mixer.c ucontrol->value.integer.value[cnt] = val; ucontrol 1360 sound/usb/mixer.c ucontrol->value.integer.value[0] = val; ucontrol 1367 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1381 sound/usb/mixer.c val = ucontrol->value.integer.value[cnt]; ucontrol 1394 sound/usb/mixer.c val = ucontrol->value.integer.value[0]; ucontrol 1406 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1415 sound/usb/mixer.c ucontrol->value.integer.value[0] = val; ucontrol 1421 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 1460 sound/usb/mixer.c ucontrol->value.integer.value[0] = val; ucontrol 2180 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 2187 sound/usb/mixer.c ucontrol->value.integer.value[0] = cval->min; ucontrol 2191 sound/usb/mixer.c ucontrol->value.integer.value[0] = val; ucontrol 2197 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 2205 sound/usb/mixer.c val = ucontrol->value.integer.value[0]; ucontrol 2536 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 2543 sound/usb/mixer.c ucontrol->value.enumerated.item[0] = 0; ucontrol 2547 sound/usb/mixer.c ucontrol->value.enumerated.item[0] = val; ucontrol 2553 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 2561 sound/usb/mixer.c val = ucontrol->value.enumerated.item[0]; ucontrol 3420 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 3424 sound/usb/mixer.c ucontrol->value.integer.value[0] = mixer->chip->keep_iface; ucontrol 3429 sound/usb/mixer.c struct snd_ctl_elem_value *ucontrol) ucontrol 3432 sound/usb/mixer.c bool keep_iface = !!ucontrol->value.integer.value[0]; ucontrol 289 sound/usb/mixer_quirks.c static int snd_audigy2nx_led_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol) ucontrol 291 sound/usb/mixer_quirks.c ucontrol->value.integer.value[0] = kcontrol->private_value >> 8; ucontrol 326 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 331 sound/usb/mixer_quirks.c unsigned int value = ucontrol->value.integer.value[0]; ucontrol 458 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 460 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = kcontrol->private_value; ucontrol 486 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 490 sound/usb/mixer_quirks.c unsigned int value = ucontrol->value.enumerated.item[0]; ucontrol 529 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 531 sound/usb/mixer_quirks.c ucontrol->value.integer.value[0] = !!(kcontrol->private_value & 0x02); ucontrol 553 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 560 sound/usb/mixer_quirks.c if (ucontrol->value.integer.value[0]) ucontrol 597 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 599 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = kctl->private_value; ucontrol 672 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 680 sound/usb/mixer_quirks.c new_val = ucontrol->value.enumerated.item[0]; ucontrol 750 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 752 sound/usb/mixer_quirks.c ucontrol->value.integer.value[0] = kcontrol->private_value >> 24; ucontrol 774 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 778 sound/usb/mixer_quirks.c u8 newval = ucontrol->value.integer.value[0]; ucontrol 911 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 913 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = kctl->private_value >> 24; ucontrol 942 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 949 sound/usb/mixer_quirks.c new_val = ucontrol->value.enumerated.item[0]; ucontrol 1490 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1505 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[0] = kcontrol->private_value & 0xff; ucontrol 1506 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[1] = (kcontrol->private_value >> 8) & 0xff; ucontrol 1507 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[2] = 0x00; ucontrol 1534 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[3] = (rate == 48000) ? ucontrol 1585 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1593 sound/usb/mixer_quirks.c pval |= (ucontrol->value.iec958.status[1] & 0x0f) << 8; ucontrol 1594 sound/usb/mixer_quirks.c pval |= (ucontrol->value.iec958.status[0] & 0x0f); ucontrol 1597 sound/usb/mixer_quirks.c pval |= (ucontrol->value.iec958.status[1] & 0xf0) << 8; ucontrol 1612 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1614 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[0] = 0x0f; ucontrol 1615 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1616 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[2] = 0x00; ucontrol 1617 sound/usb/mixer_quirks.c ucontrol->value.iec958.status[3] = 0x00; ucontrol 1623 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1625 sound/usb/mixer_quirks.c ucontrol->value.integer.value[0] = !(kcontrol->private_value & 0x02); ucontrol 1654 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1660 sound/usb/mixer_quirks.c reg = ucontrol->value.integer.value[0] ? 0x28 : 0x2a; ucontrol 1719 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1721 sound/usb/mixer_quirks.c ucontrol->value.integer.value[0] = kcontrol->private_value; ucontrol 1747 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1750 sound/usb/mixer_quirks.c unsigned char value = !!ucontrol->value.integer.value[0]; ucontrol 1905 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1934 sound/usb/mixer_quirks.c ucontrol->value.integer.value[0] = rate; ucontrol 1939 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1964 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = idx; ucontrol 1969 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1977 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = SND_RME_SPDIF_IF(status1); ucontrol 1982 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 1990 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = SND_RME_SPDIF_FORMAT(status1); ucontrol 1995 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 2003 sound/usb/mixer_quirks.c ucontrol->value.enumerated.item[0] = SND_RME_CLK_SYNC(status1); ucontrol 2008 sound/usb/mixer_quirks.c struct snd_ctl_elem_value *ucontrol) ucontrol 2029 sound/usb/mixer_quirks.c ucontrol->value.integer.value[0] = freq; ucontrol 235 sound/usb/mixer_scarlett.c struct snd_ctl_elem_value *ucontrol) ucontrol 246 sound/usb/mixer_scarlett.c ucontrol->value.integer.value[i] = val; ucontrol 253 sound/usb/mixer_scarlett.c struct snd_ctl_elem_value *ucontrol) ucontrol 264 sound/usb/mixer_scarlett.c val = ucontrol->value.integer.value[i]; ucontrol 305 sound/usb/mixer_scarlett.c struct snd_ctl_elem_value *ucontrol) ucontrol 317 sound/usb/mixer_scarlett.c ucontrol->value.integer.value[i] = val; ucontrol 324 sound/usb/mixer_scarlett.c struct snd_ctl_elem_value *ucontrol) ucontrol 335 sound/usb/mixer_scarlett.c val = ucontrol->value.integer.value[i] - ucontrol 400 sound/usb/mixer_scarlett.c struct snd_ctl_elem_value *ucontrol) ucontrol 412 sound/usb/mixer_scarlett.c ucontrol->value.enumerated.item[0] = val; ucontrol 418 sound/usb/mixer_scarlett.c struct snd_ctl_elem_value *ucontrol) ucontrol 428 sound/usb/mixer_scarlett.c val = ucontrol->value.integer.value[0]; ucontrol 447 sound/usb/mixer_scarlett.c struct snd_ctl_elem_value *ucontrol) ucontrol 464 sound/usb/mixer_scarlett.c ucontrol->value.enumerated.item[0] = clamp((int)buf[0], 0, 1); ucontrol 1025 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1037 sound/usb/mixer_scarlett_gen2.c ucontrol->value.integer.value[0] = private->master_vol; ucontrol 1042 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1055 sound/usb/mixer_scarlett_gen2.c ucontrol->value.integer.value[0] = private->vol[index]; ucontrol 1060 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1071 sound/usb/mixer_scarlett_gen2.c val = ucontrol->value.integer.value[0]; ucontrol 1127 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1132 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = ucontrol 1138 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1150 sound/usb/mixer_scarlett_gen2.c val = !!ucontrol->value.integer.value[0]; ucontrol 1211 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1216 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = ucontrol 1222 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1234 sound/usb/mixer_scarlett_gen2.c val = !!ucontrol->value.integer.value[0]; ucontrol 1261 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1266 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = ucontrol 1272 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1284 sound/usb/mixer_scarlett_gen2.c val = !!ucontrol->value.integer.value[0]; ucontrol 1311 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1323 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = private->buttons[elem->control]; ucontrol 1328 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1340 sound/usb/mixer_scarlett_gen2.c val = !!ucontrol->value.integer.value[0]; ucontrol 1480 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1485 sound/usb/mixer_scarlett_gen2.c ucontrol->value.integer.value[0] = private->mix[elem->control]; ucontrol 1490 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1502 sound/usb/mixer_scarlett_gen2.c val = ucontrol->value.integer.value[0]; ucontrol 1598 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1603 sound/usb/mixer_scarlett_gen2.c ucontrol->value.enumerated.item[0] = private->mux[elem->control]; ucontrol 1608 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1619 sound/usb/mixer_scarlett_gen2.c val = clamp(ucontrol->value.integer.value[0], ucontrol 1689 sound/usb/mixer_scarlett_gen2.c struct snd_ctl_elem_value *ucontrol) ucontrol 1700 sound/usb/mixer_scarlett_gen2.c ucontrol->value.integer.value[i] = meter_levels[i]; ucontrol 181 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 184 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 187 sound/usb/mixer_us16x08.c ucontrol->value.enumerated.item[0] = elem->cache_val[index]; ucontrol 193 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 197 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 202 sound/usb/mixer_us16x08.c val = ucontrol->value.enumerated.item[0]; ucontrol 250 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 253 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 255 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = elem->cache_val[index]; ucontrol 261 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 267 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 270 sound/usb/mixer_us16x08.c val = ucontrol->value.integer.value[0]; ucontrol 298 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 305 sound/usb/mixer_us16x08.c val = ucontrol->value.integer.value[0]; ucontrol 339 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 345 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = elem->cache_val[0]; ucontrol 348 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = elem->cache_val[0]; ucontrol 351 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = elem->cache_val[0]; ucontrol 360 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 363 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 365 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = elem->cache_val[index]; ucontrol 371 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 377 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 379 sound/usb/mixer_us16x08.c val = ucontrol->value.integer.value[0]; ucontrol 418 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 422 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 425 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = store->val[val_idx][index]; ucontrol 431 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 436 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 441 sound/usb/mixer_us16x08.c val = ucontrol->value.integer.value[0]; ucontrol 451 sound/usb/mixer_us16x08.c store->val[val_idx][index] = ucontrol->value.integer.value[0]; ucontrol 485 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 490 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 495 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = val; ucontrol 501 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 506 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 512 sound/usb/mixer_us16x08.c val = ucontrol->value.integer.value[0] + SND_US16X08_KCBIAS(kcontrol); ucontrol 544 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 549 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 555 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[0] = val; ucontrol 561 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 566 sound/usb/mixer_us16x08.c int index = ucontrol->id.index; ucontrol 572 sound/usb/mixer_us16x08.c val = ucontrol->value.integer.value[0]; ucontrol 684 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 730 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[i] = ucontrol 734 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[i++] = store ? store->master_level[0] : 0; ucontrol 735 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[i++] = store ? store->master_level[1] : 0; ucontrol 738 sound/usb/mixer_us16x08.c ucontrol->value.integer.value[i + SND_US16X08_MAX_CHANNELS] = ucontrol 745 sound/usb/mixer_us16x08.c struct snd_ctl_elem_value *ucontrol) ucontrol 751 sound/usb/mixer_us16x08.c val = ucontrol->value.integer.value[0]; ucontrol 190 sound/usb/stream.c struct snd_ctl_elem_value *ucontrol) ucontrol 197 sound/usb/stream.c memset(ucontrol->value.integer.value, 0, ucontrol 198 sound/usb/stream.c sizeof(ucontrol->value.integer.value)); ucontrol 203 sound/usb/stream.c ucontrol->value.integer.value[i] = chmap->map[i]; ucontrol 544 sound/x86/intel_hdmi_audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 551 sound/x86/intel_hdmi_audio.c memset(ucontrol->value.integer.value, 0, ucontrol 561 sound/x86/intel_hdmi_audio.c ucontrol->value.integer.value[i] = chmap->map[i]; ucontrol 1421 sound/x86/intel_hdmi_audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1426 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[0] = (intelhaddata->aes_bits >> 0) & 0xff; ucontrol 1427 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[1] = (intelhaddata->aes_bits >> 8) & 0xff; ucontrol 1428 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[2] = ucontrol 1430 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[3] = ucontrol 1437 sound/x86/intel_hdmi_audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1439 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[0] = 0xff; ucontrol 1440 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[1] = 0xff; ucontrol 1441 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[2] = 0xff; ucontrol 1442 sound/x86/intel_hdmi_audio.c ucontrol->value.iec958.status[3] = 0xff; ucontrol 1447 sound/x86/intel_hdmi_audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1453 sound/x86/intel_hdmi_audio.c val = (ucontrol->value.iec958.status[0] << 0) | ucontrol 1454 sound/x86/intel_hdmi_audio.c (ucontrol->value.iec958.status[1] << 8) | ucontrol 1455 sound/x86/intel_hdmi_audio.c (ucontrol->value.iec958.status[2] << 16) | ucontrol 1456 sound/x86/intel_hdmi_audio.c (ucontrol->value.iec958.status[3] << 24); ucontrol 1475 sound/x86/intel_hdmi_audio.c struct snd_ctl_elem_value *ucontrol) ucontrol 1480 sound/x86/intel_hdmi_audio.c memcpy(ucontrol->value.bytes.data, intelhaddata->eld,