Searched refs:get_gpio_index (Results 1 – 1 of 1) sorted by relevance
44 static inline int get_gpio_index(int gpio) in get_gpio_index() function150 _set_gpio_dataout(bank, get_gpio_index(gpio), value); in gpio_set_value()166 return _get_gpio_value(bank, get_gpio_index(gpio)); in gpio_get_value()180 _set_gpio_direction(bank, get_gpio_index(gpio), 1); in gpio_direction_input()196 _set_gpio_dataout(bank, get_gpio_index(gpio), value); in gpio_direction_output()197 _set_gpio_direction(bank, get_gpio_index(gpio), 0); in gpio_direction_output()