Lines Matching refs:mem_start
499 dev->mem_start = first_mirror; in com90xx_found()
505 if (!request_mem_region(dev->mem_start, in com90xx_found()
506 dev->mem_end - dev->mem_start + 1, in com90xx_found()
526 lp->mem_start = ioremap(dev->mem_start, in com90xx_found()
527 dev->mem_end - dev->mem_start + 1); in com90xx_found()
528 if (!lp->mem_start) { in com90xx_found()
534 arcnet_set_addr(dev, arcnet_readb(lp->mem_start, in com90xx_found()
541 dev->base_addr, dev->irq, dev->mem_start, in com90xx_found()
542 (dev->mem_end - dev->mem_start + 1) / mirror_size, in com90xx_found()
552 iounmap(lp->mem_start); in com90xx_found()
556 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
614 if (arcnet_readb(lp->mem_start, COM9026_REG_R_STATUS) != TESTvalue) { in com90xx_reset()
624 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
634 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_to_card()
643 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_from_card()
672 iounmap(lp->mem_start); in com90xx_exit()
674 release_mem_region(dev->mem_start, in com90xx_exit()
675 dev->mem_end - dev->mem_start + 1); in com90xx_exit()