Searched refs:aes (Results 1 – 4 of 4) sorted by relevance
1725 static u32 snd_rme32_convert_from_aes(struct snd_aes_iec958 * aes) in snd_rme32_convert_from_aes() argument1728 val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? RME32_WCR_PRO : 0; in snd_rme32_convert_from_aes()1730 val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? RME32_WCR_EMP : 0; in snd_rme32_convert_from_aes()1732 val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? RME32_WCR_EMP : 0; in snd_rme32_convert_from_aes()1736 static void snd_rme32_convert_to_aes(struct snd_aes_iec958 * aes, u32 val) in snd_rme32_convert_to_aes() argument1738 aes->status[0] = ((val & RME32_WCR_PRO) ? IEC958_AES0_PROFESSIONAL : 0); in snd_rme32_convert_to_aes()1740 aes->status[0] |= (val & RME32_WCR_EMP) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; in snd_rme32_convert_to_aes()1742 aes->status[0] |= (val & RME32_WCR_EMP) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; in snd_rme32_convert_to_aes()
2108 static u32 snd_rme96_convert_from_aes(struct snd_aes_iec958 *aes) in snd_rme96_convert_from_aes() argument2111 val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? RME96_WCR_PRO : 0; in snd_rme96_convert_from_aes()2112 val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? RME96_WCR_DOLBY : 0; in snd_rme96_convert_from_aes()2114 val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? RME96_WCR_EMP : 0; in snd_rme96_convert_from_aes()2116 val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? RME96_WCR_EMP : 0; in snd_rme96_convert_from_aes()2120 static void snd_rme96_convert_to_aes(struct snd_aes_iec958 *aes, u32 val) in snd_rme96_convert_to_aes() argument2122 aes->status[0] = ((val & RME96_WCR_PRO) ? IEC958_AES0_PROFESSIONAL : 0) | in snd_rme96_convert_to_aes()2125 aes->status[0] |= (val & RME96_WCR_EMP) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; in snd_rme96_convert_to_aes()2127 aes->status[0] |= (val & RME96_WCR_EMP) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; in snd_rme96_convert_to_aes()
789 static u32 snd_rme9652_convert_from_aes(struct snd_aes_iec958 *aes) in snd_rme9652_convert_from_aes() argument792 val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? RME9652_PRO : 0; in snd_rme9652_convert_from_aes()793 val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? RME9652_Dolby : 0; in snd_rme9652_convert_from_aes()795 val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? RME9652_EMP : 0; in snd_rme9652_convert_from_aes()797 val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? RME9652_EMP : 0; in snd_rme9652_convert_from_aes()801 static void snd_rme9652_convert_to_aes(struct snd_aes_iec958 *aes, u32 val) in snd_rme9652_convert_to_aes() argument803 aes->status[0] = ((val & RME9652_PRO) ? IEC958_AES0_PROFESSIONAL : 0) | in snd_rme9652_convert_to_aes()806 aes->status[0] |= (val & RME9652_EMP) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; in snd_rme9652_convert_to_aes()808 aes->status[0] |= (val & RME9652_EMP) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; in snd_rme9652_convert_to_aes()
1562 static u32 snd_hdsp_convert_from_aes(struct snd_aes_iec958 *aes) in snd_hdsp_convert_from_aes() argument1565 val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? HDSP_SPDIFProfessional : 0; in snd_hdsp_convert_from_aes()1566 val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? HDSP_SPDIFNonAudio : 0; in snd_hdsp_convert_from_aes()1568 val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0; in snd_hdsp_convert_from_aes()1570 val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0; in snd_hdsp_convert_from_aes()1574 static void snd_hdsp_convert_to_aes(struct snd_aes_iec958 *aes, u32 val) in snd_hdsp_convert_to_aes() argument1576 aes->status[0] = ((val & HDSP_SPDIFProfessional) ? IEC958_AES0_PROFESSIONAL : 0) | in snd_hdsp_convert_to_aes()1579 aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0; in snd_hdsp_convert_to_aes()1581 aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_CON_EMPHASIS_5015 : 0; in snd_hdsp_convert_to_aes()