Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
parport_pc.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/interrupt.h>
#include <linux/ioport.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <linux/pci.h>
#include <linux/pnp.h>
#include <linux/platform_device.h>
#include <linux/sysctl.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <asm/dma.h>
#include <linux/parport.h>
#include <linux/parport_pc.h>
#include <linux/via.h>
#include <asm/parport.h>

Go to the source code of this file.

Data Structures

struct  superio_struct
 

Macros

#define PARPORT_PC_MAX_PORTS   PARPORT_MAX
 
#define ECR_SPP   00
 
#define ECR_PS2   01
 
#define ECR_PPF   02
 
#define ECR_ECP   03
 
#define ECR_EPP   04
 
#define ECR_VND   05
 
#define ECR_TST   06
 
#define ECR_CNF   07
 
#define ECR_MODE_MASK   0xe0
 
#define ECR_WRITE(p, v)   frob_econtrol((p), 0xff, (v))
 
#define DPRINTK(stuff...)
 
#define NR_SUPERIOS   3
 
#define printmode(x)
 

Functions

struct parportparport_pc_probe_port (unsigned long int base, unsigned long int base_hi, int irq, int dma, struct device *dev, int irqflags)
 
 EXPORT_SYMBOL (parport_pc_probe_port)
 
void parport_pc_unregister_port (struct parport *p)
 
 EXPORT_SYMBOL (parport_pc_unregister_port)
 
 __setup ("parport=", parport_setup)
 
 MODULE_AUTHOR ("Phil Blundell, Tim Waugh, others")
 
 MODULE_DESCRIPTION ("PC-style parallel port driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DPRINTK (   stuff...)

Definition at line 92 of file parport_pc.c.

#define ECR_CNF   07

Definition at line 83 of file parport_pc.c.

#define ECR_ECP   03

Definition at line 79 of file parport_pc.c.

#define ECR_EPP   04

Definition at line 80 of file parport_pc.c.

#define ECR_MODE_MASK   0xe0

Definition at line 84 of file parport_pc.c.

#define ECR_PPF   02

Definition at line 78 of file parport_pc.c.

#define ECR_PS2   01

Definition at line 77 of file parport_pc.c.

#define ECR_SPP   00

Definition at line 76 of file parport_pc.c.

#define ECR_TST   06

Definition at line 82 of file parport_pc.c.

#define ECR_VND   05

Definition at line 81 of file parport_pc.c.

#define ECR_WRITE (   p,
  v 
)    frob_econtrol((p), 0xff, (v))

Definition at line 85 of file parport_pc.c.

#define NR_SUPERIOS   3

Definition at line 96 of file parport_pc.c.

#define PARPORT_PC_MAX_PORTS   PARPORT_MAX

Definition at line 69 of file parport_pc.c.

#define printmode (   x)
Value:
{\
if (p->modes & PARPORT_MODE_##x) {\
printk(KERN_CONT "%s%s", f ? "," : "", #x);\
f++;\
} \
}

Function Documentation

__setup ( )
EXPORT_SYMBOL ( parport_pc_probe_port  )
EXPORT_SYMBOL ( parport_pc_unregister_port  )
MODULE_AUTHOR ( "Phil  Blundell,
Tim  Waugh,
others"   
)
MODULE_DESCRIPTION ( "PC-style parallel port driver )
MODULE_LICENSE ( "GPL"  )
struct parport* parport_pc_probe_port ( unsigned long int  base,
unsigned long int  base_hi,
int  irq,
int  dma,
struct device dev,
int  irqflags 
)
read

Definition at line 1994 of file parport_pc.c.

void parport_pc_unregister_port ( struct parport p)

Definition at line 2237 of file parport_pc.c.