Home
last modified time | relevance | path

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

/linux-4.1.27/arch/x86/kernel/
Dhpet.c575 unsigned int num_timers; in hpet_msi_capability_lookup() local
586 num_timers = ((id & HPET_ID_NUMBER) >> HPET_ID_NUMBER_SHIFT); in hpet_msi_capability_lookup()
587 num_timers++; /* Value read out starts from 0 */ in hpet_msi_capability_lookup()
590 hpet_devs = kzalloc(sizeof(struct hpet_dev) * num_timers, GFP_KERNEL); in hpet_msi_capability_lookup()
594 hpet_num_timers = num_timers; in hpet_msi_capability_lookup()
596 for (i = start_timer; i < num_timers - RESERVE_TIMERS; i++) { in hpet_msi_capability_lookup()
621 num_timers, num_timers_used); in hpet_msi_capability_lookup()
/linux-4.1.27/arch/powerpc/sysdev/
Dmpic.c1567 int num_timers = 4; in mpic_init() local
1586 num_timers = 8; in mpic_init()
1590 for (i = 0; i < num_timers; i++) { in mpic_init()