/include/linux/ |
D | gpio.h | 50 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 …]
|
D | ucb1400.h | 122 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()
|
D | gpio-pxa.h | 7 #define gpio_to_bank(gpio) ((gpio) >> 5) argument
|
D | gpio_keys.h | 27 int gpio; member
|
D | wm97xx.h | 269 u16 dig[3], id, gpio[6], misc; /* Cached codec registers */ member
|
/include/asm-generic/ |
D | gpio.h | 57 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/ |
D | consumer.h | 66 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/ |
D | asic3.h | 48 #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
|
D | hi655x-pmic.h | 56 int gpio; member
|
D | lp8788.h | 166 int gpio; member 176 int gpio[LP8788_NUM_BUCK2_DVS]; member
|
D | ucb1x00.h | 138 struct gpio_chip gpio; member
|
D | ezx-pcap.h | 20 int gpio; member
|
D | adp5520.h | 278 struct adp5520_gpio_platform_data *gpio; member
|
/include/linux/input/ |
D | navpoint.h | 8 int gpio; /* GPIO for power on/off */ member
|
/include/media/i2c/ |
D | s5k4ecgx.h | 18 int gpio; member
|
D | s5c73m3.h | 29 int gpio; member
|
D | s5k6aa.h | 19 int gpio; member
|
/include/linux/platform_data/ |
D | leds-omap.h | 11 s16 gpio; member
|
D | gpio-davinci.h | 27 #define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio)) argument
|
/include/uapi/linux/ |
D | virtio_gpio.h | 33 __le16 gpio; member
|
/include/linux/regulator/ |
D | lp872x.h | 60 int gpio; member
|
/include/sound/ |
D | soc-jack.h | 62 unsigned int gpio; member
|
D | simple_card_utils.h | 38 struct snd_soc_jack_gpio gpio; member
|
/include/linux/mfd/arizona/ |
D | pdata.h | 69 bool gpio; member
|
/include/video/ |
D | w100fb.h | 123 struct w100_gpio_regs *gpio; member
|