Home
last modified time | relevance | path

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

/openbmc/linux/drivers/remoteproc/
H A Domap_remoteproc.c109 int num_timers; member
279 int num_timers = oproc->num_timers + oproc->num_wd_timers; in omap_rproc_watchdog_isr() local
282 for (i = oproc->num_timers; i < num_timers; i++) { in omap_rproc_watchdog_isr()
324 int num_timers = oproc->num_timers + oproc->num_wd_timers; in omap_rproc_enable_timers() local
326 if (!num_timers) in omap_rproc_enable_timers()
332 for (i = 0; i < num_timers; i++) { in omap_rproc_enable_timers()
333 if (i < oproc->num_timers) in omap_rproc_enable_timers()
338 (i - oproc->num_timers)); in omap_rproc_enable_timers()
342 i < oproc->num_timers ? i : in omap_rproc_enable_timers()
343 i - oproc->num_timers, ret); in omap_rproc_enable_timers()
[all …]
/openbmc/qemu/hw/timer/
H A Dhpet.c77 uint8_t num_timers; member
246 s->num_timers = HPET_MIN_TIMERS; in hpet_pre_load()
254 if (s->num_timers < HPET_MIN_TIMERS) { in hpet_validate_num_timers()
256 } else if (s->num_timers > HPET_MAX_TIMERS) { in hpet_validate_num_timers()
267 for (i = 0; i < s->num_timers; i++) { in hpet_post_load()
280 s->capability |= (s->num_timers - 1) << HPET_ID_NUM_TIM_SHIFT; in hpet_post_load()
354 VMSTATE_UINT8_V(num_timers, HPETState, 2),
356 VMSTATE_STRUCT_VARRAY_UINT8(timer, HPETState, num_timers, 0,
451 if (timer_id > s->num_timers) { in hpet_ram_read()
508 if (timer_id > s->num_timers) { in hpet_ram_write()
[all …]
H A Dxilinx_timer.c79 static inline unsigned int num_timers(XpsTimerState *t) in num_timers() function
95 for (i = 0; i < num_timers(t); i++) { in timer_update_irq()
220 t->timers = g_malloc0(sizeof t->timers[0] * num_timers(t)); in xilinx_timer_realize()
221 for (i = 0; i < num_timers(t); i++) { in xilinx_timer_realize()
233 R_MAX * 4 * num_timers(t)); in xilinx_timer_realize()
/openbmc/linux/drivers/leds/
H A Dleds-netxbig.c430 int num_timers; in netxbig_leds_get_of_pdata() local
469 num_timers = ret / 3; in netxbig_leds_get_of_pdata()
470 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
476 for (i = 0; i < num_timers; i++) { in netxbig_leds_get_of_pdata()
493 pdata->num_timer = num_timers; in netxbig_leds_get_of_pdata()
/openbmc/linux/drivers/clocksource/
H A Dtimer-tegra186.c56 unsigned int num_timers; member
253 offset += tegra->soc->num_timers * 0x10000 + index * 0x10000; in tegra186_wdt_create()
482 .num_timers = 10,
487 .num_timers = 16,
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_imx8q.h76 u32 num_timers; member
/openbmc/linux/arch/powerpc/sysdev/
H A Dmpic.c1551 int num_timers = 4; in mpic_init() local
1570 num_timers = 8; in mpic_init()
1574 for (i = 0; i < num_timers; i++) { in mpic_init()