drivers/net/wireless/broadcom/b43/main.c
Source file repositories/reference/linux-study-clean/drivers/net/wireless/broadcom/b43/main.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/wireless/broadcom/b43/main.c- Extension
.c- Size
- 156670 bytes
- Lines
- 5876
- 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.
- 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/delay.hlinux/init.hlinux/module.hlinux/if_arp.hlinux/etherdevice.hlinux/firmware.hlinux/workqueue.hlinux/skbuff.hlinux/io.hlinux/dma-mapping.hlinux/slab.hlinux/unaligned.hb43.hmain.hdebugfs.hphy_common.hphy_g.hphy_n.hdma.hpio.hsysfs.hxmit.hlo.hsdio.hlinux/mmc/sdio_func.h
Detected Declarations
function b43_ratelimitfunction b43infofunction b43errfunction b43warnfunction b43dbgfunction b43_ram_writefunction b43_shm_control_wordfunction b43_shm_read32function b43_shm_read16function b43_shm_write32function b43_shm_write16function b43_hf_readfunction b43_hf_writefunction b43_fwcapa_readfunction b43_tsf_readfunction b43_time_lockfunction b43_time_unlockfunction b43_tsf_write_lockedfunction b43_tsf_writefunction b43_macfilter_setfunction b43_write_mac_bssid_templatesfunction b43_upload_card_macaddressfunction b43_set_slot_timefunction b43_short_slot_timing_enablefunction b43_short_slot_timing_disablefunction b43_dummy_transmissionfunction key_writefunction keymac_writefunction usablefunction b43_op_update_tkip_keyfunction do_key_writefunction b43_key_writefunction b43_key_clearfunction b43_clear_keysfunction b43_dump_keymemoryfunction b43_power_saving_ctl_bitsfunction b43_wireless_core_phy_pll_resetfunction b43_bcma_phy_resetfunction b43_bcma_wireless_core_resetfunction b43_ssb_wireless_core_resetfunction b43_wireless_core_resetfunction handle_irq_transmit_statusfunction drain_txstatus_queuefunction b43_jssi_readfunction b43_jssi_writefunction b43_generate_noise_samplefunction b43_calculate_link_qualityfunction handle_irq_noise
Annotated Snippet
module_init(b43_init)
module_exit(b43_exit)
Annotation
- Immediate include surface: `linux/delay.h`, `linux/init.h`, `linux/module.h`, `linux/if_arp.h`, `linux/etherdevice.h`, `linux/firmware.h`, `linux/workqueue.h`, `linux/skbuff.h`.
- Detected declarations: `function b43_ratelimit`, `function b43info`, `function b43err`, `function b43warn`, `function b43dbg`, `function b43_ram_write`, `function b43_shm_control_word`, `function b43_shm_read32`, `function b43_shm_read16`, `function b43_shm_write32`.
- 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.
- 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.