Lines Matching refs:nic_base
284 int nic_base = dev->base_addr; in zorro8390_get_8390_hdr() local
297 z_writeb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in zorro8390_get_8390_hdr()
298 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); in zorro8390_get_8390_hdr()
299 z_writeb(sizeof(struct e8390_pkt_hdr), nic_base + NE_EN0_RCNTLO); in zorro8390_get_8390_hdr()
300 z_writeb(0, nic_base + NE_EN0_RCNTHI); in zorro8390_get_8390_hdr()
301 z_writeb(0, nic_base + NE_EN0_RSARLO); /* On page boundary */ in zorro8390_get_8390_hdr()
302 z_writeb(ring_page, nic_base + NE_EN0_RSARHI); in zorro8390_get_8390_hdr()
303 z_writeb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in zorro8390_get_8390_hdr()
309 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in zorro8390_get_8390_hdr()
324 int nic_base = dev->base_addr; in zorro8390_block_input() local
337 z_writeb(E8390_NODMA+E8390_PAGE0+E8390_START, nic_base+ NE_CMD); in zorro8390_block_input()
338 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); in zorro8390_block_input()
339 z_writeb(count & 0xff, nic_base + NE_EN0_RCNTLO); in zorro8390_block_input()
340 z_writeb(count >> 8, nic_base + NE_EN0_RCNTHI); in zorro8390_block_input()
341 z_writeb(ring_offset & 0xff, nic_base + NE_EN0_RSARLO); in zorro8390_block_input()
342 z_writeb(ring_offset >> 8, nic_base + NE_EN0_RSARHI); in zorro8390_block_input()
343 z_writeb(E8390_RREAD+E8390_START, nic_base + NE_CMD); in zorro8390_block_input()
350 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in zorro8390_block_input()
358 int nic_base = NE_BASE; in zorro8390_block_output() local
378 z_writeb(E8390_PAGE0+E8390_START+E8390_NODMA, nic_base + NE_CMD); in zorro8390_block_output()
380 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); in zorro8390_block_output()
383 z_writeb(count & 0xff, nic_base + NE_EN0_RCNTLO); in zorro8390_block_output()
384 z_writeb(count >> 8, nic_base + NE_EN0_RCNTHI); in zorro8390_block_output()
385 z_writeb(0x00, nic_base + NE_EN0_RSARLO); in zorro8390_block_output()
386 z_writeb(start_page, nic_base + NE_EN0_RSARHI); in zorro8390_block_output()
388 z_writeb(E8390_RWRITE+E8390_START, nic_base + NE_CMD); in zorro8390_block_output()
403 z_writeb(ENISR_RDC, nic_base + NE_EN0_ISR); /* Ack intr. */ in zorro8390_block_output()