Searched defs:gpio (Results 1 – 25 of 42) sorted by relevance
12
| /include/linux/ |
| D | gpio.h | 40 struct gpio { struct 41 unsigned gpio; argument 49 #include <asm/gpio.h> argument 54 static inline int gpio_get_value(unsigned int gpio) in gpio_get_value() 59 static inline void gpio_set_value(unsigned int gpio, int value) in gpio_set_value() 64 static inline int gpio_cansleep(unsigned int gpio) in gpio_cansleep() 69 static inline int gpio_to_irq(unsigned int gpio) in gpio_to_irq() 105 static inline int gpio_request(unsigned gpio, const char *label) in gpio_request() 110 static inline int gpio_request_one(unsigned gpio, in gpio_request_one() 121 static inline void gpio_free(unsigned gpio) in gpio_free() [all …]
|
| D | ucb1400.h | 125 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value() 130 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_value() 138 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_direction() 143 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_direction()
|
| D | i2c-pca-platform.h | 6 int gpio; /* pin to reset chip. driver will work when member
|
| D | gpio-pxa.h | 7 #define gpio_to_bank(gpio) ((gpio) >> 5) argument
|
| D | gpio-fan.h | 15 unsigned gpio; member
|
| D | gpio_keys.h | 24 int gpio; member
|
| D | gpio_event.h | 105 uint32_t gpio:16; member 160 uint32_t *gpio; member
|
| /include/asm-generic/ |
| D | gpio.h | 59 static inline struct gpio_chip *gpio_to_chip(unsigned gpio) in gpio_to_chip() 70 static inline int gpio_direction_input(unsigned gpio) in gpio_direction_input() 74 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() 79 static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) in gpio_set_debounce() 84 static inline int gpio_get_value_cansleep(unsigned gpio) in gpio_get_value_cansleep() 88 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep() 98 static inline int __gpio_get_value(unsigned gpio) in __gpio_get_value() 102 static inline void __gpio_set_value(unsigned gpio, int value) in __gpio_set_value() 107 static inline int __gpio_cansleep(unsigned gpio) in __gpio_cansleep() 112 static inline int __gpio_to_irq(unsigned gpio) in __gpio_to_irq() [all …]
|
| /include/linux/pinctrl/ |
| D | consumer.h | 65 static inline int pinctrl_request_gpio(unsigned gpio) in pinctrl_request_gpio() 70 static inline void pinctrl_free_gpio(unsigned gpio) in pinctrl_free_gpio() 74 static inline int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input() 79 static inline int pinctrl_gpio_direction_output(unsigned gpio) in pinctrl_gpio_direction_output() 84 static inline int pinctrl_gpio_set_config(unsigned gpio, unsigned long config) in pinctrl_gpio_set_config()
|
| /include/linux/mfd/ |
| D | asic3.h | 51 #define ASIC3_TO_GPIO(gpio) (NR_BUILTIN_GPIO + (gpio)) argument 58 #define ASIC3_GPIO(bank, gpio) \ argument 60 #define ASIC3_GPIO_bit(gpio) (1 << (gpio & 0xf)) argument 73 #define ASIC3_GPIO_TO_BANK(gpio) ((gpio) >> 4) argument 74 #define ASIC3_GPIO_TO_BIT(gpio) ((gpio) - \ argument 76 #define ASIC3_GPIO_TO_MASK(gpio) (1 << ASIC3_GPIO_TO_BIT(gpio)) argument 77 #define ASIC3_GPIO_TO_BASE(gpio) (ASIC3_GPIO_A_BASE + (((gpio) >> 4) * 0x0100)) argument 111 #define ASIC3_CONFIG_GPIO(gpio, alt, dir, init) (((gpio) & 0x7f) \ argument 114 #define ASIC3_CONFIG_GPIO_DEFAULT(gpio, dir, init) \ argument 116 #define ASIC3_CONFIG_GPIO_DEFAULT_OUT(gpio, init) \ argument
|
| D | hi655x-pmic.h | 59 int gpio; member
|
| D | lp8788.h | 170 int gpio; member 180 int gpio[LP8788_NUM_BUCK2_DVS]; member 194 int gpio; member
|
| D | tps65090.h | 107 int gpio; member
|
| /include/linux/platform_data/ |
| D | gpio-davinci.h | 54 #define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio)) argument 56 static inline u32 __gpio_mask(unsigned gpio) in __gpio_mask()
|
| D | gpio_backlight.h | 15 int gpio; member
|
| D | leds-omap.h | 14 s16 gpio; member
|
| D | leds-s3c24xx.h | 20 unsigned int gpio; member
|
| /include/linux/input/ |
| D | navpoint.h | 11 int gpio; /* GPIO for power on/off */ member
|
| /include/media/i2c/ |
| D | s5k4ecgx.h | 22 int gpio; member
|
| D | s5c73m3.h | 29 int gpio; member
|
| D | s5k6aa.h | 23 int gpio; member
|
| /include/linux/extcon/ |
| D | extcon-gpio.h | 39 unsigned gpio; member
|
| /include/linux/power/ |
| D | gpio-charger.h | 34 int gpio; member
|
| /include/linux/regulator/ |
| D | fixed.h | 52 int gpio; member
|
| D | lp872x.h | 64 int gpio; member
|
12