sound/pci/azt3328.c
Source file repositories/reference/linux-study-clean/sound/pci/azt3328.c
File Facts
- System
- Linux kernel
- Corpus path
sound/pci/azt3328.c- Extension
.c- Size
- 81278 bytes
- Lines
- 2632
- Domain
- Driver Families
- Bucket
- sound/pci
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/io.hlinux/init.hlinux/bug.hlinux/pci.hlinux/delay.hlinux/slab.hlinux/gameport.hlinux/module.hlinux/dma-mapping.hsound/core.hsound/control.hsound/pcm.hsound/rawmidi.hsound/mpu401.hsound/opl3.hsound/initval.hsound/ac97_codec.hazt3328.h
Detected Declarations
struct snd_azf3328_codec_datastruct snd_azf3328struct azf3328_mixer_regstruct codec_setup_ioenum snd_azf3328_codec_typefunction dumpfunction snd_azf3328_io_reg_setbfunction snd_azf3328_codec_outbfunction snd_azf3328_codec_inbfunction snd_azf3328_codec_outwfunction snd_azf3328_codec_inwfunction snd_azf3328_codec_outl_multifunction snd_azf3328_codec_inlfunction snd_azf3328_ctrl_outbfunction snd_azf3328_ctrl_inbfunction snd_azf3328_ctrl_inwfunction snd_azf3328_ctrl_outwfunction snd_azf3328_ctrl_outlfunction snd_azf3328_game_outbfunction snd_azf3328_game_outwfunction snd_azf3328_game_inbfunction snd_azf3328_game_inwfunction snd_azf3328_mixer_outwfunction snd_azf3328_mixer_inwfunction snd_azf3328_mixer_mute_controlfunction snd_azf3328_mixer_mute_control_masterfunction snd_azf3328_mixer_mute_control_pcmfunction snd_azf3328_mixer_resetfunction snd_azf3328_mixer_ac97_map_unsupportedfunction snd_azf3328_mixer_ac97_map_reg_idxfunction snd_azf3328_mixer_ac97_readfunction snd_azf3328_mixer_ac97_writefunction snd_azf3328_mixer_newfunction snd_azf3328_mixer_write_volume_graduallyfunction snd_azf3328_mixer_reg_decodefunction snd_azf3328_info_mixerfunction snd_azf3328_get_mixerfunction snd_azf3328_put_mixerfunction snd_azf3328_info_mixer_enumfunction snd_azf3328_get_mixer_enumfunction snd_azf3328_put_mixer_enumfunction snd_azf3328_mixer_newfunction snd_azf3328_codec_setfmtfunction snd_azf3328_codec_setfmt_lowpowerfunction snd_azf3328_ctrl_reg_6AH_updatefunction snd_azf3328_ctrl_enable_codecsfunction snd_azf3328_ctrl_codec_activityfunction snd_azf3328_codec_setdmaa
Annotated Snippet
static struct pci_driver azf3328_driver = {
.name = KBUILD_MODNAME,
.id_table = snd_azf3328_ids,
.probe = snd_azf3328_probe,
.driver = {
.pm = &snd_azf3328_pm,
},
};
module_pci_driver(azf3328_driver);
Annotation
- Immediate include surface: `linux/io.h`, `linux/init.h`, `linux/bug.h`, `linux/pci.h`, `linux/delay.h`, `linux/slab.h`, `linux/gameport.h`, `linux/module.h`.
- Detected declarations: `struct snd_azf3328_codec_data`, `struct snd_azf3328`, `struct azf3328_mixer_reg`, `struct codec_setup_io`, `enum snd_azf3328_codec_type`, `function dump`, `function snd_azf3328_io_reg_setb`, `function snd_azf3328_codec_outb`, `function snd_azf3328_codec_inb`, `function snd_azf3328_codec_outw`.
- Atlas domain: Driver Families / sound/pci.
- Implementation status: pattern implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.