drivers/pinctrl/realtek/pinctrl-rtd1319d.c
Source file repositories/reference/linux-study-clean/drivers/pinctrl/realtek/pinctrl-rtd1319d.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pinctrl/realtek/pinctrl-rtd1319d.c- Extension
.c- Size
- 76908 bytes
- Lines
- 1612
- Domain
- Driver Families
- Bucket
- drivers/pinctrl
- Inferred role
- Driver Families: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/of.hlinux/platform_device.hlinux/pinctrl/pinctrl.hpinctrl-rtd.h
Detected Declarations
enum rtd13xxd_iso_pinsfunction rtd1319d_pinctrl_probefunction rtd1319d_pinctrl_initfunction rtd1319d_pinctrl_exit
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Realtek DHC 1319D pin controller driver
*
* Copyright (c) 2023 Realtek Semiconductor Corp.
*
*/
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-rtd.h"
enum rtd13xxd_iso_pins {
RTD1319D_ISO_GPIO_0 = 0,
RTD1319D_ISO_GPIO_1,
RTD1319D_ISO_GPIO_2,
RTD1319D_ISO_GPIO_3,
RTD1319D_ISO_GPIO_4,
RTD1319D_ISO_GPIO_5,
RTD1319D_ISO_GPIO_6,
RTD1319D_ISO_GPIO_7,
RTD1319D_ISO_GPIO_8,
RTD1319D_ISO_GPIO_9,
RTD1319D_ISO_GPIO_10,
RTD1319D_ISO_GPIO_11,
RTD1319D_ISO_GPIO_12,
RTD1319D_ISO_GPIO_13,
RTD1319D_ISO_GPIO_14,
RTD1319D_ISO_GPIO_15,
RTD1319D_ISO_GPIO_16,
RTD1319D_ISO_GPIO_17,
RTD1319D_ISO_GPIO_18,
RTD1319D_ISO_GPIO_19,
RTD1319D_ISO_GPIO_20,
RTD1319D_ISO_GPIO_21,
RTD1319D_ISO_GPIO_22,
RTD1319D_ISO_GPIO_23,
RTD1319D_ISO_USB_CC2,
RTD1319D_ISO_GPIO_25,
RTD1319D_ISO_GPIO_26,
RTD1319D_ISO_GPIO_27,
RTD1319D_ISO_GPIO_28,
RTD1319D_ISO_GPIO_29,
RTD1319D_ISO_GPIO_30,
RTD1319D_ISO_GPIO_31,
RTD1319D_ISO_GPIO_32,
RTD1319D_ISO_GPIO_33,
RTD1319D_ISO_GPIO_34,
RTD1319D_ISO_GPIO_35,
RTD1319D_ISO_HIF_DATA,
RTD1319D_ISO_HIF_EN,
RTD1319D_ISO_HIF_RDY,
RTD1319D_ISO_HIF_CLK,
RTD1319D_ISO_GPIO_40,
RTD1319D_ISO_GPIO_41,
RTD1319D_ISO_GPIO_42,
RTD1319D_ISO_GPIO_43,
RTD1319D_ISO_GPIO_44,
RTD1319D_ISO_GPIO_45,
RTD1319D_ISO_GPIO_46,
RTD1319D_ISO_GPIO_47,
RTD1319D_ISO_GPIO_48,
RTD1319D_ISO_GPIO_49,
RTD1319D_ISO_GPIO_50,
RTD1319D_ISO_USB_CC1,
RTD1319D_ISO_GPIO_52,
RTD1319D_ISO_GPIO_53,
RTD1319D_ISO_IR_RX,
RTD1319D_ISO_UR0_RX,
RTD1319D_ISO_UR0_TX,
RTD1319D_ISO_GPIO_57,
RTD1319D_ISO_GPIO_58,
RTD1319D_ISO_GPIO_59,
RTD1319D_ISO_GPIO_60,
RTD1319D_ISO_GPIO_61,
RTD1319D_ISO_GPIO_62,
RTD1319D_ISO_GPIO_63,
RTD1319D_ISO_GPIO_64,
RTD1319D_ISO_EMMC_RST_N,
RTD1319D_ISO_EMMC_DD_SB,
RTD1319D_ISO_EMMC_CLK,
RTD1319D_ISO_EMMC_CMD,
RTD1319D_ISO_EMMC_DATA_0,
RTD1319D_ISO_EMMC_DATA_1,
RTD1319D_ISO_EMMC_DATA_2,
RTD1319D_ISO_EMMC_DATA_3,
RTD1319D_ISO_EMMC_DATA_4,
Annotation
- Immediate include surface: `linux/module.h`, `linux/of.h`, `linux/platform_device.h`, `linux/pinctrl/pinctrl.h`, `pinctrl-rtd.h`.
- Detected declarations: `enum rtd13xxd_iso_pins`, `function rtd1319d_pinctrl_probe`, `function rtd1319d_pinctrl_init`, `function rtd1319d_pinctrl_exit`.
- Atlas domain: Driver Families / drivers/pinctrl.
- Implementation status: source 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.