/linux/Documentation/devicetree/bindings/sound/ |
H A D | serial-midi.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/sound/serial-midi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Generic Serial MIDI Interface 11 - Daniel Kaehn <kaehndan@gmail.com> 14 Generic MIDI interface using a serial device. This denotes that a serial device is 15 dedicated to MIDI communication, either to an external MIDI device through a DIN5 16 or other connector, or to a known hardwired MIDI controller. This device must be a 17 child node of a serial node. [all …]
|
/linux/Documentation/sound/cards/ |
H A D | serial-u16550.rst | 2 Serial UART 16450/16550 MIDI driver 7 * 0 - Roland Soundcanvas support (default) 8 * 1 - Midiator MS-124T support (1) 9 * 2 - Midiator MS-124W S/A mode (2) 10 * 3 - MS-124W M/B mode support (3) 11 * 4 - Generic device with multiple input support (4) 13 For the Midiator MS-124W, you must set the physical M-S and A-B 16 In Roland Soundcanvas mode, multiple ALSA raw MIDI substreams are supported 17 (midiCnD0-midiCnD15). Whenever you write to a different substream, the driver 18 sends the nonstandard MIDI command sequence F5 NN, where NN is the substream [all …]
|
H A D | audigy-mixer.rst | 5 This is based on sb-live-mixer.rst. 20 functionality. Only the default built-in code in the ALSA driver is described 34 one-way three wire serial bus for digital sound by Philips Semiconductors 42 FX-bus 48 ---------------------------------------- 49 This control is used to attenuate samples from left and right front PCM FX-bus 54 ------------------------------------------- 55 This control is used to attenuate samples from left and right surround PCM FX-bus 61 --------------------------------------- 62 This control is used to attenuate samples from left and right side PCM FX-bus [all …]
|
/linux/sound/drivers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 50 tristate "PC-Speaker support (READ HELP!)" 60 You can compile this as a module which will be called snd-pcsp. 65 pc-speaker a default sound device. Which is likely not 69 options snd-pcsp index=2 71 You don't need this driver if you only want your pc-speaker to beep. 90 will be called snd-dummy. 99 the standard ALSA PCM device. The devices are routed 0->1 and 100 1->0, where first number is the playback PCM device and second 106 timing source using the time shift universal control (+-20% [all …]
|
H A D | serial-generic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * serial-generic.c 5 * Based on serial-u16550.c by Jaroslav Kysela <perex@perex.cz>, 10 * Generic serial MIDI driver using the serdev serial bus API for hardware interaction 29 MODULE_DESCRIPTION("Generic serial MIDI driver"); 58 if (test_and_set_bit(SERIAL_TX_STATE_ACTIVE, &drvdata->tx_state)) in snd_serial_generic_tx_wakeup() 59 set_bit(SERIAL_TX_STATE_WAKEUP, &drvdata->tx_state); in snd_serial_generic_tx_wakeup() 61 schedule_work(&drvdata->tx_work); in snd_serial_generic_tx_wakeup() 72 struct snd_rawmidi_substream *substream = drvdata->midi_output; in snd_serial_generic_tx_work() 74 clear_bit(SERIAL_TX_STATE_WAKEUP, &drvdata->tx_state); in snd_serial_generic_tx_work() [all …]
|
H A D | serial-u16550.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * serial.c 12 * Added support for the Midiator MS-124T and for the MS-124W in 14 * power derived either parasitically from the serial port or 17 * More documentation can be found in serial-u16550.txt. 35 MODULE_DESCRIPTION("MIDI serial u16550"); 39 #define SNDRV_SERIAL_MS124T 1 /* Midiator MS-124T */ 40 #define SNDRV_SERIAL_MS124W_SA 2 /* Midiator MS-124W in S/A mode */ 41 #define SNDRV_SERIAL_MS124W_MB 3 /* Midiator MS-124W in M/B mode */ 46 "MS-124T", [all …]
|
H A D | mtpav.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MOTU Midi Timepiece ALSA Main routines 9 * MidiTimePiece AV multiport MIDI interface 12 * ------- 13 * 8 MIDI Ins and 8 MIDI outs 17 * 2 programmable pedal/footswitch inputs and 4 programmable MIDI controller knobs. 18 * Macintosh RS422 serial port 23 * ------------- 24 * Hardware MIDI routing, merging, and filtering 25 * MIDI Synchronization to Video, ADAT, SMPTE and other Clock sources [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 12 * (One can use a standard mono mini-jack to one RCA plugs cable. 13 * or one can use a standard stereo mini-jack to two RCA plugs cable. 23 * The only playback controls that currently do anything are: - 82 * Implement support for Line-in capture on SB Live 24bit. 89 * Some stability problems when unloading the snd-ca0106 kernel module. 90 * -- 95 * MIDI 96 * -- [all …]
|
H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ 88 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */ 93 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 94 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 107 #define INTE_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
/linux/drivers/usb/gadget/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 25 you can't connect a "to-the-host" connector to a peripheral. 44 For more information, see <http://www.linux-usb.org/gadget> and 100 int "Maximum VBUS Power usage (2-500 mA)" [all …]
|
/linux/Documentation/usb/ |
H A D | gadget-testing.rst | 18 9. MIDI function 23 14. SERIAL function 38 Function-specific configfs interface 39 ------------------------------------ 46 The attribute is read-only. 48 There can be at most 4 ACM/generic serial/OBEX ports in the system. 52 ------------------------ 77 Function-specific configfs interface 78 ------------------------------------ 100 ------------------------ [all …]
|
/linux/drivers/usb/gadget/legacy/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 23 # Gadget drivers are hardware-neutral, or "platform independent", 44 Gadget Zero is a two-configuration device. It either sinks and 47 conformance. The driver needs only two bulk-capable endpoints, so [all …]
|
/linux/sound/pci/emu10k1/ |
H A D | emu10k1x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk> 10 * -- 15 * - EMU10K1X-DBQ 16 * - STAC 9708T 21 #include <linux/dma-mapping.h> 62 #define IPR_MIDITRANSBUFEMPTY 0x00000001 /* MIDI UART transmit buffer empty */ 63 #define IPR_MIDIRECVBUFEMPTY 0x00000002 /* MIDI UART receive buffer empty */ 70 #define INTE_MIDITXENABLE 0x00000001 /* Enable MIDI transmit-buffer-empty interrupts */ 71 #define INTE_MIDIRXENABLE 0x00000002 /* Enable MIDI receive-buffer-empty interrupts */ [all …]
|
/linux/arch/m68k/atari/ |
H A D | debug.c | 4 * Atari debugging and serial console stuff 6 * Assembled of parts of former atari/config.c 97-12-18 by Roman Hodek 31 .index = -1, 45 while (count--) { in atari_mfp_console_write() 64 while (count--) { in atari_scc_console_write() 81 while (count--) { in atari_midi_console_write() 91 /* This a some-seconds timeout in case no printer is connected */ in ata_par_out() 94 while ((st_mfp.par_dt_reg & 1) && --i) /* wait for BUSY == L */ in ata_par_out() 117 while (count--) { in atari_par_console_write() 158 * SCC serial ports. They're used by the debugging interface, kgdb, and the [all …]
|
/linux/Documentation/admin-guide/ |
H A D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: 40 the 1st through 16th series of 16 pseudo-ttys each, and 44 These are the old-style (BSD) PTY devices; Unix98 106 3 char Pseudo-TTY slaves 112 These are the old-style (BSD) PTY devices; Unix98 [all …]
|
/linux/sound/pci/cs46xx/ |
H A D | cs46xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include <sound/pcm-indirect.h> 481 * The following defines are for the flags in the serial port master control 493 * The following defines are for the flags in the serial port master control 501 * The following defines are for the flags in the serial port 1 configuration 512 * The following defines are for the flags in the serial port 2 configuration 523 * The following defines are for the flags in the serial port 3 configuration 532 * The following defines are for the flags in the serial port 4 configuration 541 * The following defines are for the flags in the serial port 5 configuration 550 * The following defines are for the flags in the serial port backdoor sample [all …]
|
/linux/sound/usb/6fire/ |
H A D | comm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include "midi.h" 25 urb->transfer_buffer = buffer; in usb6fire_comm_init_urb() 26 urb->pipe = usb_sndintpipe(rt->chip->dev, COMM_EP); in usb6fire_comm_init_urb() 27 urb->complete = handler; in usb6fire_comm_init_urb() 28 urb->context = context; in usb6fire_comm_init_urb() 29 urb->interval = 1; in usb6fire_comm_init_urb() 30 urb->dev = rt->chip->dev; in usb6fire_comm_init_urb() 35 struct comm_runtime *rt = urb->context; in usb6fire_comm_receiver_handler() 36 struct midi_runtime *midi_rt = rt->chip->midi; in usb6fire_comm_receiver_handler() [all …]
|
/linux/sound/pci/ |
H A D | cs4281.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 55 #define BA0_HISR_MIDI (1<<22) /* MIDI port interrupt */ 119 #define BA0_DMR_SIZE20 (1<<20) /* Sample is 20-bit */ 123 #define BA0_DMR_SIZE8 (1<<16) /* Sample is 8-bit */ 129 #define BA0_DMR_AUTO (1<<4) /* Auto-Initialize */ 188 #define BA0_SPMC 0x03ec /* Serial Port Power Management Control (& ASDIN2 enable) */ 191 #define BA0_SPMC_EESPD (1<<9) /* EEPROM Serial Port Disable */ 214 #define BA0_SLT12O 0x041c /* Slot 12 GPIO Output Register for AC-Link */ 216 #define BA0_SERMC 0x0420 /* Serial Port Master Control */ [all …]
|
/linux/sound/pci/rme9652/ |
H A D | hdspm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Modified 2006-06-01 for AES32 support by Remy Bruno 12 * Modified 2009-04-13 for proper metering by Florian Faber 15 * Modified 2009-04-14 for native float support by Florian Faber 18 * Modified 2009-04-26 fixed bug in rms metering by Florian Faber 21 * Modified 2009-04-30 added hw serial number support by Florian Faber 23 * Modified 2011-01-14 added S/PDIF input on RayDATs by Adrian Knoth 25 * Modified 2011-01-25 variable period sizes on RayDAT/AIO by Adrian Knoth 27 * Modified 2019-05-23 fix AIO single speed ADAT capture and playback 35 * --------- HDSPM_controlRegister --------- [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | atarikb.h | 2 ** atarikb.h -- This header contains the prototypes of functions of 35 /* Hook for MIDI serial driver */
|
/linux/drivers/usb/misc/ |
H A D | emi62.c | 1 // SPDX-License-Identifier: GPL-2.0 20 //#undef SPDIF /* if you want MIDI uncomment this line */ 25 #define FIRMWARE_FW "emi62/midi.fw" 28 #define EMI62_VENDOR_ID 0x086a /* Emagic Soft-und Hardware GmBH */ 35 #define CPUCS_REG 0x7F92 /* EZ-USB Control and Status Register. Bit 0 controls 8051 reset */ 46 /* thanks to drivers/usb/serial/keyspan_pda.c code */ 55 dev_err(&dev->dev, "kmalloc(%d) failed.\n", length); in emi62_writememory() 56 return -ENOMEM; in emi62_writememory() 65 /* thanks to drivers/usb/serial/keyspan_pda.c code */ 69 dev_info(&dev->dev, "%s - %d\n", __func__, reset_bit); in emi62_set_reset() [all …]
|
/linux/sound/usb/ |
H A D | midi2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MIDI 2.0 support 15 #include <linux/usb/midi.h> 16 #include <linux/usb/midi-v2.h> 22 #include "midi.h" 28 MODULE_PARM_DESC(midi2_enable, "Enable MIDI 2.0 support."); 54 /* A USB MIDI input/output endpoint */ 74 bool disconnected; /* shadow of umidi->disconnected */ 75 struct list_head list; /* list to umidi->ep_list */ 79 /* A UMP endpoint - one or two USB MIDI endpoints are assigned */ [all …]
|
/linux/drivers/char/mwave/ |
H A D | 3780i.h | 3 * 3780i.h -- declarations for 3780i.c 23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 42 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 45 * 10/23/2000 - Alpha Release 62 #define DSP_MsaDataDSISHigh 0x0008 /* MSA data register: d-store word or high byte of i-stor… 63 #define DSP_MsaDataISLow 0x000A /* MSA data register: low word of i-store */ 112 unsigned char AccessMode:1; /* RW: 16-bit register access method 0=byte, 1=word */ 176 unsigned short SerialPort1:1; /* RW: Reset serial port 1 interface */ 177 unsigned short SerialPort2:1; /* RW: Reset serial port 2 interface */ 178 unsigned short SerialPort3:1; /* RW: Reset serial port 3 interface */ [all …]
|
/linux/include/sound/ |
H A D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ------------------- DEFINES -------------------- */ 33 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 41 // This is used to define hardware bit-fields (sub-registers) by combining 44 // The non-concatenating (_NC) variant should be used directly only for 45 // sub-registers that do not follow the <register>_<field> naming pattern. 55 // Macros for manipulating values of bit-fields declared using the above macros. 59 // single sub-register at a time. 62 #define REG_MASK0(r) ((1U << REG_SIZE(r)) - 1U) [all …]
|
/linux/sound/isa/wavefront/ |
H A D | wavefront_synth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (C) by Paul Barton-Davis 1998-1999 5 * copyright (C) by Hannu Savolainen 1993-1996 14 * of GUS patches during loading, and full user-level access to all 15 * WaveFront commands. It tries to provide semi-intelligent patch and 36 loading. if non-zero, then during driver loading, the 80 checks on-board RAM. 87 MODULE_PARM_DESC(wf_raw, "if non-zero, assume that we need to boot the OS"); 89 MODULE_PARM_DESC(fx_raw, "if non-zero, assume that the FX process needs help"); 107 /* if WF_DEBUG not defined, no run-time debugging messages will [all …]
|