Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
atari_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)   ((Scsi_Cmnd *)(cmd)->host_scribble)
 
#define SET_NEXT(cmd, next)   ((cmd)->host_scribble = (void *)(next))
 
#define NEXTADDR(cmd)   ((Scsi_Cmnd **)&(cmd)->host_scribble)
 
#define HOSTNO   instance->host_no
 
#define H_NO(cmd)   (cmd)->device->host->host_no
 
#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 280 of file atari_NCR5380.c.

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

Definition at line 273 of file atari_NCR5380.c.

#define HOSTNO   instance->host_no

Definition at line 279 of file atari_NCR5380.c.

#define LIST (   x,
  y 
)

Definition at line 96 of file atari_NCR5380.c.

#define NEXT (   cmd)    ((Scsi_Cmnd *)(cmd)->host_scribble)

Definition at line 275 of file atari_NCR5380.c.

#define NEXTADDR (   cmd)    ((Scsi_Cmnd **)&(cmd)->host_scribble)

Definition at line 277 of file atari_NCR5380.c.

#define REMOVE (   w,
  x,
  y,
 
)

Definition at line 97 of file atari_NCR5380.c.

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

Definition at line 276 of file atari_NCR5380.c.

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

Definition at line 270 of file atari_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 758 of file atari_NCR5380.c.