Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
g_NCR5380.h File Reference

Go to the source code of this file.

Macros

#define GENERIC_NCR5380_PUBLIC_RELEASE   1
 
#define NCR5380_BIOSPARAM   NULL
 
#define CMD_PER_LUN   2
 
#define CAN_QUEUE   16
 
#define __STRVAL(x)   #x
 
#define STRVAL(x)   __STRVAL(x)
 
#define NCR5380_map_config   port
 
#define NCR5380_map_type   int
 
#define NCR5380_map_name   port
 
#define NCR5380_instance_name   io_port
 
#define NCR53C400_register_offset   0
 
#define NCR53C400_address_adjust   8
 
#define NCR5380_region_size   8
 
#define NCR5380_read(reg)   (inb(NCR5380_map_name + (reg)))
 
#define NCR5380_write(reg, value)   (outb((value), (NCR5380_map_name + (reg))))
 
#define NCR5380_implementation_fields   NCR5380_map_type NCR5380_map_name
 
#define NCR5380_local_declare()   register NCR5380_implementation_fields
 
#define NCR5380_setup(instance)   NCR5380_map_name = (NCR5380_map_type)((instance)->NCR5380_instance_name)
 
#define NCR5380_intr   generic_NCR5380_intr
 
#define NCR5380_queue_command   generic_NCR5380_queue_command
 
#define NCR5380_abort   generic_NCR5380_abort
 
#define NCR5380_bus_reset   generic_NCR5380_bus_reset
 
#define NCR5380_pread   generic_NCR5380_pread
 
#define NCR5380_pwrite   generic_NCR5380_pwrite
 
#define NCR5380_proc_info   notyet_generic_proc_info
 
#define BOARD_NCR5380   0
 
#define BOARD_NCR53C400   1
 
#define BOARD_NCR53C400A   2
 
#define BOARD_DTC3181E   3
 

Macro Definition Documentation

#define __STRVAL (   x)    #x

Definition at line 63 of file g_NCR5380.h.

#define BOARD_DTC3181E   3

Definition at line 132 of file g_NCR5380.h.

#define BOARD_NCR5380   0

Definition at line 129 of file g_NCR5380.h.

#define BOARD_NCR53C400   1

Definition at line 130 of file g_NCR5380.h.

#define BOARD_NCR53C400A   2

Definition at line 131 of file g_NCR5380.h.

#define CAN_QUEUE   16

Definition at line 58 of file g_NCR5380.h.

#define CMD_PER_LUN   2

Definition at line 54 of file g_NCR5380.h.

#define GENERIC_NCR5380_PUBLIC_RELEASE   1

Definition at line 36 of file g_NCR5380.h.

#define NCR5380_abort   generic_NCR5380_abort

Definition at line 123 of file g_NCR5380.h.

#define NCR5380_BIOSPARAM   NULL

Definition at line 42 of file g_NCR5380.h.

#define NCR5380_bus_reset   generic_NCR5380_bus_reset

Definition at line 124 of file g_NCR5380.h.

#define NCR5380_implementation_fields   NCR5380_map_type NCR5380_map_name

Definition at line 84 of file g_NCR5380.h.

#define NCR5380_instance_name   io_port

Definition at line 71 of file g_NCR5380.h.

#define NCR5380_intr   generic_NCR5380_intr

Definition at line 121 of file g_NCR5380.h.

#define NCR5380_local_declare ( )    register NCR5380_implementation_fields

Definition at line 87 of file g_NCR5380.h.

#define NCR5380_map_config   port

Definition at line 68 of file g_NCR5380.h.

#define NCR5380_map_name   port

Definition at line 70 of file g_NCR5380.h.

#define NCR5380_map_type   int

Definition at line 69 of file g_NCR5380.h.

#define NCR5380_pread   generic_NCR5380_pread

Definition at line 125 of file g_NCR5380.h.

#define NCR5380_proc_info   notyet_generic_proc_info

Definition at line 127 of file g_NCR5380.h.

#define NCR5380_pwrite   generic_NCR5380_pwrite

Definition at line 126 of file g_NCR5380.h.

#define NCR5380_queue_command   generic_NCR5380_queue_command

Definition at line 122 of file g_NCR5380.h.

#define NCR5380_read (   reg)    (inb(NCR5380_map_name + (reg)))

Definition at line 81 of file g_NCR5380.h.

#define NCR5380_region_size   8

Definition at line 78 of file g_NCR5380.h.

#define NCR5380_setup (   instance)    NCR5380_map_name = (NCR5380_map_type)((instance)->NCR5380_instance_name)

Definition at line 90 of file g_NCR5380.h.

#define NCR5380_write (   reg,
  value 
)    (outb((value), (NCR5380_map_name + (reg))))

Definition at line 82 of file g_NCR5380.h.

#define NCR53C400_address_adjust   8

Definition at line 73 of file g_NCR5380.h.

#define NCR53C400_register_offset   0

Definition at line 72 of file g_NCR5380.h.

#define STRVAL (   x)    __STRVAL(x)

Definition at line 64 of file g_NCR5380.h.