Home
last modified time | relevance | path

Searched refs:timer_users (Results 1 – 1 of 1) sorted by relevance

/drivers/gpio/
Dgpio-aspeed.c62 unsigned int timer_users[4]; member
783 if (WARN(gpio->timer_users[timer] == UINT_MAX, in register_allocated_timer()
788 gpio->timer_users[timer]++; in register_allocated_timer()
801 if (WARN(gpio->timer_users[gpio->offset_timer[offset]] == 0, in unregister_allocated_timer()
806 gpio->timer_users[gpio->offset_timer[offset]]--; in unregister_allocated_timer()
883 for (j = 1; j < ARRAY_SIZE(gpio->timer_users); j++) { in enable_debounce()
884 if (gpio->timer_users[j] == 0) in enable_debounce()
888 if (j == ARRAY_SIZE(gpio->timer_users)) { in enable_debounce()