Lines Matching refs:num_timers
109 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()
383 if (i >= oproc->num_timers) { in omap_rproc_enable_timers()
408 for (i = 0; i < num_timers; i++) { in omap_rproc_enable_timers()
430 if (i >= oproc->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()
463 for (i = 0; i < num_timers; i++) { in omap_rproc_disable_timers()
466 if (i >= oproc->num_timers) in omap_rproc_disable_timers()
1250 int num_timers; in omap_rproc_of_get_timers() local
1256 oproc->num_timers = of_count_phandle_with_args(np, "ti,timers", NULL); in omap_rproc_of_get_timers()
1257 if (oproc->num_timers <= 0) { in omap_rproc_of_get_timers()
1259 oproc->num_timers); in omap_rproc_of_get_timers()
1260 oproc->num_timers = 0; in omap_rproc_of_get_timers()
1265 num_timers = oproc->num_timers + oproc->num_wd_timers; in omap_rproc_of_get_timers()
1266 if (num_timers) { in omap_rproc_of_get_timers()
1267 oproc->timers = devm_kcalloc(dev, num_timers, in omap_rproc_of_get_timers()
1274 oproc->num_timers, oproc->num_wd_timers); in omap_rproc_of_get_timers()