Home
last modified time | relevance | path

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

/linux-6.15/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
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**
27 All fw_cfg information is shown under:
35 **Discoverable fw_cfg blobs by selector key**
51 blob's 'file name' in the fw_cfg directory.
52 size The length of the blob, as given in the fw_cfg
55 fw_cfg directory. This value is the same as used in
[all …]
/linux-6.15/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-6.15/drivers/usb/typec/ucsi/
H A Ducsi_ccg.c1036 struct fw_config_table *fw_cfg) in ccg_check_vendor_version() argument
1059 struct fw_config_table fw_cfg; in ccg_check_fw_version() local
1075 memcpy((uint8_t *)&fw_cfg, fw->data + fw->size - in ccg_check_fw_version()
1076 sizeof(fw_cfg) - FW_CFG_TABLE_SIG_SIZE, sizeof(fw_cfg)); in ccg_check_fw_version()
1087 new_version = le16_to_cpu(fw_cfg.app.build) | in ccg_check_fw_version()
1088 CCG_VERSION_PATCH(fw_cfg.app.patch) | in ccg_check_fw_version()
1089 CCG_VERSION(fw_cfg.app.ver); in ccg_check_fw_version()
1091 if (!ccg_check_vendor_version(uc, app, &fw_cfg)) in ccg_check_fw_version()
1155 struct fw_config_table fw_cfg; in do_flash() local
1185 memcpy((uint8_t *)&fw_cfg, fw->data + fw->size - in do_flash()
[all …]
/linux-6.15/Documentation/devicetree/bindings/firmware/
H A Dqemu,fw-cfg-mmio.yaml23 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-6.15/sound/soc/intel/avs/
H A Dloader.c494 for (id = 0; id < adev->fw_cfg.max_libs_count; id++) in avs_dsp_load_libraries()
497 if (id + num_libs >= adev->fw_cfg.max_libs_count) in avs_dsp_load_libraries()
621 for (i = 1; i < adev->fw_cfg.max_libs_count; i++) in avs_load_firmware()
692 ret = avs_ipc_get_fw_config(adev, &adev->fw_cfg); in avs_dsp_alloc_resources()
698 adev->lib_names = devm_kcalloc(adev->dev, adev->fw_cfg.max_libs_count, in avs_dsp_alloc_resources()
703 for (i = 0; i < adev->fw_cfg.max_libs_count; i++) { in avs_dsp_alloc_resources()
H A Ddsp.c304 struct avs_fw_cfg *fw_cfg = &adev->fw_cfg; in avs_dsp_create_pipeline() local
307 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.h138 struct avs_fw_cfg fw_cfg; member
356 ((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-6.15/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"