Linux Audio

Check our new training course

Loading...
v3.5.6
 1/*
 2 * Trivial I/O routine definitions, intentionally meant to be included
 3 * multiple times. Ugly I/O routine concatenation helpers taken from
 4 * alpha. Must be included _before_ io.h to avoid preprocessor-induced
 5 * routine mismatch.
 6 */
 7#define IO_CONCAT(a,b)	_IO_CONCAT(a,b)
 8#define _IO_CONCAT(a,b)	a ## _ ## b
 9
10#ifndef __IO_PREFIX
11#error "Don't include this header without a valid system prefix"
12#endif
13
14void __iomem *IO_CONCAT(__IO_PREFIX,ioport_map)(unsigned long addr, unsigned int size);
15void IO_CONCAT(__IO_PREFIX,ioport_unmap)(void __iomem *addr);
16void IO_CONCAT(__IO_PREFIX,mem_init)(void);
17
18#undef __IO_PREFIX
v3.1
 1/*
 2 * Trivial I/O routine definitions, intentionally meant to be included
 3 * multiple times. Ugly I/O routine concatenation helpers taken from
 4 * alpha. Must be included _before_ io.h to avoid preprocessor-induced
 5 * routine mismatch.
 6 */
 7#define IO_CONCAT(a,b)	_IO_CONCAT(a,b)
 8#define _IO_CONCAT(a,b)	a ## _ ## b
 9
10#ifndef __IO_PREFIX
11#error "Don't include this header without a valid system prefix"
12#endif
13
14void __iomem *IO_CONCAT(__IO_PREFIX,ioport_map)(unsigned long addr, unsigned int size);
15void IO_CONCAT(__IO_PREFIX,ioport_unmap)(void __iomem *addr);
16void IO_CONCAT(__IO_PREFIX,mem_init)(void);
17
18#undef __IO_PREFIX