Lines Matching defs:buffer

152 #define HDSP_Latency0             (1<<1)  /* buffer size = 2^n where n is defined by Latency{2,1,0} */
309 #define HDSP_BufferPositionMask 0x000FFC0 /* Bit 6..15 : h/w buffer pointer */
498 need to use in order to find the relevant channel buffer. RME
501 and the value is the DMA channel (i.e. channel buffer number)
1337 unsigned char buf[128]; /* this buffer is designed to match the MIDI input FIFO size */
3387 snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
3401 snd_iprintf(buffer, "%s (Card #%d)\n", hdsp->card_name,
3403 snd_iprintf(buffer, "Buffers: capture %p playback %p\n",
3405 snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n",
3407 snd_iprintf(buffer, "Control register: 0x%x\n", hdsp->control_register);
3408 snd_iprintf(buffer, "Control2 register: 0x%x\n",
3410 snd_iprintf(buffer, "Status register: 0x%x\n", status);
3411 snd_iprintf(buffer, "Status2 register: 0x%x\n", status2);
3414 snd_iprintf(buffer, "No I/O box connected.\n"
3422 snd_iprintf(buffer, "Firmware loading from "
3432 snd_iprintf(buffer,
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));
3445 snd_iprintf(buffer, "Use Midi Tasklet: %s\n", hdsp->use_midi_work ? "on" : "off");
3447 snd_iprintf(buffer, "\n");
3451 snd_iprintf(buffer, "Buffer Size (Latency): %d samples (2 periods of %lu bytes)\n", x, (unsigned long) hdsp->period_bytes);
3452 snd_iprintf(buffer, "Hardware pointer (frames): %ld\n", hdsp_hw_pointer(hdsp));
3453 snd_iprintf(buffer, "Precise pointer: %s\n", hdsp->precise_ptr ? "on" : "off");
3454 snd_iprintf(buffer, "Line out: %s\n", (hdsp->control_register & HDSP_LineOut) ? "on" : "off");
3456 snd_iprintf(buffer, "Firmware version: %d\n", (status2&HDSP_version0)|(status2&HDSP_version1)<<1|(status2&HDSP_version2)<<2);
3458 snd_iprintf(buffer, "\n");
3494 snd_iprintf (buffer, "Sample Clock Source: %s\n", clock_source);
3524 snd_iprintf (buffer, "Preferred Sync Reference: %s\n", pref_sync_ref);
3552 snd_iprintf (buffer, "AutoSync Reference: %s\n", autosync_ref);
3554 snd_iprintf (buffer, "AutoSync Frequency: %d\n", hdsp_external_sample_rate(hdsp));
3556 snd_iprintf (buffer, "System Clock Mode: %s\n", system_clock_mode);
3558 snd_iprintf (buffer, "System Clock Frequency: %d\n", hdsp->system_sample_rate);
3559 snd_iprintf (buffer, "System Clock Locked: %s\n", hdsp->clock_source_locked ? "Yes" : "No");
3561 snd_iprintf(buffer, "\n");
3566 snd_iprintf(buffer, "IEC958 input: Optical\n");
3569 snd_iprintf(buffer, "IEC958 input: Coaxial\n");
3572 snd_iprintf(buffer, "IEC958 input: Internal\n");
3575 snd_iprintf(buffer, "IEC958 input: AES\n");
3578 snd_iprintf(buffer, "IEC958 input: ???\n");
3585 snd_iprintf(buffer, "RPM Bypass: disabled\n");
3587 snd_iprintf(buffer, "RPM Bypass: enabled\n");
3589 snd_iprintf(buffer, "RPM disconnected\n");
3591 snd_iprintf(buffer, "RPM connected\n");
3595 snd_iprintf(buffer, "Input 1/2: Phono, 6dB\n");
3598 snd_iprintf(buffer, "Input 1/2: Phono, 0dB\n");
3601 snd_iprintf(buffer, "Input 1/2: Phono, -6dB\n");
3604 snd_iprintf(buffer, "Input 1/2: Line, 0dB\n");
3607 snd_iprintf(buffer, "Input 1/2: Line, -6dB\n");
3610 snd_iprintf(buffer, "Input 1/2: ???\n");
3615 snd_iprintf(buffer, "Input 3/4: Phono, 6dB\n");
3618 snd_iprintf(buffer, "Input 3/4: Phono, 0dB\n");
3621 snd_iprintf(buffer, "Input 3/4: Phono, -6dB\n");
3624 snd_iprintf(buffer, "Input 3/4: Line, 0dB\n");
3627 snd_iprintf(buffer, "Input 3/4: Line, -6dB\n");
3630 snd_iprintf(buffer, "Input 3/4: ???\n");
3635 snd_iprintf(buffer, "IEC958 output: Coaxial & ADAT1\n");
3637 snd_iprintf(buffer, "IEC958 output: Coaxial only\n");
3640 snd_iprintf(buffer, "IEC958 quality: Professional\n");
3642 snd_iprintf(buffer, "IEC958 quality: Consumer\n");
3645 snd_iprintf(buffer, "IEC958 emphasis: on\n");
3647 snd_iprintf(buffer, "IEC958 emphasis: off\n");
3650 snd_iprintf(buffer, "IEC958 NonAudio: on\n");
3652 snd_iprintf(buffer, "IEC958 NonAudio: off\n");
3655 snd_iprintf(buffer, "IEC958 sample rate: %d\n", x);
3657 snd_iprintf(buffer, "IEC958 sample rate: Error flag set\n");
3659 snd_iprintf(buffer, "\n");
3664 snd_iprintf(buffer, "ADAT1: %s\n", x ? "Sync" : "Lock");
3666 snd_iprintf(buffer, "ADAT1: No Lock\n");
3673 snd_iprintf(buffer, "ADAT2: %s\n", x ? "Sync" : "Lock");
3675 snd_iprintf(buffer, "ADAT2: No Lock\n");
3678 snd_iprintf(buffer, "ADAT3: %s\n", x ? "Sync" : "Lock");
3680 snd_iprintf(buffer, "ADAT3: No Lock\n");
3689 snd_iprintf (buffer, "SPDIF: No Lock\n");
3691 snd_iprintf (buffer, "SPDIF: %s\n", x ? "Sync" : "Lock");
3695 snd_iprintf (buffer, "Word Clock: %s\n", x ? "Sync" : "Lock");
3697 snd_iprintf (buffer, "Word Clock: No Lock\n");
3701 snd_iprintf(buffer, "ADAT Sync: %s\n", x ? "Sync" : "Lock");
3703 snd_iprintf(buffer, "ADAT Sync: No Lock\n");
3705 snd_iprintf(buffer, "\n");
3722 snd_iprintf(buffer, "AD Gain : %s\n", tmp);
3735 snd_iprintf(buffer, "DA Gain : %s\n", tmp);
3748 snd_iprintf(buffer, "Phones Gain : %s\n", tmp);
3750 snd_iprintf(buffer, "XLR Breakout Cable : %s\n",
3755 snd_iprintf(buffer, "AEB : on (ADAT1 internal)\n");
3757 snd_iprintf(buffer, "AEB : off (ADAT1 external)\n");
3758 snd_iprintf(buffer, "\n");
3813 maximum latency (7 => 2^7 = 8192 samples, 64Kbyte buffer,