drivers/pinctrl/intel/pinctrl-lynxpoint.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/intel/pinctrl-lynxpoint.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/intel/pinctrl-lynxpoint.c- Extension
.c- Size
- 23506 bytes
- Lines
- 855
- Domain
- Driver Families
- Bucket
- drivers/pinctrl
- 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.
- 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/acpi.hlinux/array_size.hlinux/bitops.hlinux/cleanup.hlinux/gpio/driver.hlinux/interrupt.hlinux/io.hlinux/module.hlinux/platform_device.hlinux/pm.hlinux/seq_file.hlinux/slab.hlinux/types.hlinux/pinctrl/consumer.hlinux/pinctrl/pinconf-generic.hlinux/pinctrl/pinconf.hlinux/pinctrl/pinctrl.hlinux/pinctrl/pinmux.hpinctrl-intel.h
Detected Declarations
function LP0_CONFIG1function lp_gpio_acpi_usefunction lp_gpio_ioxapic_usefunction lp_pin_dbg_showfunction lp_pinmux_set_muxfunction lp_gpio_enable_inputfunction lp_gpio_disable_inputfunction lp_gpio_request_enablefunction lp_gpio_disable_freefunction lp_gpio_set_directionfunction lp_pin_config_getfunction lp_pin_config_setfunction lp_gpio_getfunction lp_gpio_setfunction lp_gpio_direction_inputfunction lp_gpio_direction_outputfunction lp_gpio_get_directionfunction lp_gpio_irq_handlerfunction lp_irq_ackfunction lp_irq_unmaskfunction lp_irq_disablefunction lp_irq_set_typefunction lp_gpio_irq_init_hwfunction lp_gpio_probefunction lp_gpio_resumefunction lp_gpio_initfunction lp_gpio_exitmodule init lp_gpio_init
Annotated Snippet
subsys_initcall(lp_gpio_init);
static void __exit lp_gpio_exit(void)
{
platform_driver_unregister(&lp_gpio_driver);
}
module_exit(lp_gpio_exit);
MODULE_AUTHOR("Mathias Nyman (Intel)");
MODULE_AUTHOR("Andy Shevchenko (Intel)");
MODULE_DESCRIPTION("Intel Lynxpoint pinctrl driver");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:lp_gpio");
MODULE_IMPORT_NS("PINCTRL_INTEL");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/array_size.h`, `linux/bitops.h`, `linux/cleanup.h`, `linux/gpio/driver.h`, `linux/interrupt.h`, `linux/io.h`, `linux/module.h`.
- Detected declarations: `function LP0_CONFIG1`, `function lp_gpio_acpi_use`, `function lp_gpio_ioxapic_use`, `function lp_pin_dbg_show`, `function lp_pinmux_set_mux`, `function lp_gpio_enable_input`, `function lp_gpio_disable_input`, `function lp_gpio_request_enable`, `function lp_gpio_disable_free`, `function lp_gpio_set_direction`.
- Atlas domain: Driver Families / drivers/pinctrl.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.