sound/pci/cs5535audio/cs5535audio_pm.c
Source file repositories/reference/linux-study-clean/sound/pci/cs5535audio/cs5535audio_pm.c
File Facts
- System
- Linux kernel
- Corpus path
sound/pci/cs5535audio/cs5535audio_pm.c- Extension
.c- Size
- 2832 bytes
- Lines
- 101
- Domain
- Driver Families
- Bucket
- sound/pci
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/pci.hlinux/delay.hsound/core.hsound/control.hsound/initval.hsound/asoundef.hsound/pcm.hsound/ac97_codec.hcs5535audio.h
Detected Declarations
function Copyrightfunction snd_cs5535audio_suspendfunction snd_cs5535audio_resume
Annotated Snippet
if (dma && dma->substream) {
dma->substream->ops->prepare(dma->substream);
dma->ops->setup_prd(cs5535au, dma->saved_prd);
}
}
/* we depend on ac97 to perform the codec power up */
snd_ac97_resume(cs5535au->ac97);
snd_power_change_state(card, SNDRV_CTL_POWER_D0);
return 0;
}
SIMPLE_DEV_PM_OPS(snd_cs5535audio_pm, snd_cs5535audio_suspend, snd_cs5535audio_resume);
Annotation
- Immediate include surface: `linux/init.h`, `linux/pci.h`, `linux/delay.h`, `sound/core.h`, `sound/control.h`, `sound/initval.h`, `sound/asoundef.h`, `sound/pcm.h`.
- Detected declarations: `function Copyright`, `function snd_cs5535audio_suspend`, `function snd_cs5535audio_resume`.
- Atlas domain: Driver Families / sound/pci.
- 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.