Lines Matching defs:mem_start
161 #define RX_BUF_END (mem_end - mem_start - 20)
247 static Address mem_start, mem_end;
273 write_ptr = mem_start + cur_rx_buf;
285 write_ptr = mem_start + rx_tail;
294 unsigned short *shmem = (short *)mem_start;
321 unsigned short *shmem = (short *)mem_start;
339 memcpy((char *)mem_start, (char *)&init_words[5], sizeof(init_words) - 10);
340 memcpy((char *)mem_start + SA_OFFSET, nic->node_addr, ETH_ALEN);
383 unsigned short *shmem = (short *)mem_start + rx_head;
403 memcpy(nic->packet, (char *)mem_start + rx_head + 0x20, pkt_len);
414 *(short *)(mem_start + rx_tail + 2) = 0;
446 unsigned short *shmem = (short *)mem_start + TX_BUF_START;
455 bptr = mem_start + TX_BUF_START;
466 *(unsigned short *)(mem_start + IDLELOOP + 4) = TX_BUF_START;
473 *(unsigned short *)(mem_start + IDLELOOP + 4) = IDLELOOP;
474 *(unsigned short *)(mem_start + TX_BUF_START + 20) = IDLELOOP;
483 unsigned short *shmem = (short *)mem_start;
512 mem_start = 0xf00000L + (mem_config & 0x08 ? 0x080000L
518 mem_start = 0x0c0000L + (((Address)mem_config & 0x18) << 12);
520 mem_end = mem_start + size;
530 ioaddr, irq, mem_start, mem_end, if_port ? "in" : "ex", nic->node_addr);
598 memcpy((char *)mem_start, (char *)&init_words[5], sizeof(init_words) - 10);
599 if (*(unsigned short *)mem_start != 1)
617 if (*(unsigned short *)mem_start != 0)
635 for (p = mem_addrs; (mem_start = *p) != 0; ++p)
636 if (mem_end = mem_start + 8192, ni5210_probe2())
638 if (mem_start == 0)
646 ioaddr, mem_start, mem_end, nic->node_addr);
747 memcpy((char *)mem_start, (char *)&init_words[5], sizeof(init_words) - 10);
748 if (*(unsigned short *)mem_start != 1)
765 if (*(unsigned short *)mem_start != 0)
779 for (p = mem_addrs; (mem_start = *p) != 0; ++p)
780 if (mem_end = mem_start + 16384, exos205_probe2())
782 if (mem_start == 0)
790 ioaddr, mem_start, mem_end, nic->node_addr);