Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/leds/
Dleds-netxbig.c391 int num_timers; in netxbig_leds_get_of_pdata() local
417 num_timers = ret / 3; in netxbig_leds_get_of_pdata()
418 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
422 for (i = 0; i < num_timers; i++) { in netxbig_leds_get_of_pdata()
437 pdata->num_timer = num_timers; in netxbig_leds_get_of_pdata()
/Linux-v4.19/arch/x86/kernel/
Dhpet.c595 unsigned int num_timers; in hpet_msi_capability_lookup() local
606 num_timers = ((id & HPET_ID_NUMBER) >> HPET_ID_NUMBER_SHIFT); in hpet_msi_capability_lookup()
607 num_timers++; /* Value read out starts from 0 */ in hpet_msi_capability_lookup()
614 hpet_devs = kcalloc(num_timers, sizeof(struct hpet_dev), GFP_KERNEL); in hpet_msi_capability_lookup()
618 hpet_num_timers = num_timers; in hpet_msi_capability_lookup()
620 for (i = start_timer; i < num_timers - RESERVE_TIMERS; i++) { in hpet_msi_capability_lookup()
647 num_timers, num_timers_used); in hpet_msi_capability_lookup()
/Linux-v4.19/arch/powerpc/sysdev/
Dmpic.c1552 int num_timers = 4; in mpic_init() local
1571 num_timers = 8; in mpic_init()
1575 for (i = 0; i < num_timers; i++) { in mpic_init()