Home
last modified time | relevance | path

Searched refs:fw_path (Results 1 – 13 of 13) 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.c23 kasprintf(GFP_KERNEL, "%s/%s", profile->fw_path, in sof_test_firmware_file()
111 if (base_profile->fw_path) { in sof_file_profile_for_ipc_type()
112 out_profile->fw_path = base_profile->fw_path; in sof_file_profile_for_ipc_type()
114 out_profile->fw_path = devm_kasprintf(dev, GFP_KERNEL, "%s/%s", in sof_file_profile_for_ipc_type()
117 if (!out_profile->fw_path) in sof_file_profile_for_ipc_type()
122 out_profile->fw_path = desc->default_fw_path[ipc_type]; in sof_file_profile_for_ipc_type()
138 if ((base_profile->fw_path || base_profile->fw_name) && in sof_file_profile_for_ipc_type()
146 ipc_type, out_profile->fw_path, in sof_file_profile_for_ipc_type()
190 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()
620 path_override->fw_path = override_fw_path; in sof_apply_profile_override()
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dmc.c65 const char *fw_path; member
188 const char *fw_path = NULL; in dmc_firmware_default() local
192 fw_path = XE3P_LPD_DMC_PATH; in dmc_firmware_default()
195 fw_path = XE3LPD_3002_DMC_PATH; in dmc_firmware_default()
198 fw_path = XE3LPD_DMC_PATH; in dmc_firmware_default()
201 fw_path = XE2LPD_DMC_PATH; in dmc_firmware_default()
204 fw_path = BMG_DMC_PATH; in dmc_firmware_default()
207 fw_path = MTL_DMC_PATH; in dmc_firmware_default()
210 fw_path = DG2_DMC_PATH; in dmc_firmware_default()
213 fw_path = ADLP_DMC_PATH; in dmc_firmware_default()
[all …]
/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/sound/soc/codecs/
H A Drt5575-spi.c97 static const char * const fw_path[] = { in rt5575_spi_fw_load() local
107 ret = request_firmware(&firmware, fw_path[i], dev); in rt5575_spi_fw_load()
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dfw.c668 char *fw_path; in mm81x_fw_request()
671 fw_path = mm81x_core_get_fw_path(mors->chip_id, ver); in mm81x_fw_request()
672 if (!fw_path) in mm81x_fw_request()
675 ret = firmware_request_nowarn(fw, fw_path, mors->dev); in mm81x_fw_request()
680 fw_path, (*fw)->size, binary_crc(*fw)); in mm81x_fw_request()
684 kfree(fw_path); in mm81x_fw_request()
665 char *fw_path; mm81x_fw_request() local
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_pci.c724 char fw_path[128]; in prestera_fw_get() local
728 snprintf(fw_path, sizeof(fw_path), prestera_fw_path_fmt_get(fw), in prestera_fw_get()
731 err = request_firmware_direct(&fw->bin, fw_path, fw->dev.dev); in prestera_fw_get()
740 fw_path, ver_maj, ver_min); in prestera_fw_get()
745 fw_path); in prestera_fw_get()
750 dev_info(fw->dev.dev, "Loading %s ...", fw_path); in prestera_fw_get()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_fw.c808 char fw_path[128]; in panthor_fw_load() local
811 snprintf(fw_path, sizeof(fw_path), "arm/mali/arch%d.%d/%s", in panthor_fw_load()
816 ret = request_firmware(&fw, fw_path, ptdev->base.dev); in panthor_fw_load()
/linux/drivers/accel/amdxdna/
H A Daie2_pci.h208 const char *fw_path;
206 const char *fw_path; global() member
H A Daie2_pci.c522 fw_full_path = kasprintf(GFP_KERNEL, "%s%s", ndev->priv->fw_path, npu_fw[i]); in aie2_init()
531 XDNA_INFO(xdna, "Load firmware %s%s", ndev->priv->fw_path, npu_fw[i]); in aie2_init()
538 ndev->priv->fw_path, ret); in aie2_init()
/linux/sound/pci/cs46xx/
H 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()