arch/m68k/coldfire/gpio.c
Source file repositories/reference/linux-study-clean/arch/m68k/coldfire/gpio.c
File Facts
- System
- Linux kernel
- Corpus path
arch/m68k/coldfire/gpio.c- Extension
.c- Size
- 3843 bytes
- Lines
- 176
- Domain
- Architecture Layer
- Bucket
- arch/m68k
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/module.hlinux/init.hlinux/device.hlinux/gpio/driver.hlinux/io.hasm/coldfire.hasm/mcfsim.hasm/mcfgpio.h
Detected Declarations
function __mcfgpio_get_valuefunction __mcfgpio_set_valuefunction __mcfgpio_direction_inputfunction __mcfgpio_direction_outputfunction __mcfgpio_requestfunction __mcfgpio_freefunction mcfgpio_direction_inputfunction mcfgpio_get_valuefunction mcfgpio_direction_outputfunction mcfgpio_set_valuefunction mcfgpio_requestfunction mcfgpio_freefunction mcfgpio_to_irqfunction mcfgpio_sysinitmodule init mcfgpio_sysinitexport __mcfgpio_get_valueexport __mcfgpio_set_valueexport __mcfgpio_direction_inputexport __mcfgpio_direction_outputexport __mcfgpio_requestexport __mcfgpio_free
Annotated Snippet
core_initcall(mcfgpio_sysinit);
#endif
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/init.h`, `linux/device.h`, `linux/gpio/driver.h`, `linux/io.h`, `asm/coldfire.h`, `asm/mcfsim.h`.
- Detected declarations: `function __mcfgpio_get_value`, `function __mcfgpio_set_value`, `function __mcfgpio_direction_input`, `function __mcfgpio_direction_output`, `function __mcfgpio_request`, `function __mcfgpio_free`, `function mcfgpio_direction_input`, `function mcfgpio_get_value`, `function mcfgpio_direction_output`, `function mcfgpio_set_value`.
- Atlas domain: Architecture Layer / arch/m68k.
- 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.