Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
paride.c File Reference
#include <linux/module.h>
#include <linux/kmod.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/string.h>
#include <linux/spinlock.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/parport.h>
#include "paride.h"

Go to the source code of this file.

Macros

#define PI_VERSION   "1.06"
 
#define MAX_PROTOS   32
 

Functions

 MODULE_LICENSE ("GPL")
 
void pi_write_regr (PIA *pi, int cont, int regr, int val)
 
 EXPORT_SYMBOL (pi_write_regr)
 
int pi_read_regr (PIA *pi, int cont, int regr)
 
 EXPORT_SYMBOL (pi_read_regr)
 
void pi_write_block (PIA *pi, char *buf, int count)
 
 EXPORT_SYMBOL (pi_write_block)
 
void pi_read_block (PIA *pi, char *buf, int count)
 
 EXPORT_SYMBOL (pi_read_block)
 
int pi_schedule_claimed (PIA *pi, void(*cont)(void))
 
 EXPORT_SYMBOL (pi_schedule_claimed)
 
void pi_do_claimed (PIA *pi, void(*cont)(void))
 
 EXPORT_SYMBOL (pi_do_claimed)
 
void pi_connect (PIA *pi)
 
 EXPORT_SYMBOL (pi_connect)
 
void pi_disconnect (PIA *pi)
 
 EXPORT_SYMBOL (pi_disconnect)
 
void pi_release (PIA *pi)
 
 EXPORT_SYMBOL (pi_release)
 
int paride_register (PIP *pr)
 
 EXPORT_SYMBOL (paride_register)
 
void paride_unregister (PIP *pr)
 
 EXPORT_SYMBOL (paride_unregister)
 
int pi_init (PIA *pi, int autoprobe, int port, int mode, int unit, int protocol, int delay, char *scratch, int devtype, int verbose, char *device)
 
 EXPORT_SYMBOL (pi_init)
 

Macro Definition Documentation

#define MAX_PROTOS   32

Definition at line 38 of file paride.c.

#define PI_VERSION   "1.06"

Definition at line 21 of file paride.c.

Function Documentation

EXPORT_SYMBOL ( pi_write_regr  )
EXPORT_SYMBOL ( pi_read_regr  )
EXPORT_SYMBOL ( pi_write_block  )
EXPORT_SYMBOL ( pi_read_block  )
EXPORT_SYMBOL ( pi_schedule_claimed  )
EXPORT_SYMBOL ( pi_do_claimed  )
EXPORT_SYMBOL ( pi_connect  )
EXPORT_SYMBOL ( pi_disconnect  )
EXPORT_SYMBOL ( pi_release  )
EXPORT_SYMBOL ( paride_register  )
EXPORT_SYMBOL ( paride_unregister  )
EXPORT_SYMBOL ( pi_init  )
MODULE_LICENSE ( "GPL"  )
int paride_register ( PIP pr)

Definition at line 209 of file paride.c.

void paride_unregister ( PIP pr)

Definition at line 234 of file paride.c.

void pi_connect ( PIA pi)

Definition at line 135 of file paride.c.

void pi_disconnect ( PIA pi)

Definition at line 143 of file paride.c.

void pi_do_claimed ( PIA pi,
void(*)(void cont 
)

Definition at line 110 of file paride.c.

int pi_init ( PIA pi,
int  autoprobe,
int  port,
int  mode,
int  unit,
int  protocol,
int  delay,
char scratch,
int  devtype,
int  verbose,
char device 
)

Definition at line 347 of file paride.c.

void pi_read_block ( PIA pi,
char buf,
int  count 
)

Definition at line 65 of file paride.c.

int pi_read_regr ( PIA pi,
int  cont,
int  regr 
)

Definition at line 51 of file paride.c.

void pi_release ( PIA pi)

Definition at line 159 of file paride.c.

int pi_schedule_claimed ( PIA pi,
void(*)(void cont 
)

Definition at line 94 of file paride.c.

void pi_write_block ( PIA pi,
char buf,
int  count 
)

Definition at line 58 of file paride.c.

void pi_write_regr ( PIA pi,
int  cont,
int  regr,
int  val 
)

Definition at line 44 of file paride.c.