Home
last modified time | relevance | path

Searched refs:fw_path (Results 1 – 15 of 15) sorted by relevance

/linux/tools/testing/selftests/firmware/
A Dfw_namespace.c20 static char *fw_path = NULL; variable
29 if (fw_path) in die()
30 unlink(fw_path); in die()
48 static void setup_fw(const char *fw_path) in setup_fw() argument
53 fd = open(fw_path, O_WRONLY | O_CREAT, 0600); in setup_fw()
128 if (asprintf(&fw_path, "/lib/firmware/%s", fw_name) < 0) in main()
131 setup_fw(fw_path); in main()
144 unlink(fw_path); in main()
145 free(fw_path); in main()
/linux/sound/soc/sof/
A Dfw-file-profile.c24 fw_filename = kasprintf(GFP_KERNEL, "%s/%s", profile->fw_path, in sof_test_firmware_file()
112 if (base_profile->fw_path) { in sof_file_profile_for_ipc_type()
113 out_profile->fw_path = base_profile->fw_path; in sof_file_profile_for_ipc_type()
118 if (!out_profile->fw_path) in sof_file_profile_for_ipc_type()
123 out_profile->fw_path = desc->default_fw_path[ipc_type]; in sof_file_profile_for_ipc_type()
139 if ((base_profile->fw_path || base_profile->fw_name) && in sof_file_profile_for_ipc_type()
147 ipc_type, out_profile->fw_path, in sof_file_profile_for_ipc_type()
191 if ((!base_profile->fw_path && !base_profile->fw_name) && in sof_file_profile_for_ipc_type()
202 devm_kfree(dev, out_profile->fw_path); in sof_file_profile_for_ipc_type()
256 if (base_profile->fw_path || base_profile->fw_name || in sof_print_missing_firmware_info()
[all …]
A Dsof-acpi-dev.c25 static char *fw_path; variable
26 module_param(fw_path, charp, 0444);
27 MODULE_PARM_DESC(fw_path, "alternate path for SOF firmware.");
79 sof_pdata->ipc_file_profile_base.fw_path = fw_path; in sof_acpi_probe()
A Dsof-of-dev.c17 static char *fw_path; variable
18 module_param(fw_path, charp, 0444);
19 MODULE_PARM_DESC(fw_path, "alternate path for SOF firmware.");
69 sof_pdata->ipc_file_profile_base.fw_path = fw_path; in sof_of_probe()
A Dsof-pci-dev.c23 static char *fw_path; variable
24 module_param(fw_path, charp, 0444);
25 MODULE_PARM_DESC(fw_path, "alternate path for SOF firmware.");
248 path_override->fw_path = fw_path; in sof_pci_probe()
A Dcore.c242 if (base_profile->fw_path) in sof_select_ipc_and_paths()
244 base_profile->fw_path); in sof_select_ipc_and_paths()
274 plat_data->fw_filename_prefix = out_profile.fw_path; in sof_select_ipc_and_paths()
/linux/drivers/gpu/drm/i915/display/
A Dintel_dmc.c57 const char *fw_path; member
174 fw_path = BMG_DMC_PATH; in dmc_firmware_default()
177 fw_path = MTL_DMC_PATH; in dmc_firmware_default()
180 fw_path = DG2_DMC_PATH; in dmc_firmware_default()
189 fw_path = DG1_DMC_PATH; in dmc_firmware_default()
192 fw_path = RKL_DMC_PATH; in dmc_firmware_default()
195 fw_path = TGL_DMC_PATH; in dmc_firmware_default()
198 fw_path = ICL_DMC_PATH; in dmc_firmware_default()
201 fw_path = GLK_DMC_PATH; in dmc_firmware_default()
218 return fw_path; in dmc_firmware_default()
[all …]
/linux/drivers/net/wireless/st/cw1200/
A Dfwio.c58 const char *fw_path; in cw1200_load_firmware_cw1200() local
95 fw_path = FIRMWARE_CUT10; in cw1200_load_firmware_cw1200()
100 fw_path = FIRMWARE_CUT11; in cw1200_load_firmware_cw1200()
105 fw_path = FIRMWARE_CUT20; in cw1200_load_firmware_cw1200()
110 fw_path = FIRMWARE_CUT22; in cw1200_load_firmware_cw1200()
115 fw_path = FIRMWARE_CW1X60; in cw1200_load_firmware_cw1200()
145 ret = request_firmware(&firmware, fw_path, priv->pdev); in cw1200_load_firmware_cw1200()
147 pr_err("Can't load firmware file %s.\n", fw_path); in cw1200_load_firmware_cw1200()
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_pci.c721 char fw_path[128]; in prestera_fw_get() local
725 snprintf(fw_path, sizeof(fw_path), prestera_fw_path_fmt_get(fw), in prestera_fw_get()
728 err = request_firmware_direct(&fw->bin, fw_path, fw->dev.dev); in prestera_fw_get()
737 fw_path, ver_maj, ver_min); in prestera_fw_get()
742 fw_path); in prestera_fw_get()
747 dev_info(fw->dev.dev, "Loading %s ...", fw_path); in prestera_fw_get()
/linux/drivers/staging/media/atomisp/pci/
A Datomisp_v4l2.c1098 char *fw_path = NULL; in atomisp_load_firmware() local
1102 fw_path = "intel/ipu/shisp_2401a0_v21.bin"; in atomisp_load_firmware()
1107 fw_path = "intel/ipu/shisp_2401a0_legacy_v21.bin"; in atomisp_load_firmware()
1112 fw_path = "intel/ipu/shisp_2400b0_v21.bin"; in atomisp_load_firmware()
1114 if (!fw_path) { in atomisp_load_firmware()
1120 rc = request_firmware(&fw, fw_path, isp->dev); in atomisp_load_firmware()
1123 rc = request_firmware(&fw, kbasename(fw_path), isp->dev); in atomisp_load_firmware()
1127 rc, fw_path); in atomisp_load_firmware()
/linux/drivers/base/firmware_loader/
A Dmain.c472 static const char * const fw_path[] = { variable
514 for (i = 0; i < ARRAY_SIZE(fw_path); i++) { in fw_get_filesystem_firmware()
519 if (!fw_path[i][0]) in fw_get_filesystem_firmware()
523 maxlen = strlen(fw_path[i]); in fw_get_filesystem_firmware()
525 nt = strchr(fw_path[i], '\n'); in fw_get_filesystem_firmware()
527 maxlen = nt - fw_path[i]; in fw_get_filesystem_firmware()
531 maxlen, fw_path[i], in fw_get_filesystem_firmware()
/linux/include/sound/
A Dsof.h63 const char *fw_path; member
/linux/drivers/gpu/drm/panthor/
A Dpanthor_fw.c700 char fw_path[128]; in panthor_fw_load() local
703 snprintf(fw_path, sizeof(fw_path), "arm/mali/arch%d.%d/%s", in panthor_fw_load()
708 ret = request_firmware(&fw, fw_path, ptdev->base.dev); in panthor_fw_load()
/linux/drivers/crypto/inside-secure/
A Dsafexcel.c415 char fw_path[37], *dir = NULL; in eip197_load_firmwares() local
431 snprintf(fw_path, 37, "inside-secure/%s/%s", dir, fw_name[i]); in eip197_load_firmwares()
432 ret = firmware_request_nowarn(&fw[i], fw_path, priv->dev); in eip197_load_firmwares()
/linux/sound/pci/cs46xx/
A Dcs46xx_lib.c391 char fw_path[32]; in load_firmware() local
393 sprintf(fw_path, "cs46xx/%s", fw_name); in load_firmware()
394 err = request_firmware(&fw, fw_path, &chip->pci->dev); in load_firmware()

Completed in 41 milliseconds