/include/linux/input/ |
H A D | navpoint.h | 11 int gpio; /* GPIO for power on/off */ member in struct:navpoint_platform_data
|
/include/linux/ |
H A D | i2c-pca-platform.h | 5 int gpio; /* pin to reset chip. driver will work when member in struct:i2c_pca9564_pf_platform_data
|
H A D | gpio-fan.h | 2 * include/linux/gpio-fan.h 15 unsigned gpio; member in struct:gpio_fan_alarm
|
H A D | switch.h | 33 unsigned gpio; member in struct:gpio_switch_platform_data
|
H A D | gpio_keys.h | 9 * @gpio: %-1 if this key does not support gpio 11 * depressed when gpio is low 12 * @desc: label that will be attached to button's gpio 23 int gpio; member in struct:gpio_keys_button
|
H A D | gpio.h | 6 /* see Documentation/gpio/gpio-legacy.txt */ 34 * struct gpio - a structure describing a GPIO with configuration 35 * @gpio: the GPIO number 39 struct gpio { struct 40 unsigned gpio; member in struct:gpio 48 #include <asm/gpio.h> 51 #include <asm-generic/gpio.h> 53 static inline int gpio_get_value(unsigned int gpio) argument 55 return __gpio_get_value(gpio); 58 gpio_set_value(unsigned int gpio, int value) argument 63 gpio_cansleep(unsigned int gpio) argument 68 gpio_to_irq(unsigned int gpio) argument 104 gpio_request(unsigned gpio, const char *label) argument 109 gpio_request_one(unsigned gpio, unsigned long flags, const char *label) argument 120 gpio_free(unsigned gpio) argument 136 gpio_direction_input(unsigned gpio) argument 141 gpio_direction_output(unsigned gpio, int value) argument 146 gpio_set_debounce(unsigned gpio, unsigned debounce) argument 151 gpio_get_value(unsigned gpio) argument 158 gpio_set_value(unsigned gpio, int value) argument 164 gpio_cansleep(unsigned gpio) argument 171 gpio_get_value_cansleep(unsigned gpio) argument 178 gpio_set_value_cansleep(unsigned gpio, int value) argument 184 gpio_export(unsigned gpio, bool direction_may_change) argument 191 gpio_export_link(struct device *dev, const char *name, unsigned gpio) argument 199 gpio_sysfs_set_active_low(unsigned gpio, int value) argument 206 gpio_unexport(unsigned gpio) argument 212 gpio_to_irq(unsigned gpio) argument 262 devm_gpio_request(struct device *dev, unsigned gpio, const char *label) argument 269 devm_gpio_request_one(struct device *dev, unsigned gpio, unsigned long flags, const char *label) argument 276 devm_gpio_free(struct device *dev, unsigned int gpio) argument [all...] |
H A D | gpio_event.h | 51 #define GPIO_EVENT_DEV_NAME "gpio-event" 105 uint32_t gpio:16; member in struct:gpio_event_direct_entry 160 uint32_t *gpio; member in struct:gpio_event_axis_info
|
H A D | leds.h | 255 /* For the leds-gpio driver */ 259 unsigned gpio; member in struct:gpio_led 276 int (*gpio_blink_set)(unsigned gpio, int state,
|
/include/linux/platform_data/ |
H A D | gpio_backlight.h | 15 int gpio; member in struct:gpio_backlight_platform_data
|
H A D | leds-omap.h | 14 s16 gpio; member in struct:omap_led_config
|
H A D | leds-s3c24xx.h | 20 unsigned int gpio; member in struct:s3c24xx_led_platdata
|
H A D | mmc-msm_sdcc.h | 14 struct msm_mmc_gpio *gpio; member in struct:msm_mmc_gpio_data
|
H A D | gpio-davinci.h | 22 #include <asm-generic/gpio.h> 44 * basic gpio routines 49 #define GPIO_TO_PIN(bank, gpio) (16 * (bank) + (gpio)) 51 static inline u32 __gpio_mask(unsigned gpio) argument 53 return 1 << (gpio % 32);
|
/include/media/ |
H A D | s5k4ecgx.h | 18 * @gpio : GPIO number 19 * @level: indicates active state of the @gpio 22 int gpio; member in struct:s5k4ecgx_gpio
|
H A D | s5c73m3.h | 25 * @gpio: GPIO number 26 * @level: indicates active state of the @gpio 29 int gpio; member in struct:s5c73m3_gpio
|
H A D | s5k6aa.h | 19 * @gpio: GPIO number 20 * @level: indicates active state of the @gpio 23 int gpio; member in struct:s5k6aa_gpio
|
/include/linux/extcon/ |
H A D | extcon-gpio.h | 29 * @gpio: Corresponding GPIO. 30 * @gpio_active_low: Boolean describing whether gpio active state is 1 or 0 31 * If true, low state of gpio means active. 32 * If false, high state of gpio means active. 39 * @check_on_resume: Boolean describing whether to check the state of gpio 48 unsigned gpio; member in struct:gpio_extcon_platform_data
|
/include/linux/power/ |
H A D | gpio-charger.h | 25 * @gpio: GPIO which is used to indicate the chargers status 34 int gpio; member in struct:gpio_charger_platform_data
|
/include/linux/regulator/ |
H A D | fixed.h | 27 * @gpio: GPIO to use for enable control 32 * through PULL-UP with setting gpio as input 33 * and low will be set as gpio-output with driven 34 * to low. For non-open-drain case, the gpio will 52 int gpio; member in struct:fixed_voltage_config
|
H A D | lp872x.h | 17 #include <linux/gpio.h> 56 * @gpio : gpio pin number for dvs control 61 int gpio; member in struct:lp872x_dvs
|
/include/linux/pinctrl/ |
H A D | consumer.h | 6 * Based on bits of regulator core, gpio core and clk core 28 extern int pinctrl_request_gpio(unsigned gpio); 29 extern void pinctrl_free_gpio(unsigned gpio); 30 extern int pinctrl_gpio_direction_input(unsigned gpio); 31 extern int pinctrl_gpio_direction_output(unsigned gpio); 64 static inline int pinctrl_request_gpio(unsigned gpio) argument 69 static inline void pinctrl_free_gpio(unsigned gpio) argument 73 static inline int pinctrl_gpio_direction_input(unsigned gpio) argument 78 static inline int pinctrl_gpio_direction_output(unsigned gpio) argument
|
/include/asm-generic/ |
H A D | gpio.h | 13 #include <linux/gpio/driver.h> 14 #include <linux/gpio/consumer.h> 48 struct gpio; 54 /* caller holds gpio_lock *OR* gpio is marked as requested */ 55 static inline struct gpio_chip *gpio_to_chip(unsigned gpio) argument 57 return gpiod_to_chip(gpio_to_desc(gpio)); 63 extern int gpio_request(unsigned gpio, const char *label); 64 extern void gpio_free(unsigned gpio); 66 static inline int gpio_direction_input(unsigned gpio) argument 68 return gpiod_direction_input(gpio_to_desc(gpio)); 70 gpio_direction_output(unsigned gpio, int value) argument 75 gpio_set_debounce(unsigned gpio, unsigned debounce) argument 80 gpio_get_value_cansleep(unsigned gpio) argument 84 gpio_set_value_cansleep(unsigned gpio, int value) argument 94 __gpio_get_value(unsigned gpio) argument 98 __gpio_set_value(unsigned gpio, int value) argument 103 __gpio_cansleep(unsigned gpio) argument 108 __gpio_to_irq(unsigned gpio) argument 121 gpio_export(unsigned gpio, bool direction_may_change) argument 126 gpio_export_link(struct device *dev, const char *name, unsigned gpio) argument 132 gpio_sysfs_set_active_low(unsigned gpio, int value) argument 137 gpio_unexport(unsigned gpio) argument 201 gpio_cansleep(unsigned gpio) argument 206 gpio_get_value_cansleep(unsigned gpio) argument 212 gpio_set_value_cansleep(unsigned gpio, int value) argument [all...] |
/include/linux/gpio/ |
H A D | consumer.h | 94 struct gpio_desc *gpio_to_desc(unsigned gpio); 276 static inline struct gpio_desc *gpio_to_desc(unsigned gpio) argument
|
/include/linux/mfd/ |
H A D | stmpe.h | 198 * @irq_over_gpio: true if gpio is used to get irq 199 * @irq_gpio: gpio number over which irq will be requested (significant only if 201 * @gpio: GPIO-specific platform data 214 struct stmpe_gpio_platform_data *gpio; member in struct:stmpe_platform_data
|
H A D | tps65090.h | 93 * @gpio: Gpio number if external control is enabled and controlled through 94 * gpio. 102 int gpio; member in struct:tps65090_regulator_plat_data
|