Searched refs:diga (Results 1 – 4 of 4) sorted by relevance
24 SND_CS8403_DECL void SND_CS8403_DECODE(struct snd_aes_iec958 *diga, unsigned char bits) in SND_CS8403_DECODE() argument28 diga->status[0] |= IEC958_AES0_NONAUDIO; in SND_CS8403_DECODE()30 diga->status[0] |= IEC958_AES0_CON_NOT_COPYRIGHT; in SND_CS8403_DECODE()32 case 0x10: diga->status[0] |= IEC958_AES0_CON_EMPHASIS_NONE; break; in SND_CS8403_DECODE()33 case 0x00: diga->status[0] |= IEC958_AES0_CON_EMPHASIS_5015; break; in SND_CS8403_DECODE()36 diga->status[1] |= IEC958_AES1_CON_ORIGINAL; in SND_CS8403_DECODE()38 case 0x00: diga->status[1] |= IEC958_AES1_CON_MAGNETIC_ID; break; in SND_CS8403_DECODE()39 case 0x20: diga->status[1] |= IEC958_AES1_CON_DIGDIGCONV_ID; break; in SND_CS8403_DECODE()40 case 0x40: diga->status[1] |= IEC958_AES1_CON_LASEROPT_ID; break; in SND_CS8403_DECODE()41 case 0x60: diga->status[1] |= IEC958_AES1_CON_GENERAL; break; in SND_CS8403_DECODE()[all …]
1574 static unsigned int encode_spdif_bits(struct snd_aes_iec958 *diga) in encode_spdif_bits() argument1578 val = diga->status[0] & 0x03; /* professional, non-audio */ in encode_spdif_bits()1581 if ((diga->status[0] & IEC958_AES0_PRO_EMPHASIS) == in encode_spdif_bits()1584 rbits = (diga->status[4] >> 3) & 0x0f; in encode_spdif_bits()1593 switch (diga->status[0] & IEC958_AES0_PRO_FS) { in encode_spdif_bits()1606 val |= diga->status[1] & 0x04; /* copyright */ in encode_spdif_bits()1607 if ((diga->status[0] & IEC958_AES0_CON_EMPHASIS) == in encode_spdif_bits()1610 val |= (unsigned int)(diga->status[1] & 0x3f) << 4; /* category */ in encode_spdif_bits()1611 val |= (unsigned int)(diga->status[3] & IEC958_AES3_CON_FS) << 12; /* fs */ in encode_spdif_bits()1616 static void decode_spdif_bits(struct snd_aes_iec958 *diga, unsigned int val) in decode_spdif_bits() argument[all …]
631 comentarios al principio de la función, diga a la gente lo que hace y
1754 que le diga que no. Por ejemplo, considere la siguiente interacción