Lines Matching refs:MIRROR_SIZE
61 #define MIRROR_SIZE (BUFFER_SIZE * 4) macro
91 if (!request_mem_region(dev->mem_start, MIRROR_SIZE, "arcnet (90xx)")) { in arcrimi_probe()
131 p = ioremap(dev->mem_start, MIRROR_SIZE); in arcrimi_found()
133 release_mem_region(dev->mem_start, MIRROR_SIZE); in arcrimi_found()
141 release_mem_region(dev->mem_start, MIRROR_SIZE); in arcrimi_found()
157 mirror_size = MIRROR_SIZE; in arcrimi_found()
159 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 && in arcrimi_found()
160 check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1) in arcrimi_found()
161 mirror_size = 2 * MIRROR_SIZE; in arcrimi_found()
174 dev->mem_end = last_mirror + MIRROR_SIZE - 1; in arcrimi_found()
194 release_mem_region(shmem, MIRROR_SIZE); in arcrimi_found()