Searched full:fw_cfg (Results 1 – 13 of 13) sorted by relevance
/linux/Documentation/ABI/testing/ |
H A D | sysfs-firmware-qemu_fw_cfg | 7 (fw_cfg) device, originally intended as a way for the host to 9 with QEMU v2.4, arbitrary fw_cfg file entries may be specified 10 by the user on the command line, which makes fw_cfg additionally 15 to the fw_cfg device can be found in "docs/specs/fw_cfg.rst" 17 https://qemu-project.gitlab.io/qemu/specs/fw_cfg.html 19 **SysFS fw_cfg Interface** 21 The fw_cfg sysfs interface described in this document is only 27 All fw_cfg information is shown under: 31 The only legacy blob displayed is the fw_cfg device revision: 35 **Discoverable fw_cfg blobs by selector key** [all …]
|
/linux/drivers/firmware/ |
H A D | qemu_fw_cfg.c | 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) */ [all …]
|
H A D | Kconfig | 124 tristate "QEMU fw_cfg device support in sysfs" 130 configuration (fw_cfg) file entries via sysfs. Entries are 131 found under /sys/firmware/fw_cfg when this option is enabled 135 bool "QEMU fw_cfg device parameter parsing"
|
/linux/drivers/nfc/s3fwrn5/ |
H A D | nci.c | 52 struct nci_prop_fw_cfg_cmd fw_cfg; in s3fwrn5_nci_rf_configure() local 71 fw_cfg.clk_type = 0x01; in s3fwrn5_nci_rf_configure() 72 fw_cfg.clk_speed = 0xff; in s3fwrn5_nci_rf_configure() 73 fw_cfg.clk_req = 0xff; in s3fwrn5_nci_rf_configure() 75 sizeof(fw_cfg), (__u8 *)&fw_cfg); in s3fwrn5_nci_rf_configure()
|
/linux/include/uapi/linux/ |
H A D | qemu_fw_cfg.h | 9 /* selector key values for "well-known" fw_cfg entries */ 46 /* width in bytes of fw_cfg control register */ 49 /* fw_cfg "file name" is up to 56 characters (including terminating nul) */ 52 /* size in bytes of fw_cfg signature */ 59 /* fw_cfg file directory entry type */
|
/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi_ccg.c | 1031 struct fw_config_table *fw_cfg) in ccg_check_vendor_version() argument 1042 if (le16_to_cpu(fw_cfg->app.build) != uc->fw_build) { in ccg_check_vendor_version() 1054 struct fw_config_table fw_cfg; in ccg_check_fw_version() local 1067 if (fw->size < sizeof(fw_cfg) + FW_CFG_TABLE_SIG_SIZE) in ccg_check_fw_version() 1070 memcpy((uint8_t *)&fw_cfg, fw->data + fw->size - in ccg_check_fw_version() 1071 sizeof(fw_cfg) - FW_CFG_TABLE_SIG_SIZE, sizeof(fw_cfg)); in ccg_check_fw_version() 1073 if (fw_cfg.identity != ('F' | 'W' << 8 | 'C' << 16 | 'T' << 24)) { in ccg_check_fw_version() 1082 new_version = le16_to_cpu(fw_cfg.app.build) | in ccg_check_fw_version() 1083 CCG_VERSION_PATCH(fw_cfg.app.patch) | in ccg_check_fw_version() 1084 CCG_VERSION(fw_cfg.app.ver); in ccg_check_fw_version() [all …]
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | qemu,fw-cfg-mmio.yaml | 23 The authoritative guest-side hardware interface documentation to the fw_cfg 24 device can be found in "docs/specs/fw_cfg.txt" in the QEMU source tree.
|
/linux/sound/soc/intel/avs/ |
H A D | loader.c | 490 for (id = 0; id < adev->fw_cfg.max_libs_count; id++) in avs_dsp_load_libraries() 493 if (id + num_libs >= adev->fw_cfg.max_libs_count) in avs_dsp_load_libraries() 615 for (i = 1; i < adev->fw_cfg.max_libs_count; i++) in avs_dsp_boot_firmware() 683 ret = avs_ipc_get_fw_config(adev, &adev->fw_cfg); in avs_dsp_first_boot_firmware() 691 adev->lib_names = devm_kcalloc(adev->dev, adev->fw_cfg.max_libs_count, in avs_dsp_first_boot_firmware() 696 for (i = 0; i < adev->fw_cfg.max_libs_count; i++) { in avs_dsp_first_boot_firmware()
|
H A D | dsp.c | 303 struct avs_fw_cfg *fw_cfg = &adev->fw_cfg; in avs_dsp_create_pipeline() local 306 id = ida_alloc_max(&adev->ppl_ida, fw_cfg->max_ppl_count - 1, GFP_KERNEL); in avs_dsp_create_pipeline()
|
H A D | avs.h | 121 * @fw_cfg: Firmware configuration, obtained through FW_CONFIG message 137 struct avs_fw_cfg fw_cfg; member 355 ((adev)->fw_cfg.trace_log_bytes / (adev)->hw_cfg.dsp_cores)
|
H A D | sysfs.c | 15 struct avs_fw_version *fw_version = &adev->fw_cfg.fw_version; in fw_version_show()
|
H A D | icl.c | 22 u32 size, num_libs = adev->fw_cfg.max_libs_count; in avs_icl_enable_logs()
|
/linux/arch/parisc/kernel/ |
H A D | inventory.c | 654 res[0].name = "fw_cfg"; in do_device_inventory() 668 pr_info("Found qemu fw_cfg interface at %#08x\n", base); in do_device_inventory() 669 platform_device_register_simple("fw_cfg", in do_device_inventory()
|