tag | line | file | source code |
nic_base | 251 | drivers/net/hp.c | int nic_base = dev->base_addr; |
nic_base | 252 | drivers/net/hp.c | int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 254 | drivers/net/hp.c | outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 255 | drivers/net/hp.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base); |
nic_base | 256 | drivers/net/hp.c | outb_p(sizeof(struct e8390_pkt_hdr), nic_base + EN0_RCNTLO); |
nic_base | 257 | drivers/net/hp.c | outb_p(0, nic_base + EN0_RCNTHI); |
nic_base | 258 | drivers/net/hp.c | outb_p(0, nic_base + EN0_RSARLO); /* On page boundary */ |
nic_base | 259 | drivers/net/hp.c | outb_p(ring_page, nic_base + EN0_RSARHI); |
nic_base | 260 | drivers/net/hp.c | outb_p(E8390_RREAD+E8390_START, nic_base); |
nic_base | 263 | drivers/net/hp.c | insw(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); |
nic_base | 265 | drivers/net/hp.c | insb(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); |
nic_base | 267 | drivers/net/hp.c | outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 278 | drivers/net/hp.c | int nic_base = dev->base_addr; |
nic_base | 279 | drivers/net/hp.c | int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 283 | drivers/net/hp.c | outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 284 | drivers/net/hp.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base); |
nic_base | 285 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 286 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 287 | drivers/net/hp.c | outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); |
nic_base | 288 | drivers/net/hp.c | outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); |
nic_base | 289 | drivers/net/hp.c | outb_p(E8390_RREAD+E8390_START, nic_base); |
nic_base | 291 | drivers/net/hp.c | insw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1); |
nic_base | 293 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
nic_base | 295 | drivers/net/hp.c | insb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
nic_base | 299 | drivers/net/hp.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 300 | drivers/net/hp.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 307 | drivers/net/hp.c | outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 314 | drivers/net/hp.c | int nic_base = dev->base_addr; |
nic_base | 315 | drivers/net/hp.c | int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 317 | drivers/net/hp.c | outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 324 | drivers/net/hp.c | outb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base); |
nic_base | 329 | drivers/net/hp.c | outb_p(0x42, nic_base + EN0_RCNTLO); |
nic_base | 330 | drivers/net/hp.c | outb_p(0, nic_base + EN0_RCNTHI); |
nic_base | 331 | drivers/net/hp.c | outb_p(0xff, nic_base + EN0_RSARLO); |
nic_base | 332 | drivers/net/hp.c | outb_p(0x00, nic_base + EN0_RSARHI); |
nic_base | 334 | drivers/net/hp.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 340 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 341 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 342 | drivers/net/hp.c | outb_p(0x00, nic_base + EN0_RSARLO); |
nic_base | 343 | drivers/net/hp.c | outb_p(start_page, nic_base + EN0_RSARHI); |
nic_base | 345 | drivers/net/hp.c | outb_p(E8390_RWRITE+E8390_START, nic_base); |
nic_base | 348 | drivers/net/hp.c | outsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1); |
nic_base | 350 | drivers/net/hp.c | outsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
nic_base | 357 | drivers/net/hp.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 358 | drivers/net/hp.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 364 | drivers/net/hp.c | outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 414 | drivers/net/ne.c | int nic_base = dev->base_addr; |
nic_base | 426 | drivers/net/ne.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); |
nic_base | 427 | drivers/net/ne.c | outb_p(sizeof(struct e8390_pkt_hdr), nic_base + EN0_RCNTLO); |
nic_base | 428 | drivers/net/ne.c | outb_p(0, nic_base + EN0_RCNTHI); |
nic_base | 429 | drivers/net/ne.c | outb_p(0, nic_base + EN0_RSARLO); /* On page boundary */ |
nic_base | 430 | drivers/net/ne.c | outb_p(ring_page, nic_base + EN0_RSARHI); |
nic_base | 431 | drivers/net/ne.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 438 | drivers/net/ne.c | outb_p(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ |
nic_base | 453 | drivers/net/ne.c | int nic_base = dev->base_addr; |
nic_base | 465 | drivers/net/ne.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); |
nic_base | 466 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 467 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 468 | drivers/net/ne.c | outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); |
nic_base | 469 | drivers/net/ne.c | outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); |
nic_base | 470 | drivers/net/ne.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 493 | drivers/net/ne.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 494 | drivers/net/ne.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 505 | drivers/net/ne.c | outb_p(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ |
nic_base | 513 | drivers/net/ne.c | int nic_base = NE_BASE; |
nic_base | 535 | drivers/net/ne.c | outb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); |
nic_base | 546 | drivers/net/ne.c | outb_p(0x42, nic_base + EN0_RCNTLO); |
nic_base | 547 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RCNTHI); |
nic_base | 548 | drivers/net/ne.c | outb_p(0x42, nic_base + EN0_RSARLO); |
nic_base | 549 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RSARHI); |
nic_base | 550 | drivers/net/ne.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 557 | drivers/net/ne.c | outb_p(ENISR_RDC, nic_base + EN0_ISR); |
nic_base | 560 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 561 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 562 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RSARLO); |
nic_base | 563 | drivers/net/ne.c | outb_p(start_page, nic_base + EN0_RSARHI); |
nic_base | 565 | drivers/net/ne.c | outb_p(E8390_RWRITE+E8390_START, nic_base + NE_CMD); |
nic_base | 580 | drivers/net/ne.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 581 | drivers/net/ne.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 596 | drivers/net/ne.c | while ((inb_p(nic_base + EN0_ISR) & ENISR_RDC) == 0) |
nic_base | 604 | drivers/net/ne.c | outb_p(ENISR_RDC, nic_base + EN0_ISR); /* Ack intr. */ |