代码搜索结果
找到约 10,000 项符合
GPIO 的代码
gpio.h
#ifndef _AU1XXX_GPIO_H_
#define _AU1XXX_GPIO_H_
#include
#define AU1XXX_GPIO_BASE 200
struct au1x00_gpio2 {
u32 dir;
u32 reserved;
u32 output;
u32 pinstate;
u32 inten;
u32 ena
gpio.h
#ifndef __ASM_MACH_GENERIC_GPIO_H
#define __ASM_MACH_GENERIC_GPIO_H
int gpio_request(unsigned gpio, const char *label);
void gpio_free(unsigned gpio);
int gpio_direction_input(unsigned gpio);
int gpi
gpio.h
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2007
gpio.h
#ifndef __ASM_AVR32_ARCH_GPIO_H
#define __ASM_AVR32_ARCH_GPIO_H
#include
#include
/* Arch-neutral GPIO API */
int __must_check gpio_request(unsigned int gpio, const c
gpio.h
#ifndef __ASM_AVR32_GPIO_H
#define __ASM_AVR32_GPIO_H
#include
#endif /* __ASM_AVR32_GPIO_H */
gpio.h
#ifndef _ASM_GENERIC_GPIO_H
#define _ASM_GENERIC_GPIO_H
/* platforms that don't directly support access to GPIOs through I2C, SPI,
* or other blocking infrastructure can use these wrappers.
*/
sta
gpio.h
#ifndef __ASM_SH64_GPIO_H
#define __ASM_SH64_GPIO_H
/*
* This is just a stub, so that every arch using sh-sci has a gpio.h
*/
#endif /* __ASM_SH64_GPIO_H */
gpio.h
/*
* include/asm-arm/arch-ks8695/gpio.h
*
* Copyright (C) 2006 Andrew Victor
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Publ
gpio.h
/*
* linux/include/asm-arm/arch-sa1100/gpio.h
*
* SA1100 GPIO wrappers for arch-neutral GPIO calls
*
* Written by Philipp Zabel
*
* This program is free software; you
gpio.h
/*
* linux/include/asm-arm/arch-s3c2410/gpio.h
*
* S3C2410 GPIO wrappers for arch-neutral GPIO calls
*
* Written by Philipp Zabel
*
* This program is free software; yo