Searched refs:diga (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/sound/
H A Dcs8403.h24 SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) argument
28 diga->status[0] |= IEC958_AES0_NONAUDIO;
30 diga->status[0] |= IEC958_AES0_CON_NOT_COPYRIGHT;
32 case 0x10: diga->status[0] |= IEC958_AES0_CON_EMPHASIS_NONE; break;
33 case 0x00: diga->status[0] |= IEC958_AES0_CON_EMPHASIS_5015; break;
36 diga->status[1] |= IEC958_AES1_CON_ORIGINAL;
38 case 0x00: diga->status[1] |= IEC958_AES1_CON_MAGNETIC_ID; break;
39 case 0x20: diga->status[1] |= IEC958_AES1_CON_DIGDIGCONV_ID; break;
40 case 0x40: diga->status[1] |= IEC958_AES1_CON_LASEROPT_ID; break;
41 case 0x60: diga
67 SND_CS8403_ENCODE(struct snd_aes_iec958 *diga) argument
154 SND_CS8404_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) argument
193 SND_CS8404_ENCODE(struct snd_aes_iec958 *diga) argument
[all...]
/linux-master/sound/pci/ice1712/
H A Dice1724.c1574 static unsigned int encode_spdif_bits(struct snd_aes_iec958 *diga) argument
1578 val = diga->status[0] & 0x03; /* professional, non-audio */
1581 if ((diga->status[0] & IEC958_AES0_PRO_EMPHASIS) ==
1584 rbits = (diga->status[4] >> 3) & 0x0f;
1593 switch (diga->status[0] & IEC958_AES0_PRO_FS) {
1606 val |= diga->status[1] & 0x04; /* copyright */
1607 if ((diga->status[0] & IEC958_AES0_CON_EMPHASIS) ==
1610 val |= (unsigned int)(diga->status[1] & 0x3f) << 4; /* category */
1611 val |= (unsigned int)(diga->status[3] & IEC958_AES3_CON_FS) << 12; /* fs */
1616 static void decode_spdif_bits(struct snd_aes_iec958 *diga, unsigne argument
[all...]

Completed in 160 milliseconds