Lines Matching refs:mem_start
93 int mem_start = dev->mem_start; in do_wd_probe() local
121 dev->mem_start = mem_start; in do_wd_probe()
183 if ((dev->mem_start % 0x2000) || (dev->mem_end % 0x2000)) { in wd_probe1()
185 dev->mem_start = 0; in wd_probe1()
213 dev->mem_start = ((reg5 & 0x1c) + 0xc0) << 12; in wd_probe1()
255 dev->mem_start = WD_SHMEM; in wd_probe1()
257 if (dev->mem_start == 0) { in wd_probe1()
262 dev->mem_start = 0xd0000; in wd_probe1()
263 printk(" assigning address %#lx", dev->mem_start); in wd_probe1()
269 dev->mem_start = ((reg0&0x3f) << 13) + (high_addr_bits << 19); in wd_probe1()
328 ei_status.stop_page = (dev->mem_end - dev->mem_start)/256; in wd_probe1()
329 ei_status.priv = dev->mem_end - dev->mem_start; in wd_probe1()
332 dev->mem_end = dev->mem_start + (ei_status.stop_page - WD_START_PG)*256; in wd_probe1()
336 ei_status.mem = ioremap(dev->mem_start, ei_status.priv); in wd_probe1()
343 model_name, dev->irq, dev->mem_start, dev->mem_end-1); in wd_probe1()
375 ei_status.reg0 = ((dev->mem_start>>13) & 0x3f) | WD_MEMENB; in wd_open()
376 ei_status.reg5 = ((dev->mem_start>>19) & 0x1f) | NIC16; in wd_open()
395 outb((((dev->mem_start>>13) & 0x3f)|WD_MEMENB), wd_cmd_port); in wd_reset_8390()
397 outb(NIC16 | ((dev->mem_start>>19) & 0x1f), wd_cmd_port+WD_CMDREG5); in wd_reset_8390()
531 dev->mem_start = mem[this_dev]; in init_module()