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

Go to the source code of this file.

Macros

#define IXGBE_VFCTRL   0x00000
 
#define IXGBE_VFSTATUS   0x00008
 
#define IXGBE_VFLINKS   0x00010
 
#define IXGBE_VFFRTIMER   0x00048
 
#define IXGBE_VFRXMEMWRAP   0x03190
 
#define IXGBE_VTEICR   0x00100
 
#define IXGBE_VTEICS   0x00104
 
#define IXGBE_VTEIMS   0x00108
 
#define IXGBE_VTEIMC   0x0010C
 
#define IXGBE_VTEIAC   0x00110
 
#define IXGBE_VTEIAM   0x00114
 
#define IXGBE_VTEITR(x)   (0x00820 + (4 * (x)))
 
#define IXGBE_VTIVAR(x)   (0x00120 + (4 * (x)))
 
#define IXGBE_VTIVAR_MISC   0x00140
 
#define IXGBE_VTRSCINT(x)   (0x00180 + (4 * (x)))
 
#define IXGBE_VFRDBAL(x)   (0x01000 + (0x40 * (x)))
 
#define IXGBE_VFRDBAH(x)   (0x01004 + (0x40 * (x)))
 
#define IXGBE_VFRDLEN(x)   (0x01008 + (0x40 * (x)))
 
#define IXGBE_VFRDH(x)   (0x01010 + (0x40 * (x)))
 
#define IXGBE_VFRDT(x)   (0x01018 + (0x40 * (x)))
 
#define IXGBE_VFRXDCTL(x)   (0x01028 + (0x40 * (x)))
 
#define IXGBE_VFSRRCTL(x)   (0x01014 + (0x40 * (x)))
 
#define IXGBE_VFRSCCTL(x)   (0x0102C + (0x40 * (x)))
 
#define IXGBE_VFPSRTYPE   0x00300
 
#define IXGBE_VFTDBAL(x)   (0x02000 + (0x40 * (x)))
 
#define IXGBE_VFTDBAH(x)   (0x02004 + (0x40 * (x)))
 
#define IXGBE_VFTDLEN(x)   (0x02008 + (0x40 * (x)))
 
#define IXGBE_VFTDH(x)   (0x02010 + (0x40 * (x)))
 
#define IXGBE_VFTDT(x)   (0x02018 + (0x40 * (x)))
 
#define IXGBE_VFTXDCTL(x)   (0x02028 + (0x40 * (x)))
 
#define IXGBE_VFTDWBAL(x)   (0x02038 + (0x40 * (x)))
 
#define IXGBE_VFTDWBAH(x)   (0x0203C + (0x40 * (x)))
 
#define IXGBE_VFDCA_RXCTRL(x)   (0x0100C + (0x40 * (x)))
 
#define IXGBE_VFDCA_TXCTRL(x)   (0x0200c + (0x40 * (x)))
 
#define IXGBE_VFGPRC   0x0101C
 
#define IXGBE_VFGPTC   0x0201C
 
#define IXGBE_VFGORC_LSB   0x01020
 
#define IXGBE_VFGORC_MSB   0x01024
 
#define IXGBE_VFGOTC_LSB   0x02020
 
#define IXGBE_VFGOTC_MSB   0x02024
 
#define IXGBE_VFMPRC   0x01034
 
#define IXGBE_WRITE_REG(a, reg, value)   writel((value), ((a)->hw_addr + (reg)))
 
#define IXGBE_READ_REG(a, reg)   readl((a)->hw_addr + (reg))
 
#define IXGBE_WRITE_REG_ARRAY(a, reg, offset, value)
 
#define IXGBE_READ_REG_ARRAY(a, reg, offset)
 
#define IXGBE_WRITE_FLUSH(a)   (IXGBE_READ_REG(a, IXGBE_VFSTATUS))
 

Macro Definition Documentation

#define IXGBE_READ_REG (   a,
  reg 
)    readl((a)->hw_addr + (reg))

Definition at line 75 of file regs.h.

#define IXGBE_READ_REG_ARRAY (   a,
  reg,
  offset 
)
Value:
( \
readl((a)->hw_addr + (reg) + ((offset) << 2)))

Definition at line 80 of file regs.h.

#define IXGBE_VFCTRL   0x00000

Definition at line 31 of file regs.h.

#define IXGBE_VFDCA_RXCTRL (   x)    (0x0100C + (0x40 * (x)))

Definition at line 63 of file regs.h.

#define IXGBE_VFDCA_TXCTRL (   x)    (0x0200c + (0x40 * (x)))

Definition at line 64 of file regs.h.

#define IXGBE_VFFRTIMER   0x00048

Definition at line 34 of file regs.h.

#define IXGBE_VFGORC_LSB   0x01020

Definition at line 67 of file regs.h.

