Release 4.14 arch/sh/include/asm/gpio.h
/*
* include/asm-sh/gpio.h
*
* Generic GPIO API and pinmux table support for SuperH.
*
* Copyright (c) 2008 Magnus Damm
*
* 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.
*/
#ifndef __ASM_SH_GPIO_H
#define __ASM_SH_GPIO_H
#include <linux/kernel.h>
#include <linux/errno.h>
#if defined(CONFIG_CPU_SH3)
#include <cpu/gpio.h>
#endif
#define ARCH_NR_GPIOS 512
#include <asm-generic/gpio.h>
#ifdef CONFIG_GPIOLIB
static inline int gpio_get_value(unsigned gpio)
{
return __gpio_get_value(gpio);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
static inline void gpio_set_value(unsigned gpio, int value)
{
__gpio_set_value(gpio, value);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.00% |
static inline int gpio_cansleep(unsigned gpio)
{
return __gpio_cansleep(gpio);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
static inline int gpio_to_irq(unsigned gpio)
{
return __gpio_to_irq(gpio);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 13 | 81.25% | 1 | 50.00% |
Paul Mundt | 3 | 18.75% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
static inline int irq_to_gpio(unsigned int irq)
{
return -ENOSYS;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 14 | 93.33% | 1 | 50.00% |
Paul Mundt | 1 | 6.67% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
#endif /* CONFIG_GPIOLIB */
#endif /* __ASM_SH_GPIO_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Magnus Damm | 92 | 74.80% | 2 | 25.00% |
Markus Brunner | 19 | 15.45% | 1 | 12.50% |
Paul Mundt | 11 | 8.94% | 4 | 50.00% |
Laurent Pinchart | 1 | 0.81% | 1 | 12.50% |
Total | 123 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.