tag | line | file | source code |
PORT | 108 | drivers/net/ni65.c | #define writereg(val,reg) {outw(reg,PORT+L_ADDRREG);inw(PORT+L_ADDRREG); \ |
PORT | 109 | drivers/net/ni65.c | outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
PORT | 110 | drivers/net/ni65.c | #define readreg(reg) (outw(reg,PORT+L_ADDRREG),inw(PORT+L_ADDRREG),\ |
PORT | 111 | drivers/net/ni65.c | inw(PORT+L_DATAREG)) |
PORT | 112 | drivers/net/ni65.c | #define writedatareg(val) {outw(val,PORT+L_DATAREG);inw(PORT+L_DATAREG);} |
PORT | 167 | drivers/net/ni65.c | outw(0,PORT+L_RESET); /* that's the hard way */ |
PORT | 213 | drivers/net/ni65.c | station_addr[i] = dev->dev_addr[i] = inb(PORT+L_EBASE+i); |
PORT | 222 | drivers/net/ni65.c | dev->irq = irqtab[(inw(PORT+L_CONFIG)>>2)&3]; |
PORT | 224 | drivers/net/ni65.c | dev->dma = dmatab[inw(PORT+L_CONFIG)&3]; |
PORT | 321 | drivers/net/ni65.c | outw(0,PORT+L_RESET); /* first: reset the card */ |
PORT | 322 | drivers/net/ni65.c | if(inw(PORT+L_DATAREG) != 0x4) |
PORT | 324 | drivers/net/ni65.c | printk("%s: can't RESET ni6510 card: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
PORT | 380 | drivers/net/ni65.c | if(inw(PORT+L_DATAREG) & CSR0_IDON) break; /* init ok ? */ |
PORT | 384 | drivers/net/ni65.c | printk("%s: can't init am7990, status: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
PORT | 410 | drivers/net/ni65.c | csr0 = inw(PORT+L_DATAREG); |
PORT | 524 | drivers/net/ni65.c | printk("%s: lance-status: %04x\n",dev->name,(int) inw(PORT+L_DATAREG)); |
PORT | 313 | drivers/scsi/aha152x.h | #define SETPORT(PORT, VAL) \ |
PORT | 314 | drivers/scsi/aha152x.h | outb( (VAL), (PORT) ) |
PORT | 316 | drivers/scsi/aha152x.h | #define SETPORTP(PORT, VAL) \ |
PORT | 317 | drivers/scsi/aha152x.h | outb_p( (VAL), (PORT) ) |
PORT | 319 | drivers/scsi/aha152x.h | #define SETPORTW(PORT, VAL) \ |
PORT | 320 | drivers/scsi/aha152x.h | outw( (VAL), (PORT) ) |
PORT | 322 | drivers/scsi/aha152x.h | #define GETPORT(PORT) \ |
PORT | 323 | drivers/scsi/aha152x.h | inb( PORT ) |
PORT | 325 | drivers/scsi/aha152x.h | #define GETPORTW(PORT) \ |
PORT | 326 | drivers/scsi/aha152x.h | inw( PORT ) |
PORT | 328 | drivers/scsi/aha152x.h | #define SETBITS(PORT, BITS) \ |
PORT | 329 | drivers/scsi/aha152x.h | outb( (inb(PORT) | (BITS)), (PORT) ) |
PORT | 331 | drivers/scsi/aha152x.h | #define CLRBITS(PORT, BITS) \ |
PORT | 332 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(BITS)), (PORT) ) |
PORT | 334 | drivers/scsi/aha152x.h | #define CLRSETBITS(PORT, CLR, SET) \ |
PORT | 335 | drivers/scsi/aha152x.h | outb( (inb(PORT) & ~(CLR)) | (SET) , (PORT) ) |
PORT | 337 | drivers/scsi/aha152x.h | #define TESTHI(PORT, BITS) \ |
PORT | 338 | drivers/scsi/aha152x.h | ((inb(PORT) & (BITS)) == BITS) |
PORT | 340 | drivers/scsi/aha152x.h | #define TESTLO(PORT, BITS) \ |
PORT | 341 | drivers/scsi/aha152x.h | ((inb(PORT) & (BITS)) == 0) |
PORT | 125 | drivers/sound/sscape.c | OUTB (reg, PORT (ODIE_ADDR)); |
PORT | 126 | drivers/sound/sscape.c | val = INB (PORT (ODIE_DATA)); |
PORT | 137 | drivers/sound/sscape.c | OUTB (reg, PORT (ODIE_ADDR)); |
PORT | 138 | drivers/sound/sscape.c | OUTB (data, PORT (ODIE_DATA)); |
PORT | 145 | drivers/sound/sscape.c | OUTB (0x00, PORT (HOST_CTRL)); /* Put the board to the host mode */ |
PORT | 151 | drivers/sound/sscape.c | OUTB (0x03, PORT (HOST_CTRL)); /* Put the board to the MIDI mode */ |
PORT | 169 | drivers/sound/sscape.c | if (INB (PORT (HOST_CTRL)) & TX_READY) |
PORT | 178 | drivers/sound/sscape.c | OUTB (data[i], PORT (HOST_DATA)); |
PORT | 201 | drivers/sound/sscape.c | if (INB (PORT (HOST_CTRL)) & RX_READY) |
PORT | 210 | drivers/sound/sscape.c | data = INB (PORT (HOST_DATA)); |
PORT | 512 | drivers/sound/sscape.c | OUTB (0x00, PORT (HOST_CTRL)); |
PORT | 513 | drivers/sound/sscape.c | OUTB (0x00, PORT (MIDI_CTRL)); |
PORT | 529 | drivers/sound/sscape.c | if (INB (PORT (HOST_DATA)) == 0xff) /* OBP startup acknowledge */ |
PORT | 545 | drivers/sound/sscape.c | if (INB (PORT (HOST_DATA)) == 0xfe) /* Host startup acknowledge */ |
PORT | 981 | drivers/sound/sscape.c | if ((save = INB (PORT (ODIE_ADDR))) & 0xf0) |
PORT | 984 | drivers/sound/sscape.c | OUTB (0x00, PORT (ODIE_ADDR)); |
PORT | 985 | drivers/sound/sscape.c | if (INB (PORT (ODIE_ADDR)) != 0x00) |
PORT | 988 | drivers/sound/sscape.c | OUTB (0xff, PORT (ODIE_ADDR)); |
PORT | 989 | drivers/sound/sscape.c | if (INB (PORT (ODIE_ADDR)) != 0x0f) |
PORT | 992 | drivers/sound/sscape.c | OUTB (save, PORT (ODIE_ADDR)); |