Home
last modified time | relevance | path

Searched refs:iec958 (Results 1 – 25 of 31) sorted by relevance

12

/linux-2.6.39/sound/pci/au88x0/
Dau88x0_pcm.c454 ucontrol->value.iec958.status[0] = 0xff; in snd_vortex_spdif_mask_get()
455 ucontrol->value.iec958.status[1] = 0xff; in snd_vortex_spdif_mask_get()
456 ucontrol->value.iec958.status[2] = 0xff; in snd_vortex_spdif_mask_get()
457 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; in snd_vortex_spdif_mask_get()
464 ucontrol->value.iec958.status[0] = 0x00; in snd_vortex_spdif_get()
465 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL|IEC958_AES1_CON_DIGDIGCONV_ID; in snd_vortex_spdif_get()
466 ucontrol->value.iec958.status[2] = 0x00; in snd_vortex_spdif_get()
468 case 32000: ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_32000; break; in snd_vortex_spdif_get()
469 case 44100: ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_44100; break; in snd_vortex_spdif_get()
470 case 48000: ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; break; in snd_vortex_spdif_get()
[all …]
/linux-2.6.39/sound/pci/oxygen/
Doxygen_mixer.c314 value->value.iec958.status[0] = in oxygen_to_iec958()
317 value->value.iec958.status[1] = /* category and original */ in oxygen_to_iec958()
325 bits = value->value.iec958.status[0] & in iec958_to_oxygen()
328 bits |= value->value.iec958.status[1] << OXYGEN_SPDIF_CATEGORY_SHIFT; in iec958_to_oxygen()
378 value->value.iec958.status[0] = IEC958_AES0_NONAUDIO | in spdif_mask_get()
380 value->value.iec958.status[1] = in spdif_mask_get()
418 value->value.iec958.status[0] = 0xff; in spdif_input_mask_get()
419 value->value.iec958.status[1] = 0xff; in spdif_input_mask_get()
420 value->value.iec958.status[2] = 0xff; in spdif_input_mask_get()
421 value->value.iec958.status[3] = 0xff; in spdif_input_mask_get()
[all …]
/linux-2.6.39/sound/aoa/codecs/
Donyx.c476 ucontrol->value.iec958.status[0] = 0x3e; in onyx_spdif_mask_get()
477 ucontrol->value.iec958.status[1] = 0xff; in onyx_spdif_mask_get()
479 ucontrol->value.iec958.status[3] = 0x3f; in onyx_spdif_mask_get()
480 ucontrol->value.iec958.status[4] = 0x0f; in onyx_spdif_mask_get()
501 ucontrol->value.iec958.status[0] = v & 0x3e; in onyx_spdif_get()
504 ucontrol->value.iec958.status[1] = v; in onyx_spdif_get()
507 ucontrol->value.iec958.status[3] = v & 0x3f; in onyx_spdif_get()
510 ucontrol->value.iec958.status[4] = v & 0x0f; in onyx_spdif_get()
524 v = (v & ~0x3e) | (ucontrol->value.iec958.status[0] & 0x3e); in onyx_spdif_put()
527 v = ucontrol->value.iec958.status[1]; in onyx_spdif_put()
[all …]
/linux-2.6.39/sound/pci/ctxfi/
Dctmixer.c562 ucontrol->value.iec958.status[0] = 0xff; in ct_spdif_get_mask()
563 ucontrol->value.iec958.status[1] = 0xff; in ct_spdif_get_mask()
564 ucontrol->value.iec958.status[2] = 0xff; in ct_spdif_get_mask()
565 ucontrol->value.iec958.status[3] = 0xff; in ct_spdif_get_mask()
580 ucontrol->value.iec958.status[0] = (status >> 0) & 0xff; in ct_spdif_get()
581 ucontrol->value.iec958.status[1] = (status >> 8) & 0xff; in ct_spdif_get()
582 ucontrol->value.iec958.status[2] = (status >> 16) & 0xff; in ct_spdif_get()
583 ucontrol->value.iec958.status[3] = (status >> 24) & 0xff; in ct_spdif_get()
595 status = (ucontrol->value.iec958.status[0] << 0) | in ct_spdif_put()
596 (ucontrol->value.iec958.status[1] << 8) | in ct_spdif_put()
[all …]
/linux-2.6.39/sound/drivers/vx/
Dvx_mixer.c794 ucontrol->value.iec958.status[0] = (chip->uer_bits >> 0) & 0xff; in vx_iec958_get()
795 ucontrol->value.iec958.status[1] = (chip->uer_bits >> 8) & 0xff; in vx_iec958_get()
796 ucontrol->value.iec958.status[2] = (chip->uer_bits >> 16) & 0xff; in vx_iec958_get()
797 ucontrol->value.iec958.status[3] = (chip->uer_bits >> 24) & 0xff; in vx_iec958_get()
804 ucontrol->value.iec958.status[0] = 0xff; in vx_iec958_mask_get()
805 ucontrol->value.iec958.status[1] = 0xff; in vx_iec958_mask_get()
806 ucontrol->value.iec958.status[2] = 0xff; in vx_iec958_mask_get()
807 ucontrol->value.iec958.status[3] = 0xff; in vx_iec958_mask_get()
816 val = (ucontrol->value.iec958.status[0] << 0) | in vx_iec958_put()
817 (ucontrol->value.iec958.status[1] << 8) | in vx_iec958_put()
[all …]
/linux-2.6.39/sound/pci/ca0106/
Dca0106_mixer.c369 decode_spdif_bits(ucontrol->value.iec958.status, in snd_ca0106_spdif_get_default()
380 decode_spdif_bits(ucontrol->value.iec958.status, in snd_ca0106_spdif_get_stream()
388 ucontrol->value.iec958.status[0] = 0xff; in snd_ca0106_spdif_get_mask()
389 ucontrol->value.iec958.status[1] = 0xff; in snd_ca0106_spdif_get_mask()
390 ucontrol->value.iec958.status[2] = 0xff; in snd_ca0106_spdif_get_mask()
391 ucontrol->value.iec958.status[3] = 0xff; in snd_ca0106_spdif_get_mask()
410 val = encode_spdif_bits(ucontrol->value.iec958.status); in snd_ca0106_spdif_put_default()
430 val = encode_spdif_bits(ucontrol->value.iec958.status); in snd_ca0106_spdif_put_stream()
/linux-2.6.39/sound/pci/
Dens1370.c1360 ucontrol->value.iec958.status[0] = (ensoniq->spdif_default >> 0) & 0xff; in snd_ens1373_spdif_default_get()
1361 ucontrol->value.iec958.status[1] = (ensoniq->spdif_default >> 8) & 0xff; in snd_ens1373_spdif_default_get()
1362 ucontrol->value.iec958.status[2] = (ensoniq->spdif_default >> 16) & 0xff; in snd_ens1373_spdif_default_get()
1363 ucontrol->value.iec958.status[3] = (ensoniq->spdif_default >> 24) & 0xff; in snd_ens1373_spdif_default_get()
1375 val = ((u32)ucontrol->value.iec958.status[0] << 0) | in snd_ens1373_spdif_default_put()
1376 ((u32)ucontrol->value.iec958.status[1] << 8) | in snd_ens1373_spdif_default_put()
1377 ((u32)ucontrol->value.iec958.status[2] << 16) | in snd_ens1373_spdif_default_put()
1378 ((u32)ucontrol->value.iec958.status[3] << 24); in snd_ens1373_spdif_default_put()
1392 ucontrol->value.iec958.status[0] = 0xff; in snd_ens1373_spdif_mask_get()
1393 ucontrol->value.iec958.status[1] = 0xff; in snd_ens1373_spdif_mask_get()
[all …]
Drme32.c1772 snd_rme32_convert_to_aes(&ucontrol->value.iec958, in snd_rme32_control_spdif_get()
1784 val = snd_rme32_convert_from_aes(&ucontrol->value.iec958); in snd_rme32_control_spdif_put()
1806 snd_rme32_convert_to_aes(&ucontrol->value.iec958, in snd_rme32_control_spdif_stream_get()
1819 val = snd_rme32_convert_from_aes(&ucontrol->value.iec958); in snd_rme32_control_spdif_stream_put()
1842 ucontrol->value.iec958.status[0] = kcontrol->private_value; in snd_rme32_control_spdif_mask_get()
Dcmipci.c1026 ucontrol->value.iec958.status[i] = (chip->dig_status >> (i * 8)) & 0xff; in snd_cmipci_spdif_default_get()
1041 val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); in snd_cmipci_spdif_default_put()
1068 ucontrol->value.iec958.status[0] = 0xff; in snd_cmipci_spdif_mask_get()
1069 ucontrol->value.iec958.status[1] = 0xff; in snd_cmipci_spdif_mask_get()
1070 ucontrol->value.iec958.status[2] = 0xff; in snd_cmipci_spdif_mask_get()
1071 ucontrol->value.iec958.status[3] = 0xff; in snd_cmipci_spdif_mask_get()
1100 ucontrol->value.iec958.status[i] = (chip->dig_pcm_status >> (i * 8)) & 0xff; in snd_cmipci_spdif_stream_get()
1115 val |= (unsigned int)ucontrol->value.iec958.status[i] << (i * 8); in snd_cmipci_spdif_stream_put()
/linux-2.6.39/sound/pci/emu10k1/
Demu10k1x.c1119 ucontrol->value.iec958.status[0] = (emu->spdif_bits[idx] >> 0) & 0xff; in snd_emu10k1x_spdif_get()
1120 ucontrol->value.iec958.status[1] = (emu->spdif_bits[idx] >> 8) & 0xff; in snd_emu10k1x_spdif_get()
1121 ucontrol->value.iec958.status[2] = (emu->spdif_bits[idx] >> 16) & 0xff; in snd_emu10k1x_spdif_get()
1122 ucontrol->value.iec958.status[3] = (emu->spdif_bits[idx] >> 24) & 0xff; in snd_emu10k1x_spdif_get()
1129 ucontrol->value.iec958.status[0] = 0xff; in snd_emu10k1x_spdif_get_mask()
1130 ucontrol->value.iec958.status[1] = 0xff; in snd_emu10k1x_spdif_get_mask()
1131 ucontrol->value.iec958.status[2] = 0xff; in snd_emu10k1x_spdif_get_mask()
1132 ucontrol->value.iec958.status[3] = 0xff; in snd_emu10k1x_spdif_get_mask()
1144 val = (ucontrol->value.iec958.status[0] << 0) | in snd_emu10k1x_spdif_put()
1145 (ucontrol->value.iec958.status[1] << 8) | in snd_emu10k1x_spdif_put()
[all …]
Demumixer.c64 ucontrol->value.iec958.status[0] = (emu->spdif_bits[idx] >> 0) & 0xff; in snd_emu10k1_spdif_get()
65 ucontrol->value.iec958.status[1] = (emu->spdif_bits[idx] >> 8) & 0xff; in snd_emu10k1_spdif_get()
66 ucontrol->value.iec958.status[2] = (emu->spdif_bits[idx] >> 16) & 0xff; in snd_emu10k1_spdif_get()
67 ucontrol->value.iec958.status[3] = (emu->spdif_bits[idx] >> 24) & 0xff; in snd_emu10k1_spdif_get()
75 ucontrol->value.iec958.status[0] = 0xff; in snd_emu10k1_spdif_get_mask()
76 ucontrol->value.iec958.status[1] = 0xff; in snd_emu10k1_spdif_get_mask()
77 ucontrol->value.iec958.status[2] = 0xff; in snd_emu10k1_spdif_get_mask()
78 ucontrol->value.iec958.status[3] = 0xff; in snd_emu10k1_spdif_get_mask()
1096 val = (ucontrol->value.iec958.status[0] << 0) | in snd_emu10k1_spdif_put()
1097 (ucontrol->value.iec958.status[1] << 8) | in snd_emu10k1_spdif_put()
[all …]
/linux-2.6.39/sound/i2c/
Dcs8427.c413 memcpy(ucontrol->value.iec958.status, chip->playback.def_status, 24); in snd_cs8427_spdif_get()
430 change = memcmp(ucontrol->value.iec958.status, status, 24) != 0; in snd_cs8427_spdif_put()
431 memcpy(status, ucontrol->value.iec958.status, 24); in snd_cs8427_spdif_put()
453 memset(ucontrol->value.iec958.status, 0xff, 24); in snd_cs8427_spdif_mask_get()
/linux-2.6.39/sound/pci/cs46xx/
Dcs46xx_lib.c2002 ucontrol->value.iec958.status[0] = _wrap_all_bits((ins->spdif_csuv_default >> 24) & 0xff); in snd_cs46xx_spdif_default_get()
2003 ucontrol->value.iec958.status[1] = _wrap_all_bits((ins->spdif_csuv_default >> 16) & 0xff); in snd_cs46xx_spdif_default_get()
2004 ucontrol->value.iec958.status[2] = 0; in snd_cs46xx_spdif_default_get()
2005 ucontrol->value.iec958.status[3] = _wrap_all_bits((ins->spdif_csuv_default) & 0xff); in snd_cs46xx_spdif_default_get()
2020 val = ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[0]) << 24) | in snd_cs46xx_spdif_default_put()
2021 ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[2]) << 16) | in snd_cs46xx_spdif_default_put()
2022 ((unsigned int)_wrap_all_bits(ucontrol->value.iec958.status[3])) | in snd_cs46xx_spdif_default_put()
2041 ucontrol->value.iec958.status[0] = 0xff; in snd_cs46xx_spdif_mask_get()
2042 ucontrol->value.iec958.status[1] = 0xff; in snd_cs46xx_spdif_mask_get()
2043 ucontrol->value.iec958.status[2] = 0x00; in snd_cs46xx_spdif_mask_get()
[all …]
/linux-2.6.39/sound/i2c/other/
Dak4114.c249 ucontrol->value.iec958.status[i] = reg_read(chip, AK4114_REG_RXCSB0 + i); in snd_ak4114_spdif_get()
260 ucontrol->value.iec958.status[i] = chip->txcsb[i]; in snd_ak4114_spdif_playback_get()
271 reg_write(chip, AK4114_REG_TXCSB0 + i, ucontrol->value.iec958.status[i]); in snd_ak4114_spdif_playback_put()
285 memset(ucontrol->value.iec958.status, 0xff, AK4114_REG_RXCSB_SIZE); in snd_ak4114_spdif_mask_get()
Dak4117.c265 ucontrol->value.iec958.status[i] = reg_read(chip, AK4117_REG_RXCSB0 + i); in snd_ak4117_spdif_get()
279 memset(ucontrol->value.iec958.status, 0xff, AK4117_REG_RXCSB_SIZE); in snd_ak4117_spdif_mask_get()
Dak4113.c298 ucontrol->value.iec958.status[i] = reg_read(chip, in snd_ak4113_spdif_get()
314 memset(ucontrol->value.iec958.status, 0xff, AK4113_REG_RXCSB_SIZE); in snd_ak4113_spdif_mask_get()
/linux-2.6.39/sound/pci/trident/
Dtrident_main.c2403 ucontrol->value.iec958.status[0] = (trident->spdif_bits >> 0) & 0xff; in snd_trident_spdif_default_get()
2404 ucontrol->value.iec958.status[1] = (trident->spdif_bits >> 8) & 0xff; in snd_trident_spdif_default_get()
2405 ucontrol->value.iec958.status[2] = (trident->spdif_bits >> 16) & 0xff; in snd_trident_spdif_default_get()
2406 ucontrol->value.iec958.status[3] = (trident->spdif_bits >> 24) & 0xff; in snd_trident_spdif_default_get()
2418 val = (ucontrol->value.iec958.status[0] << 0) | in snd_trident_spdif_default_put()
2419 (ucontrol->value.iec958.status[1] << 8) | in snd_trident_spdif_default_put()
2420 (ucontrol->value.iec958.status[2] << 16) | in snd_trident_spdif_default_put()
2421 (ucontrol->value.iec958.status[3] << 24); in snd_trident_spdif_default_put()
2462 ucontrol->value.iec958.status[0] = 0xff; in snd_trident_spdif_mask_get()
2463 ucontrol->value.iec958.status[1] = 0xff; in snd_trident_spdif_mask_get()
[all …]
/linux-2.6.39/sound/pci/ice1712/
Ddelta.c214 snd_cs8403_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); in delta_spdif_default_get()
222 val = snd_cs8403_encode_spdif_bits(&ucontrol->value.iec958); in delta_spdif_default_put()
237 snd_cs8403_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); in delta_spdif_stream_get()
245 val = snd_cs8403_encode_spdif_bits(&ucontrol->value.iec958); in delta_spdif_stream_put()
Dice1712.c1693 ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | in snd_ice1712_spdif_maskc_get()
1697 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_ORIGINAL | in snd_ice1712_spdif_maskc_get()
1699 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; in snd_ice1712_spdif_maskc_get()
1701 ucontrol->value.iec958.status[0] = 0xff; in snd_ice1712_spdif_maskc_get()
1702 ucontrol->value.iec958.status[1] = 0xff; in snd_ice1712_spdif_maskc_get()
1703 ucontrol->value.iec958.status[2] = 0xff; in snd_ice1712_spdif_maskc_get()
1704 ucontrol->value.iec958.status[3] = 0xff; in snd_ice1712_spdif_maskc_get()
1705 ucontrol->value.iec958.status[4] = 0xff; in snd_ice1712_spdif_maskc_get()
1715 ucontrol->value.iec958.status[0] = IEC958_AES0_NONAUDIO | in snd_ice1712_spdif_maskp_get()
1719 ucontrol->value.iec958.status[1] = IEC958_AES1_PRO_MODE; in snd_ice1712_spdif_maskp_get()
[all …]
Dews.c268 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_bits); in ews88_spdif_default_get()
276 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); in ews88_spdif_default_put()
291 snd_cs8404_decode_spdif_bits(&ucontrol->value.iec958, ice->spdif.cs8403_stream_bits); in ews88_spdif_stream_get()
299 val = snd_cs8404_encode_spdif_bits(&ucontrol->value.iec958); in ews88_spdif_stream_put()
/linux-2.6.39/sound/ppc/
Dsnd_ps3.c725 memset(ucontrol->value.iec958.status, 0xff, 8); in snd_ps3_spdif_cmask_get()
738 memcpy(ucontrol->value.iec958.status, ps3av_mode_cs_info, 8); in snd_ps3_spdif_default_get()
745 if (memcmp(ps3av_mode_cs_info, ucontrol->value.iec958.status, 8)) { in snd_ps3_spdif_default_put()
746 memcpy(ps3av_mode_cs_info, ucontrol->value.iec958.status, 8); in snd_ps3_spdif_default_put()
/linux-2.6.39/sound/pci/ac97/
Dac97_codec.c714 ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | in snd_ac97_spdif_cmask_get()
718 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_CATEGORY | in snd_ac97_spdif_cmask_get()
720 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS; in snd_ac97_spdif_cmask_get()
727 ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | in snd_ac97_spdif_pmask_get()
739 ucontrol->value.iec958.status[0] = ac97->spdif_status & 0xff; in snd_ac97_spdif_default_get()
740 ucontrol->value.iec958.status[1] = (ac97->spdif_status >> 8) & 0xff; in snd_ac97_spdif_default_get()
741 ucontrol->value.iec958.status[2] = (ac97->spdif_status >> 16) & 0xff; in snd_ac97_spdif_default_get()
742 ucontrol->value.iec958.status[3] = (ac97->spdif_status >> 24) & 0xff; in snd_ac97_spdif_default_get()
754 new = val = ucontrol->value.iec958.status[0] & (IEC958_AES0_PROFESSIONAL|IEC958_AES0_NONAUDIO); in snd_ac97_spdif_default_put()
755 if (ucontrol->value.iec958.status[0] & IEC958_AES0_PROFESSIONAL) { in snd_ac97_spdif_default_put()
[all …]
/linux-2.6.39/sound/pci/ymfpci/
Dymfpci_main.c1280 ucontrol->value.iec958.status[0] = (chip->spdif_bits >> 0) & 0xff; in snd_ymfpci_spdif_default_get()
1281 ucontrol->value.iec958.status[1] = (chip->spdif_bits >> 8) & 0xff; in snd_ymfpci_spdif_default_get()
1282 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; in snd_ymfpci_spdif_default_get()
1294 val = ((ucontrol->value.iec958.status[0] & 0x3e) << 0) | in snd_ymfpci_spdif_default_put()
1295 (ucontrol->value.iec958.status[1] << 8); in snd_ymfpci_spdif_default_put()
1327 ucontrol->value.iec958.status[0] = 0x3e; in snd_ymfpci_spdif_mask_get()
1328 ucontrol->value.iec958.status[1] = 0xff; in snd_ymfpci_spdif_mask_get()
1355 ucontrol->value.iec958.status[0] = (chip->spdif_pcm_bits >> 0) & 0xff; in snd_ymfpci_spdif_stream_get()
1356 ucontrol->value.iec958.status[1] = (chip->spdif_pcm_bits >> 8) & 0xff; in snd_ymfpci_spdif_stream_get()
1357 ucontrol->value.iec958.status[3] = IEC958_AES3_CON_FS_48000; in snd_ymfpci_spdif_stream_get()
[all …]
/linux-2.6.39/sound/pci/pcxhr/
Dpcxhr_mixer.c960 ucontrol->value.iec958.status[i] = aes_bits; in pcxhr_iec958_get()
971 ucontrol->value.iec958.status[i] = 0xff; in pcxhr_iec958_mask_get()
1017 if (ucontrol->value.iec958.status[i] != chip->aes_bits[i]) { in pcxhr_iec958_put()
1020 ucontrol->value.iec958.status[i]); in pcxhr_iec958_put()
1023 ucontrol->value.iec958.status[i]); in pcxhr_iec958_put()
/linux-2.6.39/sound/pci/hda/
Dhda_codec.c2471 ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | in snd_hda_spdif_cmask_get()
2475 ucontrol->value.iec958.status[1] = IEC958_AES1_CON_CATEGORY | in snd_hda_spdif_cmask_get()
2483 ucontrol->value.iec958.status[0] = IEC958_AES0_PROFESSIONAL | in snd_hda_spdif_pmask_get()
2494 ucontrol->value.iec958.status[0] = codec->spdif_status & 0xff; in snd_hda_spdif_default_get()
2495 ucontrol->value.iec958.status[1] = (codec->spdif_status >> 8) & 0xff; in snd_hda_spdif_default_get()
2496 ucontrol->value.iec958.status[2] = (codec->spdif_status >> 16) & 0xff; in snd_hda_spdif_default_get()
2497 ucontrol->value.iec958.status[3] = (codec->spdif_status >> 24) & 0xff; in snd_hda_spdif_default_get()
2587 codec->spdif_status = ucontrol->value.iec958.status[0] | in snd_hda_spdif_default_put()
2588 ((unsigned int)ucontrol->value.iec958.status[1] << 8) | in snd_hda_spdif_default_put()
2589 ((unsigned int)ucontrol->value.iec958.status[2] << 16) | in snd_hda_spdif_default_put()
[all …]

12