taglinefilesource code
base96arch/alpha/kernel/bios32.cunsigned int base, mask, size, reg;
base108arch/alpha/kernel/bios32.cpcibios_read_config_dword(bus->number, dev->devfn, reg, &base);
base109arch/alpha/kernel/bios32.cif (!base) {
base117arch/alpha/kernel/bios32.cif (base & PCI_BASE_ADDRESS_SPACE_IO) {
base123arch/alpha/kernel/bios32.cbase &= PCI_BASE_ADDRESS_IO_MASK;
base124arch/alpha/kernel/bios32.cmask = (~base << 1) | 0x1;
base125arch/alpha/kernel/bios32.csize = (mask & base) & 0xffffffff;
base126arch/alpha/kernel/bios32.cbase = ALIGN(io_base, size);
base127arch/alpha/kernel/bios32.cio_base = base + size;
base129arch/alpha/kernel/bios32.creg, base | 0x1);
base137arch/alpha/kernel/bios32.ctype = base & PCI_BASE_ADDRESS_MEM_TYPE_MASK;
base138arch/alpha/kernel/bios32.cbase &= PCI_BASE_ADDRESS_MEM_MASK;
base139arch/alpha/kernel/bios32.cmask = (~base << 1) | 0x1;
base140arch/alpha/kernel/bios32.csize = (mask & base) & 0xffffffff;
base186arch/alpha/kernel/bios32.cbase = ALIGN(mem_base, size);
base195arch/alpha/kernel/bios32.cif (((base / 16*MB) & 0x7) == 0) {
base196arch/alpha/kernel/bios32.cbase &= ~(128*MB - 1);
base197arch/alpha/kernel/bios32.cbase += 16*MB;
base198arch/alpha/kernel/bios32.cbase  = ALIGN(base, size);
base200arch/alpha/kernel/bios32.cif (base / 128*MB != (base + size) / 128*MB) {
base201arch/alpha/kernel/bios32.cbase &= ~(128*MB - 1);
base202arch/alpha/kernel/bios32.cbase += (128 + 16)*MB;
base203arch/alpha/kernel/bios32.cbase  = ALIGN(base, size);
base206arch/alpha/kernel/bios32.cmem_base = base + size;
base208arch/alpha/kernel/bios32.creg, base);
base15arch/i386/kernel/ioport.cstatic void set_bitmap(unsigned long *bitmap, short base, short extent, int new_value)
base18arch/i386/kernel/ioport.cunsigned long *bitmap_base = bitmap + (base >> 5);
base19arch/i386/kernel/ioport.cunsigned short low_index = base & 0x1f;
base41arch/i386/kernel/ldt.cunsigned long base, limit;
base56arch/i386/kernel/ldt.cbase = ldt_info.base_addr;
base60arch/i386/kernel/ldt.climit += base;
base61arch/i386/kernel/ldt.cif (limit < base || limit >= 0xC0000000)
base244arch/i386/kernel/smp.cvoid smp_scan_config(unsigned long base, unsigned long length)
base246arch/i386/kernel/smp.cunsigned long *bp=(unsigned long *)base;
base233arch/i386/kernel/vm86.c#define pushb(base, ptr, val) \
base238arch/i386/kernel/vm86.c: "r" (base), "q" (val), "0" (ptr))
base240arch/i386/kernel/vm86.c#define pushw(base, ptr, val) \
base247arch/i386/kernel/vm86.c: "r" (base), "q" (val), "0" (ptr))
base249arch/i386/kernel/vm86.c#define pushl(base, ptr, val) \
base262arch/i386/kernel/vm86.c: "r" (base), "q" (val), "0" (ptr))
base264arch/i386/kernel/vm86.c#define popb(base, ptr) \
base269arch/i386/kernel/vm86.c: "=r" (ptr), "=r" (base), "=q" (__res) \
base270arch/i386/kernel/vm86.c: "0" (ptr), "1" (base), "2" (0)); \
base273arch/i386/kernel/vm86.c#define popw(base, ptr) \
base280arch/i386/kernel/vm86.c: "=r" (ptr), "=r" (base), "=q" (__res) \
base281arch/i386/kernel/vm86.c: "0" (ptr), "1" (base), "2" (0)); \
base284arch/i386/kernel/vm86.c#define popl(base, ptr) \
base297arch/i386/kernel/vm86.c: "=r" (ptr), "=r" (base), "=q" (__res) \
base298arch/i386/kernel/vm86.c: "0" (ptr), "1" (base)); \
base76arch/i386/math-emu/get_address.cunsigned char ss,index,base;
base81arch/i386/math-emu/get_address.cbase = get_fs_byte((char *) (*fpu_eip));   /* The SIB byte */
base84arch/i386/math-emu/get_address.css = base >> 6;
base85arch/i386/math-emu/get_address.cindex = (base >> 3) & 7;
base86arch/i386/math-emu/get_address.cbase &= 7;
base88arch/i386/math-emu/get_address.cif ((mod == 0) && (base == 5))
base91arch/i386/math-emu/get_address.coffset = REG_(base);
base114arch/i386/math-emu/get_address.celse if (mod == 2 || base == 5) /* The second condition also has mod==0 */
base19arch/mips/kernel/ioport.cstatic void set_bitmap(unsigned long *bitmap, short base, short extent, int new_value)
base22arch/mips/kernel/ioport.cunsigned long *bitmap_base = bitmap + (base >> 5);
base23arch/mips/kernel/ioport.cunsigned short low_index = base & 0x1f;
base212drivers/block/cdu31a.cunsigned short base;         /* I/O Base Address */
base2974drivers/block/cdu31a.cwhile (   (cdu31a_addresses[i].base != 0)
base2977drivers/block/cdu31a.cif (check_region(cdu31a_addresses[i].base, 4)) {
base2981drivers/block/cdu31a.cget_drive_configuration(cdu31a_addresses[i].base,
base1085drivers/block/cm206.cint probe_base_port(int base)
base1093drivers/block/cm206.cif (base) b=e=base;
base1094drivers/block/cm206.cfor (base=b; base<=e; base += 0x10) {
base1095drivers/block/cm206.cif (check_region(base, 0x10)) continue;
base1096drivers/block/cm206.cfool = inw(base+2);    /* empty possibly uart_receive_buffer */
base1097drivers/block/cm206.cif((inw(base+6) & 0xffef) != 0x0001 || /* line_status */
base1098drivers/block/cm206.c(inw(base) & 0xad00) != 0) /* data status */
base1101drivers/block/cm206.coutw(dc_normal | pattern1, base+8); 
base1102drivers/block/cm206.cif ((inw(base) & 0x7f) != pattern1) continue;
base1103drivers/block/cm206.coutw(dc_normal | pattern2, base+8);
base1104drivers/block/cm206.cif ((inw(base) & 0x7f) != pattern2) continue;
base1105drivers/block/cm206.coutw(dc_normal | READ_AHEAD, base+8);
base1107drivers/block/cm206.creturn(base);
base2252drivers/block/floppy.cchar *base;
base2254drivers/block/floppy.cbase = CURRENT->buffer;
base2260drivers/block/floppy.cwhile ( bh && bh->b_data == base + size ){
base128drivers/block/optcd.cstatic short isp16_config( int base, u_char drive_type, int irq, int dma );
base1608drivers/block/optcd.cisp16_config( int base, u_char drive_type, int irq, int dma )
base1618drivers/block/optcd.cswitch (base) {
base1624drivers/block/optcd.cprintk( "Base address 0x%03X not supported by cdrom interface on ISP16.\n", base );
base118drivers/block/sjcd.cstatic short isp16_config( int base, u_char drive_type, int irq, int dma );
base1545drivers/block/sjcd.cisp16_config( int base, u_char drive_type, int irq, int dma )
base1555drivers/block/sjcd.cswitch (base) {
base1561drivers/block/sjcd.cprintk( "Base address 0x%03X not supported by cdrom interface on ISP16.\n", base );
base339drivers/block/triton.cunsigned short base, time;
base342drivers/block/triton.cbase = bmiba;
base345drivers/block/triton.cbase = bmiba + 8;
base348drivers/block/triton.cprintk("    %s: BusMaster DMA at 0x%04x-0x%04x", hwif->name, base, base+7);
base349drivers/block/triton.cif (check_region(base, 8)) {
base353drivers/block/triton.crequest_region(base, 8, hwif->name);
base354drivers/block/triton.chwif->dma_base  = base;
base357drivers/block/triton.coutl((unsigned long) table, base + 4);
base1960drivers/char/console.clong base = (long) vc_scrbuf[currcons];
base1968drivers/char/console.cpos = origin = video_mem_start = base;
base1969drivers/char/console.cscr_end = base + video_screen_size;
base1970drivers/char/console.cvideo_mem_end = base + video_screen_size;
base591drivers/char/istallion.cstatic void  stli_meminit(long base);
base829drivers/char/istallion.cstatic void stli_meminit(long base)
base831drivers/char/istallion.cstli_memend = base;
base834drivers/char/keyboard.cif (accent_table[i].diacr == d && accent_table[i].base == ch)
base1006drivers/char/keyboard.cint base;
base1012drivers/char/keyboard.cbase = 10;
base1015drivers/char/keyboard.cbase = 16;
base1021drivers/char/keyboard.cnpadch = npadch * base + value;
base533drivers/char/lp.cint base, size;
base536drivers/char/lp.cbase = LP_B(offset);
base537drivers/char/lp.csize = (base == 0x3bc)? 3 : 8;
base538drivers/char/lp.cif (check_region(base, size) < 0)
base541drivers/char/lp.coutb_p(LP_DUMMY, base);
base543drivers/char/lp.ctestvalue = inb_p(base);
base547drivers/char/lp.cprintk("lp%d at 0x%04x, ", offset, base);
base548drivers/char/lp.crequest_region(base, size, "lp");
base627drivers/char/lp.cint base, size;
base628drivers/char/lp.cbase = LP_B(offset);
base629drivers/char/lp.csize = (base == 0x3bc)? 3 : 8;
base467drivers/char/stallion.cstatic void  stl_meminit(long base);
base633drivers/char/stallion.cstatic void stl_meminit(long base)
base635drivers/char/stallion.cstl_memend = base;
base393drivers/net/3c507.cint base;
base398drivers/net/3c507.cbase = 0xf00000 + (mem_config & 0x08 ? 0x080000
base402drivers/net/3c507.cbase = 0x0c0000 + ( (mem_config & 0x18) << 12);
base404drivers/net/3c507.cdev->mem_start = base;
base405drivers/net/3c507.cdev->mem_end = base + size;
base295drivers/net/depca.cvolatile s32 base;
base301drivers/net/depca.cvolatile s32 base;
base692drivers/net/depca.cprintk("0x%8.8lx ", (long) &lp->rx_ring[i].base);
base695drivers/net/depca.cprintk("...0x%8.8lx\n", (long) &lp->rx_ring[i].base);
base699drivers/net/depca.cprintk("0x%8.8lx ", (long) &lp->tx_ring[i].base);
base702drivers/net/depca.cprintk("...0x%8.8lx\n", (long) &lp->tx_ring[i].base);
base706drivers/net/depca.cprintk("0x%8.8x  ", readl(&lp->rx_ring[i].base));
base709drivers/net/depca.cprintk("...0x%8.8x\n", readl(&lp->rx_ring[i].base));
base713drivers/net/depca.cprintk("0x%8.8x  ", readl(&lp->tx_ring[i].base));
base716drivers/net/depca.cprintk("...0x%8.8x\n", readl(&lp->tx_ring[i].base));
base784drivers/net/depca.cwritel((p=lp->dma_buffs+i*RX_BUFF_SZ) | R_OWN, &lp->rx_ring[i].base);
base790drivers/net/depca.c&lp->tx_ring[i].base);
base931drivers/net/depca.c!(readl(&lp->rx_ring[entry].base) & R_OWN);
base933drivers/net/depca.cstatus = readl(&lp->rx_ring[entry].base) >> 16 ;
base1002drivers/net/depca.cwritel(readl(&lp->rx_ring[lp->rx_old].base) | R_OWN, 
base1003drivers/net/depca.c&lp->rx_ring[lp->rx_old].base);
base1005drivers/net/depca.cwritel(readl(&lp->rx_ring[entry].base) | R_OWN, &lp->rx_ring[entry].base);
base1029drivers/net/depca.cstatus = readl(&lp->tx_ring[entry].base) >> 16 ;
base1574drivers/net/depca.cif (!(readl(&lp->tx_ring[end].base) & T_OWN)) {/* Enough room? */
base1591drivers/net/depca.cwritel(readl(&lp->tx_ring[i].base) & ~T_FLAGS, &lp->tx_ring[i].base);
base1597drivers/net/depca.cwritel(readl(&lp->tx_ring[end].base) & ~T_FLAGS, &lp->tx_ring[end].base);
base1602drivers/net/depca.cwritel(readl(&lp->tx_ring[entry].base) | T_STP, &lp->tx_ring[entry].base);
base1604drivers/net/depca.cwritel(readl(&lp->tx_ring[end].base) | T_ENP, &lp->tx_ring[end].base);
base1608drivers/net/depca.cwritel(readl(&lp->tx_ring[i].base) | T_OWN, &lp->tx_ring[i].base);
base1611drivers/net/depca.cwritel(readl(&lp->tx_ring[entry].base) | T_OWN, &lp->tx_ring[entry].base);
base167drivers/net/lance.cint base;
base173drivers/net/lance.cint    base;
base680drivers/net/lance.clp->rx_ring[i].base = (lp->rx_buffs + i*PKT_BUF_SZ) | 0x80000000;
base686drivers/net/lance.clp->tx_ring[i].base = 0;
base738drivers/net/lance.clp->rx_ring[i].base, -lp->rx_ring[i].buf_length,
base742drivers/net/lance.clp->tx_ring[i].base, -lp->tx_ring[i].length,
base808drivers/net/lance.clp->tx_ring[entry].base =
base813drivers/net/lance.clp->tx_ring[entry].base = (int)(skb->data) | 0x83000000;
base826drivers/net/lance.cif (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0)
base876drivers/net/lance.cint status = lp->tx_ring[entry].base;
base881drivers/net/lance.clp->tx_ring[entry].base = 0;
base972drivers/net/lance.cwhile (lp->rx_ring[entry].base >= 0) {
base973drivers/net/lance.cint status = lp->rx_ring[entry].base >> 24;
base986drivers/net/lance.clp->rx_ring[entry].base &= 0x03ffffff;
base996drivers/net/lance.cif (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0)
base1001drivers/net/lance.clp->rx_ring[entry].base |= 0x80000000;
base1010drivers/net/lance.c(unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff),
base1020drivers/net/lance.clp->rx_ring[entry].base |= 0x80000000;
base104drivers/net/ni52.c#define make24(ptr32) ((char *) (ptr32) - p->base)
base181drivers/net/ni52.cunsigned long base;
base251drivers/net/ni52.cp->base = (unsigned long) where + size - 0x01000000;
base253drivers/net/ni52.cp->scp = (struct scp_struct *)(p->base + SCP_DEFAULT_ADDRESS);
base289drivers/net/ni52.cp->scp  = (struct scp_struct *)  (p->base + SCP_DEFAULT_ADDRESS);
base400drivers/net/ni52.c((struct priv *) (dev->priv))->base =  dev->mem_start + size - 0x01000000;
base810drivers/net/ni52.cmemcpy(skb_put(skb,totlen),(char *) p->base+(unsigned long) rbd->buffer, totlen);
base225drivers/net/pi2.cswitch (lp->base & 2) {
base252drivers/net/pi2.ccmd = lp->base + CTL;
base317drivers/net/pi2.cif (lp->base & 2) {    /* If A channel */
base325drivers/net/pi2.cwrtscc(lp->cardbase, lp->base + CTL, R1, INT_ALL_Rx | EXT_INT_ENAB);
base336drivers/net/pi2.cwrtscc(lp->cardbase, lp->base + CTL, R15, CTSIE);
base337drivers/net/pi2.cwrtscc(lp->cardbase, lp->base + CTL, R0, RES_EXT_INT);
base353drivers/net/pi2.ccmd = CTL + lp->base;
base409drivers/net/pi2.cst = rdscc(lp->cardbase, lp->base + CTL, R0);  /* Fetch status */
base412drivers/net/pi2.cwrtscc(lp->cardbase, CTL + lp->base, R0, RES_EXT_INT);
base413drivers/net/pi2.ccmd = lp->base + CTL;
base482drivers/net/pi2.cwrtscc(lp->cardbase, CTL + lp->base, R15, CTSIE | DCDIE);
base519drivers/net/pi2.ccmd = lp->base + CTL;
base578drivers/net/pi2.cwrtscc(lp->cardbase, lp->base + CTL, R0, ERR_RES);  /* error reset */
base594drivers/net/pi2.ccmd = CTL + lp->base;
base683drivers/net/pi2.ccmd = CTL + lp->base;
base782drivers/net/pi2.ccmd = CTL + lp->base;
base946drivers/net/pi2.cint base, tmr0, tmr1, tmrcmd;
base950drivers/net/pi2.cbase = ioaddr & 0x3f0;
base951drivers/net/pi2.ctmr0 = TMR0 + base;
base952drivers/net/pi2.ctmr1 = TMR1 + base;
base953drivers/net/pi2.ctmrcmd = TMRCMD + base;
base1007drivers/net/pi2.ccmd = CTL + lp->base;
base1102drivers/net/pi2.ccmd = CTL + lp->base;
base1342drivers/net/pi2.clp->base = dev->base_addr;
base1380drivers/net/pi2.cwrtscc(lp->cardbase, CTL + lp->base, R1, EXT_INT_ENAB);
base1382drivers/net/pi2.cwrtscc(lp->cardbase, CTL + lp->base, R9, MIE | NV);
base1486drivers/net/pi2.cwrtscc(lp->cardbase, CTL + lp->base, R9, MIE | NV);
base1565drivers/net/pi2.cwrtscc(lp->cardbase, lp->base + CTL, R0, RES_H_IUS);
base119drivers/net/pi2.hint base;       /* Base of I/O registers */
base498drivers/pci/pci.cunsigned long base;
base591drivers/pci/pci.cbase = l;
base592drivers/pci/pci.cif (!base) {
base596drivers/pci/pci.cif (base & PCI_BASE_ADDRESS_SPACE_IO) {
base599drivers/pci/pci.cbase & PCI_BASE_ADDRESS_IO_MASK);
base603drivers/pci/pci.cif (base & PCI_BASE_ADDRESS_MEM_PREFETCH) {
base608drivers/pci/pci.cswitch (base & PCI_BASE_ADDRESS_MEM_TYPE_MASK) {
base618drivers/pci/pci.cbase |= ((u64) l) << 32;
base624drivers/pci/pci.cbase & PCI_BASE_ADDRESS_MEM_MASK);
base305drivers/scsi/53c7,8xx.cint base;  /* Memory address - indicates memory mapped regs */
base353drivers/scsi/53c7,8xx.coverrides[commandline_current].data.normal.base = ints[1];
base683drivers/scsi/53c7,8xx.cu32 base, int io_port, int irq, int dma, int pci_valid, 
base710drivers/scsi/53c7,8xx.cchip_str, base, io_port, irq);
base797drivers/scsi/53c7,8xx.cif (base) {
base798drivers/scsi/53c7,8xx.cinstance->base = (unsigned char*) (unsigned long) base;
base866drivers/scsi/53c7,8xx.cu32 base;
base892drivers/scsi/53c7,8xx.cPCI_BASE_ADDRESS_1, (int *) &base)) ||
base930drivers/scsi/53c7,8xx.cif ((base & PCI_BASE_ADDRESS_SPACE) != PCI_BASE_ADDRESS_SPACE_MEMORY) {
base933drivers/scsi/53c7,8xx.cbase = 0;
base935drivers/scsi/53c7,8xx.cbase &= PCI_BASE_ADDRESS_MEM_MASK;
base937drivers/scsi/53c7,8xx.cbase = 0;
base940drivers/scsi/53c7,8xx.cif (!io_port && !base) {
base972drivers/scsi/53c7,8xx.creturn normal_init (tpnt, board, chip, (int) base, io_port, 
base1010drivers/scsi/53c7,8xx.coverrides[current_override].data.normal.base, 
base1056drivers/scsi/53c7,8xx.cu32 base;
base1104drivers/scsi/53c7,8xx.cbase = (u32) host->io_port;
base1109drivers/scsi/53c7,8xx.cbase = virt_to_phys(host->base);
base1113drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_scratch, base + SCRATCHA_REG_800);
base1114drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_sfbr, base + SFBR_REG);
base1115drivers/scsi/53c7,8xx.cpatch_abs_32 (hostdata->script, 0, addr_temp, base + TEMP_REG);
base1323drivers/scsi/53c7,8xx.hNCR53c7x0_address_memory = (void *) (host)->base;      \
base125drivers/scsi/aha1542.c#define aha1542_intr_reset(base)  outb(IRST, CONTROL(base))
base162drivers/scsi/aha1542.cstatic int aha1542_out(unsigned int base, unchar *cmdp, int len)
base169drivers/scsi/aha1542.cWAIT(STATUS(base), CDF, 0, CDF);
base171drivers/scsi/aha1542.cif(inb(STATUS(base)) & CDF) {restore_flags(flags); continue;}
base172drivers/scsi/aha1542.coutb(*cmdp, DATA(base));
base180drivers/scsi/aha1542.cWAIT(STATUS(base), CDF, 0, CDF);
base181drivers/scsi/aha1542.coutb(*cmdp++, DATA(base));
base194drivers/scsi/aha1542.cstatic int aha1542_in(unsigned int base, unchar *cmdp, int len)
base202drivers/scsi/aha1542.cWAIT(STATUS(base), DF, DF, 0);
base203drivers/scsi/aha1542.c*cmdp++ = inb(DATA(base));
base216drivers/scsi/aha1542.cstatic int aha1542_in1(unsigned int base, unchar *cmdp, int len)
base224drivers/scsi/aha1542.cWAITd(STATUS(base), DF, DF, 0, 100);
base225drivers/scsi/aha1542.c*cmdp++ = inb(DATA(base));
base792drivers/scsi/aha1542.cstatic int aha1542_mbenable(int base)
base801drivers/scsi/aha1542.caha1542_out(base,mbenable_cmd,1);
base802drivers/scsi/aha1542.cif(aha1542_in1(base,mbenable_result,2))
base804drivers/scsi/aha1542.cWAITd(INTRFLAGS(base),INTRMASK,HACC,0,100);
base805drivers/scsi/aha1542.caha1542_intr_reset(base);
base812drivers/scsi/aha1542.caha1542_out(base,mbenable_cmd,3);
base813drivers/scsi/aha1542.cWAIT(INTRFLAGS(base),INTRMASK,HACC,0);
base819drivers/scsi/aha1542.caha1542_intr_reset(base);
base39drivers/scsi/aha1542.h#define STATUS(base) base
base49drivers/scsi/aha1542.h#define INTRFLAGS(base) (STATUS(base)+2)
base58drivers/scsi/aha1542.h#define CONTROL(base) STATUS(base)
base65drivers/scsi/aha1542.h#define DATA(base) (STATUS(base)+1)
base62drivers/scsi/aha1740.cstatic unsigned int slot, base;
base450drivers/scsi/aha1740.cbase = SLOTBASE(slot);
base456drivers/scsi/aha1740.cif(check_region(base, 0x5c)) continue;  /* See if in use */
base470drivers/scsi/aha1740.cprintk("Configuring Adaptec at IO:%x, IRQ %d\n",base,
base480drivers/scsi/aha1740.crequest_region(base, 0x5c,"aha1740");  /* Reserve the space that we need to use */
base21drivers/scsi/aha1740.h#define  BASE    (base)
base24drivers/scsi/aha1740.h#define  HID0  (base + 0x0)
base25drivers/scsi/aha1740.h#define  HID1  (base + 0x1)
base26drivers/scsi/aha1740.h#define HID2  (base + 0x2)
base27drivers/scsi/aha1740.h#define  HID3  (base + 0x3)
base28drivers/scsi/aha1740.h#define  EBCNTRL  (base + 0x4)
base29drivers/scsi/aha1740.h#define  PORTADR  (base + 0x40)
base30drivers/scsi/aha1740.h#define BIOSADR (base + 0x41)
base31drivers/scsi/aha1740.h#define INTDEF  (base + 0x42)
base32drivers/scsi/aha1740.h#define SCSIDEF (base + 0x43)
base33drivers/scsi/aha1740.h#define BUSDEF  (base + 0x44)
base34drivers/scsi/aha1740.h#define  RESV0  (base + 0x45)
base35drivers/scsi/aha1740.h#define RESV1  (base + 0x46)
base36drivers/scsi/aha1740.h#define  RESV2  (base + 0x47)
base692drivers/scsi/aic7xxx.coutb(p->pause, HCNTRL(p->base));      \
base693drivers/scsi/aic7xxx.cwhile ((inb(HCNTRL(p->base)) & PAUSE) == 0)    \
base701drivers/scsi/aic7xxx.coutb(p->unpause, HCNTRL(p->base))
base708drivers/scsi/aic7xxx.coutb(SEQRESET | FASTMODE, SEQCTL(p->base));  \
base709drivers/scsi/aic7xxx.c} while (inb(SEQADDR0(p->base)) != 0 &&    \
base710drivers/scsi/aic7xxx.cinb(SEQADDR1(p->base)) != 0);    \
base884drivers/scsi/aic7xxx.cint                      base;             /* card base address */
base910drivers/scsi/aic7xxx.cint              base;       /* I/O base */
base973drivers/scsi/aic7xxx.chost_conf = inb(HA_HOSTCONF(p->base));
base974drivers/scsi/aic7xxx.cscsi_conf = inb(HA_SCSICONF(p->base));
base1001drivers/scsi/aic7xxx.cprintk("AIC7770%s AT EISA SLOT %d:\n", BUSW[p->bus_type], p->base >> 12);
base1005drivers/scsi/aic7xxx.cprintk("AIC7770%s AT VLB SLOT %d:\n", BUSW[p->bus_type], p->base >> 12);
base1119drivers/scsi/aic7xxx.caic7xxx_loadseq(int base)
base1143drivers/scsi/aic7xxx.coutb(PERRORDIS | SEQRESET | LOADRAM, SEQCTL(base));
base1149drivers/scsi/aic7xxx.c:"S" (seqprog), "c" (sizeof(seqprog)), "d" (SEQRAM(base))
base1168drivers/scsi/aic7xxx.coutb(SEQRESET | FASTMODE, SEQCTL(base));
base1169drivers/scsi/aic7xxx.c} while ((inb(SEQADDR0(base)) != 0) && (inb(SEQADDR1(base)) != 0));
base1274drivers/scsi/aic7xxx.caic7xxx_putscb(int base, struct aic7xxx_scb *scb)
base1282drivers/scsi/aic7xxx.coutb(scb->position, QINFIFO(base));
base1290drivers/scsi/aic7xxx.coutb(SCBAUTO, SCBCNT(base));
base1296drivers/scsi/aic7xxx.c:"S" (scb), "c" (SCB_DOWNLOAD_SIZE), "d" (SCBARRAY(base))
base1299drivers/scsi/aic7xxx.coutb(0, SCBCNT(base));
base1311drivers/scsi/aic7xxx.caic7xxx_putdmascb(int base, struct aic7xxx_scb *scb)
base1319drivers/scsi/aic7xxx.coutb(SCBAUTO, SCBCNT(base));
base1325drivers/scsi/aic7xxx.c:"S" (scb), "c" (31), "d" (SCBARRAY(base))
base1328drivers/scsi/aic7xxx.coutb(0, SCBCNT(base));
base1339drivers/scsi/aic7xxx.caic7xxx_getscb(int base, struct aic7xxx_scb *scb)
base1344drivers/scsi/aic7xxx.coutb(SCBAUTO, SCBCNT(base));
base1350drivers/scsi/aic7xxx.c:"D" (scb), "c" (SCB_UPLOAD_SIZE), "d" (SCBARRAY(base))
base1353drivers/scsi/aic7xxx.coutb(0, SCBCNT(base));
base1434drivers/scsi/aic7xxx.cint base, intstat;
base1456drivers/scsi/aic7xxx.cwhile ((p != NULL) && !(inb(INTSTAT(p->base)) & INT_PEND))
base1500drivers/scsi/aic7xxx.cbase = p->base;
base1505drivers/scsi/aic7xxx.cintstat = inb(INTSTAT(base));
base1510drivers/scsi/aic7xxx.cunsigned char errno = inb(ERROR(base));
base1522drivers/scsi/aic7xxx.cinb(ERROR(base)),
base1523drivers/scsi/aic7xxx.cinb(SEQADDR1(base)) << 8 | inb(SEQADDR0(base)));
base1543drivers/scsi/aic7xxx.crej_byte = inb(HA_REJBYTE(base));
base1544drivers/scsi/aic7xxx.cscsi_id = inb(SCSIID(base)) >> 0x04;
base1545drivers/scsi/aic7xxx.cscbptr = inb(SCBPTR(base));
base1556drivers/scsi/aic7xxx.cscsi_id, (inb(SBLKCTL(base)) & SELBUSB ? 'B': 'A'));
base1565drivers/scsi/aic7xxx.c(inb(SELID(base)) >> 4) & 0x0F,
base1566drivers/scsi/aic7xxx.c(inb(SEQADDR1(base)) << 8) | inb(SEQADDR0(base)));
base1570drivers/scsi/aic7xxx.ctcl = inb(SCBARRAY(base) + 1);
base1583drivers/scsi/aic7xxx.cactive = inb(HA_ACTIVE1(base));
base1585drivers/scsi/aic7xxx.coutb(active, HA_ACTIVE1(base));
base1589drivers/scsi/aic7xxx.cactive = inb(HA_ACTIVE0(base));
base1591drivers/scsi/aic7xxx.coutb(active, HA_ACTIVE0(base));
base1594drivers/scsi/aic7xxx.coutb(SCB_NEEDDMA, SCBARRAY(base));
base1601drivers/scsi/aic7xxx.coutb(CLRSELTIMEO, CLRSINT1(base));
base1612drivers/scsi/aic7xxx.ctransfer = (inb(HA_ARG_1(base)) << 2);
base1613drivers/scsi/aic7xxx.coffset = inb(ACCUM(base));
base1614drivers/scsi/aic7xxx.cscsi_id = inb(SCSIID(base)) >> 0x04;
base1615drivers/scsi/aic7xxx.cif (inb(SBLKCTL(base)) & 0x08)
base1620drivers/scsi/aic7xxx.cscratch = inb(HA_TARG_SCRATCH(base) + scsi_id);
base1638drivers/scsi/aic7xxx.coutb(rate, HA_TARG_SCRATCH(base) + scsi_id);
base1639drivers/scsi/aic7xxx.coutb(rate, SCSIRATE(base));
base1647drivers/scsi/aic7xxx.coutb(SEND_REJ, HA_RETURN_1(base));
base1659drivers/scsi/aic7xxx.coutb(0, HA_RETURN_1(base));
base1667drivers/scsi/aic7xxx.coutb(SEND_SDTR, HA_RETURN_1(base));
base1679drivers/scsi/aic7xxx.cbus_width = inb(ACCUM(base));
base1680drivers/scsi/aic7xxx.cscsi_id = inb(SCSIID(base)) >> 0x04;
base1681drivers/scsi/aic7xxx.cif (inb(SBLKCTL(base)) & 0x08)
base1687drivers/scsi/aic7xxx.cscratch = inb(HA_TARG_SCRATCH(base) + scsi_id);
base1695drivers/scsi/aic7xxx.coutb(0, HA_RETURN_1(base));
base1732drivers/scsi/aic7xxx.coutb(bus_width | SEND_WDTR, HA_RETURN_1(base));
base1736drivers/scsi/aic7xxx.coutb(scratch, HA_TARG_SCRATCH(base) + scsi_id);
base1737drivers/scsi/aic7xxx.coutb(scratch, SCSIRATE(base));
base1753drivers/scsi/aic7xxx.cscsi_id = inb(SCSIID(base)) >> 0x04;
base1754drivers/scsi/aic7xxx.cif (inb(SBLKCTL(base)) & 0x08)
base1761drivers/scsi/aic7xxx.ctarg_scratch = inb(HA_TARG_SCRATCH(base) + scsi_id);
base1771drivers/scsi/aic7xxx.coutb(targ_scratch, HA_TARG_SCRATCH(base) + scsi_id);
base1785drivers/scsi/aic7xxx.coutb(targ_scratch, HA_TARG_SCRATCH(base) + scsi_id);
base1793drivers/scsi/aic7xxx.coutb(targ_scratch, HA_TARG_SCRATCH(base) + scsi_id);
base1794drivers/scsi/aic7xxx.coutb(targ_scratch, SCSIRATE(base));
base1799drivers/scsi/aic7xxx.cscsi_id = inb(SCSIID(base)) >> 0x04;
base1800drivers/scsi/aic7xxx.cscbptr = inb(SCBPTR(base));
base1802drivers/scsi/aic7xxx.coutb(0, HA_RETURN_1(base));   /* CHECK_CONDITION may change this */
base1812drivers/scsi/aic7xxx.caic7xxx_getscb(base, scb);
base1872drivers/scsi/aic7xxx.coutb(SCBAUTO, SCBCNT(base));
base1877drivers/scsi/aic7xxx.c:"S" (scb), "c" (SCB_DOWNLOAD_SIZE), "d" (SCBARRAY(base))
base1879drivers/scsi/aic7xxx.coutb(0, SCBCNT(base));
base1880drivers/scsi/aic7xxx.coutb(SCB_LIST_NULL, (SCBARRAY(base) + 30));
base1885drivers/scsi/aic7xxx.chead = inb(WAITING_SCBH(base));
base1886drivers/scsi/aic7xxx.ctail = inb(WAITING_SCBT(base));
base1897drivers/scsi/aic7xxx.coutb(head, SCBPTR(base));
base1898drivers/scsi/aic7xxx.coutb(tail, (SCBARRAY(base) + 30));
base1902drivers/scsi/aic7xxx.coutb(tail, SCBPTR(base));
base1904drivers/scsi/aic7xxx.coutb(tail, (SCBARRAY(base) + 30));
base1907drivers/scsi/aic7xxx.coutb(head, WAITING_SCBH(base));
base1908drivers/scsi/aic7xxx.coutb(tail, WAITING_SCBT(base));
base1909drivers/scsi/aic7xxx.coutb(SEND_SENSE, HA_RETURN_1(base));
base1951drivers/scsi/aic7xxx.cscbptr = inb(SCBPTR(base));
base1976drivers/scsi/aic7xxx.cactual -= ((inb(SCBARRAY(base + 17)) << 16) |
base1977drivers/scsi/aic7xxx.c(inb(SCBARRAY(base + 16)) <<  8) |
base1978drivers/scsi/aic7xxx.cinb(SCBARRAY(base + 15)));
base1994drivers/scsi/aic7xxx.cscbptr = inb(SCBPTR(base));
base2036drivers/scsi/aic7xxx.cscbptr = inb(SCBPTR(base));
base2053drivers/scsi/aic7xxx.coutb(MSG_BUS_DEVICE_RESET, HA_MSG_START(base));
base2054drivers/scsi/aic7xxx.coutb(1, HA_MSG_LEN(base));
base2066drivers/scsi/aic7xxx.cintstat, inb(SCSISIGI(base)));
base2069drivers/scsi/aic7xxx.coutb(CLRSEQINT, CLRINT(base));
base2075drivers/scsi/aic7xxx.cint status = inb(SSTAT1(base));
base2077drivers/scsi/aic7xxx.cscbptr = inb(SCBPTR(base));
base2087drivers/scsi/aic7xxx.coutb(status, CLRSINT1(base));
base2089drivers/scsi/aic7xxx.coutb(CLRSCSIINT, CLRINT(base));
base2113drivers/scsi/aic7xxx.coutb(ENRSELI, SCSISEQ(base));
base2119drivers/scsi/aic7xxx.cha_flags = inb(HA_FLAGS(base));
base2120drivers/scsi/aic7xxx.coutb(ha_flags & ~ACTIVE_MSG, HA_FLAGS(base));
base2124drivers/scsi/aic7xxx.cactive = inb(HA_ACTIVE1(base));
base2126drivers/scsi/aic7xxx.coutb(active, HA_ACTIVE1(base));
base2130drivers/scsi/aic7xxx.cactive = inb(HA_ACTIVE0(base));
base2132drivers/scsi/aic7xxx.coutb(active, HA_ACTIVE0(base));
base2136drivers/scsi/aic7xxx.coutb(SCB_NEEDDMA, SCBARRAY(base));
base2154drivers/scsi/aic7xxx.coutb(CLRSELTIMEO, CLRSINT1(base));
base2156drivers/scsi/aic7xxx.coutb(CLRSCSIINT, CLRINT(base));
base2159drivers/scsi/aic7xxx.cwaiting = inb(WAITING_SCBH(base));
base2160drivers/scsi/aic7xxx.coutb(waiting, SCBPTR(base));
base2161drivers/scsi/aic7xxx.cwaiting = inb(SCBARRAY(base) + 30);
base2162drivers/scsi/aic7xxx.coutb(waiting, WAITING_SCBH(base));
base2207drivers/scsi/aic7xxx.coutb(CLRSCSIPERR, CLRSINT1(base));
base2210drivers/scsi/aic7xxx.coutb(CLRSCSIINT, CLRINT(base));
base2222drivers/scsi/aic7xxx.coutb(status, CLRSINT1(base));
base2224drivers/scsi/aic7xxx.coutb(CLRSCSIINT, CLRINT(base));
base2242drivers/scsi/aic7xxx.ccomplete = inb(QOUTFIFO(base));
base2250drivers/scsi/aic7xxx.ccomplete, inb(QOUTFIFO(base)),
base2252drivers/scsi/aic7xxx.coutb(CLRCMDINT, CLRINT(base));
base2299drivers/scsi/aic7xxx.coutb(CLRCMDINT, CLRINT(base));
base2300drivers/scsi/aic7xxx.c} while (inb(QOUTCNT(base)));
base2327drivers/scsi/aic7xxx.caic7xxx_probe(int slot, int base)
base2349drivers/scsi/aic7xxx.coutb(0x80 + i, base);
base2350drivers/scsi/aic7xxx.cbuf[i] = inb(base + i);
base2360drivers/scsi/aic7xxx.cif (inb(base + 4) & 1)
base2422drivers/scsi/aic7xxx.cread_seeprom(int base, struct seeprom_config *sc)
base2436drivers/scsi/aic7xxx.cwhile ((inb(SEECTL(base)) & SEERDY) == 0)  \
base2448drivers/scsi/aic7xxx.coutb(SEEMS, SEECTL(base));
base2450drivers/scsi/aic7xxx.cwhile ((jiffies < timeout) && ((inb(SEECTL(base)) & SEERDY) == 0))
base2454drivers/scsi/aic7xxx.cif ((inb(SEECTL(base)) & SEERDY) == 0)
base2456drivers/scsi/aic7xxx.coutb(0, SEECTL(base));
base2469drivers/scsi/aic7xxx.coutb(SEEMS | SEECK | SEECS, SEECTL(base));
base2470drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2479drivers/scsi/aic7xxx.coutb(temp, SEECTL(base));
base2480drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2482drivers/scsi/aic7xxx.coutb(temp, SEECTL(base));
base2483drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2491drivers/scsi/aic7xxx.coutb(temp, SEECTL(base));
base2492drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2494drivers/scsi/aic7xxx.coutb(temp, SEECTL(base));
base2495drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2507drivers/scsi/aic7xxx.coutb(temp, SEECTL(base));
base2508drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2510drivers/scsi/aic7xxx.cseeprom[k] = (seeprom[k] << 1) | (inb(SEECTL(base)) & SEEDI);
base2511drivers/scsi/aic7xxx.coutb(temp, SEECTL(base));
base2512drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2527drivers/scsi/aic7xxx.coutb(SEEMS, SEECTL(base));
base2528drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2529drivers/scsi/aic7xxx.coutb(SEEMS | SEECK, SEECTL(base));
base2530drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2531drivers/scsi/aic7xxx.coutb(SEEMS, SEECTL(base));
base2532drivers/scsi/aic7xxx.cCLOCK_PULSE(base);
base2556drivers/scsi/aic7xxx.coutb(0, SEECTL(base));
base2568drivers/scsi/aic7xxx.cdetect_maxscb(aha_type type, int base)
base2586drivers/scsi/aic7xxx.csblkctl_reg = inb(SBLKCTL(base)) ^ AUTOFLUSHDIS;
base2587drivers/scsi/aic7xxx.coutb(sblkctl_reg, SBLKCTL(base));
base2588drivers/scsi/aic7xxx.cif (inb(SBLKCTL(base)) == sblkctl_reg)
base2591drivers/scsi/aic7xxx.coutb(sblkctl_reg ^ AUTOFLUSHDIS, SBLKCTL(base));
base2637drivers/scsi/aic7xxx.cint base, unsigned char irq)
base2653drivers/scsi/aic7xxx.cconfig.base = base;
base2663drivers/scsi/aic7xxx.crequest_region(MINREG(base), MAXREG(base) - MINREG(base), "aic7xxx");
base2669drivers/scsi/aic7xxx.cprintk("aha274x: aic7770 hcntrl=0x%x\n", inb(HCNTRL(config.base)));
base2681drivers/scsi/aic7xxx.cconfig.unpause = (inb(HCNTRL(config.base)) & IRQMS) | INTEN;
base2703drivers/scsi/aic7xxx.coutb(config.pause | CHIPRST, HCNTRL(config.base));
base2705drivers/scsi/aic7xxx.cif (inb(HCNTRL(config.base)) & CHIPRST)
base2709drivers/scsi/aic7xxx.coutb(config.pause, HCNTRL(config.base));
base2715drivers/scsi/aic7xxx.cconfig.irq = inb(HA_INTDEF(config.base)) & 0x0F;
base2716drivers/scsi/aic7xxx.chost_conf = inb(HA_HOSTCONF(config.base));
base2720drivers/scsi/aic7xxx.coutb(host_conf & DFTHRSH, BUSSPD(config.base));
base2721drivers/scsi/aic7xxx.coutb((host_conf << 2) & BOFF, BUSTIME(config.base));
base2732drivers/scsi/aic7xxx.cprintk("aha284x: aic7770 hcntrl=0x%x\n", inb(HCNTRL(config.base)));
base2734drivers/scsi/aic7xxx.coutb(CHIPRST, HCNTRL(config.base));
base2738drivers/scsi/aic7xxx.cconfig.irq = inb(HA_INTDEF(config.base)) & 0x0F;
base2739drivers/scsi/aic7xxx.chost_conf = inb(HA_HOSTCONF(config.base));
base2743drivers/scsi/aic7xxx.coutb(host_conf & DFTHRSH, BUSSPD(config.base));
base2744drivers/scsi/aic7xxx.coutb((host_conf << 2) & BOFF, BUSTIME(config.base));
base2757drivers/scsi/aic7xxx.cprintk("aic%s hcntrl=0x%x\n", board_name[type], inb(HCNTRL(config.base)));
base2760drivers/scsi/aic7xxx.coutb(CHIPRST, HCNTRL(config.base));
base2767drivers/scsi/aic7xxx.chave_seeprom = read_seeprom(base, &sc);
base2790drivers/scsi/aic7xxx.coutb(inb(DSPCISTATUS(config.base)) | DFTHRESH, DSPCISTATUS(config.base));
base2791drivers/scsi/aic7xxx.coutb(config.scsi_id | DFTHRESH, HA_SCSICONF(config.base));
base2796drivers/scsi/aic7xxx.coutb(config.scsi_id, (HA_SCSICONF(config.base) + 1));
base2809drivers/scsi/aic7xxx.cconfig.maxscb = detect_maxscb(type, base);
base2827drivers/scsi/aic7xxx.csblkctl = inb(SBLKCTL(base)) & 0x0F;  /* mask out upper two bits */
base2831drivers/scsi/aic7xxx.cconfig.scsi_id = inb(HA_SCSICONF(base)) & 0x07;
base2833drivers/scsi/aic7xxx.coutb(0, HA_FLAGS(base));
base2837drivers/scsi/aic7xxx.cconfig.scsi_id = inb(HA_SCSICONF(base) + 1) & 0x0F;
base2841drivers/scsi/aic7xxx.coutb(WIDE_BUS, HA_FLAGS(base));
base2845drivers/scsi/aic7xxx.cconfig.scsi_id = inb(HA_SCSICONF(base)) & 0x07;
base2847drivers/scsi/aic7xxx.cconfig.scsi_id_b = inb(HA_SCSICONF(base) + 1) & 0x07;
base2851drivers/scsi/aic7xxx.coutb(TWIN_BUS, HA_FLAGS(base));
base2856drivers/scsi/aic7xxx.coutb(0, HA_FLAGS(base));
base2862drivers/scsi/aic7xxx.c"mail deang@ims.com\n", inb(SBLKCTL(base)));
base2863drivers/scsi/aic7xxx.coutb(0, HA_FLAGS(base));
base2873drivers/scsi/aic7xxx.coutb(sblkctl, SBLKCTL(base));
base2972drivers/scsi/aic7xxx.cp->base = config.base;
base3026drivers/scsi/aic7xxx.caic7xxx_loadseq(base);
base3029drivers/scsi/aic7xxx.coutb(FASTMODE, SEQCTL(base));
base3033drivers/scsi/aic7xxx.coutb(ENABLE, BCTL(base));
base3047drivers/scsi/aic7xxx.coutb(config.scsi_id_b, SCSIID(base));
base3048drivers/scsi/aic7xxx.cscsi_conf = inb(HA_SCSICONF(base) + 1) & (ENSPCHK | STIMESEL);
base3050drivers/scsi/aic7xxx.coutb(scsi_conf, SXFRCTL1(base));
base3051drivers/scsi/aic7xxx.coutb(ENSELTIMO | ENSCSIPERR, SIMODE1(base));
base3053drivers/scsi/aic7xxx.coutb(0, SBLKCTL(base));
base3055drivers/scsi/aic7xxx.coutb(config.scsi_id, SCSIID(base));
base3056drivers/scsi/aic7xxx.cscsi_conf = inb(HA_SCSICONF(base)) & (ENSPCHK | STIMESEL);
base3057drivers/scsi/aic7xxx.coutb(scsi_conf | ENSTIMER | ACTNEGEN | STPWEN, SXFRCTL1(base));
base3058drivers/scsi/aic7xxx.coutb(ENSELTIMO | ENSCSIPERR, SIMODE1(base));
base3096drivers/scsi/aic7xxx.ctarget_settings = inb(HA_TARG_SCRATCH(base) + i);
base3116drivers/scsi/aic7xxx.coutb(target_settings, (HA_TARG_SCRATCH(base) + i));
base3132drivers/scsi/aic7xxx.coutb(i, SCBPTR(base));
base3133drivers/scsi/aic7xxx.coutb(0, SCBARRAY(base));
base3140drivers/scsi/aic7xxx.coutb(config.maxscb, HA_SCBCOUNT(base));
base3145drivers/scsi/aic7xxx.coutb(0, HA_ACTIVE0(base));
base3146drivers/scsi/aic7xxx.coutb(0, HA_ACTIVE1(base));
base3149drivers/scsi/aic7xxx.coutb (SCB_LIST_NULL, WAITING_SCBH(base));
base3150drivers/scsi/aic7xxx.coutb (SCB_LIST_NULL, WAITING_SCBT(base));
base3173drivers/scsi/aic7xxx.coutb(2, SBLKCTL(base));
base3174drivers/scsi/aic7xxx.coutb(SCSIRSTO, SCSISEQ(base));
base3176drivers/scsi/aic7xxx.coutb(0, SCSISEQ(base));
base3180drivers/scsi/aic7xxx.coutb(0, SBLKCTL(base));
base3183drivers/scsi/aic7xxx.coutb(SCSIRSTO, SCSISEQ(base));
base3185drivers/scsi/aic7xxx.coutb(0, SCSISEQ(base));
base3209drivers/scsi/aic7xxx.cint found = 0, slot, base;
base3237drivers/scsi/aic7xxx.cbase = SLOTBASE(slot);
base3239drivers/scsi/aic7xxx.cif (check_region(MINREG(base), MAXREG(base) - MINREG(base)))
base3248drivers/scsi/aic7xxx.ctype = aic7xxx_probe(slot, HID0(base));
base3257drivers/scsi/aic7xxx.cprintk("aic7xxx: hcntrl=0x%x\n", inb(HCNTRL(base)));
base3258drivers/scsi/aic7xxx.coutb(inb(HCNTRL(base)) | CHIPRST, HCNTRL(base));
base3259drivers/scsi/aic7xxx.cirq = inb(HA_INTDEF(base)) & 0x0F;
base3267drivers/scsi/aic7xxx.cfound += aic7xxx_register(template, type, base, irq);
base3354drivers/scsi/aic7xxx.cbase = io_port - 0xC01;
base3364drivers/scsi/aic7xxx.cprintk("aic7xxx: hcntrl=0x%x\n", inb(HCNTRL(base)));
base3366drivers/scsi/aic7xxx.coutb(inb(HCNTRL(base)) | CHIPRST, HCNTRL(base));
base3386drivers/scsi/aic7xxx.cfound += aic7xxx_register(template, type, base, irq);
base3622drivers/scsi/aic7xxx.ccurscb = inb(SCBPTR(p->base));
base3623drivers/scsi/aic7xxx.coutb(scb->position, SCBPTR(p->base));
base3624drivers/scsi/aic7xxx.caic7xxx_putdmascb(p->base, scb);
base3625drivers/scsi/aic7xxx.coutb(curscb, SCBPTR(p->base));
base3664drivers/scsi/aic7xxx.caic7xxx_putscb(p->base, scb);
base3666drivers/scsi/aic7xxx.cold_scbptr = inb(SCBPTR(p->base));
base3667drivers/scsi/aic7xxx.coutb(scb->position, SCBPTR(p->base));
base3669drivers/scsi/aic7xxx.caic7xxx_putscb(p->base, scb);
base3671drivers/scsi/aic7xxx.coutb(scb->position, QINFIFO(p->base));
base3672drivers/scsi/aic7xxx.coutb(old_scbptr, SCBPTR(p->base));
base3747drivers/scsi/aic7xxx.cqueued = inb(QINCNT(p->base));
base3751drivers/scsi/aic7xxx.cscbsave[i] = inb(QINFIFO(p->base));
base3762drivers/scsi/aic7xxx.coutb(scbsave[queued], QINFIFO(p->base));
base3771drivers/scsi/aic7xxx.cactive_scb = inb(SCBPTR(p->base));
base3782drivers/scsi/aic7xxx.coutb(scb->position, SCBPTR(p->base));
base3783drivers/scsi/aic7xxx.cscb_control = inb(SCBARRAY(p->base));
base3785drivers/scsi/aic7xxx.coutb(scb_control, SCBARRAY(p->base));
base3786drivers/scsi/aic7xxx.coutb(active_scb, SCBPTR(p->base));
base3791drivers/scsi/aic7xxx.cscb_control = inb(SCBARRAY(p->base));
base3795drivers/scsi/aic7xxx.coutb(scb_control, SCBARRAY(p->base));
base3806drivers/scsi/aic7xxx.cflags = inb(HA_FLAGS(p->base));
base3817drivers/scsi/aic7xxx.coutb(0, HA_ACTIVE1(p->base));
base3827drivers/scsi/aic7xxx.coutb(0, HA_ACTIVE0(p->base));
base3828drivers/scsi/aic7xxx.coutb(0, HA_ACTIVE1(p->base));
base3834drivers/scsi/aic7xxx.coutb(0, HA_ACTIVE0(p->base));
base3838drivers/scsi/aic7xxx.coutb(SCSIRSTO, SCSISEQ(p->base));
base3840drivers/scsi/aic7xxx.coutb(0, SCSISEQ(p->base));
base3847drivers/scsi/aic7xxx.coutb(flags | ACTIVE_MSG, HA_FLAGS(p->base));    /* active message */
base3848drivers/scsi/aic7xxx.coutb(1, HA_MSG_LEN(p->base));                   /* length = 1 */
base3849drivers/scsi/aic7xxx.coutb(message, HA_MSG_START(p->base));           /* message body */
base3856drivers/scsi/aic7xxx.coutb(inb(HA_SIGSTATE(p->base)) | 0x10, SCSISIGO(p->base));
base3974drivers/scsi/aic7xxx.coutb(SCSIRSTO, SCSISEQ(p->base));
base3976drivers/scsi/aic7xxx.coutb(0, SCSISEQ(p->base));
base193drivers/scsi/buslogic.cstatic int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt);
base196drivers/scsi/buslogic.c#define INTR_RESET(base) outb(RINT, CONTROL(base))
base245drivers/scsi/buslogic.cstatic void buslogic_stat(unsigned int base)
base247drivers/scsi/buslogic.cint s = inb(STATUS(base)), i = inb(INTERRUPT(base));
base256drivers/scsi/buslogic.cstatic int buslogic_out(unsigned int base, const unsigned char *cmdp,
base263drivers/scsi/buslogic.cWAIT_WHILE(STATUS(base), CPRBSY);
base266drivers/scsi/buslogic.cif (!(inb(STATUS(base)) & CPRBSY)) {
base267drivers/scsi/buslogic.coutb(*cmdp, COMMAND_PARAMETER(base));
base277drivers/scsi/buslogic.cWAIT_WHILE(STATUS(base), CPRBSY);
base278drivers/scsi/buslogic.coutb(*cmdp++, COMMAND_PARAMETER(base));
base286drivers/scsi/buslogic.cbuslogic_stat(base);
base293drivers/scsi/buslogic.cstatic int buslogic_in(unsigned int base, unsigned char *cmdp, size_t len)
base300drivers/scsi/buslogic.cWAIT_UNTIL_FAST(STATUS(base), DIRRDY);
base301drivers/scsi/buslogic.c*cmdp++ = inb(DATA_IN(base));
base309drivers/scsi/buslogic.cbuslogic_stat(base);
base455drivers/scsi/buslogic.cint base, interrupt_flags, found, i;
base467drivers/scsi/buslogic.cbase = shpnt->io_port;
base476drivers/scsi/buslogic.cinterrupt_flags = inb(INTERRUPT(base));
base487drivers/scsi/buslogic.cINTR_RESET(base);
base804drivers/scsi/buslogic.cstatic int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt)
base812drivers/scsi/buslogic.cvoid *base PACKED;
base819drivers/scsi/buslogic.cINTR_RESET(base);  /* reset interrupts, so they don't block */
base821drivers/scsi/buslogic.cif (buslogic_out(base, (unsigned char *)&cmd, sizeof cmd))
base823drivers/scsi/buslogic.cWAIT_UNTIL(INTERRUPT(base), CMDC);
base832drivers/scsi/buslogic.cINTR_RESET(base);
base837drivers/scsi/buslogic.cstatic int getconfig(unsigned int base, unsigned char *irq,
base850drivers/scsi/buslogic.ci = inb(STATUS(base));
base852drivers/scsi/buslogic.ci = inb(DATA_IN(base));
base854drivers/scsi/buslogic.cbuslogic_out(base, inquiry_cmd, 1);
base855drivers/scsi/buslogic.cif (buslogic_in(base, inquiry_result, 3))
base857drivers/scsi/buslogic.cWAIT_UNTIL_FAST(INTERRUPT(base), CMDC);
base858drivers/scsi/buslogic.cINTR_RESET(base);
base890drivers/scsi/buslogic.cif (buslogic_out(base, inquiry_cmd, 2))
base892drivers/scsi/buslogic.cif (buslogic_in(base, inquiry_result, inquiry_cmd[1]))
base894drivers/scsi/buslogic.cWAIT_UNTIL_FAST(INTERRUPT(base), CMDC);
base895drivers/scsi/buslogic.cif (inb(STATUS(base)) & CMDINV)
base897drivers/scsi/buslogic.cINTR_RESET(base);
base945drivers/scsi/buslogic.cstatic int buslogic_query(unsigned int base, unsigned char *trans,
base961drivers/scsi/buslogic.cif (inb(STATUS(base)) == 0xFF)
base965drivers/scsi/buslogic.cgeo = inb(GEOMETRY(base));
base975drivers/scsi/buslogic.cINTR_RESET(base);
base979drivers/scsi/buslogic.coutb(RSOFT | RINT/* | RSBUS*/, CONTROL(base));
base986drivers/scsi/buslogic.cWAIT(STATUS(base), INREQ | HARDY, DACT | DFAIL | CMDINV | DIRRDY | CPRBSY);
base989drivers/scsi/buslogic.cif (inb(INTERRUPT(base)) & INTRMASK)
base997drivers/scsi/buslogic.cbuslogic_out(base, inquiry_cmd, 1);
base998drivers/scsi/buslogic.cif (buslogic_in(base, inquiry_result, 4))
base1001drivers/scsi/buslogic.cif (inb(STATUS(base)) & DIRRDY)
base1003drivers/scsi/buslogic.cWAIT_UNTIL_FAST(INTERRUPT(base), CMDC);
base1004drivers/scsi/buslogic.cINTR_RESET(base);
base1015drivers/scsi/buslogic.cif (getconfig(base, irq, dma, id, bus_type, max_sg, bios))
base1042drivers/scsi/buslogic.cbuslogic_out(base, inquiry_cmd, 1);
base1043drivers/scsi/buslogic.cif (buslogic_in(base, inquiry_result, 1))
base1045drivers/scsi/buslogic.cWAIT_UNTIL_FAST(INTERRUPT(base), CMDC);
base1046drivers/scsi/buslogic.cINTR_RESET(base);
base1051drivers/scsi/buslogic.cbuslogic_out(base, inquiry_cmd, 1);
base1052drivers/scsi/buslogic.cif (buslogic_in(base, inquiry_result, 1))
base1054drivers/scsi/buslogic.cWAIT_UNTIL_FAST(INTERRUPT(base), CMDC);
base1055drivers/scsi/buslogic.cINTR_RESET(base);
base1063drivers/scsi/buslogic.cbuslogic_out(base, inquiry_cmd, 2);
base1064drivers/scsi/buslogic.cif (buslogic_in(base, inquiry_result, inquiry_cmd[1]))
base1066drivers/scsi/buslogic.cWAIT_UNTIL_FAST(INTERRUPT(base), CMDC);
base1067drivers/scsi/buslogic.cINTR_RESET(base);
base1113drivers/scsi/buslogic.cunsigned int base;
base1137drivers/scsi/buslogic.cbase = bases[indx];
base1141drivers/scsi/buslogic.cif (buslogic_query(base, &bios_translation, &irq, &dma, &id,
base1146drivers/scsi/buslogic.cbuslogic_stat(base);
base1181drivers/scsi/buslogic.cif (setup_mailboxes(base, shpnt))
base1192drivers/scsi/buslogic.cINTR_RESET(base);
base1193drivers/scsi/buslogic.cbuslogic_out(base, oncmd, sizeof oncmd);
base1194drivers/scsi/buslogic.cWAIT_UNTIL(INTERRUPT(base), CMDC);
base1195drivers/scsi/buslogic.cINTR_RESET(base);
base1196drivers/scsi/buslogic.cbuslogic_out(base, offcmd, sizeof offcmd);
base1197drivers/scsi/buslogic.cWAIT_UNTIL(INTERRUPT(base), CMDC);
base1202drivers/scsi/buslogic.cINTR_RESET(base);
base1213drivers/scsi/buslogic.cbase, irq);
base1227drivers/scsi/buslogic.cbuslogic_stat(base);
base1270drivers/scsi/buslogic.cshpnt->base = (unsigned char *)bios;
base1271drivers/scsi/buslogic.cshpnt->io_port = base;
base63drivers/scsi/buslogic.h#define STATUS(base) (base)
base73drivers/scsi/buslogic.h#define DATA_IN(base) (STATUS(base) + 1)
base75drivers/scsi/buslogic.h#define INTERRUPT(base) (STATUS(base) + 2)
base85drivers/scsi/buslogic.h#define GEOMETRY(base) (STATUS(base) + 3)
base93drivers/scsi/buslogic.h#define CONTROL(base) STATUS(base)
base100drivers/scsi/buslogic.h#define COMMAND_PARAMETER(base) (STATUS(base) + 1)
base163drivers/scsi/eata_dma.cuint base;
base174drivers/scsi/eata_dma.cif (!(inb((uint)sh->base + HA_RAUXSTAT) & HA_AIRQ))
base183drivers/scsi/eata_dma.cbase = (uint) cmd->host->base;
base190drivers/scsi/eata_dma.ceata_stat = inb(base + HA_RSTATUS);
base193drivers/scsi/eata_dma.c"%lx, irq%d\n", base, (long)cp, eata_stat, hba_stat, 
base202drivers/scsi/eata_dma.ceata_stat = inb(base + HA_RSTATUS);
base209drivers/scsi/eata_dma.ceata_stat = inb(base + HA_RSTATUS); 
base212drivers/scsi/eata_dma.cirq, base, cmd->pid, cmd->target, cmd->lun, 
base306drivers/scsi/eata_dma.cinline int eata_send_command(u32 addr, u32 base, u8 command)
base310drivers/scsi/eata_dma.cwhile (inb(base + HA_RAUXSTAT) & HA_ABUSY)
base315drivers/scsi/eata_dma.coutb( addr & 0x000000ff,      base + HA_WDMAADDR);
base316drivers/scsi/eata_dma.coutb((addr & 0x0000ff00) >> 8,  base + HA_WDMAADDR + 1);
base317drivers/scsi/eata_dma.coutb((addr & 0x00ff0000) >> 16, base + HA_WDMAADDR + 2);
base318drivers/scsi/eata_dma.coutb((addr & 0xff000000) >> 24, base + HA_WDMAADDR + 3);
base319drivers/scsi/eata_dma.coutb(command, base + HA_WCOMMAND);
base324drivers/scsi/eata_dma.cinline int eata_send_immediate(u32 addr, u32 base, u8 cmnd, u8 cmnd2, u8 id, 
base328drivers/scsi/eata_dma.coutb( addr & 0x000000ff,  base + HA_WDMAADDR);
base329drivers/scsi/eata_dma.coutb((addr & 0x0000ff00) >> 8,  base + HA_WDMAADDR + 1);
base330drivers/scsi/eata_dma.coutb((addr & 0x00ff0000) >> 16, base + HA_WDMAADDR + 2);
base331drivers/scsi/eata_dma.coutb((addr & 0xff000000) >> 24, base + HA_WDMAADDR + 3);
base333drivers/scsi/eata_dma.coutb(id,  base + HA_WSUBCODE);
base334drivers/scsi/eata_dma.coutb(lun, base + HA_WSUBLUN);
base337drivers/scsi/eata_dma.coutb(cmnd2, base + HA_WCOMMAND2);
base338drivers/scsi/eata_dma.coutb(cmnd,  base + HA_WCOMMAND);
base506drivers/scsi/eata_dma.cif(eata_send_command((u32) cp, (u32) sh->base, EATA_CMD_DMA_SEND_CP) == FALSE) {
base516drivers/scsi/eata_dma.c"slot %d irq %d\n", (s32)sh->base, cmd->pid, 
base538drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
base594drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
base633drivers/scsi/eata_dma.cinb((u32) (cmd->host->base) + HA_RSTATUS);  /* This might cause trouble */
base634drivers/scsi/eata_dma.ceata_send_command(0, (u32) cmd->host->base, EATA_CMD_RESET);
base686drivers/scsi/eata_dma.cchar * get_board_data(u32 base, u32 irq, u32 id)
base725drivers/scsi/eata_dma.cfake_int_base = base;
base729drivers/scsi/eata_dma.ceata_send_command((u32) cp, (u32) base, EATA_CMD_DMA_SEND_CP);
base745drivers/scsi/eata_dma.cinb((u32) (base) + HA_RSTATUS);
base746drivers/scsi/eata_dma.ceata_send_command(0, base, EATA_CMD_RESET);
base755drivers/scsi/eata_dma.cint check_blink_state(long base)
base765drivers/scsi/eata_dma.cstate = inl((uint) base + 1);
base777drivers/scsi/eata_dma.cint get_conf_PIO(u32 base, struct get_conf *buf)
base782drivers/scsi/eata_dma.cif(check_region(base, 9)) 
base787drivers/scsi/eata_dma.cwhile (inb(base + HA_RSTATUS) & HA_SBUSY)
base792drivers/scsi/eata_dma.cprintk("Issuing PIO READ CONFIG to HBA at %#x\n", base));
base793drivers/scsi/eata_dma.ceata_send_command(0, base, EATA_CMD_PIO_READ_CONFIG);
base798drivers/scsi/eata_dma.cwhile (!(inb(base + HA_RSTATUS) & HA_SDRQ))
base803drivers/scsi/eata_dma.c*p = inw(base + HA_RDATA);
base806drivers/scsi/eata_dma.cif (!(inb(base + HA_RSTATUS) & HA_SERROR)) {      /* Error ? */
base809drivers/scsi/eata_dma.c"EATA Level: %x\n", (uint) base, 
base812drivers/scsi/eata_dma.cwhile (inb(base + HA_RSTATUS) & HA_SDRQ) 
base813drivers/scsi/eata_dma.cinw(base + HA_RDATA);
base818drivers/scsi/eata_dma.c"for HBA at %lx\n", (long)base));
base842drivers/scsi/eata_dma.cshort register_HBA(u32 base, struct get_conf *gc, Scsi_Host_Template * tpnt, 
base858drivers/scsi/eata_dma.c"Please use the EATA-PIO driver.\n", base);
base888drivers/scsi/eata_dma.cdma_channel, base);
base901drivers/scsi/eata_dma.cbuff = get_board_data(base, gc->IRQ, gc->scsi_id[3]);
base910drivers/scsi/eata_dma.cprintk("HBA at %#.4x doesn't support DMA. Sorry\n", base);
base913drivers/scsi/eata_dma.cbase);
base929drivers/scsi/eata_dma.c&buff[16], base);
base931drivers/scsi/eata_dma.crequest_region(base, 9, "eata_dma"); /* We already checked the 
base1028drivers/scsi/eata_dma.csh->unique_id = base;
base1029drivers/scsi/eata_dma.csh->base = (char *) base;
base1030drivers/scsi/eata_dma.csh->io_port = base;
base1105drivers/scsi/eata_dma.cu32 base;
base1115drivers/scsi/eata_dma.cbase = 0x1c88 + (i * 0x1000);
base1117drivers/scsi/eata_dma.cpal1 = inb((u16)base - 8);
base1118drivers/scsi/eata_dma.cpal2 = inb((u16)base - 7);
base1119drivers/scsi/eata_dma.cpal3 = inb((u16)base - 6);
base1127drivers/scsi/eata_dma.cif (get_conf_PIO(base, buf) == TRUE) {
base1130drivers/scsi/eata_dma.cregister_HBA(base, buf, tpnt, IS_EISA);
base1134drivers/scsi/eata_dma.cif (check_blink_state(base)) 
base1177drivers/scsi/eata_dma.cu32 base = 0;
base1218drivers/scsi/eata_dma.cPCI_BASE_ADDRESS_0, (int *) &base))){
base1221drivers/scsi/eata_dma.cif (base & 0x01) {
base1222drivers/scsi/eata_dma.cbase &= 0xfffffffe;
base1224drivers/scsi/eata_dma.cpal1 = inb(base);
base1225drivers/scsi/eata_dma.cpal2 = inb(base + 1);
base1226drivers/scsi/eata_dma.cpal3 = inb(base + 2);
base1230drivers/scsi/eata_dma.cbase += 0x08;
base1232drivers/scsi/eata_dma.cbase += 0x10;   /* Now, THIS is the real address */
base1234drivers/scsi/eata_dma.cif (base != 0x1f8) {
base1236drivers/scsi/eata_dma.cif (get_conf_PIO(base, buf) == TRUE) {
base1243drivers/scsi/eata_dma.cregister_HBA(base, buf, tpnt, IS_PCI);
base1245drivers/scsi/eata_dma.cif (base < 0x1000) {
base1247drivers/scsi/eata_dma.cif (ISAbases[x] == base) {
base1252drivers/scsi/eata_dma.c} else if ((base & 0x0fff) == 0x0c88) 
base1253drivers/scsi/eata_dma.cEISAbases[(base >> 12) & 0x0f] = 0;
base1255drivers/scsi/eata_dma.c} else if (check_blink_state(base) == TRUE) {
base1321drivers/scsi/eata_dma.c(u32) HBA_ptr->base, HBA_ptr->irq);
base147drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
base222drivers/scsi/eata_dma_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
base134drivers/scsi/eata_pio.cuint base;
base147drivers/scsi/eata_pio.cif (inb((uint)sh->base + HA_RSTATUS) & HA_SBUSY)
base156drivers/scsi/eata_pio.cbase = (uint) cmd->host->base;
base160drivers/scsi/eata_pio.cstat=inb(base+HA_RSTATUS);
base174drivers/scsi/eata_pio.cinsw(base+HA_RDATA,cmd->SCp.ptr,x);
base179drivers/scsi/eata_pio.czwickel=inw(base+HA_RDATA); 
base186drivers/scsi/eata_pio.czwickel=inw(base+HA_RDATA); 
base199drivers/scsi/eata_pio.coutw(zwickel,base+HA_RDATA); 
base204drivers/scsi/eata_pio.coutsw(base+HA_RDATA,cmd->SCp.ptr,x);
base216drivers/scsi/eata_pio.coutw(zwickel,base+HA_RDATA); 
base232drivers/scsi/eata_pio.cif (!(inb(base+HA_RSTATUS)&HA_SERROR))
base243drivers/scsi/eata_pio.ceata_stat = inb(base + HA_RSTATUS);
base268drivers/scsi/eata_pio.cinline uint eata_pio_send_command(uint base, unchar command)
base272drivers/scsi/eata_pio.cwhile (inb(base + HA_RSTATUS) & HA_SBUSY)
base276drivers/scsi/eata_pio.coutb(command, base + HA_WCOMMAND);
base284drivers/scsi/eata_pio.cuint base;
base297drivers/scsi/eata_pio.cbase = (uint) sh->base;
base379drivers/scsi/eata_pio.cif (eata_pio_send_command(base, EATA_CMD_PIO_SEND_CP)) 
base389drivers/scsi/eata_pio.cwhile (!(inb(base + HA_RSTATUS) & HA_SDRQ));
base390drivers/scsi/eata_pio.coutsw(base + HA_RDATA, cp, hd->cplen);
base391drivers/scsi/eata_pio.coutb(EATA_CMD_PIO_TRUNC, base + HA_WCOMMAND);
base392drivers/scsi/eata_pio.cfor (x = 0; x < hd->cppadlen; x++) outw(0, base + HA_RDATA);
base395drivers/scsi/eata_pio.c"slot %d irq %d\n", (long)sh->base, cmd->pid, 
base417drivers/scsi/eata_pio.cwhile (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
base494drivers/scsi/eata_pio.coutb((uint) cmd->host->base+HA_WCOMMAND, EATA_CMD_RESET);
base537drivers/scsi/eata_pio.cchar * get_pio_board_data(ulong base, uint irq, uint id, ulong cplen, ushort cppadlen)
base562drivers/scsi/eata_pio.cif (eata_pio_send_command((uint) base, EATA_CMD_PIO_SEND_CP)) 
base564drivers/scsi/eata_pio.cwhile (!(inb(base + HA_RSTATUS) & HA_SDRQ));
base565drivers/scsi/eata_pio.coutsw(base + HA_RDATA, &cp, cplen);
base566drivers/scsi/eata_pio.coutb(EATA_CMD_PIO_TRUNC, base + HA_WCOMMAND);
base567drivers/scsi/eata_pio.cfor (z = 0; z < cppadlen; z++) outw(0, base + HA_RDATA);
base569drivers/scsi/eata_pio.cwhile (inb(base + HA_RSTATUS) & HA_SBUSY);
base570drivers/scsi/eata_pio.cif (inb(base + HA_RSTATUS) & HA_SERROR)
base572drivers/scsi/eata_pio.celse if (!(inb(base + HA_RSTATUS) & HA_SDRQ))
base576drivers/scsi/eata_pio.cinsw(base+HA_RDATA, &buff, 127);
base577drivers/scsi/eata_pio.cwhile (inb(base + HA_RSTATUS)&HA_SDRQ) inw(base + HA_RDATA);
base582drivers/scsi/eata_pio.cint get_pio_conf_PIO(u32 base, struct get_conf *buf)
base588drivers/scsi/eata_pio.cif(check_region(base, 9))  
base593drivers/scsi/eata_pio.cwhile (inb(base + HA_RSTATUS) & HA_SBUSY)
base598drivers/scsi/eata_pio.cprintk("Issuing PIO READ CONFIG to HBA at %#x\n", base));
base599drivers/scsi/eata_pio.ceata_pio_send_command(base, EATA_CMD_PIO_READ_CONFIG);
base604drivers/scsi/eata_pio.cwhile (!(inb(base + HA_RSTATUS) & HA_SDRQ))
base609drivers/scsi/eata_pio.c*p = inw(base + HA_RDATA);
base611drivers/scsi/eata_pio.cif (!(inb(base + HA_RSTATUS) & HA_SERROR)) {            /* Error ? */
base614drivers/scsi/eata_pio.c"EATA Level: %x\n", base, 
base617drivers/scsi/eata_pio.cwhile (inb(base + HA_RSTATUS) & HA_SDRQ) 
base618drivers/scsi/eata_pio.cinw(base + HA_RDATA);
base621drivers/scsi/eata_pio.cif (base == ISAbases[z]) {
base630drivers/scsi/eata_pio.c"for HBA at %x\n", base));
base650drivers/scsi/eata_pio.cstatic uint print_selftest(uint base)
base658drivers/scsi/eata_pio.cwhile (inb(base + HA_RSTATUS) & HA_SBUSY);
base659drivers/scsi/eata_pio.coutb(EATA_CMD_PIO_SETUPTEST, base + HA_WCOMMAND);
base661drivers/scsi/eata_pio.cwhile (inb(base + HA_RSTATUS) & HA_SBUSY)
base663drivers/scsi/eata_pio.cif (inb(base + HA_RSTATUS) & HA_SDRQ)
base665drivers/scsi/eata_pio.cinsw(base + HA_RDATA, &buffer, 256);
base672drivers/scsi/eata_pio.c} while (inb(base+HA_RSTATUS) & (HA_SBUSY|HA_SDRQ));
base674drivers/scsi/eata_pio.creturn (!(inb(base+HA_RSTATUS) & HA_SERROR)); 
base677drivers/scsi/eata_pio.cint register_pio_HBA(long base, struct get_conf *gc, Scsi_Host_Template * tpnt)
base689drivers/scsi/eata_pio.cprintk("HBA at %#.4lx supports DMA. Please use EATA-DMA driver.\n",base);
base694drivers/scsi/eata_pio.cif ((buff = get_pio_board_data((uint)base, gc->IRQ, gc->scsi_id[3], 
base698drivers/scsi/eata_pio.cprintk("HBA at %#lx didn't react on INQUIRY. Sorry.\n", (ulong) base);
base702drivers/scsi/eata_pio.cif (print_selftest(base) == FALSE && ALLOW_DMA_BOARDS == FALSE)
base705drivers/scsi/eata_pio.c(ulong) base);
base728drivers/scsi/eata_pio.crequest_region(base, 8, "eata_pio");
base786drivers/scsi/eata_pio.csh->unique_id = base;
base787drivers/scsi/eata_pio.csh->base = (char *) base;
base788drivers/scsi/eata_pio.csh->io_port = base;
base837drivers/scsi/eata_pio.cu32 base;
base847drivers/scsi/eata_pio.cbase = 0x1c88 + (i * 0x1000);
base849drivers/scsi/eata_pio.cpal1 = inb((u16)base - 8);
base850drivers/scsi/eata_pio.cpal2 = inb((u16)base - 7);
base851drivers/scsi/eata_pio.cpal3 = inb((u16)base - 6);
base859drivers/scsi/eata_pio.cif (get_pio_conf_PIO(base, buf) == TRUE) {
base862drivers/scsi/eata_pio.cregister_pio_HBA(base, buf, tpnt);
base885drivers/scsi/eata_pio.cu32 base = 0;
base924drivers/scsi/eata_pio.cPCI_BASE_ADDRESS_0, (int *) &base))){
base927drivers/scsi/eata_pio.cif (base & 0x01) {
base928drivers/scsi/eata_pio.cbase &= 0xfffffffe;
base930drivers/scsi/eata_pio.cif ((inb(base) == 0x12) && (inb(base + 1) == 0x14))
base932drivers/scsi/eata_pio.cbase += 0x10;   /* Now, THIS is the real address */
base933drivers/scsi/eata_pio.cif (base != 0x1f8) {
base935drivers/scsi/eata_pio.cif (get_pio_conf_PIO(base, buf) == TRUE) {
base944drivers/scsi/eata_pio.cregister_pio_HBA(base, buf, tpnt);
base946drivers/scsi/eata_pio.cif (base < 0x1000) {
base948drivers/scsi/eata_pio.cif (ISAbases[x] == base) {
base953drivers/scsi/eata_pio.c} else if ((base & 0x0fff) == 0x0c88) {
base954drivers/scsi/eata_pio.cx = (base >> 12) & 0x0f;
base1013drivers/scsi/eata_pio.c(uint) HBA_ptr->base, HBA_ptr->irq, SD(HBA_ptr)->channel, 
base83drivers/scsi/eata_pio_proc.csize = sprintf(buffer + len, "Base IO : %#.4x\n", (u32) HBA_ptr->base);
base577drivers/scsi/fdomain.cstatic int fdomain_get_irq( int base )
base579drivers/scsi/fdomain.cint options = inb( base + Configuration1 );
base600drivers/scsi/fdomain.cint base;
base615drivers/scsi/fdomain.cbase = *((char *)bios_base + 0x1fa2)
base619drivers/scsi/fdomain.cbase = *((char *)bios_base + 0x1fa3)
base623drivers/scsi/fdomain.cbase = *((char *)bios_base + 0x1fcc)
base629drivers/scsi/fdomain.cprintk( " %x,", base );
base633drivers/scsi/fdomain.cif (base == ports[i])
base637drivers/scsi/fdomain.cif (flag && fdomain_is_valid_port( base )) {
base638drivers/scsi/fdomain.c*irq    = fdomain_get_irq( base );
base639drivers/scsi/fdomain.c*iobase = base;
base662drivers/scsi/fdomain.cbase = ports[i];
base663drivers/scsi/fdomain.cif (check_region( base, 0x10 )) {
base665drivers/scsi/fdomain.cprintk( " (%x inuse),", base );
base670drivers/scsi/fdomain.cprintk( " %x,", base );
base672drivers/scsi/fdomain.cif ((flag = fdomain_is_valid_port( base ))) break;
base677drivers/scsi/fdomain.c*irq    = fdomain_get_irq( base );
base678drivers/scsi/fdomain.c*iobase = base;
base271drivers/scsi/hosts.hunsigned char *base;
base122drivers/scsi/in2000.cstatic unsigned int base;
base596drivers/scsi/in2000.cbase = base_tab[loop];
base632drivers/scsi/in2000.c"\n",base, irq_level);
base649drivers/scsi/in2000.cshpnt->io_port = base;
base652drivers/scsi/in2000.crequest_region(base, 12,"in2000");  /* Prevent other drivers from using this space */
base14drivers/scsi/in2000.h#define  INSTAT  (base + 0x0)  /* R: Auxiliary Status; W: register select */
base15drivers/scsi/in2000.h#define  INDATA  (base + 0x1)  /* R/W: Data port */
base16drivers/scsi/in2000.h#define  INFIFO  (base + 0x2)  /* R/W FIFO, Word access only */
base17drivers/scsi/in2000.h#define  INREST  (base + 0x3)  /* W: Reset everything */
base18drivers/scsi/in2000.h#define  INFCNT  (base + 0x4)  /* R: FIFO byte count */
base19drivers/scsi/in2000.h#define  INFRST  (base + 0x5)  /* W: Reset Fifo count and to write */
base20drivers/scsi/in2000.h#define  INFWRT  (base + 0x7)  /* W: Set FIFO to read */
base21drivers/scsi/in2000.h#define  INFLED  (base + 0x8)  /* W: Set LED; R: Dip Switch settings */
base22drivers/scsi/in2000.h#define  INNLED  (base + 0x9)  /* W: reset LED */
base23drivers/scsi/in2000.h#define  INVERS  (base + 0xa)  /* R: Read hw version, end-reset */
base24drivers/scsi/in2000.h#define  ININTR  (base + 0xc)  /* W: Interrupt Mask Port */
base166drivers/scsi/pas16.c#define NO_BASES (sizeof (bases) / sizeof (struct base))
base147drivers/scsi/t128.c#define NO_BASES (sizeof (bases) / sizeof (struct base))
base202drivers/scsi/t128.cunsigned char *base;
base208drivers/scsi/t128.cbase = NULL;
base211drivers/scsi/t128.cbase = overrides[current_override].address;
base213drivers/scsi/t128.cfor (; !base && (current_base < NO_BASES); ++current_base) {
base221drivers/scsi/t128.cbase = bases[current_base].address;
base230drivers/scsi/t128.cprintk("scsi-t128 : base = %08x\n", (unsigned int) base);
base233drivers/scsi/t128.cif (!base)
base237drivers/scsi/t128.cinstance->base = base;
base263drivers/scsi/t128.cinstance->base);
base323drivers/scsi/t128.cregister unsigned char *reg = (unsigned char *) (instance->base + 
base330drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
base332drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
base338drivers/scsi/t128.cif (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) {
base341drivers/scsi/t128.cfoo = instance->base + T_CONTROL_REG_OFFSET;
base367drivers/scsi/t128.cregister unsigned char *reg = (unsigned char *) (instance->base + 
base373drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
base375drivers/scsi/t128.cwhile (!(instance->base[T_STATUS_REG_OFFSET]) & T_ST_RDY) barrier();
base381drivers/scsi/t128.cif (*(instance->base + T_STATUS_REG_OFFSET) & T_ST_TIM) {
base384drivers/scsi/t128.cfoo = instance->base + T_CONTROL_REG_OFFSET;
base131drivers/scsi/t128.hvolatile unsigned char *base
base134drivers/scsi/t128.hvolatile unsigned char *base
base137drivers/scsi/t128.hbase = (volatile unsigned char *) (instance)->base
base139drivers/scsi/t128.h#define T128_address(reg) (base + T_5380_OFFSET + ((reg) * 0x20))
base436drivers/scsi/u14-34f.csh[j]->base = bios_segment_table[config_1.bios_segment];
base454drivers/scsi/u14-34f.cif (sh[j]->base == 0) outb(CMD_ENA_INTR, sh[j]->io_port + REG_SYS_MASK);
base507drivers/scsi/u14-34f.c(int)sh[j]->base, sh[j]->irq, 
base58drivers/sound/ad1848.cint             base;
base104drivers/sound/ad1848.c#define io_Index_Addr(d)  ((d)->base)
base105drivers/sound/ad1848.c#define io_Indexed_Data(d)  ((d)->base+1)
base106drivers/sound/ad1848.c#define io_Status(d)    ((d)->base+2)
base107drivers/sound/ad1848.c#define io_Polled_IO(d)    ((d)->base+3)
base126drivers/sound/ad1848.cwhile (timeout > 0 && INB (devc->base) == 0x80)  /*Are we initializing */
base144drivers/sound/ad1848.cwhile (timeout > 0 && INB (devc->base) == 0x80)  /*Are we initializing */
base167drivers/sound/ad1848.cwhile (timeout > 0 && INB (devc->base) & 0x80)
base169drivers/sound/ad1848.cif (INB (devc->base) & 0x80)
base222drivers/sound/ad1848.cwhile (timeout > 0 && INB (devc->base) == 0x80)  /*Are we initializing */
base246drivers/sound/ad1848.cwhile (timeout > 0 && INB (devc->base) == 0x80)  /*Are we initializing */
base988drivers/sound/ad1848.cwhile (timeout > 0 && INB (devc->base) == 0x80)
base1002drivers/sound/ad1848.cwhile (timeout > 0 && INB (devc->base) == 0x80)
base1065drivers/sound/ad1848.cdevc->base = io_base;
base1084drivers/sound/ad1848.cif ((INB (devc->base) & 0x80) != 0x00)  /* Not a AD1884 */
base1194drivers/sound/ad1848.cif (devc->base != MOZART_PORT + 4)
base48drivers/sound/mpu401.cint             base;  /*
base85drivers/sound/mpu401.c#define  DATAPORT(base)   (base)
base86drivers/sound/mpu401.c#define  COMDPORT(base)   (base+1)
base87drivers/sound/mpu401.c#define  STATPORT(base)   (base+1)
base89drivers/sound/mpu401.c#define mpu401_status(base)    INB(STATPORT(base))
base90drivers/sound/mpu401.c#define input_avail(base)    (!(mpu401_status(base)&INPUT_AVAIL))
base91drivers/sound/mpu401.c#define output_ready(base)    (!(mpu401_status(base)&OUTPUT_READY))
base92drivers/sound/mpu401.c#define write_command(base, cmd)    OUTB(cmd, COMDPORT(base))
base93drivers/sound/mpu401.c#define read_data(base)    INB(DATAPORT(base))
base95drivers/sound/mpu401.c#define write_data(base, byte)  OUTB(byte, DATAPORT(base))
base412drivers/sound/mpu401.cwhile (input_avail (devc->base) && n-- > 0)
base414drivers/sound/mpu401.cunsigned char   c = read_data (devc->base);
base452drivers/sound/mpu401.cif (input_avail (devc->base))
base453drivers/sound/mpu401.cif (devc->base != 0 && (devc->opened & OPEN_READ || devc->mode == MODE_SYNTH))
base458drivers/sound/mpu401.cread_data (devc->base);
base492drivers/sound/mpu401.cif (mpu401_status (devc->base) == 0xff)  /* Bus float */
base567drivers/sound/mpu401.cif (input_avail (devc->base))
base577drivers/sound/mpu401.cfor (timeout = 3000; timeout > 0 && !output_ready (devc->base); timeout--);
base580drivers/sound/mpu401.cif (!output_ready (devc->base))
base587drivers/sound/mpu401.cwrite_data (devc->base, midi_byte);
base613drivers/sound/mpu401.cif (input_avail (devc->base))
base631drivers/sound/mpu401.cif (!output_ready (devc->base))
base637drivers/sound/mpu401.cwrite_command (devc->base, cmd->cmd);
base640drivers/sound/mpu401.cif (input_avail (devc->base))
base643drivers/sound/mpu401.cif (mpu_input_scanner (devc, read_data (devc->base)) == MPU_ACK)
base648drivers/sound/mpu401.cif (read_data (devc->base) == MPU_ACK)
base662drivers/sound/mpu401.cfor (timeout = 3000; timeout > 0 && !output_ready (devc->base); timeout--);
base680drivers/sound/mpu401.cif (input_avail (devc->base))
base682drivers/sound/mpu401.ccmd->data[i] = read_data (devc->base);
base874drivers/sound/mpu401.cif (mpu401_status (devc->base) == 0xff)  /* Bus float */
base1033drivers/sound/mpu401.cdevc->base = hw_config->io_base;
base1159drivers/sound/mpu401.cok = output_ready (devc->base);
base1161drivers/sound/mpu401.cwrite_command (devc->base, MPU_RESET);  /*
base1173drivers/sound/mpu401.cif (input_avail (devc->base))
base1174drivers/sound/mpu401.cif (read_data (devc->base) == MPU_ACK)
base1225drivers/sound/mpu401.ctmp_devc.base = hw_config->io_base;
base37drivers/sound/pss.c#define REG(x)  (devc->base+x)
base69drivers/sound/pss.cint             base;
base88drivers/sound/pss.cdevc->base = hw_config->io_base;
base92drivers/sound/pss.cif (devc->base != 0x220 && devc->base != 0x240)
base93drivers/sound/pss.cif (devc->base != 0x230 && devc->base != 0x250)  /* Some cards use these */
base106drivers/sound/pss.cprintk ("No PSS signature detected at 0x%x (0x%x)\n", devc->base, id);
base142drivers/sound/pss.cset_io_base (pss_config * devc, int dev, int base)
base145drivers/sound/pss.cunsigned short  bits = (base & 0x0ffc) << 4;
base317drivers/sound/pss.cdevc->base = hw_config->io_base;
base889drivers/sound/sb_dsp.csmw_putmem (int base, int addr, unsigned char val)
base895drivers/sound/sb_dsp.cOUTB (addr & 0xff, base + 1);  /* Low address bits */
base896drivers/sound/sb_dsp.cOUTB (addr >> 8, base + 2);  /* High address bits */
base897drivers/sound/sb_dsp.cOUTB (val, base);    /* Data */
base903drivers/sound/sb_dsp.csmw_getmem (int base, int addr)
base910drivers/sound/sb_dsp.cOUTB (addr & 0xff, base + 1);  /* Low address bits */
base911drivers/sound/sb_dsp.cOUTB (addr >> 8, base + 2);  /* High address bits */
base912drivers/sound/sb_dsp.cval = INB (base);    /* Data */
base68drivers/sound/sscape.c#define PORT(name)  (devc->base+name)
base87drivers/sound/sscape.cint             base, irq, dma;
base386drivers/sound/sscape.cif (INB (devc->base + HOST_CTRL) & 0x80)
base389drivers/sound/sscape.cif (INB (devc->base) != 0x00)
base972drivers/sound/sscape.cdevc->base = hw_config->io_base;
base1030drivers/sound/sscape.cINB (devc->base + ODIE_ADDR);
base58drivers/sound/trix.cdownload_boot (int base)
base64drivers/sound/trix.cOUTB (0x01, base + 6);  /* Clear the internal data pointer */
base65drivers/sound/trix.cOUTB (0x00, base + 6);  /* Restart */
base71drivers/sound/trix.cOUTB (0x01, base + 6);  /* Clear the internal data pointer */
base78drivers/sound/trix.cOUTB (0x00, base + 6);  /* Reset */
base215fs/namei.cstruct inode * base, struct inode ** res_inode)
base223fs/namei.cif (!base) {
base224fs/namei.cbase = current->fs->pwd;
base225fs/namei.cbase->i_count++;
base228fs/namei.ciput(base);
base229fs/namei.cbase = current->fs->root;
base231fs/namei.cbase->i_count++;
base239fs/namei.cbase->i_count++;
base240fs/namei.cerror = lookup(base,thisname,len,&inode);
base242fs/namei.ciput(base);
base245fs/namei.cerror = follow_link(base,inode,0,0,&base);
base249fs/namei.cif (!base->i_op || !base->i_op->lookup) {
base250fs/namei.ciput(base);
base255fs/namei.c*res_inode = base;
base259fs/namei.cstatic int _namei(const char * pathname, struct inode * base,
base267fs/namei.cerror = dir_namei(pathname,&namelen,&basename,base,&base);
base270fs/namei.cbase->i_count++;  /* lookup uses up base */
base271fs/namei.cerror = lookup(base,basename,namelen,&inode);
base273fs/namei.ciput(base);
base277fs/namei.cerror = follow_link(base,inode,0,0,&inode);
base281fs/namei.ciput(base);
base333fs/namei.cstruct inode ** res_inode, struct inode * base)
base341fs/namei.cerror = dir_namei(pathname,&namelen,&basename,base,&dir);
base180fs/read_write.cvoid * base;
base183fs/read_write.cbase = get_user(&vector->iov_base);
base187fs/read_write.cnr = verify_area(VERIFY_WRITE, base, len);
base189fs/read_write.cnr = file->f_op->read(inode, file, base, len);
base221fs/read_write.cvoid * base;
base224fs/read_write.cbase = get_user(&vector->iov_base);
base228fs/read_write.cnr = verify_area(VERIFY_READ, base, len);
base230fs/read_write.cnr = file->f_op->write(inode, file, base, len);
base127include/asm-i386/system.h#define _set_base(addr,base) \
base136include/asm-i386/system.h"d" (base) \
base152include/asm-i386/system.h#define set_base(ldt,base) _set_base( ((char *)&(ldt)) , base )
base258include/asm-i386/system.h#define _set_seg_desc(gate_addr,type,dpl,base,limit) {\
base259include/asm-i386/system.h*((gate_addr)+1) = ((base) & 0xff000000) | \
base260include/asm-i386/system.h(((base) & 0x00ff0000)>>16) | \
base265include/asm-i386/system.h*(gate_addr) = (((base) & 0x0000ffff)<<16) | \
base39include/linux/etherdevice.hunsigned char *src, int length, int base);
base471include/linux/fs.hstruct inode ** res_inode, struct inode * base);
base118include/linux/kd.hu_char diacr, base, result;
base30include/linux/ldt.hextern int set_ldt_entry(int entry, unsigned long base, unsigned int limit,
base80include/linux/lp.h#define LP_B(minor)  lp_table[(minor)].base    /* IO address */
base83include/linux/lp.h#define LP_C(minor)  (lp_table[(minor)].base + 2)  /* control port */
base103include/linux/lp.hint base;
base6include/linux/pipe_fs_i.hchar * base;
base17include/linux/pipe_fs_i.h#define PIPE_BASE(inode)  ((inode).u.pipe_i.base)
base17lib/vsprintf.cunsigned long simple_strtoul(const char *cp,char **endp,unsigned int base)
base21lib/vsprintf.cif (!base) {
base22lib/vsprintf.cbase = 10;
base24lib/vsprintf.cbase = 8;
base28lib/vsprintf.cbase = 16;
base33lib/vsprintf.c? toupper(*cp) : *cp)-'A'+10) < base) {
base34lib/vsprintf.cresult = result*base + value;
base62lib/vsprintf.c#define do_div(n,base) ({ \
base64lib/vsprintf.c__res = ((unsigned long) n) % (unsigned) base; \
base65lib/vsprintf.cn = ((unsigned long) n) / (unsigned) base; \
base68lib/vsprintf.cstatic char * number(char * str, long num, int base, int size, int precision
base79lib/vsprintf.cif (base < 2 || base > 36)
base97lib/vsprintf.cif (base == 16)
base99lib/vsprintf.celse if (base == 8)
base106lib/vsprintf.ctmp[i++] = digits[do_div(num,base)];
base116lib/vsprintf.cif (base==8)
base118lib/vsprintf.celse if (base==16) {
base138lib/vsprintf.cint i, base;
base204lib/vsprintf.cbase = 10;
base255lib/vsprintf.cbase = 8;
base261lib/vsprintf.cbase = 16;
base290lib/vsprintf.cstr = number(str, num, base, field_width, precision, flags);
base238net/ethernet/eth.cvoid eth_copy_and_sum(struct sk_buff *dest, unsigned char *src, int length, int base)
base264net/ethernet/eth.cdest->csum=csum_partial_copy(src+34,dest->data+34,length,base);
base123net/ipv4/af_inet.cunsigned short get_new_socknum(struct proto *prot, unsigned short base)
base137net/ipv4/af_inet.cif (base == 0) 
base138net/ipv4/af_inet.cbase = PROT_SOCK+1+(start % 1024);
base139net/ipv4/af_inet.cif (base <= PROT_SOCK) 
base141net/ipv4/af_inet.cbase += PROT_SOCK+(start % 1024);
base148net/ipv4/af_inet.csk = prot->sock_array[(i+base+1) &(SOCK_ARRAY_SIZE -1)];
base157net/ipv4/af_inet.creturn(i+base+1);
base168net/ipv4/af_inet.cwhile(sk_inuse(prot, base +best+1)) 
base172net/ipv4/af_inet.creturn(best+base+1);
base1304net/ipv4/tcp.cunsigned long saddr, unsigned long daddr, unsigned long base)
base1306net/ipv4/tcp.creturn csum_tcpudp_magic(saddr,daddr,len,IPPROTO_TCP,base);
base204net/ipv4/udp.cstatic unsigned short udp_check(struct udphdr *uh, int len, unsigned long saddr, unsigned long daddr, unsigned long base)
base206net/ipv4/udp.creturn(csum_tcpudp_magic(saddr, daddr, len, IPPROTO_UDP, base));