Lines Matching refs:FWCfgState

181 static void fw_cfg_bootsplash(FWCfgState *s)  in fw_cfg_bootsplash()
234 static void fw_cfg_reboot(FWCfgState *s) in fw_cfg_reboot()
254 static void fw_cfg_write(FWCfgState *s, uint8_t value) in fw_cfg_write()
259 static inline uint16_t fw_cfg_file_slots(const FWCfgState *s) in fw_cfg_file_slots()
265 static inline uint32_t fw_cfg_max_entry(const FWCfgState *s) in fw_cfg_max_entry()
270 static int fw_cfg_select(FWCfgState *s, uint16_t key) in fw_cfg_select()
296 FWCfgState *s = opaque; in fw_cfg_data_read()
327 FWCfgState *s = opaque; in fw_cfg_data_mem_write()
335 static void fw_cfg_dma_transfer(FWCfgState *s) in fw_cfg_dma_transfer()
452 FWCfgState *s = opaque; in fw_cfg_dma_mem_write()
558 FWCfgState *s = FW_CFG(d); in fw_cfg_reset()
603 FWCfgState *s = opaque; in fw_cfg_dma_enabled()
610 FWCfgState *s = opaque; in fw_cfg_acpi_mr_restore()
619 static void fw_cfg_update_mr(FWCfgState *s, uint16_t key, size_t size) in fw_cfg_update_mr()
637 FWCfgState *s = opaque; in fw_cfg_acpi_mr_restore_post_load()
661 VMSTATE_UINT64(dma_addr, FWCfgState),
673 VMSTATE_UINT64(table_mr_size, FWCfgState),
674 VMSTATE_UINT64(linker_mr_size, FWCfgState),
675 VMSTATE_UINT64(rsdp_mr_size, FWCfgState),
685 VMSTATE_UINT16(cur_entry, FWCfgState),
686 VMSTATE_UINT16_HACK(cur_offset, FWCfgState, is_version_1),
687 VMSTATE_UINT32_V(cur_offset, FWCfgState, 2),
697 static void fw_cfg_add_bytes_callback(FWCfgState *s, uint16_t key, in fw_cfg_add_bytes_callback()
719 static void *fw_cfg_modify_bytes_read(FWCfgState *s, uint16_t key, in fw_cfg_modify_bytes_read()
739 void fw_cfg_add_bytes(FWCfgState *s, uint16_t key, void *data, size_t len) in fw_cfg_add_bytes()
745 void fw_cfg_add_string(FWCfgState *s, uint16_t key, const char *value) in fw_cfg_add_string()
753 void fw_cfg_modify_string(FWCfgState *s, uint16_t key, const char *value) in fw_cfg_modify_string()
762 void fw_cfg_add_i16(FWCfgState *s, uint16_t key, uint16_t value) in fw_cfg_add_i16()
772 void fw_cfg_modify_i16(FWCfgState *s, uint16_t key, uint16_t value) in fw_cfg_modify_i16()
782 void fw_cfg_add_i32(FWCfgState *s, uint16_t key, uint32_t value) in fw_cfg_add_i32()
792 void fw_cfg_modify_i32(FWCfgState *s, uint16_t key, uint32_t value) in fw_cfg_modify_i32()
802 void fw_cfg_add_i64(FWCfgState *s, uint16_t key, uint64_t value) in fw_cfg_add_i64()
812 void fw_cfg_modify_i64(FWCfgState *s, uint16_t key, uint64_t value) in fw_cfg_modify_i64()
822 void fw_cfg_set_order_override(FWCfgState *s, int order) in fw_cfg_set_order_override()
828 void fw_cfg_reset_order_override(FWCfgState *s) in fw_cfg_reset_order_override()
884 static void fw_cfg_acpi_mr_save(FWCfgState *s, const char *filename, size_t len) in fw_cfg_acpi_mr_save()
895 static int get_fw_cfg_order(FWCfgState *s, const char *name) in get_fw_cfg_order()
918 void fw_cfg_add_file_callback(FWCfgState *s, const char *filename, in fw_cfg_add_file_callback()
997 void fw_cfg_add_file(FWCfgState *s, const char *filename, in fw_cfg_add_file()
1003 void *fw_cfg_modify_file(FWCfgState *s, const char *filename, in fw_cfg_modify_file()
1030 bool fw_cfg_add_from_generator(FWCfgState *s, const char *filename, in fw_cfg_add_from_generator()
1059 void fw_cfg_add_extra_pci_roots(PCIBus *bus, FWCfgState *s) in fw_cfg_add_extra_pci_roots()
1084 FWCfgState *s = opaque; in fw_cfg_machine_reset()
1102 FWCfgState *s = container_of(n, FWCfgState, machine_ready); in fw_cfg_machine_ready()
1107 DEFINE_PROP_BOOL("acpi-mr-restore", FWCfgState, acpi_mr_restore, true),
1113 FWCfgState *s = FW_CFG(dev); in fw_cfg_common_realize()
1139 FWCfgState *fw_cfg_init_io_dma(uint32_t iobase, uint32_t dma_iobase, in fw_cfg_init_io_dma()
1145 FWCfgState *s; in fw_cfg_init_io_dma()
1174 FWCfgState *fw_cfg_init_io(uint32_t iobase) in fw_cfg_init_io()
1179 FWCfgState *fw_cfg_init_mem_wide(hwaddr ctl_addr, in fw_cfg_init_mem_wide()
1185 FWCfgState *s; in fw_cfg_init_mem_wide()
1213 FWCfgState *fw_cfg_init_mem(hwaddr ctl_addr, hwaddr data_addr) in fw_cfg_init_mem()
1221 FWCfgState *fw_cfg_find(void) in fw_cfg_find()
1227 void load_image_to_fw_cfg(FWCfgState *fw_cfg, uint16_t size_key, in load_image_to_fw_cfg()
1273 .instance_size = sizeof(FWCfgState),
1277 static void fw_cfg_file_slots_allocate(FWCfgState *s, Error **errp) in fw_cfg_file_slots_allocate()