sound/isa/gus/interwave.c
Source file repositories/reference/linux-study-clean/sound/isa/gus/interwave.c
File Facts
- System
- Linux kernel
- Corpus path
sound/isa/gus/interwave.c- Extension
.c- Size
- 28298 bytes
- Lines
- 1039
- Domain
- Driver Families
- Bucket
- sound/isa
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/err.hlinux/isa.hlinux/delay.hlinux/pnp.hlinux/module.hasm/dma.hsound/core.hsound/gus.hsound/wss.hsound/tea6330t.hsound/initval.h
Detected Declarations
struct snd_interwavestruct rom_hdrfunction snd_interwave_i2c_setlinesfunction snd_interwave_i2c_getclocklinefunction snd_interwave_i2c_getdatalinefunction snd_interwave_detect_stbfunction snd_interwave_detectfunction snd_interwave_interruptfunction snd_interwave_resetfunction snd_interwave_bank_sizesfunction snd_interwave_find_memory_configfunction snd_interwave_detect_memoryfunction __snd_interwave_restore_regsfunction snd_interwave_initfunction snd_interwave_mixerfunction snd_interwave_pnpfunction pnp_port_startfunction snd_interwave_card_newfunction snd_interwave_probe_gusfunction snd_interwave_probefunction snd_interwave_isa_matchfunction snd_interwave_isa_probefunction snd_interwave_restore_regsfunction snd_interwave_restore_memoryfunction scoped_guardfunction snd_interwave_card_suspendfunction snd_interwave_card_resumefunction snd_interwave_isa_suspendfunction snd_interwave_isa_resumefunction snd_interwave_pnp_detectfunction snd_interwave_pnpc_suspendfunction snd_interwave_pnpc_resumefunction alsa_card_interwave_initfunction alsa_card_interwave_exitmodule init alsa_card_interwave_init
Annotated Snippet
module_init(alsa_card_interwave_init)
module_exit(alsa_card_interwave_exit)
Annotation
- Immediate include surface: `linux/init.h`, `linux/err.h`, `linux/isa.h`, `linux/delay.h`, `linux/pnp.h`, `linux/module.h`, `asm/dma.h`, `sound/core.h`.
- Detected declarations: `struct snd_interwave`, `struct rom_hdr`, `function snd_interwave_i2c_setlines`, `function snd_interwave_i2c_getclockline`, `function snd_interwave_i2c_getdataline`, `function snd_interwave_detect_stb`, `function snd_interwave_detect`, `function snd_interwave_interrupt`, `function snd_interwave_reset`, `function snd_interwave_bank_sizes`.
- Atlas domain: Driver Families / sound/isa.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.