drivers/bcma/driver_gmac_cmn.c
Source file repositories/reference/linux-study-clean/drivers/bcma/driver_gmac_cmn.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/bcma/driver_gmac_cmn.c- Extension
.c- Size
- 265 bytes
- Lines
- 15
- Domain
- Driver Families
- Bucket
- drivers/bcma
- Inferred role
- Driver Families: implementation source
- Status
- source 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 or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
bcma_private.hlinux/bcma/bcma.h
Detected Declarations
function bcma_core_gmac_cmn_init
Annotated Snippet
#include "bcma_private.h"
#include <linux/bcma/bcma.h>
void bcma_core_gmac_cmn_init(struct bcma_drv_gmac_cmn *gc)
{
mutex_init(&gc->phy_mutex);
}
Annotation
- Immediate include surface: `bcma_private.h`, `linux/bcma/bcma.h`.
- Detected declarations: `function bcma_core_gmac_cmn_init`.
- Atlas domain: Driver Families / drivers/bcma.
- Implementation status: source implementation candidate.
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.