sound/pci/rme9652/rme9652.c
Source file repositories/reference/linux-study-clean/sound/pci/rme9652/rme9652.c
File Facts
- System
- Linux kernel
- Corpus path
sound/pci/rme9652/rme9652.c- Extension
.c- Size
- 72198 bytes
- Lines
- 2522
- 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.
- 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/delay.hlinux/init.hlinux/interrupt.hlinux/pci.hlinux/module.hlinux/io.hlinux/nospec.hsound/core.hsound/control.hsound/pcm.hsound/info.hsound/asoundef.hsound/initval.hasm/current.h
Detected Declarations
struct snd_rme9652function snd_hammerfall_get_bufferfunction rme9652_writefunction rme9652_readfunction snd_rme9652_use_is_exclusivefunction rme9652_adat_sample_ratefunction rme9652_compute_period_sizefunction rme9652_hw_pointerfunction rme9652_reset_hw_pointerfunction rme9652_startfunction rme9652_stopfunction rme9652_set_interrupt_intervalfunction rme9652_set_ratefunction rme9652_set_thrufunction rme9652_set_passthrufunction rme9652_spdif_set_bitfunction rme9652_spdif_write_bytefunction rme9652_spdif_read_bytefunction rme9652_write_spdif_codecfunction rme9652_spdif_read_codecfunction rme9652_initialize_spdif_receiverfunction rme9652_spdif_sample_ratefunction snd_rme9652_convert_from_aesfunction snd_rme9652_convert_to_aesfunction snd_rme9652_control_spdif_infofunction snd_rme9652_control_spdif_getfunction snd_rme9652_control_spdif_putfunction snd_rme9652_control_spdif_stream_infofunction snd_rme9652_control_spdif_stream_getfunction snd_rme9652_control_spdif_stream_putfunction snd_rme9652_control_spdif_mask_infofunction snd_rme9652_control_spdif_mask_getfunction rme9652_adat1_infunction rme9652_set_adat1_inputfunction snd_rme9652_info_adat1_infunction snd_rme9652_get_adat1_infunction snd_rme9652_put_adat1_infunction rme9652_spdif_infunction rme9652_set_spdif_inputfunction snd_rme9652_info_spdif_infunction snd_rme9652_get_spdif_infunction snd_rme9652_put_spdif_infunction rme9652_spdif_outfunction rme9652_set_spdif_outputfunction snd_rme9652_get_spdif_outfunction snd_rme9652_put_spdif_outfunction rme9652_sync_modefunction rme9652_set_sync_mode
Annotated Snippet
static struct pci_driver rme9652_driver = {
.name = KBUILD_MODNAME,
.id_table = snd_rme9652_ids,
.probe = snd_rme9652_probe,
};
module_pci_driver(rme9652_driver);
Annotation
- Immediate include surface: `linux/delay.h`, `linux/init.h`, `linux/interrupt.h`, `linux/pci.h`, `linux/module.h`, `linux/io.h`, `linux/nospec.h`, `sound/core.h`.
- Detected declarations: `struct snd_rme9652`, `function snd_hammerfall_get_buffer`, `function rme9652_write`, `function rme9652_read`, `function snd_rme9652_use_is_exclusive`, `function rme9652_adat_sample_rate`, `function rme9652_compute_period_size`, `function rme9652_hw_pointer`, `function rme9652_reset_hw_pointer`, `function rme9652_start`.
- 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.