Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dpflash-cfi02-test.c57 } FlashConfig; typedef
67 static FlashConfig expand_config_defaults(const FlashConfig *c) in expand_config_defaults()
69 FlashConfig ret = *c; in expand_config_defaults()
88 static inline uint64_t device_mask(const FlashConfig *c) in device_mask()
96 static inline uint64_t bank_mask(const FlashConfig *c) in bank_mask()
104 static inline void flash_write(const FlashConfig *c, uint64_t byte_addr, in flash_write()
128 static inline uint64_t flash_read(const FlashConfig *c, uint64_t byte_addr) in flash_read()
149 static inline uint64_t as_byte_addr(const FlashConfig *c, faddr flash_addr) in as_byte_addr()
165 static inline uint64_t replicate(const FlashConfig *c, uint64_t data) in replicate()
172 static inline void flash_cmd(const FlashConfig *c, faddr cmd_addr, in flash_cmd()
[all …]