003 File Manager
Current Path:
/usr/src/sys/dev/sound/pci
usr
/
src
/
sys
/
dev
/
sound
/
pci
/
📁
..
📄
allegro_code.h
(13.76 KB)
📄
allegro_reg.h
(30.68 KB)
📄
als4000.c
(22.2 KB)
📄
als4000.h
(3.25 KB)
📄
atiixp.c
(34.25 KB)
📄
atiixp.h
(7.19 KB)
📄
aureal.c
(16.97 KB)
📄
aureal.h
(2.99 KB)
📄
cmi.c
(28.03 KB)
📄
cmireg.h
(7.52 KB)
📄
cs4281.c
(25.15 KB)
📄
cs4281.h
(6.89 KB)
📄
cs461x_dsp.h
(173.89 KB)
📄
csa.c
(26.85 KB)
📄
csamidi.c
(7.12 KB)
📄
csapcm.c
(26.3 KB)
📄
csareg.h
(93.24 KB)
📄
csavar.h
(2.48 KB)
📄
ds1-fw.h
(63.96 KB)
📄
ds1.c
(27.72 KB)
📄
ds1.h
(5.08 KB)
📄
emu10k1.c
(58.37 KB)
📄
emu10kx-midi.c
(6.84 KB)
📄
emu10kx-pcm.c
(39.26 KB)
📄
emu10kx.c
(99.01 KB)
📄
emu10kx.h
(6.03 KB)
📄
emuxkireg.h
(23.3 KB)
📄
envy24.c
(65.65 KB)
📄
envy24.h
(23.28 KB)
📄
envy24ht.c
(65.45 KB)
📄
envy24ht.h
(8.41 KB)
📄
es137x.c
(52.28 KB)
📄
es137x.h
(8.33 KB)
📄
fm801.c
(19.85 KB)
📁
hda
📄
hdspe-pcm.c
(15.45 KB)
📄
hdspe.c
(9.22 KB)
📄
hdspe.h
(5.98 KB)
📄
ich.c
(31.78 KB)
📄
ich.h
(3.49 KB)
📄
maestro.c
(51.21 KB)
📄
maestro3.c
(48.51 KB)
📄
maestro_reg.h
(10.82 KB)
📄
neomagic-coeff.h
(302.31 KB)
📄
neomagic.c
(19.38 KB)
📄
neomagic.h
(3.98 KB)
📄
solo.c
(25.21 KB)
📄
spicds.c
(10.46 KB)
📄
spicds.h
(4.41 KB)
📄
t4dwave.c
(24.38 KB)
📄
t4dwave.h
(3.26 KB)
📄
via8233.c
(36.27 KB)
📄
via8233.h
(5.42 KB)
📄
via82c686.c
(17.23 KB)
📄
via82c686.h
(3.61 KB)
📄
vibes.c
(26.45 KB)
📄
vibes.h
(5.99 KB)
Editing: neomagic.h
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 1999 Cameron Grant <cg@freebsd.org> * All rights reserved. * * Derived from the public domain Linux driver * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHERIN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THEPOSSIBILITY OF * SUCH DAMAGE. * * $FreeBSD$ */ #ifndef _NM256_H_ #define _NM256_H_ /* The BIOS signature. */ #define NM_SIGNATURE 0x4e4d0000 /* Signature mask. */ #define NM_SIG_MASK 0xffff0000 /* Size of the second memory area. */ #define NM_PORT2_SIZE 4096 /* The base offset of the mixer in the second memory area. */ #define NM_MIXER_OFFSET 0x600 /* The base offset for the AC97 test */ #define NM_MIXER_PRESENCE 0xa06 #define NM_PRESENCE_MASK 0x050 #define NM_PRESENCE_VALUE 0x040 /* The maximum size of a coefficient entry. */ #define NM_MAX_COEFFICIENT 0x5000 /* The interrupt register. */ #define NM_INT_REG 0xa04 /* And its bits. */ #define NM_PLAYBACK_INT 0x40 #define NM_RECORD_INT 0x100 #define NM_MISC_INT_1 0x4000 #define NM_MISC_INT_2 0x1 /* The AV's "mixer ready" status bit and location. */ #define NM_MIXER_STATUS_OFFSET 0xa04 #define NM_MIXER_READY_MASK 0x0800 /* * For the ZX. It uses the same interrupt register, but it holds 32 * bits instead of 16. */ #define NM2_PLAYBACK_INT 0x10000 #define NM2_RECORD_INT 0x80000 #define NM2_MISC_INT_1 0x8 #define NM2_MISC_INT_2 0x2 /* The ZX's "mixer ready" status bit and location. */ #define NM2_MIXER_STATUS_OFFSET 0xa06 #define NM2_MIXER_READY_MASK 0x0800 /* The playback registers start from here. */ #define NM_PLAYBACK_REG_OFFSET 0x0 /* The record registers start from here. */ #define NM_RECORD_REG_OFFSET 0x200 /* The rate register is located 2 bytes from the start of the register area. */ #define NM_RATE_REG_OFFSET 2 /* Mono/stereo flag, number of bits on playback, and rate mask. */ #define NM_RATE_STEREO 1 #define NM_RATE_BITS_16 2 #define NM_RATE_MASK 0xf0 /* Playback enable register. */ #define NM_PLAYBACK_ENABLE_REG (NM_PLAYBACK_REG_OFFSET + 0x1) #define NM_PLAYBACK_ENABLE_FLAG 1 #define NM_PLAYBACK_ONESHOT 2 #define NM_PLAYBACK_FREERUN 4 /* Mutes the audio output. */ #define NM_AUDIO_MUTE_REG (NM_PLAYBACK_REG_OFFSET + 0x18) #define NM_AUDIO_MUTE_LEFT 0x8000 #define NM_AUDIO_MUTE_RIGHT 0x0080 #define NM_AUDIO_MUTE_BOTH 0x8080 /* Recording enable register. */ #define NM_RECORD_ENABLE_REG (NM_RECORD_REG_OFFSET + 0) #define NM_RECORD_ENABLE_FLAG 1 #define NM_RECORD_FREERUN 2 #define NM_RBUFFER_START (NM_RECORD_REG_OFFSET + 0x4) #define NM_RBUFFER_END (NM_RECORD_REG_OFFSET + 0x10) #define NM_RBUFFER_WMARK (NM_RECORD_REG_OFFSET + 0xc) #define NM_RBUFFER_CURRP (NM_RECORD_REG_OFFSET + 0x8) #define NM_PBUFFER_START (NM_PLAYBACK_REG_OFFSET + 0x4) #define NM_PBUFFER_END (NM_PLAYBACK_REG_OFFSET + 0x14) #define NM_PBUFFER_WMARK (NM_PLAYBACK_REG_OFFSET + 0xc) #define NM_PBUFFER_CURRP (NM_PLAYBACK_REG_OFFSET + 0x8) #endif
Upload File
Create Folder