drivers/spi/spi-omap-uwire.c
Source file repositories/reference/linux-study-clean/drivers/spi/spi-omap-uwire.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/spi/spi-omap-uwire.c- Extension
.c- Size
- 12364 bytes
- Lines
- 547
- Domain
- Driver Families
- Bucket
- drivers/spi
- 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.
- 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/kernel.hlinux/init.hlinux/delay.hlinux/platform_device.hlinux/interrupt.hlinux/err.hlinux/clk.hlinux/slab.hlinux/device.hlinux/spi/spi.hlinux/spi/spi_bitbang.hlinux/module.hlinux/io.hasm/mach-types.hlinux/soc/ti/omap1-io.hlinux/soc/ti/omap1-soc.hlinux/soc/ti/omap1-mux.h
Detected Declarations
struct uwire_spistruct uwire_statefunction uwire_write_regfunction uwire_read_regfunction omap_uwire_configure_modefunction wait_uwire_csr_flagfunction uwire_set_clk1_divfunction uwire_chipselectfunction uwire_txrxfunction uwire_setup_transferfunction uwire_setupfunction uwire_cleanupfunction uwire_offfunction uwire_probefunction uwire_removefunction omap_uwire_initfunction omap_uwire_exitmodule init omap_uwire_init
Annotated Snippet
subsys_initcall(omap_uwire_init);
module_exit(omap_uwire_exit);
MODULE_DESCRIPTION("MicroWire interface driver for OMAP");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/init.h`, `linux/delay.h`, `linux/platform_device.h`, `linux/interrupt.h`, `linux/err.h`, `linux/clk.h`, `linux/slab.h`.
- Detected declarations: `struct uwire_spi`, `struct uwire_state`, `function uwire_write_reg`, `function uwire_read_reg`, `function omap_uwire_configure_mode`, `function wait_uwire_csr_flag`, `function uwire_set_clk1_div`, `function uwire_chipselect`, `function uwire_txrx`, `function uwire_setup_transfer`.
- Atlas domain: Driver Families / drivers/spi.
- Implementation status: integration 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.