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 dev->dev_addr[0] = arcnet_readb(lp->mem_start, COM9026_REG_R_STATION); in com90xx_found()
540 dev->base_addr, dev->irq, dev->mem_start, in com90xx_found()
541 (dev->mem_end - dev->mem_start + 1) / mirror_size, in com90xx_found()
551 iounmap(lp->mem_start); in com90xx_found()
555 release_mem_region(dev->mem_start, dev->mem_end - dev->mem_start + 1); in com90xx_found()
613 if (arcnet_readb(lp->mem_start, COM9026_REG_R_STATUS) != TESTvalue) { in com90xx_reset()
623 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
633 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_to_card()
642 void __iomem *memaddr = lp->mem_start + bufnum * 512 + offset; in com90xx_copy_from_card()
671 iounmap(lp->mem_start); in com90xx_exit()
673 release_mem_region(dev->mem_start, in com90xx_exit()
674 dev->mem_end - dev->mem_start + 1); in com90xx_exit()