Lines Matching refs:status
258 /* SyncCheck status */
872 "wait for FIFO status <= %d failed after %d iterations\n",
960 unsigned int status = hdsp_read(hdsp, HDSP_statusRegister);
961 unsigned int rate_bits = (status & HDSP_spdifFrequencyMask);
965 rate_bits = (status & HDSP_spdifFrequencyMask_9632);
967 if (status & HDSP_SPDIFErrorFlag)
990 "unknown spdif frequency status; bits = 0x%x, status = 0x%x\n",
991 rate_bits, status);
1541 val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? HDSP_SPDIFProfessional : 0;
1542 val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? HDSP_SPDIFNonAudio : 0;
1544 val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0;
1546 val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0;
1552 aes->status[0] = ((val & HDSP_SPDIFProfessional) ? IEC958_AES0_PROFESSIONAL : 0) |
1555 aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0;
1557 aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_CON_EMPHASIS_5015 : 0;
1629 ucontrol->value.iec958.status[0] = kcontrol->private_value;
2711 int status = hdsp_read(hdsp, HDSP_statusRegister);
2712 if (status & HDSP_SPDIFErrorFlag)
2715 if (status & HDSP_SPDIFSync)
2742 int status = hdsp_read(hdsp, HDSP_statusRegister);
2743 if (status & HDSP_TimecodeLock) {
2744 if (status & HDSP_TimecodeSync)
2769 int status = hdsp_read(hdsp, HDSP_statusRegister);
2771 if (status & (HDSP_Lock0>>idx)) {
2772 if (status & (HDSP_Sync0>>idx))
3279 /* ADAT SyncCheck status */
3317 unsigned int status;
3325 status = hdsp_read(hdsp, HDSP_statusRegister);
3337 snd_iprintf(buffer, "Status register: 0x%x\n", status);
3367 snd_iprintf(buffer, "FIFO status: %d\n", hdsp_read(hdsp, HDSP_fifoStatus) & 0xff);
3368 snd_iprintf(buffer, "MIDI1 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut0));
3369 snd_iprintf(buffer, "MIDI1 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn0));
3370 snd_iprintf(buffer, "MIDI2 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut1));
3371 snd_iprintf(buffer, "MIDI2 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn1));
3589 x = status & HDSP_Sync0;
3590 if (status & HDSP_Lock0)
3598 x = status & HDSP_Sync1;
3599 if (status & HDSP_Lock1)
3603 x = status & HDSP_Sync2;
3604 if (status & HDSP_Lock2)
3614 x = status & HDSP_SPDIFSync;
3615 if (status & HDSP_SPDIFErrorFlag)
3626 x = status & HDSP_TimecodeSync;
3627 if (status & HDSP_TimecodeLock)
3806 unsigned int status;
3814 status = hdsp_read(hdsp, HDSP_statusRegister);
3816 audio = status & HDSP_audioIRQPending;
3817 midi0 = status & HDSP_midi0IRQPending;
3818 midi1 = status & HDSP_midi1IRQPending;
3979 runtime->status->hw_ptr = hdsp_hw_pointer(hdsp);
3981 runtime->status->hw_ptr = 0;
3987 oruntime->status->hw_ptr = runtime->status->hw_ptr;
4959 int status, aebi_channels, aebo_channels;
4975 status = hdsp_read(hdsp, HDSP_statusRegister);
4977 aebi_channels = (status & HDSP_AEBI) ? 0 : 4;
4978 aebo_channels = (status & HDSP_AEBO) ? 0 : 4;