sound/isa/msnd/msnd_pinnacle.h
Source file repositories/reference/linux-study-clean/sound/isa/msnd/msnd_pinnacle.h
File Facts
- System
- Linux kernel
- Corpus path
sound/isa/msnd/msnd_pinnacle.h- Extension
.h- Size
- 5155 bytes
- Lines
- 169
- Domain
- Driver Families
- Bucket
- sound/isa
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __MSND_PINNACLE_H
#define __MSND_PINNACLE_H
#define DSP_NUMIO 0x08
#define IREG_LOGDEVICE 0x07
#define IREG_ACTIVATE 0x30
#define LD_ACTIVATE 0x01
#define LD_DISACTIVATE 0x00
#define IREG_EECONTROL 0x3F
#define IREG_MEMBASEHI 0x40
#define IREG_MEMBASELO 0x41
#define IREG_MEMCONTROL 0x42
#define IREG_MEMRANGEHI 0x43
#define IREG_MEMRANGELO 0x44
#define MEMTYPE_8BIT 0x00
#define MEMTYPE_16BIT 0x02
#define MEMTYPE_RANGE 0x00
#define MEMTYPE_HIADDR 0x01
#define IREG_IO0_BASEHI 0x60
#define IREG_IO0_BASELO 0x61
#define IREG_IO1_BASEHI 0x62
#define IREG_IO1_BASELO 0x63
#define IREG_IRQ_NUMBER 0x70
#define IREG_IRQ_TYPE 0x71
#define IRQTYPE_HIGH 0x02
#define IRQTYPE_LOW 0x00
#define IRQTYPE_LEVEL 0x01
#define IRQTYPE_EDGE 0x00
#define HP_DSPR 0x04
#define HP_BLKS 0x04
#define HPDSPRESET_OFF 2
#define HPDSPRESET_ON 0
#define HPBLKSEL_0 2
#define HPBLKSEL_1 3
#define HIMT_DAT_OFF 0x03
#define HIDSP_PLAY_UNDER 0x00
#define HIDSP_INT_PLAY_UNDER 0x01
#define HIDSP_SSI_TX_UNDER 0x02
#define HIDSP_RECQ_OVERFLOW 0x08
#define HIDSP_INT_RECORD_OVER 0x09
#define HIDSP_SSI_RX_OVERFLOW 0x0a
#define HIDSP_MIDI_IN_OVER 0x10
#define HIDSP_MIDI_FRAME_ERR 0x11
#define HIDSP_MIDI_PARITY_ERR 0x12
#define HIDSP_MIDI_OVERRUN_ERR 0x13
#define HIDSP_INPUT_CLIPPING 0x20
#define HIDSP_MIX_CLIPPING 0x30
#define HIDSP_DAT_IN_OFF 0x21
#define TIME_PRO_RESET_DONE 0x028A
#define TIME_PRO_SYSEX 0x001E
#define TIME_PRO_RESET 0x0032
#define DAR_BUFF_SIZE 0x1000
#define MIDQ_BUFF_SIZE 0x800
#define DSPQ_BUFF_SIZE 0x5A0
#define DSPQ_DATA_BUFF 0x7860
#define MOP_WAVEHDR 0
#define MOP_EXTOUT 1
#define MOP_HWINIT 0xfe
#define MOP_NONE 0xff
#define MOP_MAX 1
#define MIP_EXTIN 0
#define MIP_WAVEHDR 1
#define MIP_HWINIT 0xfe
#define MIP_MAX 1
/* Pinnacle/Fiji SMA Common Data */
#define SMA_wCurrPlayBytes 0x0000
#define SMA_wCurrRecordBytes 0x0002
#define SMA_wCurrPlayVolLeft 0x0004
#define SMA_wCurrPlayVolRight 0x0006
#define SMA_wCurrInVolLeft 0x0008
#define SMA_wCurrInVolRight 0x000a
#define SMA_wCurrMHdrVolLeft 0x000c
#define SMA_wCurrMHdrVolRight 0x000e
#define SMA_dwCurrPlayPitch 0x0010
Annotation
- Atlas domain: Driver Families / sound/isa.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.