Lines Matching refs:hdsp_read

646 static unsigned int hdsp_read(struct hdsp *hdsp, int reg)
657 if (0 == (hdsp_read(hdsp, HDSP_statusRegister) &
682 if (hdsp_read(hdsp, HDSP_statusRegister) & HDSP_ConfigError)
712 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
766 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
806 if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version2)
808 else if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version1)
828 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
861 if ((int)(hdsp_read (hdsp, HDSP_fifoStatus) & 0xff) <= count)
960 unsigned int status = hdsp_read(hdsp, HDSP_statusRegister);
997 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register);
1029 position = hdsp_read(hdsp, HDSP_statusRegister);
1267 return hdsp_read(hdsp, HDSP_midiDataIn1);
1269 return hdsp_read(hdsp, HDSP_midiDataIn0);
1284 return (hdsp_read(hdsp, HDSP_midiStatusIn1) & 0xff);
1286 return (hdsp_read(hdsp, HDSP_midiStatusIn0) & 0xff);
1294 fifo_bytes_used = hdsp_read(hdsp, HDSP_midiStatusOut1) & 0xff;
1296 fifo_bytes_used = hdsp_read(hdsp, HDSP_midiStatusOut0) & 0xff;
2458 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register);
2681 int status2 = hdsp_read(hdsp, HDSP_status2Register);
2711 int status = hdsp_read(hdsp, HDSP_statusRegister);
2742 int status = hdsp_read(hdsp, HDSP_statusRegister);
2769 int status = hdsp_read(hdsp, HDSP_statusRegister);
3325 status = hdsp_read(hdsp, HDSP_statusRegister);
3326 status2 = hdsp_read(hdsp, HDSP_status2Register);
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));
3814 status = hdsp_read(hdsp, HDSP_statusRegister);
3825 midi0status = hdsp_read (hdsp, HDSP_midiStatusIn0) & 0xff;
3826 midi1status = hdsp_read (hdsp, HDSP_midiStatusIn1) & 0xff;
4593 if (hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DoubleSpeedStatus)
4631 if (hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DoubleSpeedStatus)
4975 status = hdsp_read(hdsp, HDSP_statusRegister);
5251 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
5271 if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version2)
5273 else if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version1)