include/sound/ac97_codec.h
Source file repositories/reference/linux-study-clean/include/sound/ac97_codec.h
File Facts
- System
- Linux kernel
- Corpus path
include/sound/ac97_codec.h- Extension
.h- Size
- 16179 bytes
- Lines
- 422
- Domain
- Driver Families
- Bucket
- include/sound
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bitops.hlinux/device.hlinux/workqueue.hsound/ac97/regs.hsound/pcm.hsound/control.hsound/info.h
Detected Declarations
struct snd_ac97struct snd_ac97_gpio_privstruct snd_pcm_chmapstruct snd_ac97_build_opsstruct snd_ac97_bus_opsstruct snd_ac97_busstruct snd_ac97_res_tablestruct snd_ac97_templatestruct snd_ac97struct ac97_quirkstruct ac97_pcmenum ac97_pcm_cfgfunction ac97_is_audiofunction ac97_is_modemfunction ac97_is_rev22function ac97_can_amapfunction ac97_can_spdiffunction snd_ac97_update_powerfunction snd_ac97_suspendfunction snd_ac97_dev_add_pdata
Annotated Snippet
extern const struct bus_type ac97_bus_type;
/* AC97 platform_data adding function */
static inline void snd_ac97_dev_add_pdata(struct snd_ac97 *ac97, void *data)
{
ac97->dev.platform_data = data;
}
#endif /* __SOUND_AC97_CODEC_H */
Annotation
- Immediate include surface: `linux/bitops.h`, `linux/device.h`, `linux/workqueue.h`, `sound/ac97/regs.h`, `sound/pcm.h`, `sound/control.h`, `sound/info.h`.
- Detected declarations: `struct snd_ac97`, `struct snd_ac97_gpio_priv`, `struct snd_pcm_chmap`, `struct snd_ac97_build_ops`, `struct snd_ac97_bus_ops`, `struct snd_ac97_bus`, `struct snd_ac97_res_table`, `struct snd_ac97_template`, `struct snd_ac97`, `struct ac97_quirk`.
- Atlas domain: Driver Families / include/sound.
- Implementation status: pattern 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.