Release 4.14 arch/ia64/lib/io.c
// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
#include <linux/types.h>
#include <asm/io.h>
/*
* Copy data from IO memory space to "real" memory space.
* This needs to be optimized.
*/
void memcpy_fromio(void *to, const volatile void __iomem *from, long count)
{
char *dst = to;
while (count) {
count--;
*dst++ = readb(from++);
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 29 | 65.91% | 1 | 25.00% |
David Mosberger-Tang | 13 | 29.55% | 2 | 50.00% |
Matthew Wilcox | 2 | 4.55% | 1 | 25.00% |
Total | 44 | 100.00% | 4 | 100.00% |
EXPORT_SYMBOL(memcpy_fromio);
/*
* Copy data from "real" memory space to IO memory space.
* This needs to be optimized.
*/
void memcpy_toio(volatile void __iomem *to, const void *from, long count)
{
const char *src = from;
while (count) {
count--;
writeb(*src++, to++);
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 29 | 64.44% | 1 | 25.00% |
David Mosberger-Tang | 13 | 28.89% | 2 | 50.00% |
Matthew Wilcox | 3 | 6.67% | 1 | 25.00% |
Total | 45 | 100.00% | 4 | 100.00% |
EXPORT_SYMBOL(memcpy_toio);
/*
* "memset" on IO memory space.
* This needs to be optimized.
*/
void memset_io(volatile void __iomem *dst, int c, long count)
{
unsigned char ch = (char)(c & 0xff);
while (count) {
count--;
writeb(ch, dst);
dst++;
}
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 43 | 87.76% | 1 | 33.33% |
David Mosberger-Tang | 4 | 8.16% | 1 | 33.33% |
Matthew Wilcox | 2 | 4.08% | 1 | 33.33% |
Total | 49 | 100.00% | 3 | 100.00% |
EXPORT_SYMBOL(memset_io);
#ifdef CONFIG_IA64_GENERIC
#undef __ia64_inb
#undef __ia64_inw
#undef __ia64_inl
#undef __ia64_outb
#undef __ia64_outw
#undef __ia64_outl
#undef __ia64_readb
#undef __ia64_readw
#undef __ia64_readl
#undef __ia64_readq
#undef __ia64_readb_relaxed
#undef __ia64_readw_relaxed
#undef __ia64_readl_relaxed
#undef __ia64_readq_relaxed
#undef __ia64_writeb
#undef __ia64_writew
#undef __ia64_writel
#undef __ia64_writeq
#undef __ia64_mmiowb
unsigned int
__ia64_inb (unsigned long port)
{
return ___ia64_inb(port);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 14 | 87.50% | 1 | 50.00% |
David Mosberger-Tang | 2 | 12.50% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
unsigned int
__ia64_inw (unsigned long port)
{
return ___ia64_inw(port);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 14 | 87.50% | 1 | 50.00% |
David Mosberger-Tang | 2 | 12.50% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
unsigned int
__ia64_inl (unsigned long port)
{
return ___ia64_inl(port);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 14 | 87.50% | 1 | 50.00% |
David Mosberger-Tang | 2 | 12.50% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
void
__ia64_outb (unsigned char val, unsigned long port)
{
___ia64_outb(val, port);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 18 | 90.00% | 1 | 50.00% |
David Mosberger-Tang | 2 | 10.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
void
__ia64_outw (unsigned short val, unsigned long port)
{
___ia64_outw(val, port);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 18 | 90.00% | 1 | 50.00% |
David Mosberger-Tang | 2 | 10.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
void
__ia64_outl (unsigned int val, unsigned long port)
{
___ia64_outl(val, port);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 18 | 90.00% | 1 | 50.00% |
David Mosberger-Tang | 2 | 10.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
unsigned char
__ia64_readb (void __iomem *addr)
{
return ___ia64_readb (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 13 | 76.47% | 1 | 25.00% |
David Mosberger-Tang | 3 | 17.65% | 2 | 50.00% |
Björn Helgaas | 1 | 5.88% | 1 | 25.00% |
Total | 17 | 100.00% | 4 | 100.00% |
unsigned short
__ia64_readw (void __iomem *addr)
{
return ___ia64_readw (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 10 | 58.82% | 1 | 25.00% |
Björn Helgaas | 4 | 23.53% | 1 | 25.00% |
David Mosberger-Tang | 3 | 17.65% | 2 | 50.00% |
Total | 17 | 100.00% | 4 | 100.00% |
unsigned int
__ia64_readl (void __iomem *addr)
{
return ___ia64_readl (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 14 | 82.35% | 1 | 33.33% |
David Mosberger-Tang | 3 | 17.65% | 2 | 66.67% |
Total | 17 | 100.00% | 3 | 100.00% |
unsigned long
__ia64_readq (void __iomem *addr)
{
return ___ia64_readq (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 11 | 64.71% | 1 | 20.00% |
David Mosberger-Tang | 5 | 29.41% | 3 | 60.00% |
Björn Helgaas | 1 | 5.88% | 1 | 20.00% |
Total | 17 | 100.00% | 5 | 100.00% |
unsigned char
__ia64_readb_relaxed (void __iomem *addr)
{
return ___ia64_readb (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 16 | 94.12% | 1 | 50.00% |
David Mosberger-Tang | 1 | 5.88% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
unsigned short
__ia64_readw_relaxed (void __iomem *addr)
{
return ___ia64_readw (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 16 | 94.12% | 1 | 50.00% |
David Mosberger-Tang | 1 | 5.88% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
unsigned int
__ia64_readl_relaxed (void __iomem *addr)
{
return ___ia64_readl (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 16 | 94.12% | 1 | 50.00% |
David Mosberger-Tang | 1 | 5.88% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
unsigned long
__ia64_readq_relaxed (void __iomem *addr)
{
return ___ia64_readq (addr);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrew Morton | 16 | 94.12% | 1 | 50.00% |
David Mosberger-Tang | 1 | 5.88% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
void
__ia64_mmiowb(void)
{
___ia64_mmiowb();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 10 | 100.00% | 1 | 100.00% |
Total | 10 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_IA64_GENERIC */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 212 | 43.89% | 2 | 15.38% |
David Mosberger-Tang | 117 | 24.22% | 5 | 38.46% |
Andrew Morton | 76 | 15.73% | 1 | 7.69% |
Jesse Barnes | 61 | 12.63% | 2 | 15.38% |
Matthew Wilcox | 10 | 2.07% | 1 | 7.69% |
Björn Helgaas | 6 | 1.24% | 1 | 7.69% |
Greg Kroah-Hartman | 1 | 0.21% | 1 | 7.69% |
Total | 483 | 100.00% | 13 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.