Lines Matching refs:gpio
26 #include <subdev/bios/gpio.h>
63 u8 hdr, cnt, xver; /* use gpio version for xpio entry parsing */
64 u16 gpio;
67 gpio = dcb_gpio_table(bios, ver, &hdr, &cnt, len);
69 gpio = dcb_xpio_table(bios, idx, &xver, &hdr, &cnt, len);
71 if (gpio && ent < cnt)
72 return gpio + hdr + (ent * *len);
79 struct dcb_gpio_func *gpio)
85 *gpio = (struct dcb_gpio_func) {
95 *gpio = (struct dcb_gpio_func) {
105 *gpio = (struct dcb_gpio_func) {
120 u8 *ver, u8 *len, struct dcb_gpio_func *gpio)
125 while ((data = dcb_gpio_parse(bios, idx, i++, ver, len, gpio))) {
126 if ((line == 0xff || line == gpio->line) &&
127 (func == 0xff || func == gpio->func))
137 *gpio = (struct dcb_gpio_func) {