Lines Matching full:fw_cfg
6 * Expose entries from QEMU's firmware configuration (fw_cfg) device in
9 * The fw_cfg device may be instantiated via either an ACPI node (on x86
43 MODULE_DESCRIPTION("QEMU fw_cfg sysfs support");
46 /* fw_cfg revision attribute, in /sys/firmware/qemu_fw_cfg top-level dir. */
49 /* fw_cfg device i/o register addresses */
58 /* atomic access to fw_cfg device (potentially slow i/o, so using mutex) */
76 /* qemu fw_cfg device is sync today, but spec says it may become async */
103 /* fw_cfg device does not need IOMMU protection, so use physical addresses */ in fw_cfg_dma_transfer()
130 /* read chunk of given fw_cfg blob (caller responsible for sanity-check) */
160 /* write chunk of given fw_cfg blob (caller responsible for sanity-check) */
200 /* clean up fw_cfg device i/o */
229 # error "QEMU FW_CFG not available on this architecture!"
233 /* initialize fw_cfg device i/o from platform data */
291 /* verify fw_cfg device signature */ in fw_cfg_do_platform_probe()
561 /* recursively unregister fw_cfg/by_name/ kset directory tree */
580 /* register an individual fw_cfg file */
591 pr_warn("fw_cfg: failed to write vmcoreinfo"); in fw_cfg_register_file()
630 /* iterate over all fw_cfg directory entries, registering each one */
679 /* NOTE: If we supported multiple fw_cfg devices, we'd first create in fw_cfg_sysfs_probe()
682 * one fw_cfg device exist system-wide, so if one was already found in fw_cfg_sysfs_probe()
697 /* initialize fw_cfg device i/o from platform data */ in fw_cfg_sysfs_probe()
712 /* process fw_cfg file directory entry, registering each file */ in fw_cfg_sysfs_probe()
718 pr_debug("fw_cfg: loaded.\n"); in fw_cfg_sysfs_probe()
736 pr_debug("fw_cfg: unloading.\n"); in fw_cfg_sysfs_remove()
762 .name = "fw_cfg",
805 /* only one fw_cfg device can exist system-wide, so if one in fw_cfg_cmdline_set()
857 fw_cfg_cmdline_dev = platform_device_register_simple("fw_cfg", in fw_cfg_cmdline_set()