arch/arm/mach-s3c/setup-spi-s3c64xx.c
Source file repositories/reference/linux-study-clean/arch/arm/mach-s3c/setup-spi-s3c64xx.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/mach-s3c/setup-spi-s3c64xx.c- Extension
.c- Size
- 400 bytes
- Lines
- 19
- Domain
- Architecture Layer
- Bucket
- arch/arm
- Inferred role
- Architecture Layer: implementation source
- Status
- source 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
linux/gpio.hlinux/platform_data/spi-s3c64xx.hgpio-cfg.hgpio-samsung.h
Detected Declarations
function s3c64xx_spi0_cfg_gpio
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0
//
// Copyright (C) 2011 Samsung Electronics Ltd.
// http://www.samsung.com/
#include <linux/gpio.h>
#include <linux/platform_data/spi-s3c64xx.h>
#include "gpio-cfg.h"
#include "gpio-samsung.h"
#ifdef CONFIG_S3C64XX_DEV_SPI0
int s3c64xx_spi0_cfg_gpio(void)
{
s3c_gpio_cfgall_range(S3C64XX_GPC(0), 3,
S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP);
return 0;
}
#endif
Annotation
- Immediate include surface: `linux/gpio.h`, `linux/platform_data/spi-s3c64xx.h`, `gpio-cfg.h`, `gpio-samsung.h`.
- Detected declarations: `function s3c64xx_spi0_cfg_gpio`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.