Lines Matching refs:mem_start
131 if (dev && dev->mem_start) in com90xx_probe()
132 shmems[numshmems++] = dev->mem_start; in com90xx_probe()
448 dev->mem_start = first_mirror; in com90xx_found()
450 dev->rmem_start = dev->mem_start + BUFFER_SIZE * 0; in com90xx_found()
451 dev->rmem_end = dev->mem_start + BUFFER_SIZE * 2 - 1; in com90xx_found()
463 lp->mem_start = ioremap(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
464 if (!lp->mem_start) { in com90xx_found()
472 dev->dev_addr[0] = readb(lp->mem_start + 1); in com90xx_found()
483 request_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1, "arcnet (90xx)"); in com90xx_found()
489 dev->base_addr, dev->irq, dev->mem_start, in com90xx_found()
490 (dev->mem_end - dev->mem_start + 1) / mirror_size, mirror_size); in com90xx_found()
501 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
503 iounmap(lp->mem_start); in com90xx_found()
564 if (readb(lp->mem_start) != TESTvalue) { in com90xx_reset()
574 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
594 void *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_to_card()
603 void *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_from_card()
637 dev->mem_start = shmem; in init_module()
660 iounmap(lp->mem_start); in cleanup_module()
662 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in cleanup_module()
690 dev->mem_start = ints[3]; in com90xx_setup()