Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/firmware/
H 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/
H A Dfw-file-profile.c24 fw_filename = kasprintf(GFP_KERNEL, "%s/%s", profile->fw_path, in sof_test_firmware_file()
116 if (base_profile->fw_path) { in sof_file_profile_for_ipc_type()
117 out_profile->fw_path = base_profile->fw_path; in sof_file_profile_for_ipc_type()
119 out_profile->fw_path = devm_kasprintf(dev, GFP_KERNEL, "%s/%s", in sof_file_profile_for_ipc_type()
122 if (!out_profile->fw_path) in sof_file_profile_for_ipc_type()
127 out_profile->fw_path = desc->default_fw_path[ipc_type]; in sof_file_profile_for_ipc_type()
143 if ((base_profile->fw_path || base_profile->fw_name) && in sof_file_profile_for_ipc_type()
151 ipc_type, out_profile->fw_path, in sof_file_profile_for_ipc_type()
195 if ((!base_profile->fw_path in sof_file_profile_for_ipc_type()
[all...]
H A Dsof-pci-dev.c23 static char *fw_path; variable
24 module_param(fw_path, charp, 0444);
25 MODULE_PARM_DESC(fw_path, "deprecated - moved to snd-sof module.");
246 path_override->fw_path = fw_path; in sof_pci_probe()
H A Dcore.c24 module_param_named(fw_path, override_fw_path, charp, 0444);
25 MODULE_PARM_DESC(fw_path, "alternate path for SOF firmware.");
278 if (base_profile->fw_path) in sof_select_ipc_and_paths()
280 base_profile->fw_path); in sof_select_ipc_and_paths()
310 plat_data->fw_filename_prefix = out_profile.fw_path; in sof_select_ipc_and_paths()
616 path_override->fw_path = override_fw_path; in sof_apply_profile_override()
/linux/drivers/net/wireless/st/cw1200/
H 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/base/firmware_loader/
H 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/
H A Dsof.h63 const char *fw_path; member
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_fw.c791 char fw_path[128]; in panthor_fw_load() local
794 snprintf(fw_path, sizeof(fw_path), "arm/mali/arch%d.%d/%s", in panthor_fw_load()
799 ret = request_firmware(&fw, fw_path, ptdev->base.dev); in panthor_fw_load()
/linux/drivers/crypto/inside-secure/
H 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()