Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-aspeed.c64 unsigned int timer_users[4]; member
793 if (WARN(gpio->timer_users[timer] == UINT_MAX, in register_allocated_timer()
798 gpio->timer_users[timer]++; in register_allocated_timer()
811 if (WARN(gpio->timer_users[gpio->offset_timer[offset]] == 0, in unregister_allocated_timer()
816 gpio->timer_users[gpio->offset_timer[offset]]--; in unregister_allocated_timer()
893 for (j = 1; j < ARRAY_SIZE(gpio->timer_users); j++) { in enable_debounce()
894 if (gpio->timer_users[j] == 0) in enable_debounce()
898 if (j == ARRAY_SIZE(gpio->timer_users)) { in enable_debounce()
/openbmc/linux/sound/pci/
H A Dmaestro3.c735 int timer_users; member
999 chip->timer_users++; in snd_m3_inc_timer_users()
1000 if (chip->timer_users != 1) in snd_m3_inc_timer_users()
1018 chip->timer_users--; in snd_m3_dec_timer_users()
1019 if (chip->timer_users > 0) in snd_m3_dec_timer_users()