Lines Matching +full:free +full:- +full:running
1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-mmp/time.c
10 * 2008-04-11: Jason Chagas <Jason.chagas@marvell.com>
11 * 2008-10-08: Bin Yang <bin.yang@marvell.com>
14 * three match comparators. Timer #0 is used here in free-running mode as
32 #include "regs-timers.h"
52 while (delay--) in timer_read()
77 c->event_handler(c); in timer_interrupt()
103 __raw_writel(delta - 1, mmp_timer_base + TMR_TN_MM(0, 0)); in timer_set_next_event()
160 /* set timer 0 to periodic mode, and timer 1 to free-running mode */ in timer_config()
167 __raw_writel(0x0, mmp_timer_base + TMR_PLCR(1)); /* free-running */ in timer_config()
211 return -EINVAL; in mmp_dt_init_timer()
215 return -ENOMEM; in mmp_dt_init_timer()
221 TIMER_OF_DECLARE(mmp_timer, "mrvl,mmp-timer", mmp_dt_init_timer);