Searched refs:gpiomode (Results 1 - 2 of 2) sorted by relevance

/freebsd-12-stable/sys/mips/atheros/ar531x/
H A Dar5315_gpio.c432 * hint.gpio.X.func.<pin>.gpiomode=1 (for output, default low)
436 int gpiofunc, gpiomode;
445 snprintf(buf, 32, "func.%d.gpiomode", i);
449 &gpiomode) != 0)
453 if (gpiomode != 1)
460 gpiomode);
/freebsd-12-stable/sys/mips/atheros/
H A Dar71xx_gpio.c540 * hint.gpio.X.func.<pin>.gpiomode=1 (for output, default low)
544 int gpiofunc, gpiomode; local
553 snprintf(buf, 32, "func.%d.gpiomode", i);
557 &gpiomode) != 0)
561 if (gpiomode != 1)
568 gpiomode);

Completed in 60 milliseconds