drivers/pinctrl/bcm/pinctrl-bcm4908.c

Source file repositories/reference/linux-study-clean/drivers/pinctrl/bcm/pinctrl-bcm4908.c

File Facts

System
Linux kernel
Corpus path
drivers/pinctrl/bcm/pinctrl-bcm4908.c
Extension
.c
Size
17863 bytes
Lines
565
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct bcm4908_pinctrl {
	struct device *dev;
	void __iomem *base;
	struct mutex mutex;
	struct pinctrl_dev *pctldev;
	struct pinctrl_desc pctldesc;
};

/*
 * Groups
 */

struct bcm4908_pinctrl_pin_setup {
	unsigned int number;
	unsigned int function;
};

static const struct bcm4908_pinctrl_pin_setup led_0_pins_a[] = {
	{ 0, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_1_pins_a[] = {
	{ 1, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_2_pins_a[] = {
	{ 2, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_3_pins_a[] = {
	{ 3, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_4_pins_a[] = {
	{ 4, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_5_pins_a[] = {
	{ 5, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_6_pins_a[] = {
	{ 6, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_7_pins_a[] = {
	{ 7, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_8_pins_a[] = {
	{ 8, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_9_pins_a[] = {
	{ 9, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_10_pins_a[] = {
	{ 10, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_11_pins_a[] = {
	{ 11, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_12_pins_a[] = {
	{ 12, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_13_pins_a[] = {
	{ 13, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_14_pins_a[] = {
	{ 14, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_15_pins_a[] = {
	{ 15, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_16_pins_a[] = {
	{ 16, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_17_pins_a[] = {
	{ 17, 3 },
};

static const struct bcm4908_pinctrl_pin_setup led_18_pins_a[] = {

Annotation

Implementation Notes