/* timex.h: MN2WS0038 architecture timer specifications * * Copyright (C) 2002, 2010 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef _ASM_UNIT_TIMEX_H #define _ASM_UNIT_TIMEX_H #include <asm/timer-regs.h> #include <unit/clock.h> #include <asm/param.h> /* * jiffies counter specifications */ #define TMJCBR_MAX 0xffffff /* 24bit */ #define TMJCIRQ TMTIRQ #ifndef __ASSEMBLY__ #define MN10300_SRC_IOBCLK MN10300_IOBCLK #ifndef HZ # error HZ undeclared. #endif /* !HZ */ #define MN10300_JCCLK (MN10300_SRC_IOBCLK) #define MN10300_TSCCLK (MN10300_SRC_IOBCLK) #define MN10300_JC_PER_HZ ((MN10300_JCCLK + HZ / 2) / HZ) #define MN10300_TSC_PER_HZ ((MN10300_TSCCLK + HZ / 2) / HZ) /* Check bit width of MTM interval value that sets base register */ #if (MN10300_JC_PER_HZ - 1) > TMJCBR_MAX # error MTM tick timer interval value is overflow. #endif
static inline void stop_jiffies_counter(void) { u16 tmp; TMTMD = 0; tmp = TMTMD; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mark Salter | 13 | 65.00% | 1 | 50.00% |
Akira Takeuchi | 7 | 35.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Mark Salter | 19 | 57.58% | 1 | 50.00% |
Akira Takeuchi | 14 | 42.42% | 1 | 50.00% |
Total | 33 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Mark Salter | 24 | 85.71% | 1 | 50.00% |
Akira Takeuchi | 4 | 14.29% | 1 | 50.00% |
Total | 28 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Mark Salter | 48 | 90.57% | 1 | 50.00% |
Akira Takeuchi | 5 | 9.43% | 1 | 50.00% |
Total | 53 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Akira Takeuchi | 41 | 100.00% | 1 | 100.00% |
Total | 41 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Akira Takeuchi | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Akira Takeuchi | 15 | 93.75% | 1 | 50.00% |
Mark Salter | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Akira Takeuchi | 207 | 60.35% | 1 | 50.00% |
Mark Salter | 136 | 39.65% | 1 | 50.00% |
Total | 343 | 100.00% | 2 | 100.00% |