sound/isa/cmi8330.c
Source file repositories/reference/linux-study-clean/sound/isa/cmi8330.c
File Facts
- System
- Linux kernel
- Corpus path
sound/isa/cmi8330.c- Extension
.c- Size
- 21735 bytes
- Lines
- 750
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/err.hlinux/isa.hlinux/pnp.hlinux/module.hsound/core.hsound/wss.hsound/opl3.hsound/mpu401.hsound/sb.hsound/initval.h
Detected Declarations
struct snd_cmi8330struct snd_cmi8330_streamenum card_typefunction cmi8330_add_sb_mixersfunction scoped_guardfunction scoped_guardfunction snd_cmi8330_mixerfunction snd_cmi8330_pnpfunction snd_cmi8330_playback_openfunction snd_cmi8330_capture_openfunction snd_cmi8330_pcmfunction snd_cmi8330_suspendfunction snd_cmi8330_resumefunction snd_cmi8330_card_newfunction snd_cmi8330_probefunction snd_cmi8330_isa_matchfunction snd_cmi8330_isa_probefunction snd_cmi8330_isa_suspendfunction snd_cmi8330_isa_resumefunction snd_cmi8330_pnp_detectfunction snd_cmi8330_pnp_suspendfunction snd_cmi8330_pnp_resumefunction alsa_card_cmi8330_initfunction alsa_card_cmi8330_exitmodule init alsa_card_cmi8330_init
Annotated Snippet
module_init(alsa_card_cmi8330_init)
module_exit(alsa_card_cmi8330_exit)
Annotation
- Immediate include surface: `linux/init.h`, `linux/err.h`, `linux/isa.h`, `linux/pnp.h`, `linux/module.h`, `sound/core.h`, `sound/wss.h`, `sound/opl3.h`.
- Detected declarations: `struct snd_cmi8330`, `struct snd_cmi8330_stream`, `enum card_type`, `function cmi8330_add_sb_mixers`, `function scoped_guard`, `function scoped_guard`, `function snd_cmi8330_mixer`, `function snd_cmi8330_pnp`, `function snd_cmi8330_playback_open`, `function snd_cmi8330_capture_open`.
- Atlas domain: Driver Families / sound/isa.
- Implementation status: integration 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.