sound/pci/oxygen/oxygen.c
Source file repositories/reference/linux-study-clean/sound/pci/oxygen/oxygen.c
File Facts
- System
- Linux kernel
- Corpus path
sound/pci/oxygen/oxygen.c- Extension
.c- Size
- 32337 bytes
- Lines
- 1117
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/delay.hlinux/mutex.hlinux/pci.hlinux/module.hsound/ac97_codec.hsound/control.hsound/core.hsound/info.hsound/initval.hsound/pcm.hsound/pcm_params.hsound/tlv.hoxygen.hxonar_dg.hak4396.hcs4362a.hwm8785.h
Detected Declarations
struct generic_datafunction ak4396_writefunction ak4396_write_cachedfunction eclaro_cs4362a_writefunction eclaro_cs4362a_write_cachedfunction eclaro_cs4362a_registers_initfunction wm8785_writefunction ak4396_registers_initfunction ak4396_initfunction ak5385_initfunction wm8785_registers_initfunction wm8785_initfunction generic_initfunction meridian_initfunction claro_enable_hpfunction claro_initfunction claro_halo_initfunction fantasia_initfunction stereo_output_initfunction generic_cleanupfunction claro_cleanupfunction claro_suspendfunction generic_resumefunction meridian_resumefunction claro_resumefunction cs5361_initfunction set_cs5361_paramsfunction eclaro_initfunction eclaro_resumefunction stereo_resumefunction set_ak4396_paramsfunction eclaro_set_dac_paramsfunction update_eclaro_volumefunction update_eclaro_mutefunction update_ak4396_volumefunction update_ak4396_mutefunction set_wm8785_paramsfunction set_ak5385_paramsfunction set_no_paramsfunction rolloff_getfunction rolloff_putfunction hpf_infofunction hpf_getfunction hpf_putfunction meridian_dig_source_infofunction claro_dig_source_infofunction meridian_dig_source_getfunction claro_dig_source_get
Annotated Snippet
static struct pci_driver oxygen_driver = {
.name = KBUILD_MODNAME,
.id_table = oxygen_ids,
.probe = generic_oxygen_probe,
.driver = {
.pm = pm_sleep_ptr(&oxygen_pci_pm),
},
};
module_pci_driver(oxygen_driver);
Annotation
- Immediate include surface: `linux/delay.h`, `linux/mutex.h`, `linux/pci.h`, `linux/module.h`, `sound/ac97_codec.h`, `sound/control.h`, `sound/core.h`, `sound/info.h`.
- Detected declarations: `struct generic_data`, `function ak4396_write`, `function ak4396_write_cached`, `function eclaro_cs4362a_write`, `function eclaro_cs4362a_write_cached`, `function eclaro_cs4362a_registers_init`, `function wm8785_write`, `function ak4396_registers_init`, `function ak4396_init`, `function ak5385_init`.
- Atlas domain: Driver Families / sound/pci.
- 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.