Lines Matching refs:hdsp_read

664 static unsigned int hdsp_read(struct hdsp *hdsp, int reg)  in hdsp_read()  function
675 if (0 == (hdsp_read(hdsp, HDSP_statusRegister) & in hdsp_check_for_iobox()
700 if (hdsp_read(hdsp, HDSP_statusRegister) & HDSP_ConfigError) in hdsp_wait_for_iobox()
730 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) { in snd_hdsp_load_firmware_from_cache()
784 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) { in hdsp_get_iobox_version()
824 if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version2) in hdsp_get_iobox_version()
826 else if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version1) in hdsp_get_iobox_version()
846 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) { in hdsp_check_for_firmware()
879 if ((int)(hdsp_read (hdsp, HDSP_fifoStatus) & 0xff) <= count) in hdsp_fifo_wait()
978 unsigned int status = hdsp_read(hdsp, HDSP_statusRegister); in hdsp_spdif_sample_rate()
1015 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_external_sample_rate()
1047 position = hdsp_read(hdsp, HDSP_statusRegister); in hdsp_hw_pointer()
1285 return hdsp_read(hdsp, HDSP_midiDataIn1); in snd_hdsp_midi_read_byte()
1287 return hdsp_read(hdsp, HDSP_midiDataIn0); in snd_hdsp_midi_read_byte()
1302 return (hdsp_read(hdsp, HDSP_midiStatusIn1) & 0xff); in snd_hdsp_midi_input_available()
1304 return (hdsp_read(hdsp, HDSP_midiStatusIn0) & 0xff); in snd_hdsp_midi_input_available()
1312 fifo_bytes_used = hdsp_read(hdsp, HDSP_midiStatusOut1) & 0xff; in snd_hdsp_midi_output_possible()
1314 fifo_bytes_used = hdsp_read(hdsp, HDSP_midiStatusOut0) & 0xff; in snd_hdsp_midi_output_possible()
2477 unsigned int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_autosync_ref()
2700 int status2 = hdsp_read(hdsp, HDSP_status2Register); in hdsp_wc_sync_check()
2730 int status = hdsp_read(hdsp, HDSP_statusRegister); in hdsp_spdif_sync_check()
2761 int status = hdsp_read(hdsp, HDSP_statusRegister); in hdsp_adatsync_sync_check()
2788 int status = hdsp_read(hdsp, HDSP_statusRegister); in hdsp_adat_sync_check()
3344 status = hdsp_read(hdsp, HDSP_statusRegister); in snd_hdsp_proc_read()
3345 status2 = hdsp_read(hdsp, HDSP_status2Register); in snd_hdsp_proc_read()
3385 snd_iprintf(buffer, "FIFO status: %d\n", hdsp_read(hdsp, HDSP_fifoStatus) & 0xff); in snd_hdsp_proc_read()
3386 snd_iprintf(buffer, "MIDI1 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut0)); in snd_hdsp_proc_read()
3387 snd_iprintf(buffer, "MIDI1 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn0)); in snd_hdsp_proc_read()
3388 snd_iprintf(buffer, "MIDI2 Output status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusOut1)); in snd_hdsp_proc_read()
3389 snd_iprintf(buffer, "MIDI2 Input status: 0x%x\n", hdsp_read(hdsp, HDSP_midiStatusIn1)); in snd_hdsp_proc_read()
3835 status = hdsp_read(hdsp, HDSP_statusRegister); in snd_hdsp_interrupt()
3846 midi0status = hdsp_read (hdsp, HDSP_midiStatusIn0) & 0xff; in snd_hdsp_interrupt()
3847 midi1status = hdsp_read (hdsp, HDSP_midiStatusIn1) & 0xff; in snd_hdsp_interrupt()
4613 if (hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DoubleSpeedStatus) in hdsp_9652_get_peak()
4651 if (hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DoubleSpeedStatus) in hdsp_9632_get_peak()
4996 status = hdsp_read(hdsp, HDSP_statusRegister); in snd_hdsp_initialize_channels()
5271 if ((hdsp_read (hdsp, HDSP_statusRegister) & HDSP_DllError) != 0) { in snd_hdsp_create()
5291 if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version2) in snd_hdsp_create()
5293 else if (hdsp_read(hdsp, HDSP_status2Register) & HDSP_version1) in snd_hdsp_create()