sound/soc/fsl/p1022_ds.c
Source file repositories/reference/linux-study-clean/sound/soc/fsl/p1022_ds.c
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/fsl/p1022_ds.c- Extension
.c- Size
- 13673 bytes
- Lines
- 460
- Domain
- Driver Families
- Bucket
- sound/soc
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/fsl/guts.hlinux/interrupt.hlinux/of.hlinux/of_address.hlinux/slab.hsound/soc.hfsl_dma.hfsl_ssi.hfsl_utils.h
Detected Declarations
struct machine_datafunction guts_set_dmuxcrfunction p1022_ds_machine_probefunction p1022_ds_startupfunction p1022_ds_machine_removefunction p1022_ds_probefunction p1022_ds_removefunction p1022_ds_initfunction p1022_ds_exitmodule init p1022_ds_init
Annotated Snippet
module_init(p1022_ds_init);
module_exit(p1022_ds_exit);
MODULE_AUTHOR("Timur Tabi <timur@freescale.com>");
MODULE_DESCRIPTION("Freescale P1022 DS ALSA SoC machine driver");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/module.h`, `linux/fsl/guts.h`, `linux/interrupt.h`, `linux/of.h`, `linux/of_address.h`, `linux/slab.h`, `sound/soc.h`, `fsl_dma.h`.
- Detected declarations: `struct machine_data`, `function guts_set_dmuxcr`, `function p1022_ds_machine_probe`, `function p1022_ds_startup`, `function p1022_ds_machine_remove`, `function p1022_ds_probe`, `function p1022_ds_remove`, `function p1022_ds_init`, `function p1022_ds_exit`, `module init p1022_ds_init`.
- Atlas domain: Driver Families / sound/soc.
- 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.