Searched refs:check_gpio (Results 1 – 3 of 3) sorted by relevance
131 static int check_gpio(int gpio) in check_gpio() function147 if (check_gpio(gpio) < 0) in gpio_set_value()162 if (check_gpio(gpio) < 0) in gpio_get_value()176 if (check_gpio(gpio) < 0) in gpio_direction_input()192 if (check_gpio(gpio) < 0) in gpio_direction_output()209 if (check_gpio(gpio) < 0) in gpio_request()
222 static int check_gpio(unsigned gpio, struct udevice *dev) in check_gpio() function237 if (check_gpio(gpio, dev) < 0) in zynq_gpio_get_value()253 if (check_gpio(gpio, dev) < 0) in zynq_gpio_set_value()285 if (check_gpio(gpio, dev) < 0) in zynq_gpio_direction_input()309 if (check_gpio(gpio, dev) < 0) in zynq_gpio_direction_output()335 if (check_gpio(offset, dev) < 0) in zynq_gpio_get_function()
59 inline int check_gpio(unsigned gpio) in check_gpio() function148 if (unlikely(!check_gpio(ident) && is_reserved(gpio, ident, 1))) { in peripheral_request()248 if (check_gpio(gpio) < 0) in gpio_request()281 if (check_gpio(gpio) < 0) in gpio_free()415 if (!check_gpio(c) && gpio) in gpio_labels()