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

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

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