Searched refs:MIRROR_SIZE (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/arcnet/ |
H A D | arc-rimi.c | 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() [all …]
|
H A D | com90xx.c | 80 #define MIRROR_SIZE (BUFFER_SIZE * 4) macro 218 if (!request_mem_region(*p, MIRROR_SIZE, "arcnet (90xx)")) { in com90xx_probe() 225 base = ioremap(*p, MIRROR_SIZE); in com90xx_probe() 262 release_mem_region(*p, MIRROR_SIZE); in com90xx_probe() 430 release_mem_region(shmems[index], MIRROR_SIZE); in com90xx_probe() 473 release_mem_region(shmem, MIRROR_SIZE); in com90xx_found() 483 mirror_size = MIRROR_SIZE; in com90xx_found() 485 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 && in com90xx_found() 486 check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1) in com90xx_found() 487 mirror_size = 2 * MIRROR_SIZE; in com90xx_found() [all …]
|