Lines Matching refs:mem_start
207 if (dev->mem_start == 0) { in lne390_probe1()
211 dev->mem_start = shmem_mapB[mem_reg] * 0x10000; in lne390_probe1()
213 dev->mem_start = shmem_mapA[mem_reg] * 0x10000; in lne390_probe1()
217 dev->mem_start &= 0xfff0000; in lne390_probe1()
222 LNE390_STOP_PG/4, dev->mem_start); in lne390_probe1()
228 if (dev->mem_start > 1024*1024) { /* phys addr > 1MB */ in lne390_probe1()
229 if (dev->mem_start < virt_to_bus(high_memory)) { in lne390_probe1()
237 dev->mem_start = (unsigned long)ioremap(dev->mem_start, LNE390_STOP_PG*0x100); in lne390_probe1()
238 if (dev->mem_start == 0) { in lne390_probe1()
247 LNE390_STOP_PG/4, dev->mem_start); in lne390_probe1()
250 dev->mem_end = dev->rmem_end = dev->mem_start in lne390_probe1()
252 dev->rmem_start = dev->mem_start + TX_PAGES*256; in lne390_probe1()
321 unsigned long hdr_start = dev->mem_start + ((ring_page - LNE390_START_PG)<<8); in lne390_get_8390_hdr()
335 unsigned long xfer_start = dev->mem_start + ring_offset - (LNE390_START_PG<<8); in lne390_block_input()
352 unsigned long shmem = dev->mem_start + ((start_page - LNE390_START_PG)<<8); in lne390_block_output()
398 dev->mem_start = mem[this_dev]; in init_module()
425 iounmap((void *)dev->mem_start); in cleanup_module()