Home
last modified time | relevance | path

Searched +full:clock +full:- +full:accuracy (Results 1 – 25 of 55) sorted by relevance

123

/linux-3.3/Documentation/hwmon/
Dpc8736010 Authors: Jean Delvare <khali@linux-fr.org>
17 -----------------
35 -----------
48 PC87360 - 2 2 - 0xE1
49 PC87363 - 2 2 - 0xE8
50 PC87364 - 3 3 - 0xE4
52 PC87366 11 3 3 3-4 0xE9
58 --------------
64 Fan readings are affected by a programmable clock divider, giving the
65 readings more range or accuracy. Usually, users have to learn how it works,
[all …]
Dlm6321 Author: Jean Delvare <khali@linux-fr.org>
28 -----------
35 - No low limit for local temperature.
36 - No critical limit for local temperature.
37 - Critical limit for remote temperature can be changed only once. We
38 will consider that the critical limit is read-only.
49 store the value in an 8-bit register and have a selectable clock divider
50 to make sure that the result will fit in the register, the LM63 uses 16-bit
75 The LM96163 is an enhanced version of LM63 with improved temperature accuracy
Dit8740 Jean Delvare <khali@linux-fr.org>
44 -----------------
59 misconfigured by BIOS - PWM values would be inverted. This option tries
64 -------------------
66 All the chips suported by this driver are LPC Super-I/O chips, accessed
67 through the LPC bus (ISA-like I/O ports). The IT8712F additionally has an
75 -----------
92 is stored in the Super-I/O configuration space. Due to technical limitations,
103 IT8705F also have optional 16-bit tachometer counters for fans 1 to 3. This
104 is better (no more fan clock divider mess) but not compatible with the older
[all …]
/linux-3.3/arch/blackfin/include/asm/
Ddpmc.h4 * Copyright (C) 2004-2009 Analog Device Inc.
6 * Licensed under the GPL-2
17 #define STOPCK 0x0008 /* Core Clock Off */
29 #define SET_MSEL(x) (((x)&0x3F) << 0x9) /* Set MSEL = 0-63 --> VCO = CLKIN*MSEL */
44 #define SET_SSEL(x) ((x) & 0xF) /* Set SSEL = 0-15 --> SCLK = VCO/SSEL */
53 #define RTCWS 0x0400 /* RTC/Reset Wake-Up Status */
54 #define CANWS 0x0800 /* CAN Wake-Up Status */
55 #define USBWS 0x2000 /* USB Wake-Up Status */
56 #define KPADWS 0x4000 /* Keypad Wake-Up Status */
57 #define ROTWS 0x8000 /* Rotary Wake-Up Status */
[all …]
/linux-3.3/Documentation/devicetree/bindings/i2c/
Dtrivial-devices.txt12 ad,ad7414 SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature …
13 ad,adm9240 ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
14 adi,adt7461 +/-1C TDM Extended Temp Range I.C
15 adt7461 +/-1C TDM Extended Temp Range I.C
19 dallas,ds1307 64 x 8, Serial, I2C Real-Time Clock
20 dallas,ds1338 I2C RTC with 56-Byte NV RAM
21 dallas,ds1339 I2C Serial Real-Time Clock
23 dallas,ds1374 I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output
24 dallas,ds1631 High-Precision Digital Thermometer
25 dallas,ds1682 Total-Elapsed-Time Recorder with Alarm
[all …]
/linux-3.3/drivers/video/kyro/
DSTG4000InitDevice.c41 /* Core clock freq */
44 /* Reference Clock freq */
61 /* PLL Clock */
101 /* Program SD-RAM interface */ in InitSDRAMRegisters()
129 /* Translate clock in Hz */ in ProgramClock()
133 /* Work out acceptable clock in ProgramClock()
134 * The method calculates ~ +- 0.4% (1/256) in ProgramClock()
136 ulMinClock = coreClock - (coreClock >> 8); in ProgramClock()
139 /* Scale clock required for use in calculations */ in ProgramClock()
147 /* loop for pre-divider from min to max */ in ProgramClock()
[all …]
/linux-3.3/arch/mn10300/unit-asb2305/include/unit/
Dtimex.h1 /* ASB2305-specific timer specifications
18 #include <asm/timer-regs.h>
19 #include <unit/clock.h>
37 /* use as little prescaling as possible to avoid losing accuracy */
38 #if (MN10300_SRC_IOCLK + HZ / 2) / HZ - 1 <= TMJCBR_MAX
42 #elif (MN10300_SRC_IOCLK / 8 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
46 #elif (MN10300_SRC_IOCLK / 32 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
104 /* set up timer 4 & 5 cascaded as a 32-bit counter to count real time in startup_timestamp_counter()
105 * - count down from 4Gig-1 to 0 and wrap at IOCLK rate in startup_timestamp_counter()
138 * we use a cascaded pair of 16-bit down-counting timers to count I/O
[all …]
/linux-3.3/arch/mn10300/unit-asb2303/include/unit/
Dtimex.h1 /* ASB2303-specific timer specifications
18 #include <asm/timer-regs.h>
19 #include <unit/clock.h>
37 /* use as little prescaling as possible to avoid losing accuracy */
38 #if (MN10300_SRC_IOCLK + HZ / 2) / HZ - 1 <= TMJCBR_MAX
42 #elif (MN10300_SRC_IOCLK / 8 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
46 #elif (MN10300_SRC_IOCLK / 32 + HZ / 2) / HZ - 1 <= TMJCBR_MAX
104 /* set up timer 4 & 5 cascaded as a 32-bit counter to count real time in startup_timestamp_counter()
105 * - count down from 4Gig-1 to 0 and wrap at IOCLK rate in startup_timestamp_counter()
138 * we use a cascaded pair of 16-bit down-counting timers to count I/O
[all …]
/linux-3.3/arch/x86/kernel/
Dpvclock.c1 /* paravirtual clock -- common code used by kvm/xen
15 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
46 u64 delta = native_read_tsc() - shadow->tsc_timestamp; in pvclock_get_nsec_offset()
47 return pvclock_scale_delta(delta, shadow->tsc_to_nsec_mul, in pvclock_get_nsec_offset()
48 shadow->tsc_shift); in pvclock_get_nsec_offset()
52 * Reads a consistent set of time-base values from hypervisor,
59 dst->version = src->version; in pvclock_get_time_values()
61 dst->tsc_timestamp = src->tsc_timestamp; in pvclock_get_time_values()
62 dst->system_timestamp = src->system_time; in pvclock_get_time_values()
63 dst->tsc_to_nsec_mul = src->tsc_to_system_mul; in pvclock_get_time_values()
[all …]
/linux-3.3/drivers/clocksource/
Dtcb_clksrc.c19 * - Two channels combine to create a free-running 32 bit counter
23 * - The third channel may be used to provide a 16-bit clockevent
78 /* For now, we always use the 32K clock ... this optimizes for NO_HZ,
82 * A divided clock could be good for high resolution timers, since
90 void __iomem *regs = tcd->regs; in tc_mode()
92 if (tcd->clkevt.mode == CLOCK_EVT_MODE_PERIODIC in tc_mode()
93 || tcd->clkevt.mode == CLOCK_EVT_MODE_ONESHOT) { in tc_mode()
96 clk_disable(tcd->clk); in tc_mode()
102 * of oneshot, we get lower overhead and improved accuracy. in tc_mode()
105 clk_enable(tcd->clk); in tc_mode()
[all …]
/linux-3.3/arch/m68k/platform/coldfire/
Dtimers.c4 * timers.c -- generic ColdFire hardware timer support.
6 * Copyright (C) 1999-2008, Greg Ungerer <gerg@snapgear.com>
28 * By default use timer1 as the system clock timer.
105 * initialize TRR with n - 1. in hw_timer_init()
107 __raw_writetrr(mcftmr_cycles_per_jiffy - 1, TA(MCFTIMER_TRR)); in hw_timer_init()
125 * By default use timer2 as the profiler clock timer.
136 * Use the other timer to provide high accuracy profiling info.
142 if (current->pid) in coldfire_profile_tick()
160 /* Set up TIMER 2 as high speed profile clock */ in coldfire_profile_init()
/linux-3.3/arch/arm/plat-omap/include/plat/
Domap-pm.h2 * omap-pm.h - OMAP power management interface
4 * Copyright (C) 2008-2010 Texas Instruments, Inc.
5 * Copyright (C) 2008-2010 Nokia Corporation
26 * initiators -- it represents the device's L3 interconnect
34 * omap_pm_if_early_init - OMAP PM init code called before clock fw init
39 * Initialize anything that must be configured before the clock
41 * PM idle-loop code.
46 * omap_pm_if_init - OMAP PM init code called after clock fw init
49 * "_if_" is to avoid name collisions with the PM idle-loop code.
54 * omap_pm_if_exit - OMAP PM exit code
[all …]
/linux-3.3/drivers/char/
Defirtc.c4 * Copyright (C) 1999 Hewlett-Packard Co
10 * clock by using EFI instead of direct bit fiddling. The functionalities are
20 * - Locking is required for safe execution of EFI calls with regards
24 * - provide the API to set/get the WakeUp Alarm (different from the
26 * - SMP testing
27 * - Add module support
67 * returns day of the year [0-365]
72 /* efi_time_t.month is in the [1-12] so, we need -1 */ in compute_yday()
73 return __mon_yday[is_leap(eft->year)][eft->month-1]+ eft->day -1; in compute_yday()
76 * returns day of the week [0-6] 0=Sunday
[all …]
/linux-3.3/include/linux/
Dhrtimer.h4 * hrtimers - High-resolution kernel timers
13 * For licencing details see kernel-base/COPYING
78 * All state transitions are protected by cpu_base->lock.
86 * struct hrtimer - the basic hrtimer structure
89 * representation. The time is related to the clock on
97 * @base: pointer to the timer base (per cpu and per clock)
122 * struct hrtimer_sleeper - simple sleeper structure
134 * struct hrtimer_clock_base - the timer base for a specific clock
135 * @cpu_base: per cpu clock base
136 * @index: clock type index for per_cpu support when moving a
[all …]
Djiffies.h46 * improve accuracy by shifting LSH bits, hence calculating:
51 * - (NOM / DEN) fits in (32 - LSH) bits.
52 * - (NOM % DEN) fits in (32 - LSH) bits.
57 /* HZ is the requested value. ACTHZ is actual HZ ("<< 8" is for accuracy) */
70 /* some arch's have a small-data section that can be accessed register-relative
71 * but that can only take up to, say, 4-byte variables. jiffies being part of
72 * an 8-byte variable may not be correctly accessed unless we force the issue
77 * The 64-bit value is not atomic - you MUST NOT read it
109 ((long)(b) - (long)(a) < 0))
115 ((long)(a) - (long)(b) >= 0))
[all …]
/linux-3.3/kernel/time/
Dclocksource.c38 tc->cc = cc; in timecounter_init()
39 tc->cycle_last = cc->read(cc); in timecounter_init()
40 tc->nsec = start_tstamp; in timecounter_init()
45 * timecounter_read_delta - get nanoseconds since last call of this function
61 cycle_now = tc->cc->read(tc->cc); in timecounter_read_delta()
64 cycle_delta = (cycle_now - tc->cycle_last) & tc->cc->mask; in timecounter_read_delta()
67 ns_offset = cyclecounter_cyc2ns(tc->cc, cycle_delta); in timecounter_read_delta()
70 tc->cycle_last = cycle_now; in timecounter_read_delta()
81 nsec += tc->nsec; in timecounter_read()
82 tc->nsec = nsec; in timecounter_read()
[all …]
/linux-3.3/Documentation/sound/oss/
Dvwsnd1 vwsnd - Sound driver for the Silicon Graphics 320 and 540 Visual
33 accuracy). Full scale on the Line input is +/- 2.0 V. Full scale on
34 the MIC input is 20 dB less, or +/- 0.2 V.
38 LOUT2 is not connected. Line out's maximum level is +/- 2.0 V peak to
39 peak. The speaker/headphone out's maximum is +/- 4.0 V peak to peak.
51 u-Law, and A-Law format. Any sample rate from 4 KHz to 49 KHz is
63 The hardware can sync audio to the video clock, but this driver does
83 supports getting the input and output pointers with one-sample
84 accuracy.
88 DSP_CAP_DUPLEX - driver supports full duplex.
[all …]
/linux-3.3/arch/alpha/kernel/
Dtime.c6 * This file contains the PC-specific time handling details:
8 * 1994-07-02 Alan Modra
10 * 1995-03-26 Markus Kuhn
12 * precision CMOS clock update
13 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96
15 * 1997-01-09 Adrian Sun
17 * 1997-10-29 John Bowman (bowman@math.ualberta.ca)
19 * (round system clock to nearest tick instead of truncating)
20 * fixed algorithm in time_init for getting time from CMOS clock
21 * 1999-04-16 Thorsten Kranzkowski (dl8bcu@gmx.net)
[all …]
/linux-3.3/drivers/net/irda/
Dact200l-sir.c5 * Description: Implementation for the ACTiSYS ACT-IR200L dongle
7 * Author: SHIMIZU Takuya <tshimizu@ga2.so-net.ne.jp>
10 * Modified by: SHIMIZU Takuya <tshimizu@ga2.so-net.ne.jp>
27 #include "sir-dev.h"
83 #define ACT200L_EXCK 0x02 /* Disable clock output driver */
84 #define ACT200L_OSCL 0x04 /* oscillator in low power, medium accuracy mode */
88 .driver_name = "ACTiSYS ACT-IR200L",
108 struct qos_info *qos = &dev->qos; in act200l_open()
116 qos->baud_rate.bits &= IR_9600|IR_19200|IR_38400|IR_57600|IR_115200; in act200l_open()
117 qos->min_turn_time.bits = 0x03; in act200l_open()
[all …]
/linux-3.3/drivers/gpu/drm/i915/
Dintel_lvds.c2 * Copyright © 2006-2007 Intel Corporation
73 struct drm_device *dev = intel_lvds->base.base.dev; in intel_lvds_enable()
74 struct drm_i915_private *dev_priv = dev->dev_private; in intel_lvds_enable()
89 if (intel_lvds->pfit_dirty) { in intel_lvds_enable()
91 * Enable automatic panel scaling so that non-native modes in intel_lvds_enable()
96 DRM_DEBUG_KMS("applying panel-fitter: %x, %x\n", in intel_lvds_enable()
97 intel_lvds->pfit_control, in intel_lvds_enable()
98 intel_lvds->pfit_pgm_ratios); in intel_lvds_enable()
100 I915_WRITE(PFIT_PGM_RATIOS, intel_lvds->pfit_pgm_ratios); in intel_lvds_enable()
101 I915_WRITE(PFIT_CONTROL, intel_lvds->pfit_control); in intel_lvds_enable()
[all …]
/linux-3.3/drivers/media/video/cx18/
Dcx18-firmware.c20 * 02111-1307 USA
23 #include "cx18-driver.h"
24 #include "cx18-io.h"
25 #include "cx18-scb.h"
26 #include "cx18-irq.h"
27 #include "cx18-firmware.h"
28 #include "cx18-cards.h"
109 if (request_firmware(&fw, fn, &cx->pci_dev->dev)) { in load_cpu_fw_direct()
112 return -ENOMEM; in load_cpu_fw_direct()
115 src = (const u32 *)fw->data; in load_cpu_fw_direct()
[all …]
/linux-3.3/kernel/
Dtime.c13 * 1993-09-02 Philip Gladstone
15 * 1993-10-08 Torsten Duwe
16 * adjtime interface update and CMOS clock write code
17 * 1995-08-13 Torsten Duwe
18 * kernel PLL updated to 1994-12-13 specs (rfc-1589)
19 * 1999-01-16 Ulrich Windl
25 * 2004-07-14 Christoph Lameter
27 * with nanosecond accuracy
57 * sys_time() can be implemented in user-level using
68 return -EFAULT; in SYSCALL_DEFINE1()
[all …]
Dposix-timers.c2 * linux/kernel/posix-timers.c
5 * 2002-10-15 Posix Clocks & timers
10 * 2004-06-01 Fix CLOCK_REALTIME clock/timer TIMER_ABSTIME bug.
44 #include <linux/posix-clock.h>
45 #include <linux/posix-timers.h>
65 * idr_find is just a memory look up and is quite fast. A -1 return
70 * Lets keep our timers in a slab cache :-)
98 * a) checking that idr_find() returns other than -1.
108 * RESOLUTION: Clock resolution is used to round up timer and interval
109 * times, NOT to report clock times, which are reported with as
[all …]
/linux-3.3/sound/pci/ca0106/
Dca0106.h2 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk>
49 * Implement support for Line-in capture on SB Live 24bit.
69 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
88 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
89 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
102 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
103 #define IPR_MIDI_TX_A 0x00000002 /* MIDI UART-A Transmit buffer empty */
108 #define INTE_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */
109 #define INTE_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */
122 #define INTE_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */
[all …]
/linux-3.3/arch/ia64/include/asm/
Dprocessor.h5 * Copyright (C) 1998-2004 Hewlett-Packard Co
6 * David Mosberger-Tang <davidm@hpl.hp.com>
29 * TASK_SIZE really is a mis-named. It really is the maximum user
30 * space address (plus one). On IA-64, there are five regions of 2TB
34 #define TASK_SIZE_OF(tsk) ((tsk)->thread.task_size)
41 #define TASK_UNMAPPED_BASE (current->thread.map_base)
43 #define IA64_THREAD_FPH_VALID (__IA64_UL(1) << 0) /* floating-point high state valid? */
61 * accuracy while being small enough to fit 10*1000000000<<IA64_NSEC_PER_CYC_SHIFT in 64 bits
167 __u64 rv3 : 2; /* 0-1 */
168 __u64 ps : 6; /* 2-7 */
[all …]

123