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

/linux-master/drivers/gpio/
H A Dgpio-aspeed.c45 * @offset_timer: Maps an offset to an @timer_users index, or zero if disabled
46 * @timer_users: Tracks the number of users for each timer
48 * The @timer_users has four elements but the first element is unused. This is
51 * of @offset_timer is used as an index into @timer_users. This behaviour of
64 unsigned int timer_users[4]; member in struct:aspeed_gpio
793 if (WARN(gpio->timer_users[timer] == UINT_MAX,
798 gpio->timer_users[timer]++;
811 if (WARN(gpio->timer_users[gpio->offset_timer[offset]] == 0,
816 gpio->timer_users[gpio->offset_timer[offset]]--;
893 for (j = 1; j < ARRAY_SIZE(gpio->timer_users);
[all...]
/linux-master/sound/pci/
H A Dmaestro3.c735 int timer_users; member in struct:snd_m3
997 chip->timer_users++;
998 if (chip->timer_users != 1)
1016 chip->timer_users--;
1017 if (chip->timer_users > 0)

Completed in 240 milliseconds