Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
parport_pc.h File Reference
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  parport_pc_private
 
struct  parport_pc_via_data
 

Macros

#define ECONTROL(p)   ((p)->base_hi + 0x2)
 
#define CONFIGB(p)   ((p)->base_hi + 0x1)
 
#define CONFIGA(p)   ((p)->base_hi + 0x0)
 
#define FIFO(p)   ((p)->base_hi + 0x0)
 
#define EPPDATA(p)   ((p)->base + 0x4)
 
#define EPPADDR(p)   ((p)->base + 0x3)
 
#define CONTROL(p)   ((p)->base + 0x2)
 
#define STATUS(p)   ((p)->base + 0x1)
 
#define DATA(p)   ((p)->base + 0x0)
 
#define dump_parport_state(args...)
 

Functions

void parport_pc_release_resources (struct parport *p)
 
int parport_pc_claim_resources (struct parport *p)
 
struct parportparport_pc_probe_port (unsigned long base, unsigned long base_hi, int irq, int dma, struct device *dev, int irqflags)
 
void parport_pc_unregister_port (struct parport *p)
 

Macro Definition Documentation

#define CONFIGA (   p)    ((p)->base_hi + 0x0)

Definition at line 10 of file parport_pc.h.

#define CONFIGB (   p)    ((p)->base_hi + 0x1)

Definition at line 9 of file parport_pc.h.

#define CONTROL (   p)    ((p)->base + 0x2)

Definition at line 14 of file parport_pc.h.

#define DATA (   p)    ((p)->base + 0x0)

Definition at line 16 of file parport_pc.h.

#define dump_parport_state (   args...)

Definition at line 122 of file parport_pc.h.

#define ECONTROL (   p)    ((p)->base_hi + 0x2)

Definition at line 8 of file parport_pc.h.

#define EPPADDR (   p)    ((p)->base + 0x3)

Definition at line 13 of file parport_pc.h.

#define EPPDATA (   p)    ((p)->base + 0x4)

Definition at line 12 of file parport_pc.h.

#define FIFO (   p)    ((p)->base_hi + 0x0)

Definition at line 11 of file parport_pc.h.

#define STATUS (   p)    ((p)->base + 0x1)

Definition at line 15 of file parport_pc.h.

Function Documentation

int parport_pc_claim_resources ( struct parport p)
struct parport* parport_pc_probe_port ( unsigned long  base,
unsigned long  base_hi,
int  irq,
int  dma,
struct device dev,
int  irqflags 
)
read
void parport_pc_release_resources ( struct parport p)
void parport_pc_unregister_port ( struct parport p)

Definition at line 2237 of file parport_pc.c.