#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/wait.h>
#include <asm/io.h>
#include "paride.h"
Go to the source code of this file.
|
#define | EPIA_VERSION "1.02" |
|
#define | j44(a, b) (((a>>4)&0x0f)+(b&0xf0)) |
|
#define | j53(a, b) (((a>>3)&0x1f)+((b<<4)&0xe0)) |
|
#define | WR(r, v) epia_write_regr(pi,0,r,v) |
|
#define | RR(r) (epia_read_regr(pi,0,r)) |
|
#define EPIA_VERSION "1.02" |
#define j44 |
( |
|
a, |
|
|
|
b |
|
) |
| (((a>>4)&0x0f)+(b&0xf0)) |
#define j53 |
( |
|
a, |
|
|
|
b |
|
) |
| (((a>>3)&0x1f)+((b<<4)&0xe0)) |
#define RR |
( |
|
r | ) |
(epia_read_regr(pi,0,r)) |
#define WR |
( |
|
r, |
|
|
|
v |
|
) |
| epia_write_regr(pi,0,r,v) |