Home
last modified time | relevance | path

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

/linux/Documentation/ABI/testing/
H A Dsysfs-firmware-qemu_fw_cfg7 (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/nfc/s3fwrn5/
H A Dnci.c52 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/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1031 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/sound/soc/intel/avs/
H A Dloader.c490 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 Ddsp.c303 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 Dsysfs.c15 struct avs_fw_version *fw_version = &adev->fw_cfg.fw_version; in fw_version_show()
H A Davs.h137 struct avs_fw_cfg fw_cfg; member
355 ((adev)->fw_cfg.trace_log_bytes / (adev)->hw_cfg.dsp_cores)
H A Dicl.c22 u32 size, num_libs = adev->fw_cfg.max_libs_count; in avs_icl_enable_logs()
/linux/drivers/firmware/
H A DKconfig124 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"