Home
last modified time | relevance | path

Searched defs:gpio (Results 1 – 25 of 33) sorted by relevance

12

/include/linux/
Dgpio.h50 struct gpio { struct
51 unsigned gpio; argument
59 #include <asm/gpio.h> argument
64 static inline int gpio_get_value(unsigned int gpio) in gpio_get_value()
69 static inline void gpio_set_value(unsigned int gpio, int value) in gpio_set_value()
74 static inline int gpio_cansleep(unsigned int gpio) in gpio_cansleep()
79 static inline int gpio_to_irq(unsigned int gpio) in gpio_to_irq()
114 static inline int gpio_request(unsigned gpio, const char *label) in gpio_request()
119 static inline int gpio_request_one(unsigned gpio, in gpio_request_one()
130 static inline void gpio_free(unsigned gpio) in gpio_free()
[all …]
Ducb1400.h122 static inline u16 ucb1400_gpio_get_value(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_value()
127 static inline void ucb1400_gpio_set_value(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_value()
135 static inline u16 ucb1400_gpio_get_direction(struct snd_ac97 *ac97, u16 gpio) in ucb1400_gpio_get_direction()
140 static inline void ucb1400_gpio_set_direction(struct snd_ac97 *ac97, u16 gpio, in ucb1400_gpio_set_direction()
Dgpio-pxa.h7 #define gpio_to_bank(gpio) ((gpio) >> 5) argument
Dgpio_keys.h27 int gpio; member
Dwm97xx.h269 u16 dig[3], id, gpio[6], misc; /* Cached codec registers */ member
/include/asm-generic/
Dgpio.h57 static inline struct gpio_chip *gpio_to_chip(unsigned gpio) in gpio_to_chip()
68 static inline int gpio_direction_input(unsigned gpio) in gpio_direction_input()
72 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output()
77 static inline int gpio_set_debounce(unsigned gpio, unsigned debounce) in gpio_set_debounce()
82 static inline int gpio_get_value_cansleep(unsigned gpio) in gpio_get_value_cansleep()
86 static inline void gpio_set_value_cansleep(unsigned gpio, int value) in gpio_set_value_cansleep()
96 static inline int __gpio_get_value(unsigned gpio) in __gpio_get_value()
100 static inline void __gpio_set_value(unsigned gpio, int value) in __gpio_set_value()
105 static inline int __gpio_cansleep(unsigned gpio) in __gpio_cansleep()
110 static inline int __gpio_to_irq(unsigned gpio) in __gpio_to_irq()
[all …]
/include/linux/pinctrl/
Dconsumer.h66 static inline bool pinctrl_gpio_can_use_line(unsigned gpio) in pinctrl_gpio_can_use_line()
71 static inline int pinctrl_gpio_request(unsigned gpio) in pinctrl_gpio_request()
76 static inline void pinctrl_gpio_free(unsigned gpio) in pinctrl_gpio_free()
80 static inline int pinctrl_gpio_direction_input(unsigned gpio) in pinctrl_gpio_direction_input()
85 static inline int pinctrl_gpio_direction_output(unsigned gpio) in pinctrl_gpio_direction_output()
90 static inline int pinctrl_gpio_set_config(unsigned gpio, unsigned long config) in pinctrl_gpio_set_config()
/include/linux/mfd/
Dasic3.h48 #define ASIC3_TO_GPIO(gpio) (NR_BUILTIN_GPIO + (gpio)) argument
55 #define ASIC3_GPIO(bank, gpio) \ argument
57 #define ASIC3_GPIO_bit(gpio) (1 << (gpio & 0xf)) argument
70 #define ASIC3_GPIO_TO_BANK(gpio) ((gpio) >> 4) argument
71 #define ASIC3_GPIO_TO_BIT(gpio) ((gpio) - \ argument
73 #define ASIC3_GPIO_TO_MASK(gpio) (1 << ASIC3_GPIO_TO_BIT(gpio)) argument
74 #define ASIC3_GPIO_TO_BASE(gpio) (ASIC3_GPIO_A_BASE + (((gpio) >> 4) * 0x0100)) argument
108 #define ASIC3_CONFIG_GPIO(gpio, alt, dir, init) (((gpio) & 0x7f) \ argument
111 #define ASIC3_CONFIG_GPIO_DEFAULT(gpio, dir, init) \ argument
113 #define ASIC3_CONFIG_GPIO_DEFAULT_OUT(gpio, init) \ argument
Dhi655x-pmic.h56 int gpio; member
Dlp8788.h166 int gpio; member
176 int gpio[LP8788_NUM_BUCK2_DVS]; member
Ducb1x00.h138 struct gpio_chip gpio; member
Dezx-pcap.h20 int gpio; member
Dadp5520.h278 struct adp5520_gpio_platform_data *gpio; member
/include/linux/input/
Dnavpoint.h8 int gpio; /* GPIO for power on/off */ member
/include/media/i2c/
Ds5k4ecgx.h18 int gpio; member
Ds5c73m3.h29 int gpio; member
Ds5k6aa.h19 int gpio; member
/include/linux/platform_data/
Dleds-omap.h11 s16 gpio; member
Dgpio-davinci.h27 #define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio)) argument
/include/uapi/linux/
Dvirtio_gpio.h33 __le16 gpio; member
/include/linux/regulator/
Dlp872x.h60 int gpio; member
/include/sound/
Dsoc-jack.h62 unsigned int gpio; member
Dsimple_card_utils.h38 struct snd_soc_jack_gpio gpio; member
/include/linux/mfd/arizona/
Dpdata.h69 bool gpio; member
/include/video/
Dw100fb.h123 struct w100_gpio_regs *gpio; member

12