PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/arch/powerpc/include/asm/ide.h

https://github.com/aicjofs/android_kernel_lge_v500_20d
C Header | 17 lines | 9 code | 3 blank | 5 comment | 0 complexity | 9768db22bafbb3cb137e93ee6e6c188c MD5 | raw file
 1/*
 2 *  Copyright (C) 1994-1996 Linus Torvalds & authors
 3 *
 4 *  This file contains the powerpc architecture specific IDE code.
 5 */
 6#ifndef _ASM_POWERPC_IDE_H
 7#define _ASM_POWERPC_IDE_H
 8
 9#include <linux/compiler.h>
10#include <asm/io.h>
11
12#define __ide_mm_insw(p, a, c)	readsw((void __iomem *)(p), (a), (c))
13#define __ide_mm_insl(p, a, c)	readsl((void __iomem *)(p), (a), (c))
14#define __ide_mm_outsw(p, a, c)	writesw((void __iomem *)(p), (a), (c))
15#define __ide_mm_outsl(p, a, c)	writesl((void __iomem *)(p), (a), (c))
16
17#endif /* _ASM_POWERPC_IDE_H */