Lines Matching refs:status
255 /* SyncCheck status */
867 "wait for FIFO status <= %d failed after %d iterations\n",
955 unsigned int status = hdsp_read(hdsp, HDSP_statusRegister);
956 unsigned int rate_bits = (status & HDSP_spdifFrequencyMask);
960 rate_bits = (status & HDSP_spdifFrequencyMask_9632);
962 if (status & HDSP_SPDIFErrorFlag)
985 "unknown spdif frequency status; bits = 0x%x, status = 0x%x\n",
986 rate_bits, status);
1539 val |= (aes->status[0] & IEC958_AES0_PROFESSIONAL) ? HDSP_SPDIFProfessional : 0;
1540 val |= (aes->status[0] & IEC958_AES0_NONAUDIO) ? HDSP_SPDIFNonAudio : 0;
1542 val |= (aes->status[0] & IEC958_AES0_PRO_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0;
1544 val |= (aes->status[0] & IEC958_AES0_CON_EMPHASIS_5015) ? HDSP_SPDIFEmphasis : 0;
1550 aes->status[0] = ((val & HDSP_SPDIFProfessional) ? IEC958_AES0_PROFESSIONAL : 0) |
1553 aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_PRO_EMPHASIS_5015 : 0;
1555 aes->status[0] |= (val & HDSP_SPDIFEmphasis) ? IEC958_AES0_CON_EMPHASIS_5015 : 0;
1627 ucontrol->value.iec958.status[0] = kcontrol->private_value;
2709 int status = hdsp_read(hdsp, HDSP_statusRegister);
2710 if (status & HDSP_SPDIFErrorFlag)
2713 if (status & HDSP_SPDIFSync)
2740 int status = hdsp_read(hdsp, HDSP_statusRegister);
2741 if (status & HDSP_TimecodeLock) {
2742 if (status & HDSP_TimecodeSync)
2767 int status = hdsp_read(hdsp, HDSP_statusRegister);
2769 if (status & (HDSP_Lock0>>idx)) {
2770 if (status & (HDSP_Sync0>>idx))
3333 /* ADAT SyncCheck status */
3390 unsigned int status;
3398 status = hdsp_read(hdsp, HDSP_statusRegister);
3410 snd_iprintf(buffer, "Status register: 0x%x\n", status);
3440 snd_iprintf(buffer, "FIFO status: %d\n", hdsp_read(hdsp, HDSP_fifoStatus) & 0xff);
3441 snd_iprintf(buffer, "MIDI1 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut0));
3442 snd_iprintf(buffer, "MIDI1 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn0));
3443 snd_iprintf(buffer, "MIDI2 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut1));
3444 snd_iprintf(buffer, "MIDI2 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn1));
3662 x = status & HDSP_Sync0;
3663 if (status & HDSP_Lock0)
3671 x = status & HDSP_Sync1;
3672 if (status & HDSP_Lock1)
3676 x = status & HDSP_Sync2;
3677 if (status & HDSP_Lock2)
3687 x = status & HDSP_SPDIFSync;
3688 if (status & HDSP_SPDIFErrorFlag)
3699 x = status & HDSP_TimecodeSync;
3700 if (status & HDSP_TimecodeLock)
3876 unsigned int status;
3884 status = hdsp_read(hdsp, HDSP_statusRegister);
3886 audio = status & HDSP_audioIRQPending;
3887 midi0 = status & HDSP_midi0IRQPending;
3888 midi1 = status & HDSP_midi1IRQPending;
4022 runtime->status->hw_ptr = hdsp_hw_pointer(hdsp);
4024 runtime->status->hw_ptr = 0;
4030 oruntime->status->hw_ptr = runtime->status->hw_ptr;
5006 int status, aebi_channels, aebo_channels, i;
5022 status = hdsp_read(hdsp, HDSP_statusRegister);
5024 aebi_channels = (status & HDSP_AEBI) ? 0 : 4;
5025 aebo_channels = (status & HDSP_AEBO) ? 0 : 4;