drivers/pinctrl/renesas/pinctrl-rzn1.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/renesas/pinctrl-rzn1.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/renesas/pinctrl-rzn1.c- Extension
.c- Size
- 26025 bytes
- Lines
- 943
- 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
dt-bindings/pinctrl/rzn1-pinctrl.hlinux/clk.hlinux/device.hlinux/io.hlinux/module.hlinux/of.hlinux/platform_device.hlinux/slab.hlinux/pinctrl/pinconf-generic.hlinux/pinctrl/pinconf.hlinux/pinctrl/pinctrl.hlinux/pinctrl/pinmux.h../core.h../pinconf.h../pinctrl-utils.h
Detected Declarations
struct rzn1_pinctrl_regsstruct rzn1_pmx_funcstruct rzn1_pin_groupstruct rzn1_pinctrlfunction rzn1_hw_set_lockfunction rzn1_pinctrl_mdio_selectfunction rzn1_set_hw_pin_funcfunction rzn1_get_groups_countfunction rzn1_get_group_pinsfunction rzn1_dt_node_to_map_onefunction rzn1_dt_node_to_mapfunction for_each_child_of_node_scopedfunction rzn1_pmx_get_funcs_countfunction rzn1_pmx_get_groupsfunction rzn1_set_muxfunction rzn1_pinconf_getfunction rzn1_pinconf_setfunction rzn1_pinconf_group_getfunction rzn1_pinconf_group_setfunction rzn1_pinctrl_parse_groupsfunction rzn1_pinctrl_count_function_groupsfunction for_each_child_of_node_scopedfunction rzn1_pinctrl_parse_functionsfunction for_each_child_of_node_scopedfunction rzn1_pinctrl_probe_dtfunction for_each_child_of_node_scopedfunction rzn1_pinctrl_probefunction rzn1_pinctrl_removefunction _pinctrl_drv_registermodule init _pinctrl_drv_register
Annotated Snippet
subsys_initcall(_pinctrl_drv_register);
MODULE_AUTHOR("Phil Edworthy <phil.edworthy@renesas.com>");
MODULE_DESCRIPTION("Renesas RZ/N1 pinctrl driver");
Annotation
- Immediate include surface: `dt-bindings/pinctrl/rzn1-pinctrl.h`, `linux/clk.h`, `linux/device.h`, `linux/io.h`, `linux/module.h`, `linux/of.h`, `linux/platform_device.h`, `linux/slab.h`.
- Detected declarations: `struct rzn1_pinctrl_regs`, `struct rzn1_pmx_func`, `struct rzn1_pin_group`, `struct rzn1_pinctrl`, `function rzn1_hw_set_lock`, `function rzn1_pinctrl_mdio_select`, `function rzn1_set_hw_pin_func`, `function rzn1_get_groups_count`, `function rzn1_get_group_pins`, `function rzn1_dt_node_to_map_one`.
- 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.