Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

parport.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PARPORT_MAX   8
#define PARPORT_IRQ_NONE   -1
#define PARPORT_DMA_NONE   -1
#define PARPORT_IRQ_AUTO   -2
#define PARPORT_DMA_AUTO   -2
#define PARPORT_DISABLE   -2
#define PARPORT_IRQ_PROBEONLY   -3
#define PARPORT_CONTROL_STROBE   0x1
#define PARPORT_CONTROL_AUTOFD   0x2
#define PARPORT_CONTROL_INIT   0x4
#define PARPORT_CONTROL_SELECT   0x8
#define PARPORT_CONTROL_INTEN   0x10
#define PARPORT_CONTROL_DIRECTION   0x20
#define PARPORT_STATUS_ERROR   0x8
#define PARPORT_STATUS_SELECT   0x10
#define PARPORT_STATUS_PAPEROUT   0x20
#define PARPORT_STATUS_ACK   0x40
#define PARPORT_STATUS_BUSY   0x80
#define PARPORT_MODE_PCSPP   0x0001
#define PARPORT_MODE_PCPS2   0x0002
#define PARPORT_MODE_PCEPP   0x0004
#define PARPORT_MODE_PCECP   0x0008
#define PARPORT_MODE_PCECPEPP   0x0010
#define PARPORT_MODE_PCECR   0x0020
#define PARPORT_MODE_PCECPPS2   0x0040

Enumerations

enum  parport_device_class {
  PARPORT_CLASS_LEGACY = 0, PARPORT_CLASS_PRINTER, PARPORT_CLASS_MODEM, PARPORT_CLASS_NET,
  PARPORT_CLASS_HDC, PARPORT_CLASS_PCMCIA, PARPORT_CLASS_MEDIA, PARPORT_CLASS_FDC,
  PARPORT_CLASS_PORTS, PARPORT_CLASS_SCANNER, PARPORT_CLASS_DIGCAM, PARPORT_CLASS_OTHER,
  PARPORT_CLASS_UNSPEC
}


Define Documentation

#define PARPORT_CONTROL_AUTOFD   0x2
 

Definition at line 20 of file parport.h.

Referenced by control_mfc3_to_pc(), and control_pc_to_mfc3().

#define PARPORT_CONTROL_DIRECTION   0x20
 

Definition at line 24 of file parport.h.

Referenced by control_pc_to_mfc3().

#define PARPORT_CONTROL_INIT   0x4
 

Definition at line 21 of file parport.h.

Referenced by control_mfc3_to_pc(), control_pc_to_mfc3(), and cpia_pp_open().

#define PARPORT_CONTROL_INTEN   0x10
 

Definition at line 23 of file parport.h.

Referenced by control_mfc3_to_pc(), and control_pc_to_mfc3().

#define PARPORT_CONTROL_SELECT   0x8
 

Definition at line 22 of file parport.h.

Referenced by control_mfc3_to_pc(), control_pc_to_mfc3(), and cpia_pp_open().

#define PARPORT_CONTROL_STROBE   0x1
 

Definition at line 19 of file parport.h.

Referenced by control_amiga_to_pc(), control_mfc3_to_pc(), control_pc_to_mfc3(), parport_atari_read_control(), and parport_atari_write_control().

#define PARPORT_DISABLE   -2
 

Definition at line 16 of file parport.h.

Referenced by __initfunc().

#define PARPORT_DMA_AUTO   -2
 

Definition at line 15 of file parport.h.

Referenced by __initfunc(), init_one_port(), and probe_one_port().

#define PARPORT_DMA_NONE   -1
 

Definition at line 13 of file parport.h.

Referenced by __initfunc(), cpia_pp_register(), init_one_port(), parport_arc_init(), parport_atari_init(), probe_one_port(), and uss720_probe().

#define PARPORT_IRQ_AUTO   -2
 

Definition at line 14 of file parport.h.

Referenced by __initfunc(), parport_parse_irqs(), parport_pc_init_pci(), and probe_one_port().

#define PARPORT_IRQ_NONE   -1
 

Definition at line 12 of file parport.h.

Referenced by __initfunc(), amiga_release_resources(), cpia_pp_close(), cpia_pp_register(), cpia_pp_registerCallback(), init_one_port(), irq_probe_ECP(), irq_probe_EPP(), irq_probe_SPP(), lp_register(), mfc3_claim_resources(), mfc3_release_resources(), parport_atari_release_resources(), parport_ax_claim_resources(), parport_ax_release_resources(), parport_claim(), parport_irq_probe(), parport_parse_irqs(), parport_pc_claim_resources(), parport_pc_release_resources(), parport_release(), probe_one_port(), programmable_irq_support(), and uss720_probe().

