Searched defs:gpio_desc (Results 1 - 2 of 2) sorted by relevance

/drivers/gpio/
H A Dgpiolib.h37 struct gpio_desc *acpi_get_gpiod_by_index(struct device *dev, int index,
49 static inline struct gpio_desc *
57 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np,
60 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip, u16 hwnum);
65 struct gpio_desc { struct
88 int gpiod_request(struct gpio_desc *desc, const char *label);
89 void gpiod_free(struct gpio_desc *desc);
94 static int __maybe_unused gpio_chip_hwgpio(const struct gpio_desc *desc)
H A Dgpiolib.c44 /* gpio_lock prevents conflicts during gpio_desc[] table updates.
50 static struct gpio_desc gpio_desc[ARCH_NR_GPIOS]; variable in typeref:struct:gpio_desc
58 static inline void desc_set_label(struct gpio_desc *d, const char *label)
66 struct gpio_desc *gpio_to_desc(unsigned gpio)
71 return &gpio_desc[gpio];
78 struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip,
92 int desc_to_gpio(const struct gpio_desc *desc)
94 return desc - &gpio_desc[0];
103 struct gpio_chip *gpiod_to_chip(const struct gpio_desc *des
[all...]

Completed in 131 milliseconds