Searched refs:kw_gpio_is_valid (Results 1 – 2 of 2) sorted by relevance
62 int kw_gpio_is_valid(unsigned pin, int mode) in kw_gpio_is_valid() function96 if (kw_gpio_is_valid(pin, GPIO_INPUT_OK) != 0) in kw_gpio_direction_input()107 if (kw_gpio_is_valid(pin, GPIO_OUTPUT_OK) != 0) in kw_gpio_direction_output()
33 int kw_gpio_is_valid(unsigned pin, int mode);