Searched refs:NIC_OFFSET (Results 1 – 3 of 3) sorted by relevance
54 #define NIC_OFFSET 0x10 /* Offset the 8390 registers. */ macro183 dev->base_addr = ioaddr + NIC_OFFSET; in hp_probe1()225 int hp_base = dev->base_addr - NIC_OFFSET; in hp_reset_8390()237 if ((inb_p(hp_base+NIC_OFFSET+EN0_ISR) & ENISR_RESET) == 0) in hp_reset_8390()248 int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); in hp_get_8390_hdr()250 outb_p(saved_config | HP_DATAON, nic_base - NIC_OFFSET + HP_CONFIGURE); in hp_get_8390_hdr()259 insw(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)>>1); in hp_get_8390_hdr()261 insb(nic_base - NIC_OFFSET + HP_DATAPORT, hdr, sizeof(struct e8390_pkt_hdr)); in hp_get_8390_hdr()263 outb_p(saved_config & (~HP_DATAON), nic_base - NIC_OFFSET + HP_CONFIGURE); in hp_get_8390_hdr()275 int saved_config = inb_p(nic_base - NIC_OFFSET + HP_CONFIGURE); in hp_block_input()[all …]
77 #define NIC_OFFSET 0x10 /* Offset to the 8390 registers. */ macro211 dev->base_addr = ioaddr + NIC_OFFSET; in hpp_probe1()252 int ioaddr = dev->base_addr - NIC_OFFSET; in hpp_open()281 int ioaddr = dev->base_addr - NIC_OFFSET; in hpp_close()295 int ioaddr = dev->base_addr - NIC_OFFSET; in hpp_reset_8390()309 if ((inb_p(ioaddr+NIC_OFFSET+EN0_ISR) & ENISR_RESET) == 0) in hpp_reset_8390()322 int ioaddr = dev->base_addr - NIC_OFFSET; in hpp_io_get_8390_hdr()333 int ioaddr = dev->base_addr - NIC_OFFSET; in hpp_io_block_input()347 int ioaddr = dev->base_addr - NIC_OFFSET; in hpp_mem_get_8390_hdr()360 int ioaddr = dev->base_addr - NIC_OFFSET; in hpp_mem_block_input()[all …]
9 #define NIC_OFFSET 0xb6000000 macro17 return NIC_OFFSET + offset; in sh2000_isa_port2addr()