Release 4.14 arch/ia64/include/asm/delay.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_IA64_DELAY_H
#define _ASM_IA64_DELAY_H
/*
* Delay routines using a pre-computed "cycles/usec" value.
*
* Copyright (C) 1998, 1999 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
* Copyright (C) 1999 VA Linux Systems
* Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
* Copyright (C) 1999 Asit Mallick <asit.k.mallick@intel.com>
* Copyright (C) 1999 Don Dugger <don.dugger@intel.com>
*/
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/compiler.h>
#include <asm/intrinsics.h>
#include <asm/processor.h>
static __inline__ void
ia64_set_itm (unsigned long val)
{
ia64_setreg(_IA64_REG_CR_ITM, val);
ia64_srlz_d();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 11 | 52.38% | 2 | 66.67% |
Suresh B. Siddha | 10 | 47.62% | 1 | 33.33% |
Total | 21 | 100.00% | 3 | 100.00% |
static __inline__ unsigned long
ia64_get_itm (void)
{
unsigned long result;
result = ia64_getreg(_IA64_REG_CR_ITM);
ia64_srlz_d();
return result;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 17 | 62.96% | 2 | 66.67% |
Suresh B. Siddha | 10 | 37.04% | 1 | 33.33% |
Total | 27 | 100.00% | 3 | 100.00% |
static __inline__ void
ia64_set_itv (unsigned long val)
{
ia64_setreg(_IA64_REG_CR_ITV, val);
ia64_srlz_d();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Suresh B. Siddha | 10 | 47.62% | 1 | 25.00% |
Linus Torvalds (pre-git) | 9 | 42.86% | 2 | 50.00% |
Linus Torvalds | 2 | 9.52% | 1 | 25.00% |
Total | 21 | 100.00% | 4 | 100.00% |
static __inline__ unsigned long
ia64_get_itv (void)
{
return ia64_getreg(_IA64_REG_CR_ITV);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
David Mosberger-Tang | 14 | 87.50% | 1 | 33.33% |
Linus Torvalds (pre-git) | 2 | 12.50% | 2 | 66.67% |
Total | 16 | 100.00% | 3 | 100.00% |
static __inline__ void
ia64_set_itc (unsigned long val)
{
ia64_setreg(_IA64_REG_AR_ITC, val);
ia64_srlz_d();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Suresh B. Siddha | 10 | 47.62% | 1 | 33.33% |
Linus Torvalds (pre-git) | 9 | 42.86% | 1 | 33.33% |
David Mosberger-Tang | 2 | 9.52% | 1 | 33.33% |
Total | 21 | 100.00% | 3 | 100.00% |
static __inline__ unsigned long
ia64_get_itc (void)
{
unsigned long result;
result = ia64_getreg(_IA64_REG_AR_ITC);
ia64_barrier();
#ifdef CONFIG_ITANIUM
while (unlikely((__s32) result == -1)) {
result = ia64_getreg(_IA64_REG_AR_ITC);
ia64_barrier();
}
#endif
return result;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 34 | 59.65% | 3 | 60.00% |
Suresh B. Siddha | 22 | 38.60% | 1 | 20.00% |
Manik Raina | 1 | 1.75% | 1 | 20.00% |
Total | 57 | 100.00% | 5 | 100.00% |
extern void ia64_delay_loop (unsigned long loops);
static __inline__ void
__delay (unsigned long loops)
{
if (unlikely(loops < 1))
return;
ia64_delay_loop (loops - 1);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 18 | 64.29% | 2 | 50.00% |
David Mosberger-Tang | 8 | 28.57% | 1 | 25.00% |
Suresh B. Siddha | 2 | 7.14% | 1 | 25.00% |
Total | 28 | 100.00% | 4 | 100.00% |
extern void udelay (unsigned long usecs);
#endif /* _ASM_IA64_DELAY_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 124 | 52.77% | 3 | 27.27% |
Suresh B. Siddha | 66 | 28.09% | 1 | 9.09% |
David Mosberger-Tang | 36 | 15.32% | 3 | 27.27% |
Manik Raina | 4 | 1.70% | 1 | 9.09% |
Linus Torvalds | 2 | 0.85% | 1 | 9.09% |
John Hawkes | 2 | 0.85% | 1 | 9.09% |
Greg Kroah-Hartman | 1 | 0.43% | 1 | 9.09% |
Total | 235 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.