Home
last modified time | relevance | path

Searched refs:Nvram (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/include/hw/rtc/
H A Dm48t59.h38 INTERFACE_CHECK(Nvram, (obj), TYPE_NVRAM)
40 typedef struct Nvram Nvram; typedef
45 uint32_t (*read)(Nvram *obj, uint32_t addr);
46 void (*write)(Nvram *obj, uint32_t addr, uint32_t val);
47 void (*toggle_lock)(Nvram *obj, int lock);
/openbmc/qemu/hw/ppc/
H A Dprep.c77 static inline uint32_t nvram_read(Nvram *nvram, uint32_t addr) in nvram_read()
83 static inline void nvram_write(Nvram *nvram, uint32_t addr, uint32_t val) in nvram_write()
89 static void NVRAM_set_byte(Nvram *nvram, uint32_t addr, uint8_t value) in NVRAM_set_byte()
94 static uint8_t NVRAM_get_byte(Nvram *nvram, uint32_t addr) in NVRAM_get_byte()
99 static void NVRAM_set_word(Nvram *nvram, uint32_t addr, uint16_t value) in NVRAM_set_word()
105 static uint16_t NVRAM_get_word(Nvram *nvram, uint32_t addr) in NVRAM_get_word()
115 static void NVRAM_set_lword(Nvram *nvram, uint32_t addr, uint32_t value) in NVRAM_set_lword()
123 static void NVRAM_set_string(Nvram *nvram, uint32_t addr, const char *str, in NVRAM_set_string()
150 static uint16_t NVRAM_compute_crc (Nvram *nvram, uint32_t start, uint32_t count) in NVRAM_compute_crc()
170 static int PPC_NVRAM_set_params (Nvram *nvram, uint16_t NVRAM_size, in PPC_NVRAM_set_params()
[all …]
/openbmc/qemu/hw/rtc/
H A Dm48t59-isa.c62 static uint32_t m48txx_isa_read(Nvram *obj, uint32_t addr) in m48txx_isa_read()
68 static void m48txx_isa_write(Nvram *obj, uint32_t addr, uint32_t val) in m48txx_isa_write()
74 static void m48txx_isa_toggle_lock(Nvram *obj, int lock) in m48txx_isa_toggle_lock()
H A Dm48t59.c603 static uint32_t m48txx_sysbus_read(Nvram *obj, uint32_t addr) in m48txx_sysbus_read()
609 static void m48txx_sysbus_write(Nvram *obj, uint32_t addr, uint32_t val) in m48txx_sysbus_write()
615 static void m48txx_sysbus_toggle_lock(Nvram *obj, int lock) in m48txx_sysbus_toggle_lock()
/openbmc/qemu/hw/sparc64/
H A Dsun4u.c122 static int sun4u_NVRAM_set_params(Nvram *nvram, uint16_t NVRAM_size, in sun4u_NVRAM_set_params()
560 Nvram *nvram; in sun4uv_init()
/openbmc/qemu/hw/sparc/
H A Dsun4m.c145 static void nvram_init(Nvram *nvram, uint8_t *macaddr, in nvram_init()
826 Nvram *nvram; in sun4m_hw_init()