Searched refs:firmware (Results 276 - 300 of 1309) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/remoteproc/
H A Dremoteproc_core.c27 #include <linux/firmware.h>
173 * device addresses (which are hardcoded in the firmware). They may also have
240 * (physically contiguous memory regions) before rproc firmware loading and
470 * merged. Meanwhile, statically-addressed iommu-based firmware images should
614 * tell us ranges of physical addresses the firmware is allowed to request,
724 * firmware was compiled with.
810 * This function will handle firmware requests for allocation of physically
813 * These request entries should come first in the firmware's resource table,
814 * as other firmware entries might request placing other data objects inside
986 * rproc_of_parse_firmware() - parse and return the firmware
2396 rproc_alloc_firmware(struct rproc *rproc, const char *name, const char *firmware) argument
2464 rproc_alloc(struct device *dev, const char *name, const struct rproc_ops *ops, const char *firmware, int len) argument
2628 devm_rproc_alloc(struct device *dev, const char *name, const struct rproc_ops *ops, const char *firmware, int len) argument
[all...]
/linux-master/sound/pci/hda/
H A Dcs35l41_hda.c79 MODULE_PARM_DESC(firmware_autostart, "Allow automatic firmware download on boot"
152 const struct firmware **firmware, char **filename,
162 ret = firmware_request_nowarn(firmware, *filename, cs35l41->dev);
173 const struct firmware **firmware, char **filename,
219 ret = firmware_request_nowarn(firmware, *filename, cs35l41->dev);
230 const struct firmware **wmfw_firmware,
232 const struct firmware **coeff_firmware,
315 const struct firmware **wmfw_firmwar
151 cs35l41_request_tuning_param_file(struct cs35l41_hda *cs35l41, char *tuning_filename, const struct firmware **firmware, char **filename, const char *ssid) argument
172 cs35l41_request_firmware_file(struct cs35l41_hda *cs35l41, const struct firmware **firmware, char **filename, const char *ssid, const char *amp_name, int spkid, const char *filetype) argument
482 cs35l41_read_tuning_params(struct cs35l41_hda *cs35l41, const struct firmware *firmware) argument
[all...]
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-417.c23 #include <linux/firmware.h>
796 /* wait for firmware to handle the API command */
889 const struct firmware *firmware; local
920 retval = request_firmware(&firmware, CX23885_FIRM_IMAGE_NAME,
924 pr_err("ERROR: Hotplug firmware request failed (%s).\n",
926 pr_err("Please fix your hotplug setup, the board will not work without firmware loaded!\n");
930 if (firmware->size != CX23885_FIRM_IMAGE_SIZE) {
932 firmware->size, CX23885_FIRM_IMAGE_SIZE);
933 release_firmware(firmware);
[all...]
/linux-master/drivers/staging/rtl8712/
H A Dhal_init.c21 #include <linux/firmware.h>
50 static void rtl871x_load_fw_cb(const struct firmware *firmware, void *context) argument
54 if (!firmware) {
58 adapter->fw = firmware;
59 /* firmware available - start netdev */
72 dev_info(dev, "r8712u: Loading firmware from \"%s\"\n", firmware_file);
176 /* firmware check ok */
329 /* r8712 firmware download */
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cgs.c28 #include <linux/firmware.h>
196 DRM_ERROR("firmware type %d do not have version\n", type);
216 ucode = &adev->firmware.ucode[id];
410 DRM_ERROR("SMC firmware not supported\n");
416 DRM_ERROR("Failed to load firmware \"%s\"", fw_name);
421 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) {
422 ucode = &adev->firmware.ucode[AMDGPU_UCODE_ID_SMC];
426 adev->firmware.fw_size +=
H A Dimu_v11_0.c24 #include <linux/firmware.h>
61 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) {
62 info = &adev->firmware.ucode[AMDGPU_UCODE_ID_IMU_I];
65 adev->firmware.fw_size +=
67 info = &adev->firmware.ucode[AMDGPU_UCODE_ID_IMU_D];
70 adev->firmware.fw_size +=
78 "gfx11: Failed to load firmware \"%s\"\n",
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c12 #include <linux/firmware.h>
72 static void rtl_fw_do_work(const struct firmware *firmware, void *context, argument
81 if (!firmware) {
83 err = request_firmware(&firmware,
86 pr_info("Loading alternative firmware %s\n",
91 pr_err("Selected firmware is not available\n");
96 if (firmware->size > rtlpriv->max_fw_size) {
98 release_firmware(firmware);
102 memcpy(rtlpriv->rtlhal.pfirmware, firmware
116 rtl_fw_cb(const struct firmware *firmware, void *context) argument
122 rtl_wowlan_fw_cb(const struct firmware *firmware, void *context) argument
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dgsp.h6 #include <core/firmware.h>
39 const struct firmware *load;
40 const struct firmware *unload;
42 const struct firmware *bl;
43 const struct firmware *rm;
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dif_spi.c21 #include <linux/firmware.h>
119 * All communication with the firmware is through SPU transactions.
456 const struct firmware *firmware)
467 bytes_remaining = firmware->size;
468 fw = firmware->data;
470 /* Load helper firmware image */
474 * want to download to the firmware
513 * Once the helper / single stage firmware download is complete,
527 pr_err("failed to load helper firmware (er
455 if_spi_prog_helper_firmware(struct if_spi_card *card, const struct firmware *firmware) argument
574 if_spi_prog_main_firmware(struct if_spi_card *card, const struct firmware *firmware) argument
[all...]
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.c9 #include <linux/firmware.h>
197 const struct firmware *wilc_fw;
202 netdev_info(dev, "ChipID [%x] loading firmware [%s]\n", chip_id,
208 netdev_err(dev, "%s - firmware not available\n",
212 wilc->firmware = wilc_fw;
240 if (!wilc->firmware) {
245 ret = wilc_wlan_firmware_download(wilc, wilc->firmware->data,
246 wilc->firmware->size);
250 release_firmware(wilc->firmware);
251 wilc->firmware
[all...]
/linux-master/scripts/
H A Dget_dvb_firmware3 # DVB firmware extractor
32 Now copy it(them) to either /usr/lib/hotplug/firmware or /lib/firmware
33 (depending on configuration of firmware hotplug).
142 my $url = "https://linuxtv.org/downloads/firmware/$sourcefile";
293 my $url = "https://linuxtv.org/downloads/firmware/dvb-usb-dibusb-5.0.0.11.fw";
341 my $url = "https://linuxtv.org/downloads/firmware/$fwfile";
354 my $url = "https://linuxtv.org/downloads/firmware/$fwfile";
366 my $url = "https://linuxtv.org/downloads/firmware/";
414 # pairs to make the "firmware" fil
[all...]
/linux-master/sound/pci/riptide/
H A Driptide.c85 #include <linux/firmware.h>
232 #define SEND_RMEM(p,b,c,d) sendcmd(p,PARM|RESP,RMEM|BYTE1(b),LONG0(c),RET(d)) /* memory access for firmware write */
233 #define SEND_SMEM(p,b,c) sendcmd(p,PARM,SMEM|BYTE1(b),LONG0(c),RET(0)) /* memory access for firmware write */
234 #define SEND_WMEM(p,b,c) sendcmd(p,PARM,WMEM|BYTE1(b),LONG0(c),RET(0)) /* memory access for firmware write */
235 #define SEND_SDTM(p,b,c) sendcmd(p,PARM|RESP,SDTM|TRINIB1(b),0,RET(c)) /* memory access for firmware write */
236 #define SEND_GOTO(p,b) sendcmd(p,PARM,GOTO,LONG0(b),RET(0)) /* memory access for firmware write */
408 struct riptide_firmware firmware; member in union:firmware_version
417 const struct firmware *fw_entry;
444 union firmware_version firmware; member in struct:snd_riptide
638 .firmware
1170 union firmware_version firmware = { .ret = CMDRET_ZERO }; local
[all...]
/linux-master/drivers/firmware/cirrus/
H A Dcs_dsp.c3 * cs_dsp.c -- Cirrus Logic DSP firmware support
21 #include <linux/firmware/cirrus/cs_dsp.h>
22 #include <linux/firmware/cirrus/wmfw.h>
283 const struct firmware *firmware);
676 * until the running firmware acknowledges the write or timeout is exceeded.
710 * that respond quickly, then go to ~10ms polls. A firmware is unlikely
1319 const struct firmware *firmware)
1323 adsp1_sizes = (void *)&firmware
1316 cs_dsp_adsp1_parse_sizes(struct cs_dsp *dsp, const char * const file, unsigned int pos, const struct firmware *firmware) argument
1332 cs_dsp_adsp2_parse_sizes(struct cs_dsp *dsp, const char * const file, unsigned int pos, const struct firmware *firmware) argument
1372 cs_dsp_load(struct cs_dsp *dsp, const struct firmware *firmware, const char *file) argument
2075 cs_dsp_load_coeff(struct cs_dsp *dsp, const struct firmware *firmware, const char *file) argument
[all...]
/linux-master/lib/
H A Dtest_firmware.c3 * This module provides an interface to trigger and test firmware loading.
5 * It is designed to be used for basic evaluation of the firmware loading
6 * subsystem (for example when validating firmware verification). It lacks
17 #include <linux/firmware.h>
32 #define TEST_FIRMWARE_NAME "test-firmware.bin"
39 static const struct firmware *test_firmware;
46 const struct firmware *fw;
57 * @name: the name of the firmware file to look for
69 * @read_fw_idx: index of thread from which we want to read firmware results
71 * @upload_name: firmware nam
715 const struct firmware *firmware = NULL; local
[all...]
/linux-master/drivers/media/dvb-frontends/
H A Daf9013.c855 /* write API version to firmware */
1032 const struct firmware *firmware; local
1037 /* Check whether firmware is already running */
1042 dev_dbg(&client->dev, "firmware status %02x\n", utmp);
1047 dev_info(&client->dev, "found a '%s' in cold state, will try to load a firmware\n",
1050 /* Request the firmware, will block and timeout */
1051 ret = request_firmware(&firmware, name, &client->dev);
1053 dev_info(&client->dev, "firmware file '%s' not found %d\n",
1058 dev_info(&client->dev, "downloading firmware fro
[all...]
/linux-master/sound/drivers/vx/
H A Dvx_core.c15 #include <linux/firmware.h>
426 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *boot)
658 * @boot: firmware data
660 int snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *boot)
681 * @dsp: firmware data
683 int snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp)
758 if (! chip->firmware[i])
760 err = chip->ops->load_dsp(chip, i, chip->firmware[i]);
762 snd_printk(KERN_ERR "vx: firmware resume error at DSP %d\n", i);
/linux-master/sound/pci/pcxhr/
H A Dpcxhr_hwdep.c12 #include <linux/firmware.h>
67 /* firmware num for DSP */
277 const struct firmware *dsp)
344 "pcxhr firmware downloaded and successfully set up\n");
370 const struct firmware *fw_entry;
380 "pcxhr: can't load firmware %s\n",
/linux-master/drivers/input/touchscreen/
H A Dgoodix_fwupload.c3 * Goodix Touchscreen firmware upload support
13 #include <linux/firmware.h>
44 static int goodix_firmware_verify(struct device *dev, const struct firmware *fw)
63 dev_err(dev, "Main firmware checksum error\n");
70 dev_err(dev, "DSP firmware checksum error\n");
191 const struct firmware *fw;
240 /* Select SRAM bank 2 and upload the DSP firmware */
333 "firmware-name", &ts->firmware_name);
/linux-master/drivers/base/firmware_loader/
H A Dsysfs.c12 * sysfs support for firmware loader
35 * timeout_store() - set number of seconds to wait for firmware
41 * Sets the number of seconds to wait for the firmware. Once
43 * firmware will be provided.
103 .name = "firmware",
179 * one same firmware buf, so let all requests
204 * If this is a user-initiated firmware upload
307 * firmware_data_write() - write method for firmware
316 * the driver as a firmware image.
396 fw_create_instance(struct firmware *firmwar argument
[all...]
/linux-master/drivers/gpu/drm/sti/
H A Dsti_hqvdp.c10 #include <linux/firmware.h>
309 /* Main commands. We use 2 commands one being processed by the firmware, one
723 * The firmware scaling limitation is "CEIL(1/Zy) <= FLOOR(LFW)" where:
900 const struct firmware *firmware; local
918 /* Request firmware */
919 if (request_firmware(&firmware, HQVDP_FMW_NAME, hqvdp->dev)) {
920 DRM_ERROR("Can't get HQVDP firmware\n");
924 /* Check firmware parts */
925 if (!firmware) {
[all...]
/linux-master/drivers/gpu/drm/tiny/
H A Dpanel-mipi-dbi.c10 #include <linux/firmware.h>
33 * The display controller configuration is stored in a firmware file.
77 panel_mipi_dbi_check_commands(struct device *dev, const struct firmware *fw)
142 const struct firmware *fw;
/linux-master/drivers/media/platform/qcom/venus/
H A Dfirmware.c7 #include <linux/firmware.h>
16 #include <linux/firmware/qcom/qcom_scm.h>
21 #include "firmware.h"
85 const struct firmware *mdt;
165 dev_err(dev, "could not map video firmware region\n");
202 dev_err(dev, "failed to unmap firmware\n");
223 ret = of_property_read_string_index(dev->of_node, "firmware-name", 0,
230 dev_err(dev, "fail to load video firmware\n");
291 np = of_get_child_by_name(core->dev->of_node, "video-firmware");
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dga102.c25 #include <core/firmware.h>
275 const struct firmware *fw;
338 gr->firmware = true;
/linux-master/drivers/media/pci/cx88/
H A Dcx88-blackbird.c23 #include <linux/firmware.h>
362 /* wait for firmware to handle the API command */
443 const struct firmware *firmware; local
462 retval = request_firmware(&firmware, CX2341X_FIRM_ENC_FILENAME,
466 pr_err("Hotplug firmware request failed (%s).\n",
468 pr_err("Please fix your hotplug setup, the board will not work without firmware loaded!\n");
472 if (firmware->size != BLACKBIRD_FIRM_IMAGE_SIZE) {
474 firmware->size, BLACKBIRD_FIRM_IMAGE_SIZE);
475 release_firmware(firmware);
[all...]
/linux-master/drivers/pmdomain/imx/
H A Dscu-pd.c54 #include <dt-bindings/firmware/imx/rsrc.h>
56 #include <linux/firmware/imx/sci.h>
57 #include <linux/firmware/imx/svc/rm.h>

Completed in 326 milliseconds

<<11121314151617181920>>