include/linux/gpio.h

Source file repositories/reference/linux-study-clean/include/linux/gpio.h

File Facts

System
Linux kernel
Corpus path
include/linux/gpio.h
Extension
.h
Size
582 bytes
Lines
23
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __LINUX_GPIO_H
#define __LINUX_GPIO_H

#include <linux/types.h>
#ifdef CONFIG_GPIOLIB
#include <linux/gpio/consumer.h>
#endif

#ifdef CONFIG_GPIOLIB_LEGACY
#include <linux/gpio/legacy.h>
#endif /* CONFIG_GPIOLIB_LEGACY */

#endif /* __LINUX_GPIO_H */

Annotation

Implementation Notes