drivers/usb/misc/brcmstb-usb-pinmap.c
Source file repositories/reference/linux-study-clean/drivers/usb/misc/brcmstb-usb-pinmap.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/usb/misc/brcmstb-usb-pinmap.c- Extension
.c- Size
- 8522 bytes
- Lines
- 357
- Domain
- Driver Families
- Bucket
- drivers/usb
- 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/init.hlinux/types.hlinux/module.hlinux/platform_device.hlinux/interrupt.hlinux/io.hlinux/device.hlinux/of.hlinux/kernel.hlinux/kdebug.hlinux/gpio/consumer.h
Detected Declarations
struct out_pinstruct in_pinstruct brcmstb_usb_pinmap_datafunction pinmap_setfunction pinmap_unsetfunction sync_in_pinfunction brcmstb_usb_pinmap_ovr_isrfunction brcmstb_usb_pinmap_gpio_isrfunction get_pin_countsfunction parse_pinsfunction sync_all_pinsfunction brcmstb_usb_pinmap_probefunction brcmstb_usb_pinmap_initmodule init brcmstb_usb_pinmap_init
Annotated Snippet
module_init(brcmstb_usb_pinmap_init);
MODULE_AUTHOR("Al Cooper <alcooperx@gmail.com>");
MODULE_DESCRIPTION("Broadcom USB Pinmap Driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/init.h`, `linux/types.h`, `linux/module.h`, `linux/platform_device.h`, `linux/interrupt.h`, `linux/io.h`, `linux/device.h`, `linux/of.h`.
- Detected declarations: `struct out_pin`, `struct in_pin`, `struct brcmstb_usb_pinmap_data`, `function pinmap_set`, `function pinmap_unset`, `function sync_in_pin`, `function brcmstb_usb_pinmap_ovr_isr`, `function brcmstb_usb_pinmap_gpio_isr`, `function get_pin_counts`, `function parse_pins`.
- Atlas domain: Driver Families / drivers/usb.
- 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.