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()
458 int num_timers = oproc->num_timers + oproc->num_wd_timers; in omap_rproc_disable_timers() local
460 if (!num_timers) in omap_rproc_disable_timers()
1250 int num_timers; in omap_rproc_of_get_timers() local
1259 oproc->num_timers); in omap_rproc_of_get_timers()
1265 num_timers = oproc->num_timers + oproc->num_wd_timers; in omap_rproc_of_get_timers()
[all …]
/openbmc/qemu/hw/timer/
H A Dhpet.c82 uint8_t num_timers; member
241 s->num_timers = HPET_MIN_TIMERS; in hpet_pre_load()
249 if (s->num_timers < HPET_MIN_TIMERS) { in hpet_validate_num_timers()
251 } else if (s->num_timers > HPET_MAX_TIMERS) { in hpet_validate_num_timers()
343 VMSTATE_UINT8_V(num_timers, HPETState, 2),
441 if (timer_id > s->num_timers) { in hpet_ram_read()
519 if (timer_id > s->num_timers) { in hpet_ram_write()
685 for (i = 0; i < s->num_timers; i++) { in hpet_reset()
763 if (s->num_timers < HPET_MIN_TIMERS) { in hpet_realize()
764 s->num_timers = HPET_MIN_TIMERS; in hpet_realize()
[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
468 num_timers = ret / 3; in netxbig_leds_get_of_pdata()
469 timers = devm_kcalloc(dev, num_timers, sizeof(*timers), in netxbig_leds_get_of_pdata()
475 for (i = 0; i < num_timers; i++) { in netxbig_leds_get_of_pdata()
492 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()