#define IXGBE_VFGORC_MSB   0x01024

Definition at line 68 of file regs.h.

#define IXGBE_VFGOTC_LSB   0x02020

Definition at line 69 of file regs.h.

#define IXGBE_VFGOTC_MSB   0x02024

Definition at line 70 of file regs.h.

#define IXGBE_VFGPRC   0x0101C

Definition at line 65 of file regs.h.

#define IXGBE_VFGPTC   0x0201C

Definition at line 66 of file regs.h.

#define IXGBE_VFLINKS   0x00010

Definition at line 33 of file regs.h.

#define IXGBE_VFMPRC   0x01034

Definition at line 71 of file regs.h.

#define IXGBE_VFPSRTYPE   0x00300

Definition at line 54 of file regs.h.

#define IXGBE_VFRDBAH (   x)    (0x01004 + (0x40 * (x)))

Definition at line 47 of file regs.h.

#define IXGBE_VFRDBAL (   x)    (0x01000 + (0x40 * (x)))

Definition at line 46 of file regs.h.

#define IXGBE_VFRDH (   x)    (0x01010 + (0x40 * (x)))

Definition at line 49 of file regs.h.

#define IXGBE_VFRDLEN (   x)    (0x01008 + (0x40 * (x)))

Definition at line 48 of file regs.h.

#define IXGBE_VFRDT (   x)    (0x01018 + (0x40 * (x)))

Definition at line 50 of file regs.h.

#define IXGBE_VFRSCCTL (   x)    (0x0102C + (0x40 * (x)))

Definition at line 53 of file regs.h.

#define IXGBE_VFRXDCTL (   x)    (0x01028 + (0x40 * (x)))

Definition at line 51 of file regs.h.

#define IXGBE_VFRXMEMWRAP   0x03190

Definition at line 35 of file regs.h.

#define IXGBE_VFSRRCTL (   x)    (0x01014 + (0x40 * (x)))

Definition at line 52 of file regs.h.

#define IXGBE_VFSTATUS   0x00008

Definition at line 32 of file regs.h.

#define IXGBE_VFTDBAH (   x)    (0x02004 + (0x40 * (x)))

Definition at line 56 of file regs.h.

#define IXGBE_VFTDBAL (   x)    (0x02000 + (0x40 * (x)))

Definition at line 55 of file regs.h.

#define IXGBE_VFTDH (   x)    (0x02010 + (0x40 * (x)))

Definition at line 58 of file regs.h.

#define IXGBE_VFTDLEN (   x)    (0x02008 + (0x40 * (x)))

Definition at line 57 of file regs.h.

#define IXGBE_VFTDT (   x)    (0x02018 + (0x40 * (x)))

Definition at line 59 of file regs.h.

#define IXGBE_VFTDWBAH (   x)    (0x0203C + (0x40 * (x)))

Definition at line 62 of file regs.h.

#define IXGBE_VFTDWBAL (   x)    (0x02038 + (0x40 * (x)))

Definition at line 61 of file regs.h.

#define IXGBE_VFTXDCTL (   x)    (0x02028 + (0x40 * (x)))

Definition at line 60 of file regs.h.

#define IXGBE_VTEIAC   0x00110

Definition at line 40 of file regs.h.

#define IXGBE_VTEIAM   0x00114

Definition at line 41 of file regs.h.

#define IXGBE_VTEICR   0x00100

Definition at line 36 of file regs.h.

#define IXGBE_VTEICS   0x00104

Definition at line 37 of file regs.h.

#define IXGBE_VTEIMC   0x0010C

Definition at line 39 of file regs.h.

#define IXGBE_VTEIMS   0x00108

Definition at line 38 of file regs.h.

#define IXGBE_VTEITR (   x)    (0x00820 + (4 * (x)))

Definition at line 42 of file regs.h.

#define IXGBE_VTIVAR (   x)    (0x00120 + (4 * (x)))

Definition at line 43 of file regs.h.

#define IXGBE_VTIVAR_MISC   0x00140

Definition at line 44 of file regs.h.

#define IXGBE_VTRSCINT (   x)    (0x00180 + (4 * (x)))

Definition at line 45 of file regs.h.

#define IXGBE_WRITE_FLUSH (   a)    (IXGBE_READ_REG(a, IXGBE_VFSTATUS))

Definition at line 83 of file regs.h.

#define IXGBE_WRITE_REG (   a,
  reg,
  value 
)    writel((value), ((a)->hw_addr + (reg)))

Definition at line 73 of file regs.h.

#define IXGBE_WRITE_REG_ARRAY (   a,
  reg,
  offset,
  value 
)
Value:
( \
writel((value), ((a)->hw_addr + (reg) + ((offset) << 2))))

Definition at line 77 of file regs.h.