tag | line | file | source code |
nic_base | 220 | drivers/net/hp.c | int nic_base = dev->base_addr; |
nic_base | 221 | drivers/net/hp.c | int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 224 | drivers/net/hp.c | outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 225 | drivers/net/hp.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base); |
nic_base | 226 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 227 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 228 | drivers/net/hp.c | outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); |
nic_base | 229 | drivers/net/hp.c | outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); |
nic_base | 230 | drivers/net/hp.c | outb_p(E8390_RREAD+E8390_START, nic_base); |
nic_base | 232 | drivers/net/hp.c | insw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1); |
nic_base | 234 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
nic_base | 236 | drivers/net/hp.c | insb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
nic_base | 240 | drivers/net/hp.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 241 | drivers/net/hp.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 248 | drivers/net/hp.c | outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 256 | drivers/net/hp.c | int nic_base = dev->base_addr; |
nic_base | 257 | drivers/net/hp.c | int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 259 | drivers/net/hp.c | outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 266 | drivers/net/hp.c | outb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base); |
nic_base | 271 | drivers/net/hp.c | outb_p(0x42, nic_base + EN0_RCNTLO); |
nic_base | 272 | drivers/net/hp.c | outb_p(0, nic_base + EN0_RCNTHI); |
nic_base | 273 | drivers/net/hp.c | outb_p(0xff, nic_base + EN0_RSARLO); |
nic_base | 274 | drivers/net/hp.c | outb_p(0x00, nic_base + EN0_RSARHI); |
nic_base | 281 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 282 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 283 | drivers/net/hp.c | outb_p(0x00, nic_base + EN0_RSARLO); |
nic_base | 284 | drivers/net/hp.c | outb_p(start_page, nic_base + EN0_RSARHI); |
nic_base | 286 | drivers/net/hp.c | outb_p(E8390_RWRITE+E8390_START, nic_base); |
nic_base | 289 | drivers/net/hp.c | outsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1); |
nic_base | 291 | drivers/net/hp.c | outsb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
nic_base | 298 | drivers/net/hp.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 299 | drivers/net/hp.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 305 | drivers/net/hp.c | outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 293 | drivers/net/ne.c | int nic_base = dev->base_addr; |
nic_base | 303 | drivers/net/ne.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); |
nic_base | 304 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 305 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 306 | drivers/net/ne.c | outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); |
nic_base | 307 | drivers/net/ne.c | outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); |
nic_base | 308 | drivers/net/ne.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 326 | drivers/net/ne.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 327 | drivers/net/ne.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 346 | drivers/net/ne.c | int nic_base = NE_BASE; |
nic_base | 362 | drivers/net/ne.c | outb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); |
nic_base | 370 | drivers/net/ne.c | outb_p(0x42, nic_base + EN0_RCNTLO); |
nic_base | 371 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RCNTHI); |
nic_base | 372 | drivers/net/ne.c | outb_p(0x42, nic_base + EN0_RSARLO); |
nic_base | 373 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RSARHI); |
nic_base | 374 | drivers/net/ne.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 382 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 383 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 384 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RSARLO); |
nic_base | 385 | drivers/net/ne.c | outb_p(start_page, nic_base + EN0_RSARHI); |
nic_base | 387 | drivers/net/ne.c | outb_p(E8390_RWRITE+E8390_START, nic_base + NE_CMD); |
nic_base | 401 | drivers/net/ne.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 402 | drivers/net/ne.c | int low = inb_p(nic_base + EN0_RSARLO); |