Lines Matching +full:os +full:- +full:code +full:- +full:offset
2 * linux/arch/arm/mach-omap1/timer32k.c
6 * Copyright (C) 2004 - 2005 Nokia Corporation
10 * OMAP Dual-mode timer framework support by Timo Teras
12 * MPU timer code based on the older MPU timer code for OMAP
58 * ---------------------------------------------------------------------------
59 * 32KHz OS timer
63 * of time in addition to the 32KHz OS timer. Using only the 32KHz OS timer
66 * ---------------------------------------------------------------------------
79 * TRM says 1 / HZ = ( TVR + 1) / 32768, so TRV = (32768 / HZ) - 1
82 #define OMAP_32K_TIMER_TICK_PERIOD ((OMAP_32K_TICKS_PER_SEC / HZ) - 1)
129 .name = "32k-timer",
144 evt->event_handler(evt); in omap_32k_timer_interrupt()
160 /* OMAP2_32KSYNCNT_CR_OFF: offset of 32ksync counter register */
169 * higher resolution in free-running counter modes (e.g. 12 MHz xtal),
184 * omap_read_persistent_clock64 - Return time from a persistent clock.
199 nsecs = clocksource_cyc2ns(cycles - last_cycles, in omap_read_persistent_clock64()
208 * omap_init_clocksource_32k - setup and register counter 32k as a
212 * Returns: %0 upon success or negative error code upon failure.
222 * The 'SCHEME' bits(30-31) of the revision register is used in omap_init_clocksource_32k()
253 * ---------------------------------------------------------------------------
255 * ---------------------------------------------------------------------------
259 int ret = -ENODEV; in omap_32k_timer_init()
268 return -ENODEV; in omap_32k_timer_init()