#define PARPORT_IRQ_PROBEONLY   -3
 

Definition at line 17 of file parport.h.

Referenced by probe_one_port().

#define PARPORT_MAX   8
 

Definition at line 9 of file parport.h.

Referenced by __initfunc(), and cpia_pp_init().

#define PARPORT_MODE_PCECP   0x0008
 

Definition at line 57 of file parport.h.

Referenced by cpia_pp_register(), init_one_port(), parport_ECP_supported(), parport_irq_probe(), and probe_one_port().

#define PARPORT_MODE_PCECPEPP   0x0010
 

Definition at line 58 of file parport.h.

Referenced by epp_open(), imm_detect(), parport_ECPEPP_supported(), parport_irq_probe(), ppa_detect(), and probe_one_port().

#define PARPORT_MODE_PCECPPS2   0x0040
 

Definition at line 60 of file parport.h.

Referenced by imm_detect(), js_db9_probe(), parport_ECPPS2_supported(), and ppa_detect().

#define PARPORT_MODE_PCECR   0x0020
 

Definition at line 59 of file parport.h.

Referenced by cpia_pp_open(), irq_probe_EPP(), irq_probe_SPP(), parport_ax_claim_resources(), parport_ax_release_resources(), parport_ECP_supported(), parport_ECPEPP_supported(), parport_ECPPS2_supported(), parport_ECR_present(), parport_irq_probe(), parport_pc_claim_resources(), parport_pc_release_resources(), parport_pc_restore_state(), parport_pc_save_state(), and probe_one_port().

#define PARPORT_MODE_PCEPP   0x0004
 

Definition at line 56 of file parport.h.

Referenced by epp_open(), parport_EPP_supported(), parport_irq_probe(), and probe_one_port().

#define PARPORT_MODE_PCPS2   0x0002
 

Definition at line 55 of file parport.h.

Referenced by imm_detect(), js_db9_probe(), parport_PS2_supported(), ppa_detect(), and qcam_init().

#define PARPORT_MODE_PCSPP   0x0001
 

Definition at line 54 of file parport.h.

Referenced by init_one_port(), parport_SPP_supported(), probe_one_port(), and uss720_probe().

#define PARPORT_STATUS_ACK   0x40
 

Definition at line 29 of file parport.h.

Referenced by parport_ieee1284_nibble_mode_ok(), status_amiga_to_pc(), status_mfc3_to_pc(), status_pc_to_amiga(), and status_pc_to_mfc3().

#define PARPORT_STATUS_BUSY   0x80
 

Definition at line 30 of file parport.h.

Referenced by parport_atari_read_status(), status_amiga_to_pc(), status_mfc3_to_pc(), status_pc_to_amiga(), and status_pc_to_mfc3().

#define PARPORT_STATUS_ERROR   0x8
 

Definition at line 26 of file parport.h.

Referenced by parport_atari_read_status(), parport_ieee1284_nibble_mode_ok(), status_amiga_to_pc(), status_mfc3_to_pc(), status_pc_to_amiga(), and status_pc_to_mfc3().

#define PARPORT_STATUS_PAPEROUT   0x20
 

Definition at line 28 of file parport.h.

Referenced by status_amiga_to_pc(), status_mfc3_to_pc(), status_pc_to_amiga(), and status_pc_to_mfc3().

#define PARPORT_STATUS_SELECT   0x10
 

Definition at line 27 of file parport.h.

Referenced by parport_atari_read_status(), status_amiga_to_pc(), status_mfc3_to_pc(), status_pc_to_amiga(), and status_pc_to_mfc3().


Enumeration Type Documentation

enum parport_device_class
 

Enumeration values:
PARPORT_CLASS_LEGACY 
PARPORT_CLASS_PRINTER 
PARPORT_CLASS_MODEM 
PARPORT_CLASS_NET 
PARPORT_CLASS_HDC 
PARPORT_CLASS_PCMCIA 
PARPORT_CLASS_MEDIA 
PARPORT_CLASS_FDC 
PARPORT_CLASS_PORTS 
PARPORT_CLASS_SCANNER 
PARPORT_CLASS_DIGCAM 
PARPORT_CLASS_OTHER 
PARPORT_CLASS_UNSPEC 

Definition at line 33 of file parport.h.