EI_SHIFT 150 drivers/net/ethernet/8390/8390.h #ifndef EI_SHIFT EI_SHIFT 154 drivers/net/ethernet/8390/8390.h #define E8390_CMD EI_SHIFT(0x00) /* The command register (for all pages) */ EI_SHIFT 156 drivers/net/ethernet/8390/8390.h #define EN0_CLDALO EI_SHIFT(0x01) /* Low byte of current local dma addr RD */ EI_SHIFT 157 drivers/net/ethernet/8390/8390.h #define EN0_STARTPG EI_SHIFT(0x01) /* Starting page of ring bfr WR */ EI_SHIFT 158 drivers/net/ethernet/8390/8390.h #define EN0_CLDAHI EI_SHIFT(0x02) /* High byte of current local dma addr RD */ EI_SHIFT 159 drivers/net/ethernet/8390/8390.h #define EN0_STOPPG EI_SHIFT(0x02) /* Ending page +1 of ring bfr WR */ EI_SHIFT 160 drivers/net/ethernet/8390/8390.h #define EN0_BOUNDARY EI_SHIFT(0x03) /* Boundary page of ring bfr RD WR */ EI_SHIFT 161 drivers/net/ethernet/8390/8390.h #define EN0_TSR EI_SHIFT(0x04) /* Transmit status reg RD */ EI_SHIFT 162 drivers/net/ethernet/8390/8390.h #define EN0_TPSR EI_SHIFT(0x04) /* Transmit starting page WR */ EI_SHIFT 163 drivers/net/ethernet/8390/8390.h #define EN0_NCR EI_SHIFT(0x05) /* Number of collision reg RD */ EI_SHIFT 164 drivers/net/ethernet/8390/8390.h #define EN0_TCNTLO EI_SHIFT(0x05) /* Low byte of tx byte count WR */ EI_SHIFT 165 drivers/net/ethernet/8390/8390.h #define EN0_FIFO EI_SHIFT(0x06) /* FIFO RD */ EI_SHIFT 166 drivers/net/ethernet/8390/8390.h #define EN0_TCNTHI EI_SHIFT(0x06) /* High byte of tx byte count WR */ EI_SHIFT 167 drivers/net/ethernet/8390/8390.h #define EN0_ISR EI_SHIFT(0x07) /* Interrupt status reg RD WR */ EI_SHIFT 168 drivers/net/ethernet/8390/8390.h #define EN0_CRDALO EI_SHIFT(0x08) /* low byte of current remote dma address RD */ EI_SHIFT 169 drivers/net/ethernet/8390/8390.h #define EN0_RSARLO EI_SHIFT(0x08) /* Remote start address reg 0 */ EI_SHIFT 170 drivers/net/ethernet/8390/8390.h #define EN0_CRDAHI EI_SHIFT(0x09) /* high byte, current remote dma address RD */ EI_SHIFT 171 drivers/net/ethernet/8390/8390.h #define EN0_RSARHI EI_SHIFT(0x09) /* Remote start address reg 1 */ EI_SHIFT 172 drivers/net/ethernet/8390/8390.h #define EN0_RCNTLO EI_SHIFT(0x0a) /* Remote byte count reg WR */ EI_SHIFT 173 drivers/net/ethernet/8390/8390.h #define EN0_RCNTHI EI_SHIFT(0x0b) /* Remote byte count reg WR */ EI_SHIFT 174 drivers/net/ethernet/8390/8390.h #define EN0_RSR EI_SHIFT(0x0c) /* rx status reg RD */ EI_SHIFT 175 drivers/net/ethernet/8390/8390.h #define EN0_RXCR EI_SHIFT(0x0c) /* RX configuration reg WR */ EI_SHIFT 176 drivers/net/ethernet/8390/8390.h #define EN0_TXCR EI_SHIFT(0x0d) /* TX configuration reg WR */ EI_SHIFT 177 drivers/net/ethernet/8390/8390.h #define EN0_COUNTER0 EI_SHIFT(0x0d) /* Rcv alignment error counter RD */ EI_SHIFT 178 drivers/net/ethernet/8390/8390.h #define EN0_DCFG EI_SHIFT(0x0e) /* Data configuration reg WR */ EI_SHIFT 179 drivers/net/ethernet/8390/8390.h #define EN0_COUNTER1 EI_SHIFT(0x0e) /* Rcv CRC error counter RD */ EI_SHIFT 180 drivers/net/ethernet/8390/8390.h #define EN0_IMR EI_SHIFT(0x0f) /* Interrupt mask reg WR */ EI_SHIFT 181 drivers/net/ethernet/8390/8390.h #define EN0_COUNTER2 EI_SHIFT(0x0f) /* Rcv missed frame error counter RD */ EI_SHIFT 199 drivers/net/ethernet/8390/8390.h #define EN1_PHYS EI_SHIFT(0x01) /* This board's physical enet addr RD WR */ EI_SHIFT 200 drivers/net/ethernet/8390/8390.h #define EN1_PHYS_SHIFT(i) EI_SHIFT(i+1) /* Get and set mac address */ EI_SHIFT 201 drivers/net/ethernet/8390/8390.h #define EN1_CURPAG EI_SHIFT(0x07) /* Current memory page RD WR */ EI_SHIFT 202 drivers/net/ethernet/8390/8390.h #define EN1_MULT EI_SHIFT(0x08) /* Multicast filter mask array (8 bytes) RD WR */ EI_SHIFT 203 drivers/net/ethernet/8390/8390.h #define EN1_MULT_SHIFT(i) EI_SHIFT(8+i) /* Get and set multicast filter */ EI_SHIFT 66 drivers/net/ethernet/8390/ax88796.c #define NE_CMD EI_SHIFT(0x00) EI_SHIFT 67 drivers/net/ethernet/8390/ax88796.c #define NE_RESET EI_SHIFT(0x1f) EI_SHIFT 68 drivers/net/ethernet/8390/ax88796.c #define NE_DATAPORT EI_SHIFT(0x10) EI_SHIFT 319 drivers/net/ethernet/8390/ax88796.c #define AX_MEMR EI_SHIFT(0x14) EI_SHIFT 397 drivers/net/ethernet/8390/ax88796.c ei_outb(reg_gpoc, ei_local->mem + EI_SHIFT(0x17)); EI_SHIFT 663 drivers/net/ethernet/8390/ax88796.c ei_outb(ax->plat->gpoc_val, ioaddr + EI_SHIFT(0x17)); EI_SHIFT 51 drivers/net/ethernet/8390/xsurf100.c #define NE_CMD EI_SHIFT(0x00) EI_SHIFT 52 drivers/net/ethernet/8390/xsurf100.c #define NE_RESET EI_SHIFT(0x1f) EI_SHIFT 53 drivers/net/ethernet/8390/xsurf100.c #define NE_DATAPORT EI_SHIFT(0x10)