Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
sun3_NCR5380.c File Reference
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_transport_spi.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/workqueue.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Macros

#define LIST(x, y)
 
#define REMOVE(w, x, y, z)
 
#define SETUP_HOSTDATA(in)
 
#define HOSTDATA(in)   ((struct NCR5380_hostdata *)(in)->hostdata)
 
#define NEXT(cmd)   ((struct scsi_cmnd *)(cmd)->host_scribble)
 
#define SET_NEXT(cmd, next)   ((cmd)->host_scribble = (void *)(next))
 
#define NEXTADDR(cmd)   ((struct scsi_cmnd **)&((cmd)->host_scribble))
 
#define HOSTNO   instance->host_no
 
#define H_NO(cmd)   (cmd)->device->host->host_no
 
#define SGADDR(buffer)   (void *)(((unsigned long)sg_virt(((buffer)))))
 
#define SPRINTF(fmt, args...)
 
#define check_offset()
 

Macro Definition Documentation

#define check_offset ( )
Value:
do { \
if (pos - buffer < offset - begin) { \
begin += pos - buffer; \
pos = buffer; \
} \
} while (0)
#define H_NO (   cmd)    (cmd)->device->host->host_no

Definition at line 267 of file sun3_NCR5380.c.

#define HOSTDATA (   in)    ((struct NCR5380_hostdata *)(in)->hostdata)

Definition at line 260 of file sun3_NCR5380.c.

#define HOSTNO   instance->host_no

Definition at line 266 of file sun3_NCR5380.c.

#define LIST (   x,
  y 
)

Definition at line 83 of file sun3_NCR5380.c.

#define NEXT (   cmd)    ((struct scsi_cmnd *)(cmd)->host_scribble)

Definition at line 262 of file sun3_NCR5380.c.

#define NEXTADDR (   cmd)    ((struct scsi_cmnd **)&((cmd)->host_scribble))

Definition at line 264 of file sun3_NCR5380.c.

#define REMOVE (   w,
  x,
  y,
 
)

Definition at line 84 of file sun3_NCR5380.c.

#define SET_NEXT (   cmd,
  next 
)    ((cmd)->host_scribble = (void *)(next))

Definition at line 263 of file sun3_NCR5380.c.

#define SETUP_HOSTDATA (   in)
Value:
(struct NCR5380_hostdata *)(in)->hostdata

Definition at line 257 of file sun3_NCR5380.c.

#define SGADDR (   buffer)    (void *)(((unsigned long)sg_virt(((buffer)))))

Definition at line 269 of file sun3_NCR5380.c.

#define SPRINTF (   fmt,
  args... 
)
Value:
do { if (pos + strlen(fmt) + 20 /* slop */ < buffer + length) \
pos += sprintf(pos, fmt , ## args); } while(0)

Definition at line 700 of file sun3_NCR5380.c.

Variable Documentation

unsigned char mask

Definition at line 489 of file sun3_NCR5380.c.

const char* name

Definition at line 490 of file sun3_NCR5380.c.

unsigned char value

Definition at line 545 of file sun3_NCR5380.c.