Searched refs:timer_users (Results 1 – 2 of 2) sorted by relevance
71 * @offset_timer: Maps an offset to an @timer_users index, or zero if disabled72 * @timer_users: Tracks the number of users for each timer74 * The @timer_users has four elements but the first element is unused. This is77 * of @offset_timer is used as an index into @timer_users. This behaviour of90 unsigned int timer_users[4]; member 741 if (WARN(gpio->timer_users[timer] == UINT_MAX, in register_allocated_timer() 746 gpio->timer_users[timer]++; in register_allocated_timer() 759 if (WARN(gpio->timer_users[gpio->offset_timer[offset]] == 0, in unregister_allocated_timer() 764 gpio->timer_users[gpio->offset_timer[offset]]--; in unregister_allocated_timer() 830 for (j = 1; j < ARRAY_SIZE(gpio->timer_users); in enable_debounce() [all...]
735 int timer_users; member 997 chip->timer_users++; in snd_m3_inc_timer_users() 998 if (chip->timer_users != 1) in snd_m3_inc_timer_users() 1016 chip->timer_users--; in snd_m3_dec_timer_users() 1017 if (chip->timer_users > 0) in snd_m3_dec_timer_users()