tag | line | file | source code |
iobase | 293 | drivers/char/istallion.c | unsigned int iobase; |
iobase | 794 | drivers/char/istallion.c | release_region(brdp->iobase, ECP_IOSIZE); |
iobase | 796 | drivers/char/istallion.c | release_region(brdp->iobase, ONB_IOSIZE); |
iobase | 2813 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2815 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2819 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_ATMEMAR)); |
iobase | 2829 | drivers/char/istallion.c | outb(ECP_ATENABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2839 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2861 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_ATMEMPR)); |
iobase | 2873 | drivers/char/istallion.c | outb(ECP_ATSTOP, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2875 | drivers/char/istallion.c | outb(ECP_ATDISABLE, (brdp->iobase + ECP_ATCONFR)); |
iobase | 2886 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 2903 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ECP_EIBRDENAB)); |
iobase | 2904 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 2906 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2910 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARL)); |
iobase | 2912 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ECP_EIMEMARH)); |
iobase | 2919 | drivers/char/istallion.c | outb(ECP_EIENABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2926 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2951 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_EICONFR)); |
iobase | 2959 | drivers/char/istallion.c | outb(ECP_EISTOP, (brdp->iobase + ECP_EICONFR)); |
iobase | 2961 | drivers/char/istallion.c | outb(ECP_EIDISABLE, (brdp->iobase + ECP_EICONFR)); |
iobase | 2973 | drivers/char/istallion.c | outb(ECP_MCENABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 2980 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 2998 | drivers/char/istallion.c | outb(val, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3006 | drivers/char/istallion.c | outb(ECP_MCSTOP, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3008 | drivers/char/istallion.c | outb(ECP_MCDISABLE, (brdp->iobase + ECP_MCCONFR)); |
iobase | 3027 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3029 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3034 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_ATMEMAR)); |
iobase | 3035 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3046 | drivers/char/istallion.c | outb((ONB_ATENABLE | ONB_HIMEMENAB), (brdp->iobase + ONB_ATCONFR)); |
iobase | 3056 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3088 | drivers/char/istallion.c | outb(ONB_ATSTOP, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3090 | drivers/char/istallion.c | outb(ONB_ATDISABLE, (brdp->iobase + ONB_ATCONFR)); |
iobase | 3110 | drivers/char/istallion.c | outb(0x1, (brdp->iobase + ONB_EIBRDENAB)); |
iobase | 3111 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3113 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3118 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARL)); |
iobase | 3120 | drivers/char/istallion.c | outb(memconf, (brdp->iobase + ONB_EIMEMARH)); |
iobase | 3121 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3132 | drivers/char/istallion.c | outb(ONB_EIENABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3142 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3167 | drivers/char/istallion.c | outb(val, (brdp->iobase + ONB_EICONFR)); |
iobase | 3181 | drivers/char/istallion.c | outb(ONB_EISTOP, (brdp->iobase + ONB_EICONFR)); |
iobase | 3183 | drivers/char/istallion.c | outb(ONB_EIDISABLE, (brdp->iobase + ONB_EICONFR)); |
iobase | 3202 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3204 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3207 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3230 | drivers/char/istallion.c | outb(val, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3244 | drivers/char/istallion.c | outb(BBY_ATSTOP, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3246 | drivers/char/istallion.c | outb(0, (brdp->iobase + BBY_ATCONFR)); |
iobase | 3265 | drivers/char/istallion.c | outb(0x1, brdp->iobase); |
iobase | 3302 | drivers/char/istallion.c | outb(0, brdp->iobase); |
iobase | 3366 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 3380 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 3397 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 3468 | drivers/char/istallion.c | request_region(brdp->iobase, ECP_IOSIZE, "serial(ECP)"); |
iobase | 3501 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 3515 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 3531 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 3545 | drivers/char/istallion.c | brdp->iobase = confp->ioaddr1; |
iobase | 3613 | drivers/char/istallion.c | request_region(brdp->iobase, ONB_IOSIZE, "serial(ONB/BBY)"); |
iobase | 258 | drivers/char/stallion.c | int iobase; |
iobase | 1763 | drivers/char/stallion.c | int i, panelnr, iobase; |
iobase | 1790 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1791 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1792 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1794 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1795 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1805 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1806 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1809 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1810 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1818 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1819 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1820 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1821 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1823 | drivers/char/stallion.c | iobase = brdp->ioaddr2; |
iobase | 1827 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1831 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1839 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1840 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1841 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1842 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1850 | drivers/char/stallion.c | iobase = panelp->iobase; |
iobase | 1851 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1854 | drivers/char/stallion.c | iobase += 0x8; |
iobase | 1855 | drivers/char/stallion.c | if (inb(iobase + ECH_PNLSTATUS) & ECH_PNLINTRPEND) |
iobase | 1863 | drivers/char/stallion.c | outb(SVRR, iobase); |
iobase | 1864 | drivers/char/stallion.c | svrtype = inb(iobase + EREG_DATA); |
iobase | 1865 | drivers/char/stallion.c | outb((SVRR + 0x80), iobase); |
iobase | 1866 | drivers/char/stallion.c | svrtype |= inb(iobase + EREG_DATA); |
iobase | 1879 | drivers/char/stallion.c | stl_rxisr(panelp, iobase); |
iobase | 1881 | drivers/char/stallion.c | stl_txisr(panelp, iobase); |
iobase | 1883 | drivers/char/stallion.c | stl_mdmisr(panelp, iobase); |
iobase | 2415 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2417 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 1)); |
iobase | 2444 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2448 | drivers/char/stallion.c | ioaddr = panelp->iobase; |
iobase | 2450 | drivers/char/stallion.c | ioaddr = panelp->iobase + (EREG_BANKSIZE * (i >> 3)); |
iobase | 2539 | drivers/char/stallion.c | panelp->iobase = brdp->ioaddr1; |
iobase | 2636 | drivers/char/stallion.c | panelp->iobase = ioaddr; |
iobase | 210 | drivers/net/3c509.c | unsigned short iobase = id_read_eeprom(8); |
iobase | 211 | drivers/net/3c509.c | if_port = iobase >> 14; |
iobase | 212 | drivers/net/3c509.c | ioaddr = 0x200 + ((iobase & 0x1f) << 4); |
iobase | 415 | drivers/net/de4x5.c | static int de4x5_hw_init(struct device *dev, u_long iobase); |
iobase | 436 | drivers/net/de4x5.c | static int DevicePresent(u_long iobase); |
iobase | 448 | drivers/net/de4x5.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 449 | drivers/net/de4x5.c | static void pci_probe(struct device *dev, u_long iobase); |
iobase | 450 | drivers/net/de4x5.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 502 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 504 | drivers/net/de4x5.c | if ((iobase == 0) && loading_module){ |
iobase | 508 | drivers/net/de4x5.c | eisa_probe(dev, iobase); |
iobase | 509 | drivers/net/de4x5.c | pci_probe(dev, iobase); |
iobase | 511 | drivers/net/de4x5.c | if ((tmp == num_de4x5s) && (iobase != 0) && loading_module) { |
iobase | 513 | drivers/net/de4x5.c | iobase); |
iobase | 523 | drivers/net/de4x5.c | if (iobase == 0) autoprobed = 1; |
iobase | 530 | drivers/net/de4x5.c | de4x5_hw_init(struct device *dev, u_long iobase) |
iobase | 563 | drivers/net/de4x5.c | dev->base_addr = iobase; |
iobase | 566 | drivers/net/de4x5.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 569 | drivers/net/de4x5.c | iobase, lp->bus_num, lp->device); |
iobase | 622 | drivers/net/de4x5.c | request_region(iobase, (lp->bus == PCI ? DE4X5_PCI_TOTAL_SIZE : |
iobase | 702 | drivers/net/de4x5.c | if (status) release_region(iobase, (lp->bus == PCI ? |
iobase | 761 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 874 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 950 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1082 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1088 | drivers/net/de4x5.c | iobase = dev->base_addr; |
iobase | 1230 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1277 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1323 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1362 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1397 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1433 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1499 | drivers/net/de4x5.c | u_long iobase; |
iobase | 1509 | drivers/net/de4x5.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1513 | drivers/net/de4x5.c | iobase = ioaddr; |
iobase | 1518 | drivers/net/de4x5.c | for (status = -ENODEV; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1530 | drivers/net/de4x5.c | outl(iobase, PCI_CBIO); |
iobase | 1532 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_EISA_TOTAL_SIZE) == 0) { |
iobase | 1533 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1534 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1540 | drivers/net/de4x5.c | printk("%s: region already allocated at 0x%04lx.\n", dev->name, iobase); |
iobase | 1570 | drivers/net/de4x5.c | u_int iobase; |
iobase | 1603 | drivers/net/de4x5.c | pcibios_read_config_dword(pb, PCI_DEVICE, PCI_BASE_ADDRESS_0, &iobase); |
iobase | 1604 | drivers/net/de4x5.c | iobase &= CBIO_MASK; |
iobase | 1619 | drivers/net/de4x5.c | if (check_region(iobase, DE4X5_PCI_TOTAL_SIZE) == 0) { |
iobase | 1620 | drivers/net/de4x5.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1622 | drivers/net/de4x5.c | if ((status = de4x5_hw_init(dev, iobase)) == 0) { |
iobase | 1628 | drivers/net/de4x5.c | printk("%s: region already allocated at 0x%04x.\n", dev->name, (u_short)iobase); |
iobase | 1645 | drivers/net/de4x5.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1696 | drivers/net/de4x5.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1760 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1816 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1867 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1952 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 1978 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2030 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2064 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2091 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2107 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2269 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2457 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2469 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 2500 | drivers/net/de4x5.c | u_long iobase = dev->base_addr; |
iobase | 16 | drivers/net/de4x5.h | #define DE4X5_BMR iobase+(0x000 << lp->bus) /* Bus Mode Register */ |
iobase | 17 | drivers/net/de4x5.h | #define DE4X5_TPD iobase+(0x008 << lp->bus) /* Transmit Poll Demand Reg */ |
iobase | 18 | drivers/net/de4x5.h | #define DE4X5_RPD iobase+(0x010 << lp->bus) /* Receive Poll Demand Reg */ |
iobase | 19 | drivers/net/de4x5.h | #define DE4X5_RRBA iobase+(0x018 << lp->bus) /* RX Ring Base Address Reg */ |
iobase | 20 | drivers/net/de4x5.h | #define DE4X5_TRBA iobase+(0x020 << lp->bus) /* TX Ring Base Address Reg */ |
iobase | 21 | drivers/net/de4x5.h | #define DE4X5_STS iobase+(0x028 << lp->bus) /* Status Register */ |
iobase | 22 | drivers/net/de4x5.h | #define DE4X5_OMR iobase+(0x030 << lp->bus) /* Operation Mode Register */ |
iobase | 23 | drivers/net/de4x5.h | #define DE4X5_IMR iobase+(0x038 << lp->bus) /* Interrupt Mask Register */ |
iobase | 24 | drivers/net/de4x5.h | #define DE4X5_MFC iobase+(0x040 << lp->bus) /* Missed Frame Counter */ |
iobase | 25 | drivers/net/de4x5.h | #define DE4X5_APROM iobase+(0x048 << lp->bus) /* Ethernet Address PROM */ |
iobase | 26 | drivers/net/de4x5.h | #define DE4X5_BROM iobase+(0x048 << lp->bus) /* Boot ROM Register */ |
iobase | 27 | drivers/net/de4x5.h | #define DE4X5_SROM iobase+(0x048 << lp->bus) /* Serial ROM Register */ |
iobase | 28 | drivers/net/de4x5.h | #define DE4X5_DDR iobase+(0x050 << lp->bus) /* Data Diagnostic Register */ |
iobase | 29 | drivers/net/de4x5.h | #define DE4X5_FDR iobase+(0x058 << lp->bus) /* Full Duplex Register */ |
iobase | 30 | drivers/net/de4x5.h | #define DE4X5_GPT iobase+(0x058 << lp->bus) /* General Purpose Timer Reg.*/ |
iobase | 31 | drivers/net/de4x5.h | #define DE4X5_GEP iobase+(0x060 << lp->bus) /* General Purpose Register */ |
iobase | 32 | drivers/net/de4x5.h | #define DE4X5_SISR iobase+(0x060 << lp->bus) /* SIA Status Register */ |
iobase | 33 | drivers/net/de4x5.h | #define DE4X5_SICR iobase+(0x068 << lp->bus) /* SIA Connectivity Register */ |
iobase | 34 | drivers/net/de4x5.h | #define DE4X5_STRR iobase+(0x070 << lp->bus) /* SIA TX/RX Register */ |
iobase | 35 | drivers/net/de4x5.h | #define DE4X5_SIGR iobase+(0x078 << lp->bus) /* SIA General Register */ |
iobase | 40 | drivers/net/de4x5.h | #define EISA_ID iobase+0x0c80 /* EISA ID Registers */ |
iobase | 41 | drivers/net/de4x5.h | #define EISA_ID0 iobase+0x0c80 /* EISA ID Register 0 */ |
iobase | 42 | drivers/net/de4x5.h | #define EISA_ID1 iobase+0x0c81 /* EISA ID Register 1 */ |
iobase | 43 | drivers/net/de4x5.h | #define EISA_ID2 iobase+0x0c82 /* EISA ID Register 2 */ |
iobase | 44 | drivers/net/de4x5.h | #define EISA_ID3 iobase+0x0c83 /* EISA ID Register 3 */ |
iobase | 45 | drivers/net/de4x5.h | #define EISA_CR iobase+0x0c84 /* EISA Control Register */ |
iobase | 46 | drivers/net/de4x5.h | #define EISA_REG0 iobase+0x0c88 /* EISA Configuration Register 0 */ |
iobase | 47 | drivers/net/de4x5.h | #define EISA_REG1 iobase+0x0c89 /* EISA Configuration Register 1 */ |
iobase | 48 | drivers/net/de4x5.h | #define EISA_REG2 iobase+0x0c8a /* EISA Configuration Register 2 */ |
iobase | 49 | drivers/net/de4x5.h | #define EISA_REG3 iobase+0x0c8f /* EISA Configuration Register 3 */ |
iobase | 50 | drivers/net/de4x5.h | #define EISA_APROM iobase+0x0c90 /* Ethernet Address PROM */ |
iobase | 55 | drivers/net/de4x5.h | #define PCI_CFID iobase+0x0008 /* PCI Configuration ID Register */ |
iobase | 56 | drivers/net/de4x5.h | #define PCI_CFCS iobase+0x000c /* PCI Command/Status Register */ |
iobase | 57 | drivers/net/de4x5.h | #define PCI_CFRV iobase+0x0018 /* PCI Revision Register */ |
iobase | 58 | drivers/net/de4x5.h | #define PCI_CFLT iobase+0x001c /* PCI Latency Timer Register */ |
iobase | 59 | drivers/net/de4x5.h | #define PCI_CBIO iobase+0x0028 /* PCI Base I/O Register */ |
iobase | 60 | drivers/net/de4x5.h | #define PCI_CBMA iobase+0x002c /* PCI Base Memory Address Register */ |
iobase | 61 | drivers/net/de4x5.h | #define PCI_CBER iobase+0x0030 /* PCI Expansion ROM Base Address Reg. */ |
iobase | 62 | drivers/net/de4x5.h | #define PCI_CFIT iobase+0x003c /* PCI Configuration Interrupt Register */ |
iobase | 63 | drivers/net/de4x5.h | #define PCI_CFDA iobase+0x0040 /* PCI Driver Area Register */ |
iobase | 390 | drivers/net/depca.c | static void isa_probe(struct device *dev, u_long iobase); |
iobase | 391 | drivers/net/depca.c | static void eisa_probe(struct device *dev, u_long iobase); |
iobase | 392 | drivers/net/depca.c | static struct device *alloc_device(struct device *dev, u_long iobase); |
iobase | 422 | drivers/net/depca.c | u_long iobase = dev->base_addr; |
iobase | 424 | drivers/net/depca.c | if ((iobase == 0) && loading_module){ |
iobase | 428 | drivers/net/depca.c | isa_probe(dev, iobase); |
iobase | 429 | drivers/net/depca.c | eisa_probe(dev, iobase); |
iobase | 431 | drivers/net/depca.c | if ((tmp == num_depcas) && (iobase != 0) && loading_module) { |
iobase | 433 | drivers/net/depca.c | iobase); |
iobase | 443 | drivers/net/depca.c | if (iobase == 0) autoprobed = 1; |
iobase | 1288 | drivers/net/depca.c | u_long iobase; |
iobase | 1295 | drivers/net/depca.c | iobase = EISA_SLOT_INC; /* Get the first slot address */ |
iobase | 1299 | drivers/net/depca.c | iobase = ioaddr; |
iobase | 1303 | drivers/net/depca.c | if ((iobase & 0x0fff) == 0) iobase += DEPCA_EISA_IO_PORTS; |
iobase | 1305 | drivers/net/depca.c | for (; (i<maxSlots) && (dev!=NULL); i++, iobase+=EISA_SLOT_INC) { |
iobase | 1307 | drivers/net/depca.c | if (DevicePresent(iobase) == 0) { |
iobase | 1308 | drivers/net/depca.c | if (check_region(iobase, DEPCA_TOTAL_SIZE) == 0) { |
iobase | 1309 | drivers/net/depca.c | if ((dev = alloc_device(dev, iobase)) != NULL) { |
iobase | 1310 | drivers/net/depca.c | if (depca_hw_init(dev, iobase) == 0) { |
iobase | 1316 | drivers/net/depca.c | printk("%s: region already allocated at 0x%04lx.\n",dev->name,iobase); |
iobase | 1329 | drivers/net/depca.c | static struct device *alloc_device(struct device *dev, u_long iobase) |
iobase | 1380 | drivers/net/depca.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 152 | drivers/net/depca.h | #define EISA_ID iobase+0x0080 /* ID long word for EISA card */ |
iobase | 153 | drivers/net/depca.h | #define EISA_CTRL iobase+0x0084 /* Control word for EISA card */ |
iobase | 302 | drivers/net/ewrk3.c | static int ewrk3_hw_init(struct device *dev, short iobase); |
iobase | 308 | drivers/net/ewrk3.c | static int DevicePresent(short iobase); |
iobase | 311 | drivers/net/ewrk3.c | static int Read_EEPROM(short iobase, unsigned char eaddr); |
iobase | 312 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, short iobase, unsigned char eaddr); |
iobase | 318 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, int iobase); |
iobase | 397 | drivers/net/ewrk3.c | ewrk3_hw_init(struct device *dev, short iobase) |
iobase | 410 | drivers/net/ewrk3.c | if (iobase > 0x400) eisa_cr = inb(EISA_CR); |
iobase | 431 | drivers/net/ewrk3.c | tmp.val = (short)Read_EEPROM(iobase, (i>>1)); |
iobase | 448 | drivers/net/ewrk3.c | dev->base_addr = iobase; |
iobase | 450 | drivers/net/ewrk3.c | if (iobase > 0x400) { |
iobase | 459 | drivers/net/ewrk3.c | printk("%s: %s at %#3x", dev->name, name, iobase); |
iobase | 461 | drivers/net/ewrk3.c | } else if ((iobase&0x0fff)==EWRK3_EISA_IO_PORTS) { |
iobase | 464 | drivers/net/ewrk3.c | dev->name, name, iobase, ((iobase>>12)&0x0f)); |
iobase | 466 | drivers/net/ewrk3.c | printk("%s: %s at %#3x", dev->name, name, iobase); |
iobase | 480 | drivers/net/ewrk3.c | DevicePresent(iobase); /* needed after the EWRK3_INIT */ |
iobase | 653 | drivers/net/ewrk3.c | int i, iobase = dev->base_addr; |
iobase | 731 | drivers/net/ewrk3.c | short iobase = dev->base_addr; |
iobase | 765 | drivers/net/ewrk3.c | int iobase = dev->base_addr; |
iobase | 915 | drivers/net/ewrk3.c | int iobase; |
iobase | 922 | drivers/net/ewrk3.c | iobase = dev->base_addr; |
iobase | 979 | drivers/net/ewrk3.c | int i, iobase = dev->base_addr; |
iobase | 1124 | drivers/net/ewrk3.c | int iobase = dev->base_addr; |
iobase | 1159 | drivers/net/ewrk3.c | int iobase = dev->base_addr; |
iobase | 1221 | drivers/net/ewrk3.c | int iobase = dev->base_addr; |
iobase | 1256 | drivers/net/ewrk3.c | int i, iobase = dev->base_addr; |
iobase | 1338 | drivers/net/ewrk3.c | int i, iobase, status; |
iobase | 1341 | drivers/net/ewrk3.c | for (status = -ENODEV, iobase = EWRK3_IO_BASE,i = 0; |
iobase | 1343 | drivers/net/ewrk3.c | iobase += EWRK3_IOP_INC, i++) { |
iobase | 1346 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1347 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1352 | drivers/net/ewrk3.c | request_region(iobase, EWRK3_IOP_INC, "ewrk3"); |
iobase | 1354 | drivers/net/ewrk3.c | dev = alloc_device(dev, iobase); |
iobase | 1356 | drivers/net/ewrk3.c | if ((status = ewrk3_hw_init(dev, iobase)) == 0) { |
iobase | 1362 | drivers/net/ewrk3.c | mem_chkd &= ~(0x01 << ((iobase - EWRK3_IO_BASE)/EWRK3_IOP_INC)); |
iobase | 1365 | drivers/net/ewrk3.c | printk("%s: ewrk3_probe(): Detected a device already registered at 0x%02x\n", dev->name, iobase); |
iobase | 1366 | drivers/net/ewrk3.c | mem_chkd &= ~(0x01 << ((iobase - EWRK3_IO_BASE)/EWRK3_IOP_INC)); |
iobase | 1381 | drivers/net/ewrk3.c | int i, iobase = EWRK3_EISA_IO_PORTS; |
iobase | 1384 | drivers/net/ewrk3.c | iobase+=EISA_SLOT_INC; /* get the first slot address */ |
iobase | 1385 | drivers/net/ewrk3.c | for (status = -ENODEV, i=1; i<MAX_EISA_SLOTS; i++, iobase+=EISA_SLOT_INC) { |
iobase | 1388 | drivers/net/ewrk3.c | if (!check_region(iobase, EWRK3_TOTAL_SIZE)) { |
iobase | 1389 | drivers/net/ewrk3.c | if (DevicePresent(iobase) == 0) { |
iobase | 1395 | drivers/net/ewrk3.c | request_region(iobase, EWRK3_IOP_INC, "ewrk3"); |
iobase | 1397 | drivers/net/ewrk3.c | dev = alloc_device(dev, iobase); |
iobase | 1399 | drivers/net/ewrk3.c | if ((status = ewrk3_hw_init(dev, iobase)) == 0) { |
iobase | 1414 | drivers/net/ewrk3.c | static struct device *alloc_device(struct device *dev, int iobase) |
iobase | 1448 | drivers/net/ewrk3.c | dev->base_addr = iobase; /* assign the io address */ |
iobase | 1461 | drivers/net/ewrk3.c | static int Read_EEPROM(short iobase, unsigned char eaddr) |
iobase | 1475 | drivers/net/ewrk3.c | static int Write_EEPROM(short data, short iobase, unsigned char eaddr) |
iobase | 1524 | drivers/net/ewrk3.c | static int DevicePresent(short iobase) |
iobase | 1583 | drivers/net/ewrk3.c | int iobase = dev->base_addr; |
iobase | 1617 | drivers/net/ewrk3.c | int i, j, iobase = dev->base_addr, status = 0; |
iobase | 1782 | drivers/net/ewrk3.c | tmp.val[i] = (short)Read_EEPROM(iobase, i); |
iobase | 1803 | drivers/net/ewrk3.c | Write_EEPROM(tmp.val[i], iobase, i); |
iobase | 18 | drivers/net/ewrk3.h | #define EWRK3_CSR iobase+0x00 /* Control and Status Register */ |
iobase | 19 | drivers/net/ewrk3.h | #define EWRK3_CR iobase+0x01 /* Control Register */ |
iobase | 20 | drivers/net/ewrk3.h | #define EWRK3_ICR iobase+0x02 /* Interrupt Control Register */ |
iobase | 21 | drivers/net/ewrk3.h | #define EWRK3_TSR iobase+0x03 /* Transmit Status Register */ |
iobase | 22 | drivers/net/ewrk3.h | #define EWRK3_RSVD1 iobase+0x04 /* RESERVED */ |
iobase | 23 | drivers/net/ewrk3.h | #define EWRK3_RSVD2 iobase+0x05 /* RESERVED */ |
iobase | 24 | drivers/net/ewrk3.h | #define EWRK3_FMQ iobase+0x06 /* Free Memory Queue */ |
iobase | 25 | drivers/net/ewrk3.h | #define EWRK3_FMQC iobase+0x07 /* Free Memory Queue Counter */ |
iobase | 26 | drivers/net/ewrk3.h | #define EWRK3_RQ iobase+0x08 /* Receive Queue */ |
iobase | 27 | drivers/net/ewrk3.h | #define EWRK3_RQC iobase+0x09 /* Receive Queue Counter */ |
iobase | 28 | drivers/net/ewrk3.h | #define EWRK3_TQ iobase+0x0a /* Transmit Queue */ |
iobase | 29 | drivers/net/ewrk3.h | #define EWRK3_TQC iobase+0x0b /* Transmit Queue Counter */ |
iobase | 30 | drivers/net/ewrk3.h | #define EWRK3_TDQ iobase+0x0c /* Transmit Done Queue */ |
iobase | 31 | drivers/net/ewrk3.h | #define EWRK3_TDQC iobase+0x0d /* Transmit Done Queue Counter */ |
iobase | 32 | drivers/net/ewrk3.h | #define EWRK3_PIR1 iobase+0x0e /* Page Index Register 1 */ |
iobase | 33 | drivers/net/ewrk3.h | #define EWRK3_PIR2 iobase+0x0f /* Page Index Register 2 */ |
iobase | 34 | drivers/net/ewrk3.h | #define EWRK3_DATA iobase+0x10 /* Data Register */ |
iobase | 35 | drivers/net/ewrk3.h | #define EWRK3_IOPR iobase+0x11 /* I/O Page Register */ |
iobase | 36 | drivers/net/ewrk3.h | #define EWRK3_IOBR iobase+0x12 /* I/O Base Register */ |
iobase | 37 | drivers/net/ewrk3.h | #define EWRK3_MPR iobase+0x13 /* Memory Page Register */ |
iobase | 38 | drivers/net/ewrk3.h | #define EWRK3_MBR iobase+0x14 /* Memory Base Register */ |
iobase | 39 | drivers/net/ewrk3.h | #define EWRK3_APROM iobase+0x15 /* Address PROM */ |
iobase | 40 | drivers/net/ewrk3.h | #define EWRK3_EPROM1 iobase+0x16 /* EEPROM Data Register 1 */ |
iobase | 41 | drivers/net/ewrk3.h | #define EWRK3_EPROM2 iobase+0x17 /* EEPROM Data Register 2 */ |
iobase | 42 | drivers/net/ewrk3.h | #define EWRK3_PAR0 iobase+0x18 /* Physical Address Register 0 */ |
iobase | 43 | drivers/net/ewrk3.h | #define EWRK3_PAR1 iobase+0x19 /* Physical Address Register 1 */ |
iobase | 44 | drivers/net/ewrk3.h | #define EWRK3_PAR2 iobase+0x1a /* Physical Address Register 2 */ |
iobase | 45 | drivers/net/ewrk3.h | #define EWRK3_PAR3 iobase+0x1b /* Physical Address Register 3 */ |
iobase | 46 | drivers/net/ewrk3.h | #define EWRK3_PAR4 iobase+0x1c /* Physical Address Register 4 */ |
iobase | 47 | drivers/net/ewrk3.h | #define EWRK3_PAR5 iobase+0x1d /* Physical Address Register 5 */ |
iobase | 48 | drivers/net/ewrk3.h | #define EWRK3_CMR iobase+0x1e /* Configuration/Management Register */ |
iobase | 175 | drivers/net/ewrk3.h | #define EISA_ID0 iobase + 0x0c80 /* EISA ID Register 0 */ |
iobase | 176 | drivers/net/ewrk3.h | #define EISA_ID1 iobase + 0x0c81 /* EISA ID Register 1 */ |
iobase | 177 | drivers/net/ewrk3.h | #define EISA_ID2 iobase + 0x0c82 /* EISA ID Register 2 */ |
iobase | 178 | drivers/net/ewrk3.h | #define EISA_ID3 iobase + 0x0c83 /* EISA ID Register 3 */ |
iobase | 179 | drivers/net/ewrk3.h | #define EISA_CR iobase + 0x0c84 /* EISA Control Register */ |
iobase | 783 | drivers/net/wavelan.c | static unsigned short iobase[] = |
iobase | 833 | drivers/net/wavelan.c | for (i = 0; i < nels(iobase); i++) |
iobase | 835 | drivers/net/wavelan.c | if (check_region(iobase[i], sizeof(ha_t))) |
iobase | 838 | drivers/net/wavelan.c | if (wavelan_probe1(dev, iobase[i]) == 0) |
iobase | 328 | drivers/scsi/eata.c | static inline unchar wait_on_busy(ushort iobase) { |
iobase | 331 | drivers/scsi/eata.c | while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) |
iobase | 337 | drivers/scsi/eata.c | static inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) { |
iobase | 339 | drivers/scsi/eata.c | if (wait_on_busy(iobase)) return TRUE; |
iobase | 342 | drivers/scsi/eata.c | outb((char) addr, iobase + REG_LOW); |
iobase | 343 | drivers/scsi/eata.c | outb((char) (addr >> 8), iobase + REG_LM); |
iobase | 344 | drivers/scsi/eata.c | outb((char) (addr >> 16), iobase + REG_MID); |
iobase | 345 | drivers/scsi/eata.c | outb((char) (addr >> 24), iobase + REG_MSB); |
iobase | 348 | drivers/scsi/eata.c | outb(cmd, iobase + REG_CMD); |
iobase | 352 | drivers/scsi/eata.c | static inline unchar read_pio (ushort iobase, ushort *start, ushort *end) { |
iobase | 358 | drivers/scsi/eata.c | while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) |
iobase | 362 | drivers/scsi/eata.c | *p = inw(iobase); |
iobase | 598 | drivers/scsi/fdomain.c | static int fdomain_isa_detect( int *irq, int *iobase ) |
iobase | 640 | drivers/scsi/fdomain.c | *iobase = base; |
iobase | 679 | drivers/scsi/fdomain.c | *iobase = base; |
iobase | 684 | drivers/scsi/fdomain.c | static int fdomain_pci_nobios_detect( int *irq, int *iobase ) |
iobase | 712 | drivers/scsi/fdomain.c | *iobase = i; |
iobase | 735 | drivers/scsi/fdomain.c | static int fdomain_pci_bios_detect( int *irq, int *iobase ) |
iobase | 747 | drivers/scsi/fdomain.c | if (!pcibios_present()) return fdomain_pci_nobios_detect( irq, iobase ); |
iobase | 835 | drivers/scsi/fdomain.c | *iobase = (pci_base & 0xfff8); |
iobase | 839 | drivers/scsi/fdomain.c | printk( "TMC-3260: IRQ = %d, I/O base = 0x%x\n", *irq, *iobase ); |
iobase | 842 | drivers/scsi/fdomain.c | if (!fdomain_is_valid_port( *iobase )) return 0; |
iobase | 293 | drivers/scsi/u14-34f.c | static inline unchar wait_on_busy(ushort iobase) { |
iobase | 296 | drivers/scsi/u14-34f.c | while (inb(iobase + REG_LCL_INTR) & BSY_ASSERTED) |
iobase | 171 | drivers/scsi/wd7000.c | int iobase; /* This adapter's I/O base address */ |
iobase | 196 | drivers/scsi/wd7000.c | int iobase; /* I/O ports base address */ |
iobase | 543 | drivers/scsi/wd7000.c | outb(host->control, host->iobase+ASC_CONTROL); |
iobase | 550 | drivers/scsi/wd7000.c | outb(host->control,host->iobase+ASC_CONTROL); |
iobase | 580 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT,ASC_STATMASK,CMD_RDY,0); |
iobase | 583 | drivers/scsi/wd7000.c | outb(*cmd, host->iobase+ASC_COMMAND); |
iobase | 584 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0); |
iobase | 585 | drivers/scsi/wd7000.c | } while (inb(host->iobase+ASC_STAT) & CMD_REJ); |
iobase | 809 | drivers/scsi/wd7000.c | #define wd7000_intr_ack(host) outb(0,host->iobase+ASC_INTR_ACK) |
iobase | 825 | drivers/scsi/wd7000.c | flag = inb(host->iobase+ASC_INTR_STAT); |
iobase | 830 | drivers/scsi/wd7000.c | if (!(inb(host->iobase+ASC_STAT) & INT_IM)) { |
iobase | 1006 | drivers/scsi/wd7000.c | outb(ASC_RES, host->iobase+ASC_CONTROL); |
iobase | 1008 | drivers/scsi/wd7000.c | outb(0,host->iobase+ASC_CONTROL); |
iobase | 1010 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, CMD_RDY, 0); |
iobase | 1012 | drivers/scsi/wd7000.c | if ((diag = inb(host->iobase+ASC_INTR_STAT)) != 1) { |
iobase | 1049 | drivers/scsi/wd7000.c | WAIT(host->iobase+ASC_STAT, ASC_STATMASK, ASC_INIT, 0); |
iobase | 1134 | drivers/scsi/wd7000.c | if (check_region(cfg->iobase, 4)) { /* ports in use */ |
iobase | 1135 | drivers/scsi/wd7000.c | printk("IO %xh already in use.\n", host->iobase); |
iobase | 1154 | drivers/scsi/wd7000.c | host->iobase = cfg->iobase; |
iobase | 1171 | drivers/scsi/wd7000.c | host->iobase, host->irq, host->dma); |
iobase | 1173 | drivers/scsi/wd7000.c | request_region(host->iobase, 4,"wd7000"); /* Register our ports */ |
iobase | 1198 | drivers/scsi/wd7000.c | if (inb(host->iobase+ASC_STAT) & INT_IM) { |