Home
last modified time | relevance | path

Searched refs:gpio (Results 1 – 25 of 27) sorted by relevance

12

/include/linux/
Dgpio.h33 struct gpio { struct
34 unsigned gpio; argument
79 int gpio_request(unsigned gpio, const char *label);
80 void gpio_free(unsigned gpio);
82 static inline int gpio_direction_input(unsigned gpio) in gpio_direction_input() argument
84 return gpiod_direction_input(gpio_to_desc(gpio)); in gpio_direction_input()
86 static inline int gpio_direction_output(unsigned gpio, int value) in gpio_direction_output() argument
88 return gpiod_direction_output_raw(gpio_to_desc(gpio), value); in gpio_direction_output()
91 static inline int gpio_get_value_cansleep(unsigned gpio) in gpio_get_value_cansleep() argument
93 return gpiod_get_raw_value_cansleep(gpio_to_desc(gpio)); in gpio_get_value_cansleep()
[all …]
Dgpio-pxa.h7 #define gpio_to_bank(gpio) ((gpio) >> 5) argument
19 int (*gpio_set_wake)(unsigned int gpio, unsigned int on);
Dwm97xx.h266 u16 dig[3], id, gpio[6], misc; /* Cached codec registers */ member
311 enum wm97xx_gpio_status wm97xx_get_gpio(struct wm97xx *wm, u32 gpio);
312 void wm97xx_set_gpio(struct wm97xx *wm, u32 gpio,
314 void wm97xx_config_gpio(struct wm97xx *wm, u32 gpio,
Dgpio_keys.h28 int gpio; member
Dleds.h673 unsigned gpio; member
/include/trace/events/
Dgpio.h3 #define TRACE_SYSTEM gpio
12 TP_PROTO(unsigned gpio, int in, int err),
14 TP_ARGS(gpio, in, err),
17 __field(unsigned, gpio)
23 __entry->gpio = gpio;
28 TP_printk("%u %3s (%d)", __entry->gpio,
34 TP_PROTO(unsigned gpio, int get, int value),
36 TP_ARGS(gpio, get, value),
39 __field(unsigned, gpio)
45 __entry->gpio = gpio;
[all …]
/include/linux/mfd/pcf50633/
Dgpio.h38 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val);
39 u8 pcf50633_gpio_get(struct pcf50633 *pcf, int gpio);
41 int pcf50633_gpio_invert_set(struct pcf50633 *, int gpio, int invert);
42 int pcf50633_gpio_invert_get(struct pcf50633 *pcf, int gpio);
45 int gpio, int regulator, int on);
/include/linux/gpio/
Dregmap.h81 int (*reg_mask_xlate)(struct gpio_regmap *gpio, unsigned int base,
89 void gpio_regmap_unregister(struct gpio_regmap *gpio);
92 void *gpio_regmap_get_drvdata(struct gpio_regmap *gpio);
Dgpio-nomadik.h265 unsigned int gpio);
273 unsigned int gpio) in nmk_gpio_dbg_show_one() argument
291 int gpio);
Dconsumer.h171 struct gpio_desc *gpio_to_desc(unsigned gpio);
530 static inline struct gpio_desc *gpio_to_desc(unsigned gpio) in gpio_to_desc() argument
/include/uapi/linux/
Dvirtio_gpio.h45 __le16 gpio; member
61 __le16 gpio; member
/include/soc/sa1100/
Dpwer.h9 int sa11x0_gpio_set_wake(unsigned int gpio, unsigned int on);
/include/linux/regulator/
Dlp872x.h55 struct gpio_desc *gpio; member
/include/linux/mfd/
Dhi655x-pmic.h57 struct gpio_desc *gpio; member
Dtps65010.h143 extern int tps65010_set_gpio_out_value(unsigned gpio, unsigned value);
Ducb1x00.h139 struct gpio_chip gpio; member
Dezx-pcap.h20 int gpio; member
Dadp5520.h278 struct adp5520_gpio_platform_data *gpio; member
/include/pcmcia/
Dsoc_common.h54 int gpio; member
/include/linux/mfd/arizona/
Dpdata.h69 bool gpio; member
/include/linux/mfd/wm8350/
Dgpio.h344 int wm8350_gpio_config(struct wm8350 *wm8350, int gpio, int dir, int func,
Dcore.h611 struct wm8350_gpio gpio; member
/include/sound/
Dsimple_card_utils.h48 struct snd_soc_jack_gpio gpio; member
/include/acpi/
Dacrestyp.h658 struct acpi_resource_gpio gpio; member
/include/linux/ssb/
Dssb.h496 struct gpio_chip gpio; member

12