drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c- Extension
.c- Size
- 11665 bytes
- Lines
- 494
- 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.
- 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/printk.hlinux/pci.hlinux/spinlock.hlinux/mutex.hlinux/netdevice.hlinux/seq_file.hlinux/workqueue.hlinux/completion.hpcie_priv.hbus.hshm_ipc.hcore.hdebug.hutil.hqtn_hw_ids.h
Detected Declarations
function qtnf_pcie_control_txfunction qtnf_pcie_alloc_skb_arrayfunction qtnf_pcie_bringup_fw_asyncfunction qtnf_dbg_mps_showfunction qtnf_dbg_msi_showfunction qtnf_dbg_shm_statsfunction qtnf_pcie_fw_boot_donefunction qtnf_tune_pcie_mpsfunction qtnf_pcie_init_irqfunction qtnf_pcie_control_rx_callbackfunction qtnf_pcie_init_shm_ipcfunction qtnf_pcie_probefunction qtnf_pcie_free_shm_ipcfunction qtnf_pcie_removefunction qtnf_pcie_suspendfunction qtnf_pcie_resume
Annotated Snippet
static struct pci_driver qtnf_pcie_drv_data = {
.name = DRV_NAME,
.id_table = qtnf_pcie_devid_table,
.probe = qtnf_pcie_probe,
.remove = qtnf_pcie_remove,
#ifdef CONFIG_PM_SLEEP
.driver = {
.pm = &qtnf_pcie_pm_ops,
},
#endif
};
module_pci_driver(qtnf_pcie_drv_data)
MODULE_AUTHOR("Quantenna Communications");
MODULE_DESCRIPTION("Quantenna PCIe bus driver for 802.11 wireless LAN.");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/printk.h`, `linux/pci.h`, `linux/spinlock.h`, `linux/mutex.h`, `linux/netdevice.h`, `linux/seq_file.h`, `linux/workqueue.h`.
- Detected declarations: `function qtnf_pcie_control_tx`, `function qtnf_pcie_alloc_skb_array`, `function qtnf_pcie_bringup_fw_async`, `function qtnf_dbg_mps_show`, `function qtnf_dbg_msi_show`, `function qtnf_dbg_shm_stats`, `function qtnf_pcie_fw_boot_done`, `function qtnf_tune_pcie_mps`, `function qtnf_pcie_init_irq`, `function qtnf_pcie_control_rx_callback`.
- 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.