Linux Audio

Check our new training course

Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 *  arch/arm/include/asm/ide.h
 4 *
 5 *  Copyright (C) 1994-1996  Linus Torvalds & authors
 6 */
 7
 8/*
 9 *  This file contains the ARM architecture specific IDE code.
10 */
11
12#ifndef __ASMARM_IDE_H
13#define __ASMARM_IDE_H
14
15#ifdef __KERNEL__
16
17#define __ide_mm_insw(port,addr,len)	readsw(port,addr,len)
18#define __ide_mm_insl(port,addr,len)	readsl(port,addr,len)
19#define __ide_mm_outsw(port,addr,len)	writesw(port,addr,len)
20#define __ide_mm_outsl(port,addr,len)	writesl(port,addr,len)
21
22#endif /* __KERNEL__ */
23
24#endif /* __ASMARM_IDE_H */
v3.5.6
 
 1/*
 2 *  arch/arm/include/asm/ide.h
 3 *
 4 *  Copyright (C) 1994-1996  Linus Torvalds & authors
 5 */
 6
 7/*
 8 *  This file contains the ARM architecture specific IDE code.
 9 */
10
11#ifndef __ASMARM_IDE_H
12#define __ASMARM_IDE_H
13
14#ifdef __KERNEL__
15
16#define __ide_mm_insw(port,addr,len)	readsw(port,addr,len)
17#define __ide_mm_insl(port,addr,len)	readsl(port,addr,len)
18#define __ide_mm_outsw(port,addr,len)	writesw(port,addr,len)
19#define __ide_mm_outsl(port,addr,len)	writesl(port,addr,len)
20
21#endif /* __KERNEL__ */
22
23#endif /* __ASMARM_IDE_H */