Lines Matching refs:gpio
87 struct gpio { struct
103 int (*consumer_attach)(struct gpio *, void *, int, u_int32_t); argument
104 int (*consumer_detach)(struct gpio *, void *, int);
131 struct gpio *gp;
140 int gpio_consumer_attach(const char *consumer, void *arg, struct gpio *gp,
142 int gpio_consumer_detach(const char *consumer, struct gpio *gp, int pin);
143 struct gpio_mapping *gpio_map(struct gpio *gp, int *map, int offset, u_int32_t mask);
147 int gpio_pin_read(struct gpio *gp, struct gpio_mapping *map, int pin);
148 void gpio_pin_write(struct gpio *gp, struct gpio_mapping *map, int pin, int data);
149 void gpio_pin_ctl(struct gpio *gp, struct gpio_mapping *map, int pin, int flags);
150 int gpio_pin_caps(struct gpio *gp, struct gpio_mapping *map, int pin);
151 void gpio_register(struct gpio *gp);
152 void gpio_unregister(struct gpio *gp);