Searched refs:CHUNK_SIZE (Results 1 – 2 of 2) sorted by relevance
28 #define CHUNK_SIZE 0x400000 macro45 for (memory_page = (unsigned char *) KSEG1 + CHUNK_SIZE; in pmax_setup_memory_region()47 memory_page += CHUNK_SIZE) { in pmax_setup_memory_region()52 add_memory_region(0, (unsigned long)memory_page - KSEG1 - CHUNK_SIZE, in pmax_setup_memory_region()
860 #define CHUNK_SIZE (256*1024) in pnp_mem_init() macro862 #define CHUNKS_PER_BANK (BANK_SIZE/CHUNK_SIZE) in pnp_mem_init()897 gus_poke(addr + chunk * CHUNK_SIZE + 0L, 0x00); in pnp_mem_init()898 gus_poke(addr + chunk * CHUNK_SIZE + 1L, 0x00); in pnp_mem_init()904 gus_poke(addr + chunk * CHUNK_SIZE + 0L, 0x55); in pnp_mem_init()905 gus_poke(addr + chunk * CHUNK_SIZE + 1L, 0xAA); in pnp_mem_init()907 if (gus_peek(addr + chunk * CHUNK_SIZE + 0L) == 0x55 && in pnp_mem_init()908 gus_peek(addr + chunk * CHUNK_SIZE + 1L) == 0xAA) in pnp_mem_init()914 if (gus_peek(addr + chunk2 * CHUNK_SIZE + 0L) || in pnp_mem_init()915 gus_peek(addr + chunk2 * CHUNK_SIZE + 1L)) in pnp_mem_init()[all …]