Lines Matching refs:buffer
155 #define HDSP_Latency0 (1<<1) /* buffer size = 2^n where n is defined by Latency{2,1,0} */
312 #define HDSP_BufferPositionMask 0x000FFC0 /* Bit 6..15 : h/w buffer pointer */
497 need to use in order to find the relevant channel buffer. RME
500 and the value is the DMA channel (i.e. channel buffer number)
1340 unsigned char buf[128]; /* this buffer is designed to match the MIDI input FIFO size */
3314 snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
3328 snd_iprintf(buffer, "%s (Card #%d)\n", hdsp->card_name,
3330 snd_iprintf(buffer, "Buffers: capture %p playback %p\n",
3332 snd_iprintf(buffer, "IRQ: %d Registers bus: 0x%lx VM: 0x%lx\n",
3334 snd_iprintf(buffer, "Control register: 0x%x\n", hdsp->control_register);
3335 snd_iprintf(buffer, "Control2 register: 0x%x\n",
3337 snd_iprintf(buffer, "Status register: 0x%x\n", status);
3338 snd_iprintf(buffer, "Status2 register: 0x%x\n", status2);
3341 snd_iprintf(buffer, "No I/O box connected.\n"
3349 snd_iprintf(buffer, "Firmware loading from "
3359 snd_iprintf(buffer,
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));
3372 snd_iprintf(buffer, "Use Midi Tasklet: %s\n", hdsp->use_midi_work ? "on" : "off");
3374 snd_iprintf(buffer, "\n");
3378 snd_iprintf(buffer, "Buffer Size (Latency): %d samples (2 periods of %lu bytes)\n", x, (unsigned long) hdsp->period_bytes);
3379 snd_iprintf(buffer, "Hardware pointer (frames): %ld\n", hdsp_hw_pointer(hdsp));
3380 snd_iprintf(buffer, "Precise pointer: %s\n", hdsp->precise_ptr ? "on" : "off");
3381 snd_iprintf(buffer, "Line out: %s\n", (hdsp->control_register & HDSP_LineOut) ? "on" : "off");
3383 snd_iprintf(buffer, "Firmware version: %d\n", (status2&HDSP_version0)|(status2&HDSP_version1)<<1|(status2&HDSP_version2)<<2);
3385 snd_iprintf(buffer, "\n");
3421 snd_iprintf (buffer, "Sample Clock Source: %s\n", clock_source);
3451 snd_iprintf (buffer, "Preferred Sync Reference: %s\n", pref_sync_ref);
3479 snd_iprintf (buffer, "AutoSync Reference: %s\n", autosync_ref);
3481 snd_iprintf (buffer, "AutoSync Frequency: %d\n", hdsp_external_sample_rate(hdsp));
3483 snd_iprintf (buffer, "System Clock Mode: %s\n", system_clock_mode);
3485 snd_iprintf (buffer, "System Clock Frequency: %d\n", hdsp->system_sample_rate);
3486 snd_iprintf (buffer, "System Clock Locked: %s\n", hdsp->clock_source_locked ? "Yes" : "No");
3488 snd_iprintf(buffer, "\n");
3493 snd_iprintf(buffer, "IEC958 input: Optical\n");
3496 snd_iprintf(buffer, "IEC958 input: Coaxial\n");
3499 snd_iprintf(buffer, "IEC958 input: Internal\n");
3502 snd_iprintf(buffer, "IEC958 input: AES\n");
3505 snd_iprintf(buffer, "IEC958 input: ???\n");
3512 snd_iprintf(buffer, "RPM Bypass: disabled\n");
3514 snd_iprintf(buffer, "RPM Bypass: enabled\n");
3516 snd_iprintf(buffer, "RPM disconnected\n");
3518 snd_iprintf(buffer, "RPM connected\n");
3522 snd_iprintf(buffer, "Input 1/2: Phono, 6dB\n");
3525 snd_iprintf(buffer, "Input 1/2: Phono, 0dB\n");
3528 snd_iprintf(buffer, "Input 1/2: Phono, -6dB\n");
3531 snd_iprintf(buffer, "Input 1/2: Line, 0dB\n");
3534 snd_iprintf(buffer, "Input 1/2: Line, -6dB\n");
3537 snd_iprintf(buffer, "Input 1/2: ???\n");
3542 snd_iprintf(buffer, "Input 3/4: Phono, 6dB\n");
3545 snd_iprintf(buffer, "Input 3/4: Phono, 0dB\n");
3548 snd_iprintf(buffer, "Input 3/4: Phono, -6dB\n");
3551 snd_iprintf(buffer, "Input 3/4: Line, 0dB\n");
3554 snd_iprintf(buffer, "Input 3/4: Line, -6dB\n");
3557 snd_iprintf(buffer, "Input 3/4: ???\n");
3562 snd_iprintf(buffer, "IEC958 output: Coaxial & ADAT1\n");
3564 snd_iprintf(buffer, "IEC958 output: Coaxial only\n");
3567 snd_iprintf(buffer, "IEC958 quality: Professional\n");
3569 snd_iprintf(buffer, "IEC958 quality: Consumer\n");
3572 snd_iprintf(buffer, "IEC958 emphasis: on\n");
3574 snd_iprintf(buffer, "IEC958 emphasis: off\n");
3577 snd_iprintf(buffer, "IEC958 NonAudio: on\n");
3579 snd_iprintf(buffer, "IEC958 NonAudio: off\n");
3582 snd_iprintf(buffer, "IEC958 sample rate: %d\n", x);
3584 snd_iprintf(buffer, "IEC958 sample rate: Error flag set\n");
3586 snd_iprintf(buffer, "\n");
3591 snd_iprintf(buffer, "ADAT1: %s\n", x ? "Sync" : "Lock");
3593 snd_iprintf(buffer, "ADAT1: No Lock\n");
3600 snd_iprintf(buffer, "ADAT2: %s\n", x ? "Sync" : "Lock");
3602 snd_iprintf(buffer, "ADAT2: No Lock\n");
3605 snd_iprintf(buffer, "ADAT3: %s\n", x ? "Sync" : "Lock");
3607 snd_iprintf(buffer, "ADAT3: No Lock\n");
3616 snd_iprintf (buffer, "SPDIF: No Lock\n");
3618 snd_iprintf (buffer, "SPDIF: %s\n", x ? "Sync" : "Lock");
3622 snd_iprintf (buffer, "Word Clock: %s\n", x ? "Sync" : "Lock");
3624 snd_iprintf (buffer, "Word Clock: No Lock\n");
3628 snd_iprintf(buffer, "ADAT Sync: %s\n", x ? "Sync" : "Lock");
3630 snd_iprintf(buffer, "ADAT Sync: No Lock\n");
3632 snd_iprintf(buffer, "\n");
3649 snd_iprintf(buffer, "AD Gain : %s\n", tmp);
3662 snd_iprintf(buffer, "DA Gain : %s\n", tmp);
3675 snd_iprintf(buffer, "Phones Gain : %s\n", tmp);
3677 snd_iprintf(buffer, "XLR Breakout Cable : %s\n",
3682 snd_iprintf(buffer, "AEB : on (ADAT1 internal)\n");
3684 snd_iprintf(buffer, "AEB : off (ADAT1 external)\n");
3685 snd_iprintf(buffer, "\n");
3743 maximum latency (7 => 2^7 = 8192 samples, 64Kbyte buffer,