Home
last modified time | relevance | path

Searched full:oss (Results 1 – 25 of 225) sorted by relevance

123456789

/linux/sound/core/oss/
H A Dpcm_oss.c3 * Digital Audio (PCM) abstract layer / OSS compatible
40 MODULE_DESCRIPTION("PCM OSS emulation for ALSA.");
43 MODULE_PARM_DESC(dsp_map, "PCM device number assigned to 1st OSS device.");
45 MODULE_PARM_DESC(adsp_map, "PCM device number assigned to 2nd OSS device.");
536 plugin = runtime->oss.plugin_first; in snd_pcm_oss_plugin_clear()
542 runtime->oss.plugin_first = runtime->oss.plugin_last = NULL; in snd_pcm_oss_plugin_clear()
549 plugin->next = runtime->oss.plugin_first; in snd_pcm_plugin_insert()
551 if (runtime->oss.plugin_first) { in snd_pcm_plugin_insert()
552 runtime->oss.plugin_first->prev = plugin; in snd_pcm_plugin_insert()
553 runtime->oss.plugin_first = plugin; in snd_pcm_plugin_insert()
[all …]
H A DMakefile7 snd-mixer-oss-y := mixer_oss.o
9 snd-pcm-oss-y := pcm_oss.o
10 snd-pcm-oss-$(CONFIG_SND_PCM_OSS_PLUGINS) += pcm_plugin.o \
13 obj-$(CONFIG_SND_MIXER_OSS) += snd-mixer-oss.o
14 obj-$(CONFIG_SND_PCM_OSS) += snd-pcm-oss.o
/linux/arch/m68k/mac/
H A Doss.c3 * Operating System Services (OSS) chip handling
11 * recent insights into OSS operational details.
12 * 990610 (jmt) - Now taking full advantage of the OSS. Interrupts are mapped
33 volatile struct mac_oss *oss; variable
36 * Initialize the OSS
46 oss = (struct mac_oss *) OSS_BASE; in oss_init()
47 pr_debug("OSS detected at %p", oss); in oss_init()
54 oss->irq_level[i] = 0; in oss_init()
58 * Handle OSS interrupts.
77 events = oss->irq_pending & OSS_IP_NUBUS; in oss_nubus_irq()
[all …]
/linux/Documentation/sound/designs/
H A Doss-emulation.rst2 Notes on Kernel OSS-Emulation
11 ALSA provides a powerful OSS emulation on the kernel.
12 The OSS emulation for PCM, mixer and sequencer devices is implemented
13 as add-on kernel modules, snd-pcm-oss, snd-mixer-oss and snd-seq-oss.
14 When you need to access the OSS PCM, mixer or sequencer devices, the
22 Only necessary step for auto-loading of OSS modules is to define the
32 The currently available OSS configuration is shown in
33 /proc/asound/oss/sndstat. This shows in the same syntax of
34 /dev/sndstat, which is available on the commercial OSS driver.
38 after the corresponding OSS-emulation module is loaded. Don't worry
[all …]
H A Dseq-oss.rst2 OSS Sequencer Emulation on ALSA
12 This directory contains the OSS sequencer emulation driver on ALSA. Note
15 What this does - it provides the emulation of the OSS sequencer, access
17 The most of applications using OSS can run if the appropriate ALSA
41 are dependent on the synth driver, as well as even on original OSS.
51 You can run two or more applications simultaneously (even for OSS
67 ``/proc/asound/seq/oss`` at any time. In the later version,
75 and OSS emulation (``--with-oss=yes``) options. A module ``snd-seq-oss.o``
76 will be created. If the synth module of your sound card supports for OSS
86 Run ``cat /proc/asound/seq/oss``, and check the devices. For example,
[all …]
H A Dprocfile.rst50 oss/devices
51 Lists the OSS device mappings.
53 oss/sndstat
78 When the OSS mixer emulation is enabled (and the module is loaded),
80 OSS mixer elements to the ALSA control elements. You can change the
81 mapping by writing to this device. Read OSS-Emulation.txt for
206 seq/oss
207 Lists the OSS-compatible sequencer stuffs.
/linux/sound/core/
H A DKconfig75 bool "Enable OSS Emulation"
78 This option enables the build of OSS emulation layer.
81 tristate "OSS Mixer API"
84 To enable OSS mixer API emulation (/dev/mixer*), say Y here
85 and read <file:Documentation/sound/designs/oss-emulation.rst>.
87 Many programs still use the OSS API, so say Y.
90 will be called snd-mixer-oss.
93 tristate "OSS PCM (digital audio) API"
97 To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
98 here and read <file:Documentation/sound/designs/oss-emulation.rst>.
[all …]
H A Dpcm.c396 if (substream->oss.oss) { in snd_pcm_substream_proc_hw_params_read()
397 snd_iprintf(buffer, "OSS format: %s\n", snd_pcm_oss_format_name(runtime->oss.format)); in snd_pcm_substream_proc_hw_params_read()
398 snd_iprintf(buffer, "OSS channels: %u\n", runtime->oss.channels); in snd_pcm_substream_proc_hw_params_read()
399 snd_iprintf(buffer, "OSS rate: %u\n", runtime->oss.rate); in snd_pcm_substream_proc_hw_params_read()
400 snd_iprintf(buffer, "OSS period bytes: %lu\n", (unsigned long)runtime->oss.period_bytes); in snd_pcm_substream_proc_hw_params_read()
401 snd_iprintf(buffer, "OSS periods: %u\n", runtime->oss.periods); in snd_pcm_substream_proc_hw_params_read()
402 snd_iprintf(buffer, "OSS period frames: %lu\n", (unsigned long)runtime->oss.period_frames); in snd_pcm_substream_proc_hw_params_read()
636 mutex_init(&pstr->oss.setup_mutex); in snd_pcm_new_stream()
834 for (setup = pstr->oss.setup_list; setup; setup = setupn) { in snd_pcm_free_stream()
1133 * called for each registered PCM devices. This exists only for PCM OSS
/linux/include/sound/
H A Dminors.h66 #define SNDRV_MINOR_OSS_MIXER 0 /* /dev/mixer - OSS 3.XX compatible */
67 #define SNDRV_MINOR_OSS_SEQUENCER 1 /* /dev/sequencer - OSS 3.XX compatible */
68 #define SNDRV_MINOR_OSS_MIDI 2 /* /dev/midi - native midi interface - OSS 3.XX compatible - UART */
70 #define SNDRV_MINOR_OSS_PCM_8 3 /* /dev/dsp - 8bit PCM - OSS 3.XX compatible */
72 #define SNDRV_MINOR_OSS_PCM_16 5 /* /dev/dsp16 - 16bit PCM - OSS 3.XX compatible */
73 #define SNDRV_MINOR_OSS_SNDSTAT 6 /* /dev/sndstat - for compatibility with OSS */
75 #define SNDRV_MINOR_OSS_MUSIC 8 /* /dev/music - OSS 3.XX compatible */
76 #define SNDRV_MINOR_OSS_DMMIDI 9 /* /dev/dmmidi0 - this device can have another minor # with OSS */
77 #define SNDRV_MINOR_OSS_DMFM 10 /* /dev/dmfm0 - this device can have another minor # with OSS */
H A Dpcm_oss.h6 * Digital Audio (PCM) - OSS compatibility abstract layer
30 int format; /* requested OSS format */
58 unsigned oss: 1; /* oss mode */ member
H A Dseq_oss.h6 * OSS compatible sequencer driver
18 /* given by OSS sequencer */
27 /* note-on event passing mode: initially given by OSS seq,
81 #define SNDRV_SEQ_DEV_ID_OSS "seq-oss"
H A Dmixer_oss.h6 * OSS MIXER API
41 struct snd_mixer_oss_slot slots[SNDRV_OSS_MAX_MIXERS]; /* OSS mixer slots */
/linux/sound/
H A DKconfig16 bool "Preclaim OSS device numbers"
20 With this option enabled, the kernel will claim all OSS device
21 numbers if any OSS support (native or emulation) is enabled
30 and whether OSS sound devices appear multiple times in
36 Disabling this allows alternative OSS implementations.
40 source "sound/oss/dmasound/Kconfig"
H A Dsound_core.c4 * which is common to both OSS and ALSA and OSS sound core which
5 * is used OSS or emulation of it.
72 * OSS sound core handling. Breaks out sound functions to submodules
81 * plug into this. The fact they don't all go via OSS doesn't mean
82 * they don't have to implement the OSS API. There is a lot of logic
83 * to keeping much of the OSS weight out of the code in a compatibility
119 * By default, OSS sound_core claims full legacy minor range (0-255)
124 * prevents alternative OSS implementation and is scheduled to be
557 * For ALSA slot means soundcard and OSS emulation code in soundcore_open()
/linux/sound/core/seq/
H A DKconfig30 tristate "OSS Sequencer API"
34 Say Y here to enable OSS sequencer emulation (both
37 Many programs still use the OSS API, so say Y.
40 will be called snd-seq-oss.
/linux/sound/drivers/opl3/
H A Dopl3_oss.c3 * Interface for OSS sequencer emulation
67 sprintf(name, "OPL%i OSS Port", opl_ver); in snd_opl3_oss_create_port()
89 /* register OSS synth */
114 /* register to OSS synth table */ in snd_opl3_init_seq_oss()
130 /* open OSS sequencer */
156 /* close OSS sequencer */
/linux/sound/core/seq/oss/
H A DMakefile7 snd-seq-oss-y := seq_oss.o seq_oss_init.o seq_oss_timer.o seq_oss_ioctl.o \
11 obj-$(CONFIG_SND_SEQUENCER_OSS) += snd-seq-oss.o
H A Dseq_oss_device.h3 * OSS compatible sequencer driver
34 #define SNDRV_SEQ_OSS_PROCNAME "oss"
104 /* create/delete OSS sequencer client */
H A Dseq_oss_init.c3 * OSS compatible sequencer driver
60 * create sequencer client for OSS sequencer
75 "OSS sequencer"); in snd_seq_oss_create_client()
147 * delete OSS sequencer client
350 strcpy(qinfo.name, "OSS Sequencer Emulation"); in alloc_seq_queue()
H A Dseq_oss_event.h3 * OSS compatible sequencer driver
5 * seq_oss_event.h - OSS event queue record
/linux/sound/synth/emux/
H A Demux_oss.c3 * Interface for OSS sequencer emulation
48 * register OSS synth
71 /* register to OSS synth table */ in snd_emux_init_seq_oss()
93 * open port for OSS sequencer
114 sprintf(tmpname, "%s OSS Port", emu->name); in snd_emux_open_seq_oss()
319 * OSS/AWE driver specific h/w controls
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dsmu7_common.h49 #include "oss/oss_3_0_d.h"
50 #include "oss/oss_3_0_sh_mask.h"
/linux/Documentation/translations/zh_CN/process/
H A Dsecurity-bugs.rst60 公共 "oss-security" 邮件列表进行。两者紧密关联且被展示在 linux-distros 维基:
61 <https://oss-security.openwall.org/wiki/mailing-lists/distros>
/linux/sound/oss/dmasound/
H A Ddmasound_core.c2 * linux/sound/oss/dmasound/dmasound_core.c
5 * OSS/Free compatible Atari TT/Falcon and Amiga DMA sound driver for
129 * - made the ioctls, read & write comply with the OSS
134 * - fix open() to return -EBUSY as per OSS doc. when
145 * However, if the driver is opened O_RDWR there is no way (in the current OSS
167 * Similarly, the OSS spec says "all changes to parameters must be between
474 Othwerwise (if the user did not set them) OSS says that we should in sq_setup()
569 to do it - but it is what OSS requires. It means that write() can in sq_write()
723 /* OSS manual says we will return EBUSY regardless in sq_open2()
793 OSS behaviour - while we still have soft translations ;-) */ in sq_open()
[all …]
/linux/arch/m68k/include/asm/
H A Dmac_oss.h3 * OSS
73 extern volatile struct mac_oss *oss;

123456789