Lines Matching defs:hdsp_read
641 static unsigned int hdsp_read(struct hdsp *hdsp, int reg)
652 if (0 == (hdsp_read(hdsp, HDSP_statusRegister) &
677 if (hdsp_read(hdsp, HDSP_statusRegister) & HDSP_ConfigError)
707 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
761 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
801 if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version2)
803 else if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version1)
823 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
856 if ((int)(hdsp_read (hdsp, HDSP_fifoStatus) & 0xff) <= count)
955 unsigned int status = hdsp_read(hdsp, HDSP_statusRegister);
992 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register);
1024 position = hdsp_read(hdsp, HDSP_statusRegister);
1262 return hdsp_read(hdsp, HDSP_midiDataIn1);
1264 return hdsp_read(hdsp, HDSP_midiDataIn0);
1279 return (hdsp_read(hdsp, HDSP_midiStatusIn1) & 0xff);
1281 return (hdsp_read(hdsp, HDSP_midiStatusIn0) & 0xff);
1289 fifo_bytes_used = hdsp_read(hdsp, HDSP_midiStatusOut1) & 0xff;
1291 fifo_bytes_used = hdsp_read(hdsp, HDSP_midiStatusOut0) & 0xff;
2456 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register);
2679 int status2 = hdsp_read(hdsp, HDSP_status2Register);
2709 int status = hdsp_read(hdsp, HDSP_statusRegister);
2740 int status = hdsp_read(hdsp, HDSP_statusRegister);
2767 int status = hdsp_read(hdsp, HDSP_statusRegister);
3398 status = hdsp_read(hdsp, HDSP_statusRegister);
3399 status2 = hdsp_read(hdsp, HDSP_status2Register);
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));
3884 status = hdsp_read(hdsp, HDSP_statusRegister);
3895 midi0status = hdsp_read (hdsp, HDSP_midiStatusIn0) & 0xff;
3896 midi1status = hdsp_read (hdsp, HDSP_midiStatusIn1) & 0xff;
4636 if (hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DoubleSpeedStatus)
4674 if (hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DoubleSpeedStatus)
5022 status = hdsp_read(hdsp, HDSP_statusRegister);
5319 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) {
5341 if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version2)
5343 else if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version1)