drivers/net/wireless/marvell/libertas/if_sdio.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/marvell/libertas/if_sdio.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/marvell/libertas/if_sdio.c- Extension
.c- Size
- 32322 bytes
- Lines
- 1419
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/kernel.hlinux/module.hlinux/slab.hlinux/firmware.hlinux/netdevice.hlinux/delay.hlinux/mmc/card.hlinux/mmc/sdio_func.hlinux/mmc/sdio_ids.hlinux/mmc/sdio.hlinux/mmc/host.hlinux/pm_runtime.hhost.hdecl.hdefs.hdev.hcmd.hif_sdio.h
Detected Declarations
struct if_sdio_packetstruct if_sdio_cardfunction interruptfunction if_sdio_read_rx_unitfunction if_sdio_read_rx_lenfunction if_sdio_handle_cmdfunction if_sdio_handle_datafunction if_sdio_handle_eventfunction if_sdio_wait_statusfunction if_sdio_card_to_hostfunction if_sdio_host_to_card_workerfunction if_sdio_prog_helperfunction if_sdio_prog_realfunction if_sdio_do_prog_firmwarefunction if_sdio_prog_firmwarefunction if_sdio_finish_power_onfunction if_sdio_power_onfunction if_sdio_power_offfunction if_sdio_host_to_cardfunction if_sdio_enter_deep_sleepfunction if_sdio_exit_deep_sleepfunction if_sdio_reset_deep_sleep_wakeupfunction if_sdio_reset_card_workerfunction if_sdio_reset_cardfunction if_sdio_power_savefunction if_sdio_power_restorefunction if_sdio_interruptfunction if_sdio_probefunction if_sdio_removefunction if_sdio_suspendfunction if_sdio_resumefunction if_sdio_init_modulefunction if_sdio_exit_modulemodule init if_sdio_init_module
Annotated Snippet
module_init(if_sdio_init_module);
module_exit(if_sdio_exit_module);
MODULE_DESCRIPTION("Libertas SDIO WLAN Driver");
MODULE_AUTHOR("Pierre Ossman");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/slab.h`, `linux/firmware.h`, `linux/netdevice.h`, `linux/delay.h`, `linux/mmc/card.h`, `linux/mmc/sdio_func.h`.
- Detected declarations: `struct if_sdio_packet`, `struct if_sdio_card`, `function interrupt`, `function if_sdio_read_rx_unit`, `function if_sdio_read_rx_len`, `function if_sdio_handle_cmd`, `function if_sdio_handle_data`, `function if_sdio_handle_event`, `function if_sdio_wait_status`, `function if_sdio_card_to_host`.
- Atlas domain: Driver Families / drivers/net.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.