arch/mips/lantiq/xway/vmmc.c

Source file repositories/reference/linux-study-clean/arch/mips/lantiq/xway/vmmc.c

File Facts

System
Linux kernel
Corpus path
arch/mips/lantiq/xway/vmmc.c
Extension
.c
Size
1492 bytes
Lines
72
Domain
Architecture Layer
Bucket
arch/mips
Inferred role
Architecture Layer: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (error) {
			dev_err(&pdev->dev,
				"failed to request GPIO idx %d: %d\n",
				gpio_count, error);
			continue;
		}

		gpiod_set_consumer_name(gpio, "vmmc-relay");
	}

	dev_info(&pdev->dev, "reserved %dMB at 0x%p", CP1_SIZE >> 20, cp1_base);

	return 0;
}

static const struct of_device_id vmmc_match[] = {
	{ .compatible = "lantiq,vmmc-xway" },
	{},
};

static struct platform_driver vmmc_driver = {
	.probe = vmmc_probe,
	.driver = {
		.name = "lantiq,vmmc",
		.of_match_table = vmmc_match,
	},
};
builtin_platform_driver(vmmc_driver);

Annotation

Implementation Notes