Searched refs:NVRAM_SIZE (Results 1 – 5 of 5) sorted by relevance
/qemu/hw/rtc/ |
H A D | ds1338.c | 24 #define NVRAM_SIZE 64 macro 40 uint8_t nvram[NVRAM_SIZE]; 53 VMSTATE_UINT8_ARRAY(nvram, DS1338State, NVRAM_SIZE), 94 s->ptr = (s->ptr + 1) & (NVRAM_SIZE - 1); in inc_regptr() 143 s->ptr = data & (NVRAM_SIZE - 1); in ds1338_send() 218 memset(s->nvram, 0, NVRAM_SIZE); in ds1338_reset()
|
H A D | rs5c372.c | 21 #define NVRAM_SIZE 0x10 macro 36 uint8_t nvram[NVRAM_SIZE]; 73 s->ptr = (s->ptr + 1) & (NVRAM_SIZE - 1); in inc_regptr() 187 memset(s->nvram, 0, NVRAM_SIZE); in rs5c372_reset_hold() 200 VMSTATE_UINT8_ARRAY(nvram, RS5C372State, NVRAM_SIZE),
|
/qemu/hw/ppc/ |
H A D | amigaone.c | 64 #define NVRAM_SIZE (4 * KiB) macro 133 NVRAM_SIZE, &error_fatal); in nvram_realize() 137 if (blk_getlength(s->blk) != NVRAM_SIZE) { in nvram_realize() 139 NVRAM_SIZE); in nvram_realize() 144 if (blk_pread(s->blk, 0, NVRAM_SIZE, p, 0) < 0) { in nvram_realize() 149 crc = crc32(0, p + 4, NVRAM_SIZE - 4); in nvram_realize() 162 *c = cpu_to_be32(crc32(0, p + 4, NVRAM_SIZE - 4)); in nvram_realize()
|
H A D | prep.c | 58 #define NVRAM_SIZE 0x2000 macro 410 PPC_NVRAM_set_params(m48t59, NVRAM_SIZE, "PREP", machine->ram_size, in ibm_40p_init()
|
/qemu/hw/sparc64/ |
H A D | sun4u.c | 70 #define NVRAM_SIZE 0x2000 macro 675 sun4u_NVRAM_set_params(nvram, NVRAM_SIZE, "Sun4u", machine->ram_size, in sun4uv_init()
|