Home
last modified time | relevance | path

Searched refs:SMC_IO_SHIFT (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/smsc/
Dsmc91x.h37 SMC_outb(__val16 >> 8, a, __reg + (1 << SMC_IO_SHIFT)); \
45 __val16 |= SMC_inb(a, __reg + (1 << SMC_IO_SHIFT)) << 8; \
65 #define SMC_IO_SHIFT (lp->io_shift) macro
207 #define SMC_IO_SHIFT (lp->io_shift) macro
460 #ifndef SMC_IO_SHIFT
461 #define SMC_IO_SHIFT 0 macro
474 #define SMC_IO_EXTENT (16 << SMC_IO_SHIFT)
484 #define BANK_SELECT (14 << SMC_IO_SHIFT)
829 #define ATTRIB_SIZE ((64*1024) << SMC_IO_SHIFT)
854 reg<<SMC_IO_SHIFT; \
[all …]
Dsmc91x.c1890 val = ((val & 0x1F00) >> 3) << SMC_IO_SHIFT; in smc_probe()
1891 if (((unsigned long)ioaddr & (0x3e0 << SMC_IO_SHIFT)) != val) { in smc_probe()
2081 ecor = readb(addr + (ECOR << SMC_IO_SHIFT)) & ~ECOR_RESET; in smc_enable_device()
2082 writeb(ecor | ECOR_RESET, addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2083 readb(addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2095 writeb(ecor, addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2096 writeb(ecor | ECOR_ENABLE, addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2101 ecsr = readb(addr + (ECSR << SMC_IO_SHIFT)) & ~ECSR_IOIS8; in smc_enable_device()
2104 writeb(ecsr, addr + (ECSR << SMC_IO_SHIFT)); in smc_enable_device()