tag | line | file | source code |
nic_base | 221 | drivers/net/hp.c | int nic_base = dev->base_addr; |
nic_base | 222 | drivers/net/hp.c | int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 225 | drivers/net/hp.c | outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 226 | drivers/net/hp.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base); |
nic_base | 227 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 228 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 229 | drivers/net/hp.c | outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); |
nic_base | 230 | drivers/net/hp.c | outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); |
nic_base | 231 | drivers/net/hp.c | outb_p(E8390_RREAD+E8390_START, nic_base); |
nic_base | 233 | drivers/net/hp.c | insw(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1); |
nic_base | 235 | drivers/net/hp.c | buf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++; |
nic_base | 237 | drivers/net/hp.c | insb(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count); |
nic_base | 241 | drivers/net/hp.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 242 | drivers/net/hp.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 249 | drivers/net/hp.c | outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 257 | drivers/net/hp.c | int nic_base = dev->base_addr; |
nic_base | 258 | drivers/net/hp.c | int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 260 | drivers/net/hp.c | outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 267 | drivers/net/hp.c | outb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base); |
nic_base | 272 | drivers/net/hp.c | outb_p(0x42, nic_base + EN0_RCNTLO); |
nic_base | 273 | drivers/net/hp.c | outb_p(0, nic_base + EN0_RCNTHI); |
nic_base | 274 | drivers/net/hp.c | outb_p(0xff, nic_base + EN0_RSARLO); |
nic_base | 275 | drivers/net/hp.c | outb_p(0x00, nic_base + EN0_RSARHI); |
nic_base | 282 | drivers/net/hp.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 283 | drivers/net/hp.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 284 | drivers/net/hp.c | outb_p(0x00, nic_base + EN0_RSARLO); |
nic_base | 285 | drivers/net/hp.c | outb_p(start_page, nic_base + EN0_RSARHI); |
nic_base | 287 | drivers/net/hp.c | outb_p(E8390_RWRITE+E8390_START, nic_base); |
nic_base | 290 | drivers/net/hp.c | outsw(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1); |
nic_base | 292 | drivers/net/hp.c | outsb(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 | 306 | drivers/net/hp.c | outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); |
nic_base | 322 | drivers/net/ne.c | int nic_base = dev->base_addr; |
nic_base | 333 | drivers/net/ne.c | outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); |
nic_base | 334 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 335 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 336 | drivers/net/ne.c | outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); |
nic_base | 337 | drivers/net/ne.c | outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); |
nic_base | 338 | drivers/net/ne.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 356 | drivers/net/ne.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 357 | drivers/net/ne.c | int low = inb_p(nic_base + EN0_RSARLO); |
nic_base | 376 | drivers/net/ne.c | int nic_base = NE_BASE; |
nic_base | 393 | drivers/net/ne.c | outb_p(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); |
nic_base | 401 | drivers/net/ne.c | outb_p(0x42, nic_base + EN0_RCNTLO); |
nic_base | 402 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RCNTHI); |
nic_base | 403 | drivers/net/ne.c | outb_p(0x42, nic_base + EN0_RSARLO); |
nic_base | 404 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RSARHI); |
nic_base | 405 | drivers/net/ne.c | outb_p(E8390_RREAD+E8390_START, nic_base + NE_CMD); |
nic_base | 413 | drivers/net/ne.c | outb_p(count & 0xff, nic_base + EN0_RCNTLO); |
nic_base | 414 | drivers/net/ne.c | outb_p(count >> 8, nic_base + EN0_RCNTHI); |
nic_base | 415 | drivers/net/ne.c | outb_p(0x00, nic_base + EN0_RSARLO); |
nic_base | 416 | drivers/net/ne.c | outb_p(start_page, nic_base + EN0_RSARHI); |
nic_base | 418 | drivers/net/ne.c | outb_p(E8390_RWRITE+E8390_START, nic_base + NE_CMD); |
nic_base | 432 | drivers/net/ne.c | int high = inb_p(nic_base + EN0_RSARHI); |
nic_base | 433 | drivers/net/ne.c | int low = inb_p(nic_base + EN0_RSARLO); |