Lines Matching defs:gpio
10 #include <drivers/gpio.h>
242 static void mt_set_gpio_dir(int gpio, int direction)
244 mt_set_gpio_dir_chip((uint32_t)gpio, direction);
247 static int mt_get_gpio_dir(int gpio)
251 pin = (uint32_t)gpio;
255 static void mt_set_gpio_pull(int gpio, int pull)
259 pin = (uint32_t)gpio;
263 static int mt_get_gpio_pull(int gpio)
267 pin = (uint32_t)gpio;
271 static void mt_set_gpio_out(int gpio, int value)
275 pin = (uint32_t)gpio;
279 static int mt_get_gpio_in(int gpio)
283 pin = (uint32_t)gpio;