Lines Matching refs:mem_start
92 int mem_start = dev->mem_start; in do_wd_probe() local
120 dev->mem_start = mem_start; in do_wd_probe()
183 if ((dev->mem_start % 0x2000) || (dev->mem_end % 0x2000)) { in wd_probe1()
186 dev->mem_start = 0; in wd_probe1()
214 dev->mem_start = ((reg5 & 0x1c) + 0xc0) << 12; in wd_probe1()
257 dev->mem_start = WD_SHMEM; in wd_probe1()
259 if (dev->mem_start == 0) { in wd_probe1()
264 dev->mem_start = 0xd0000; in wd_probe1()
265 pr_cont(" assigning address %#lx", dev->mem_start); in wd_probe1()
271 dev->mem_start = ((reg0&0x3f) << 13) + (high_addr_bits << 19); in wd_probe1()
330 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in wd_probe1()
331 ei_status.priv = dev->mem_end - dev->mem_start; in wd_probe1()
334 dev->mem_end = dev->mem_start + (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
338 ei_status.mem = ioremap(dev->mem_start, ei_status.priv); in wd_probe1()
345 model_name, dev->irq, dev->mem_start, dev->mem_end-1); in wd_probe1()
378 ei_status.reg0 = ((dev->mem_start>>13) & 0x3f) | WD_MEMENB; in wd_open()
379 ei_status.reg5 = ((dev->mem_start>>19) & 0x1f) | NIC16; in wd_open()
400 outb((((dev->mem_start>>13) & 0x3f)|WD_MEMENB), wd_cmd_port); in wd_reset_8390()
402 outb(NIC16 | ((dev->mem_start>>19) & 0x1f), wd_cmd_port+WD_CMDREG5); in wd_reset_8390()
538 dev->mem_start = mem[this_dev]; in wd_init_module()