drivers/net/wireless/st/cw1200/cw1200_sdio.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/st/cw1200/cw1200_sdio.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/st/cw1200/cw1200_sdio.c- Extension
.c- Size
- 9781 bytes
- Lines
- 426
- Domain
- Driver Families
- Bucket
- drivers/net
- 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.
- 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/module.hlinux/interrupt.hlinux/gpio/consumer.hlinux/delay.hlinux/mmc/host.hlinux/mmc/sdio_func.hlinux/mmc/card.hlinux/mmc/sdio.hlinux/mmc/sdio_ids.hnet/mac80211.hcw1200.hhwbus.hlinux/platform_data/net-cw1200.hhwio.h
Detected Declarations
struct hwbus_privfunction cw1200_sdio_set_platform_datafunction cw1200_sdio_memcpy_fromiofunction cw1200_sdio_memcpy_toiofunction cw1200_sdio_lockfunction cw1200_sdio_unlockfunction cw1200_sdio_irq_handlerfunction cw1200_gpio_hardirqfunction cw1200_gpio_irqfunction cw1200_request_irqfunction cw1200_sdio_irq_subscribefunction cw1200_sdio_irq_unsubscribefunction cw1200_sdio_offfunction cw1200_sdio_onfunction cw1200_sdio_align_sizefunction cw1200_sdio_pmfunction cw1200_sdio_probefunction cw1200_sdio_disconnectfunction cw1200_sdio_suspendfunction cw1200_sdio_resumefunction cw1200_sdio_initfunction cw1200_sdio_exitmodule init cw1200_sdio_init
Annotated Snippet
module_init(cw1200_sdio_init);
module_exit(cw1200_sdio_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/interrupt.h`, `linux/gpio/consumer.h`, `linux/delay.h`, `linux/mmc/host.h`, `linux/mmc/sdio_func.h`, `linux/mmc/card.h`, `linux/mmc/sdio.h`.
- Detected declarations: `struct hwbus_priv`, `function cw1200_sdio_set_platform_data`, `function cw1200_sdio_memcpy_fromio`, `function cw1200_sdio_memcpy_toio`, `function cw1200_sdio_lock`, `function cw1200_sdio_unlock`, `function cw1200_sdio_irq_handler`, `function cw1200_gpio_hardirq`, `function cw1200_gpio_irq`, `function cw1200_request_irq`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: integration implementation candidate.
- 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.