Lines Matching refs:mem_start
496 dev->mem_start = first_mirror; in com90xx_found()
502 if (!request_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1, "arcnet (90xx)")) in com90xx_found()
521 lp->mem_start = ioremap(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
522 if (!lp->mem_start) { in com90xx_found()
528 dev->dev_addr[0] = readb(lp->mem_start + 1); in com90xx_found()
535 dev->base_addr, dev->irq, dev->mem_start, in com90xx_found()
536 (dev->mem_end - dev->mem_start + 1) / mirror_size, mirror_size); in com90xx_found()
545 iounmap(lp->mem_start); in com90xx_found()
549 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
607 if (readb(lp->mem_start) != TESTvalue) { in com90xx_reset()
617 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
627 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_to_card()
636 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_from_card()
665 iounmap(lp->mem_start); in com90xx_exit()
667 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_exit()