Lines Matching +full:down +full:- +full:counting
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2014 Oleksij Rempel <linux@rempel-privat.de>
19 #define DRIVER_NAME "asm9260-timer"
23 * 0x0 - plain read write mode
24 * 0x4 - set mode, OR logic.
25 * 0x8 - clr mode, XOR logic.
26 * 0xc - togle mode.
48 * 1 - Timer Counter and Prescale Counter are enabled for counting
49 * 0 - counters are disabled */
56 /* 00 - count up
57 * 01 - count down
58 * 10 - ?? 2^n/2 */
171 evt->event_handler(evt); in asm9260_timer_interrupt()
179 * ---------------------------------------------------------------------------
181 * ---------------------------------------------------------------------------
190 priv.base = of_io_request_and_map(np, 0, np->name); in asm9260_timer_init()
217 /* set all timers for count-up */ in asm9260_timer_init()
242 TIMER_OF_DECLARE(asm9260_timer, "alphascale,asm9260-timer",