sound/pci/ice1712/ice1712.c
Source file repositories/reference/linux-study-clean/sound/pci/ice1712/ice1712.c
File Facts
- System
- Linux kernel
- Corpus path
sound/pci/ice1712/ice1712.c- Extension
.c- Size
- 80878 bytes
- Lines
- 2733
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/delay.hlinux/interrupt.hlinux/init.hlinux/pci.hlinux/dma-mapping.hlinux/slab.hlinux/module.hlinux/mutex.hsound/core.hsound/cs8427.hsound/info.hsound/initval.hsound/tlv.hsound/asoundef.hice1712.hdelta.hews.hhoontech.h
Detected Declarations
function is_spdif_masterfunction is_pro_rate_lockedfunction snd_ice1712_ds_writefunction snd_ice1712_ds_readfunction snd_ice1712_ac97_writefunction snd_ice1712_ac97_readfunction snd_ice1712_pro_ac97_writefunction snd_ice1712_pro_ac97_readfunction snd_ice1712_digmix_route_ac97_getfunction snd_ice1712_digmix_route_ac97_putfunction snd_ice1712_set_gpio_dirfunction snd_ice1712_get_gpio_dirfunction snd_ice1712_get_gpio_maskfunction snd_ice1712_set_gpio_maskfunction snd_ice1712_get_gpio_datafunction snd_ice1712_set_gpio_datafunction snd_ice1712_cs8427_set_input_clockfunction open_cs8427function close_cs8427function setup_cs8427function snd_ice1712_init_cs8427function snd_ice1712_set_input_clock_sourcefunction snd_ice1712_interruptfunction snd_ice1712_playback_triggerfunction snd_ice1712_playback_ds_triggerfunction snd_ice1712_capture_triggerfunction snd_ice1712_playback_preparefunction snd_ice1712_playback_ds_preparefunction snd_ice1712_capture_preparefunction snd_ice1712_playback_pointerfunction snd_ice1712_playback_ds_pointerfunction snd_ice1712_capture_pointerfunction snd_ice1712_playback_openfunction snd_ice1712_playback_ds_openfunction snd_ice1712_capture_openfunction snd_ice1712_playback_closefunction snd_ice1712_playback_ds_closefunction snd_ice1712_capture_closefunction snd_ice1712_pcmfunction snd_ice1712_pcm_dsfunction snd_ice1712_pro_triggerfunction snd_pcm_group_for_each_entryfunction snd_ice1712_set_pro_ratefunction scoped_guardfunction snd_ice1712_playback_pro_preparefunction snd_ice1712_playback_pro_hw_paramsfunction snd_ice1712_capture_pro_preparefunction snd_ice1712_capture_pro_hw_params
Annotated Snippet
static struct pci_driver ice1712_driver = {
.name = KBUILD_MODNAME,
.id_table = snd_ice1712_ids,
.probe = snd_ice1712_probe,
.driver = {
.pm = SND_VT1712_PM_OPS,
},
};
module_pci_driver(ice1712_driver);
Annotation
- Immediate include surface: `linux/delay.h`, `linux/interrupt.h`, `linux/init.h`, `linux/pci.h`, `linux/dma-mapping.h`, `linux/slab.h`, `linux/module.h`, `linux/mutex.h`.
- Detected declarations: `function is_spdif_master`, `function is_pro_rate_locked`, `function snd_ice1712_ds_write`, `function snd_ice1712_ds_read`, `function snd_ice1712_ac97_write`, `function snd_ice1712_ac97_read`, `function snd_ice1712_pro_ac97_write`, `function snd_ice1712_pro_ac97_read`, `function snd_ice1712_digmix_route_ac97_get`, `function snd_ice1712_digmix_route_ac97_put`.
- 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.