drivers/pinctrl/pinctrl-ingenic.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/pinctrl-ingenic.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/pinctrl-ingenic.c- Extension
.c- Size
- 188976 bytes
- Lines
- 4687
- 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.
- 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/compiler.hlinux/gpio/driver.hlinux/interrupt.hlinux/io.hlinux/kernel.hlinux/mod_devicetable.hlinux/of.hlinux/platform_device.hlinux/property.hlinux/regmap.hlinux/seq_file.hlinux/slab.hlinux/pinctrl/consumer.hlinux/pinctrl/pinconf-generic.hlinux/pinctrl/pinconf.hlinux/pinctrl/pinctrl.hlinux/pinctrl/pinmux.hcore.hpinconf.hpinmux.h
Detected Declarations
struct ingenic_chip_infostruct ingenic_pinctrlstruct ingenic_gpio_chipenum jz_versionfunction is_soc_or_abovefunction ingenic_gpio_read_regfunction ingenic_gpio_set_bitfunction ingenic_gpio_shadow_set_bitfunction ingenic_gpio_shadow_set_bit_loadfunction jz4730_gpio_set_bitsfunction ingenic_gpio_get_valuefunction ingenic_gpio_set_valuefunction irq_set_typefunction ingenic_gpio_irq_maskfunction ingenic_gpio_irq_unmaskfunction ingenic_gpio_irq_enablefunction ingenic_gpio_irq_disablefunction ingenic_gpio_irq_ackfunction ingenic_gpio_irq_set_typefunction ingenic_gpio_irq_set_wakefunction ingenic_gpio_irq_handlerfunction ingenic_gpio_setfunction ingenic_gpio_getfunction ingenic_gpio_direction_outputfunction ingenic_config_pinfunction ingenic_shadow_config_pinfunction ingenic_shadow_config_pin_loadfunction jz4730_config_pin_functionfunction ingenic_get_pin_configfunction ingenic_gpio_get_directionfunction ingenic_gpio_irq_requestfunction ingenic_gpio_irq_releasefunction ingenic_gpio_irq_print_chipfunction ingenic_pinmux_set_pin_fnfunction ingenic_pinmux_set_muxfunction ingenic_pinmux_gpio_set_directionfunction ingenic_pinconf_getfunction ingenic_set_biasfunction ingenic_set_schmitt_triggerfunction ingenic_set_output_levelfunction ingenic_set_slew_ratefunction ingenic_pinconf_setfunction ingenic_pinconf_group_getfunction ingenic_pinconf_group_setfunction ingenic_gpio_probefunction ingenic_pinctrl_probefunction device_for_each_child_nodefunction ingenic_pinctrl_drv_register
Annotated Snippet
subsys_initcall(ingenic_pinctrl_drv_register);
Annotation
- Immediate include surface: `linux/compiler.h`, `linux/gpio/driver.h`, `linux/interrupt.h`, `linux/io.h`, `linux/kernel.h`, `linux/mod_devicetable.h`, `linux/of.h`, `linux/platform_device.h`.
- Detected declarations: `struct ingenic_chip_info`, `struct ingenic_pinctrl`, `struct ingenic_gpio_chip`, `enum jz_version`, `function is_soc_or_above`, `function ingenic_gpio_read_reg`, `function ingenic_gpio_set_bit`, `function ingenic_gpio_shadow_set_bit`, `function ingenic_gpio_shadow_set_bit_load`, `function jz4730_gpio_set_bits`.
- Atlas domain: Driver Families / drivers/pinctrl.
- 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.