Lines Matching refs:CHUNK_SIZE
860 #define CHUNK_SIZE (256*1024) in pnp_mem_init() macro
862 #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()
919 size = (chunk + 1) * CHUNK_SIZE; in pnp_mem_init()
921 gus_poke(addr + chunk * CHUNK_SIZE + 0L, 0x00); in pnp_mem_init()
922 gus_poke(addr + chunk * CHUNK_SIZE + 1L, 0x00); in pnp_mem_init()