Home
last modified time | relevance | path

Searched refs:gpio_descs (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/gpio/
Ddevres.c40 struct gpio_descs **descs = res; in devm_gpiod_release_array()
47 struct gpio_descs **this = res, **gpios = data; in devm_gpiod_match_array()
212 struct gpio_descs *__must_check devm_gpiod_get_array(struct device *dev, in devm_gpiod_get_array()
216 struct gpio_descs **dr; in devm_gpiod_get_array()
217 struct gpio_descs *descs; in devm_gpiod_get_array()
220 sizeof(struct gpio_descs *), GFP_KERNEL); in devm_gpiod_get_array()
248 struct gpio_descs *__must_check
252 struct gpio_descs *descs; in devm_gpiod_get_array_optional()
285 void devm_gpiod_put_array(struct device *dev, struct gpio_descs *descs) in devm_gpiod_put_array()
Dgpiolib.c2172 struct gpio_descs *__must_check gpiod_get_array(struct device *dev, in gpiod_get_array()
2177 struct gpio_descs *descs; in gpiod_get_array()
2212 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev, in gpiod_get_array_optional()
2216 struct gpio_descs *descs; in gpiod_get_array_optional()
2242 void gpiod_put_array(struct gpio_descs *descs) in gpiod_put_array()
/linux-4.1.27/include/linux/gpio/
Dconsumer.h23 struct gpio_descs { struct
64 struct gpio_descs *__must_check gpiod_get_array(struct device *dev,
67 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev,
71 void gpiod_put_array(struct gpio_descs *descs);
86 struct gpio_descs *__must_check devm_gpiod_get_array(struct device *dev,
89 struct gpio_descs *__must_check
93 void devm_gpiod_put_array(struct device *dev, struct gpio_descs *descs);
177 static inline struct gpio_descs *__must_check
184 static inline struct gpio_descs *__must_check
199 static inline void gpiod_put_array(struct gpio_descs *descs) in gpiod_put_array()
[all …]
/linux-4.1.27/Documentation/gpio/
Dconsumer.txt72 struct gpio_descs *gpiod_get_array(struct device *dev,
76 This function returns a struct gpio_descs which contains an array of
79 struct gpio_descs {
87 struct gpio_descs *gpiod_get_array_optional(struct device *dev,
110 struct gpio_descs *devm_gpiod_get_array(struct device *dev,
114 struct gpio_descs *devm_gpiod_get_array_optional(struct device *dev,
124 void gpiod_put_array(struct gpio_descs *descs)
134 void devm_gpiod_put_array(struct device *dev, struct gpio_descs *descs)
271 the struct gpio_descs returned by gpiod_get_array():
273 struct gpio_descs *my_gpio_descs = gpiod_get_array(...);
/linux-4.1.27/drivers/net/phy/
Dmdio-mux-gpio.c21 struct gpio_descs *gpios;