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
196 #define SMC_IO_SHIFT (lp->io_shift) macro
449 #ifndef SMC_IO_SHIFT
450 #define SMC_IO_SHIFT 0 macro
463 #define SMC_IO_EXTENT (16 << SMC_IO_SHIFT)
473 #define BANK_SELECT (14 << SMC_IO_SHIFT)
818 #define ATTRIB_SIZE ((64*1024) << SMC_IO_SHIFT)
843 reg<<SMC_IO_SHIFT; \
[all …]
Dsmc91x.c1891 val = ((val & 0x1F00) >> 3) << SMC_IO_SHIFT; in smc_probe()
1892 if (((unsigned long)ioaddr & (0x3e0 << SMC_IO_SHIFT)) != val) { in smc_probe()
2083 ecor = readb(addr + (ECOR << SMC_IO_SHIFT)) & ~ECOR_RESET; in smc_enable_device()
2084 writeb(ecor | ECOR_RESET, addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2085 readb(addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2097 writeb(ecor, addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2098 writeb(ecor | ECOR_ENABLE, addr + (ECOR << SMC_IO_SHIFT)); in smc_enable_device()
2103 ecsr = readb(addr + (ECSR << SMC_IO_SHIFT)) & ~ECSR_IOIS8; in smc_enable_device()
2106 writeb(ecsr, addr + (ECSR << SMC_IO_SHIFT)); in smc_enable_device()