drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/realtek/rtl818x/rtl8180/dev.c- Extension
.c- Size
- 57698 bytes
- Lines
- 1992
- Domain
- Driver Families
- Bucket
- drivers/net
- 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/interrupt.hlinux/pci.hlinux/slab.hlinux/delay.hlinux/etherdevice.hlinux/eeprom_93cx6.hlinux/module.hnet/mac80211.hrtl8180.hrtl8225.hsa2400.hmax2820.hgrf5101.hrtl8225se.h
Detected Declarations
function rtl8180_write_phyfunction rtl8180_handle_rxfunction rtl8180_handle_txfunction rtl8187se_interruptfunction rtl8180_interruptfunction rtl8180_txfunction rtl8180_set_anaparam3function rtl8180_set_anaparam2function rtl8180_set_anaparamfunction rtl8187se_mac_configfunction rtl8187se_set_antenna_configfunction rtl8180_int_enablefunction rtl8180_int_disablefunction rtl8180_conf_basic_ratesfunction rtl8180_config_cardbusfunction rtl8180_init_hwfunction rtl8180_init_rx_ringfunction rtl8180_free_rx_ringfunction rtl8180_init_tx_ringfunction rtl8180_free_tx_ringfunction rtl8180_startfunction rtl8180_stopfunction rtl8180_get_tsffunction rtl8180_beacon_workfunction rtl8180_add_interfacefunction rtl8180_remove_interfacefunction rtl8180_configfunction rtl8187se_conf_ac_parmfunction rtl8180_conf_txfunction rtl8180_conf_erpfunction rtl8180_bss_info_changedfunction rtl8180_prepare_multicastfunction rtl8180_configure_filterfunction rtl8180_eeprom_register_readfunction rtl8180_eeprom_register_writefunction rtl8180_eeprom_readfunction rtl8180_probefunction rtl8180_remove
Annotated Snippet
static struct pci_driver rtl8180_driver = {
.name = KBUILD_MODNAME,
.id_table = rtl8180_table,
.probe = rtl8180_probe,
.remove = rtl8180_remove,
.driver.pm = &rtl8180_pm_ops,
};
module_pci_driver(rtl8180_driver);
Annotation
- Immediate include surface: `linux/interrupt.h`, `linux/pci.h`, `linux/slab.h`, `linux/delay.h`, `linux/etherdevice.h`, `linux/eeprom_93cx6.h`, `linux/module.h`, `net/mac80211.h`.
- Detected declarations: `function rtl8180_write_phy`, `function rtl8180_handle_rx`, `function rtl8180_handle_tx`, `function rtl8187se_interrupt`, `function rtl8180_interrupt`, `function rtl8180_tx`, `function rtl8180_set_anaparam3`, `function rtl8180_set_anaparam2`, `function rtl8180_set_anaparam`, `function rtl8187se_mac_config`.
- Atlas domain: Driver Families / drivers/net.
- 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.