Searched refs:firmware (Results 151 - 175 of 1308) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/firmware/
H A Dfw_filesystem.sh3 # This validates that the kernel will load firmware out of its list of
4 # firmware locations on disk. Since the user helper does similar work,
26 echo 1 >/sys/class/firmware/timeout
44 # Request a firmware that doesn't exist, it should fail.
46 echo "$0: firmware shouldn't have loaded" >&2
50 echo "$0: firmware was not expected to match" >&2
67 echo "$0: firmware was not loaded" >&2
75 echo "$0: firmware loading: async trigger not present, ignoring test" >&2
85 echo "$0: firmware was not loaded (async)" >&2
94 echo "$0: firmware loadin
[all...]
H A Dfw_fallback.sh4 # to load firmware it can't find on disk itself. We must request a firmware
35 echo "$0: firmware interface never appeared" >&2
62 echo "$0: firmware interface never appeared" >&2
91 echo "$0: firmware interface never appeared" >&2
124 echo "$0: firmware interface never appeared" >&2
142 echo 4 >/sys/class/firmware/timeout
163 echo -n 2 >/sys/class/firmware/timeout
177 echo "a firmware rule like /lib/udev/rules.d/50-firmware
[all...]
/linux-master/drivers/firmware/efi/libstub/
H A DMakefile.zboot50 $(obj)/zboot-header.o: $(srctree)/drivers/firmware/efi/libstub/zboot-header.S FORCE
53 ZBOOT_DEPS := $(obj)/zboot-header.o $(objtree)/drivers/firmware/efi/libstub/lib.a
55 LDFLAGS_vmlinuz.efi.elf := -T $(srctree)/drivers/firmware/efi/libstub/zboot.lds
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dlsfw.c24 #include <core/firmware.h>
92 const struct firmware **pdesc)
147 const struct firmware *fw;
167 const struct firmware *fw;
187 const struct firmware *fw;
218 const struct firmware *hsbl;
257 const struct firmware *bl = NULL, *inst = NULL, *data = NULL;
335 const struct firmware _inst = { .data = inst_data, .size = inst_size };
336 const struct firmware _data = { .data = data_data, .size = data_size };
337 const struct firmware *b
[all...]
/linux-master/drivers/accel/qaic/
H A Dsahara.c5 #include <linux/firmware.h>
94 const struct firmware *firmware; member in struct:sahara_context
131 ret = firmware_request_nowarn(&context->firmware,
148 release_firmware(context->firmware);
253 if (data_offset >= context->firmware->size) {
255 data_offset, context->firmware->size);
260 if (size_add(data_offset, data_len) > context->firmware->size) {
262 data_offset, data_len, context->firmware->size);
270 memcpy(context->tx[i], &context->firmware
[all...]
/linux-master/sound/soc/intel/avs/
H A Davs.h14 #include <linux/firmware.h>
51 int (* const load_basefw)(struct avs_dev *, struct firmware *);
52 int (* const load_lib)(struct avs_dev *, struct firmware *, u32);
110 const struct firmware *fw;
127 * @fw_list: List of libraries loaded, including base firmware
208 * @ready: whether firmware is ready and communication is open
237 * IPC handlers may return positive value (firmware error code) what denotes
241 * All IPC callers MUST use it as soon as firmware error code is consumed.
293 int avs_request_firmware(struct avs_dev *adev, const struct firmware **fw_p, const char *name);
316 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *f
[all...]
H A Dloader.c9 #include <linux/firmware.h>
43 /* Occasionally, engineering (release candidate) firmware is provided for testing. */
46 MODULE_PARM_DESC(ignore_fw_version, "Ignore firmware version check 0=no (default), 1=yes");
70 static int avs_fw_ext_manifest_strip(struct firmware *fw)
86 static int avs_fw_manifest_offset(struct firmware *fw)
101 static int avs_fw_manifest_strip_verify(struct avs_dev *adev, struct firmware *fw,
137 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw)
176 /* transfer firmware */
191 int avs_cldma_load_library(struct avs_dev *adev, struct firmware *lib, u32 id)
215 const struct firmware *mo
[all...]
/linux-master/drivers/bus/mhi/host/
H A Dboot.c11 #include <linux/firmware.h>
390 const struct firmware *firmware = NULL; local
418 /* check if the driver has already provided the firmware data */
435 "No firmware image defined or !sbl_size || !seg_len\n");
439 ret = request_firmware(&firmware, fw_name, dev);
441 dev_err(dev, "Error loading firmware: %d\n", ret);
445 size = (mhi_cntrl->fbc_download) ? mhi_cntrl->sbl_size : firmware->size;
448 if (size > firmware->size)
449 size = firmware
[all...]
/linux-master/drivers/input/mouse/
H A Dcyapa.h16 #include <linux/firmware.h>
18 /* APA trackpad firmware generation number. */
263 int (*check_fw)(struct cyapa *, const struct firmware *);
266 int (*bl_initiate)(struct cyapa *, const struct firmware *);
267 int (*update_fw)(struct cyapa *, const struct firmware *);
375 * And since update firmware and read firmware image process will take
425 int cyapa_pip_check_fw(struct cyapa *cyapa, const struct firmware *fw);
426 int cyapa_pip_bl_initiate(struct cyapa *cyapa, const struct firmware *fw);
427 int cyapa_pip_do_fw_update(struct cyapa *cyapa, const struct firmware *f
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c24 #include <linux/firmware.h>
500 static int amdgpu_ucode_validate(const struct firmware *fw)
819 if (adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) {
1067 if ((adev->firmware.load_type != AMDGPU_FW_LOAD_DIRECT) &&
1068 (adev->firmware.load_type != AMDGPU_FW_LOAD_RLC_BACKDOOR_AUTO)) {
1069 amdgpu_bo_create_kernel(adev, adev->firmware.fw_size, PAGE_SIZE,
1072 &adev->firmware.fw_buf,
1073 &adev->firmware.fw_buf_mc,
1074 &adev->firmware.fw_buf_ptr);
1075 if (!adev->firmware
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dtestmode.c9 #include <linux/firmware.h>
50 /* Only testmode.c should be handling events from utf firmware,
148 /* load utf firmware image */
149 ret = firmware_request_nowarn(&fw_file->firmware, filename, ar->dev);
154 ath10k_warn(ar, "failed to retrieve utf firmware '%s': %d\n",
160 * firmware features. Do an ugly hack where we force the firmware
167 fw_file->firmware_data = fw_file->firmware->data;
168 fw_file->firmware_len = fw_file->firmware->size;
202 ath10k_err(ar, "failed to fetch utf firmware binar
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dsw.c58 static void rtl92se_fw_cb(const struct firmware *firmware, void *context) argument
68 if (!firmware) {
73 if (firmware->size > rtlpriv->max_fw_size) {
76 release_firmware(firmware);
80 memcpy(pfirmware->sz_fw_tmpbuffer, firmware->data, firmware->size);
81 pfirmware->sz_fw_tmpbufferlen = firmware->size;
82 release_firmware(firmware);
177 /* for firmware bu
[all...]
/linux-master/arch/x86/kernel/cpu/microcode/
H A Dintel.c15 #include <linux/firmware.h>
350 struct firmware fw;
388 * just can use the pointer and do not have to scan initrd/builtin firmware
595 const struct firmware *firmware; local
607 if (request_firmware_direct(&firmware, name, device)) {
612 kvec.iov_base = (void *)firmware->data;
613 kvec.iov_len = firmware->size;
614 iov_iter_kvec(&iter, ITER_SOURCE, &kvec, 1, firmware->size);
617 release_firmware(firmware);
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-sst-dsp.h13 #include <linux/firmware.h>
186 const struct firmware *fw;
236 int snd_skl_parse_uuids(struct sst_dsp *ctx, const struct firmware *fw,
244 int skl_dsp_strip_extended_manifest(struct firmware *fw);
252 struct firmware *stripped_fw,
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb.h16 #include <linux/firmware.h>
65 * pre-firmware state
67 * post-firmware state
236 * @usb_ctrl: which USB device-side controller is in use. Needed for firmware
238 * @firmware: name of the firmware file.
239 * @download_firmware: called to download the firmware when the usb_ctrl is
241 * @no_reconnect: device doesn't do a reconnect after downloading the firmware,
288 int (*download_firmware) (struct usb_device *, const struct firmware *);
289 const char *firmware; member in struct:dvb_usb_device_properties
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/
H A Dfirmware.c23 #include <core/firmware.h>
30 const char *name, int ver, const struct firmware **pfw)
47 const struct firmware *fw;
63 * nvkm_firmware_get - load firmware from the official nvidia/chip/ directory
64 * @subdev: subdevice that will use that firmware
65 * @fwname: name of firmware file to load
66 * @ver: firmware version to load
67 * @fw: firmware structure to load to
69 * Use this function to load firmware files in the form nvidia/chip/fwname.bin.
74 const struct firmware **f
[all...]
/linux-master/include/linux/firmware/cirrus/
H A Dcs_dsp.h3 * cs_dsp.h -- Cirrus Logic DSP firmware support
16 #include <linux/firmware.h>
76 * @fw_name: Name of the firmware
93 /* Subname is needed to match with firmware */
126 * @fw_name: Name of the current firmware
127 * @fw_id: ID of the current firmware, obtained from the wmfw
128 * @fw_id_version: Version of the firmware, obtained from the wmfw
129 * @fw_vendor_id: Vendor of the firmware, obtained from the wmfw
134 * @running: Flag indicating DSP is executing firmware
135 * @ctl_list: Controls defined within the loaded DSP firmware
[all...]
/linux-master/drivers/remoteproc/
H A Dremoteproc_sysfs.c130 /* Expose the loaded / running firmware name via sysfs */
135 const char *firmware = rproc->firmware; local
140 * simply display a generic string rather then rproc->firmware.
143 firmware = "unknown";
145 return sprintf(buf, "%s\n", firmware);
148 /* Change firmware name via sysfs */
160 static DEVICE_ATTR_RW(firmware);
/linux-master/drivers/bluetooth/
H A Dbfusb.c19 #include <linux/firmware.h>
519 const unsigned char *firmware, int count)
526 BT_INFO("BlueFRITZ! USB loading firmware");
530 BT_ERR("Can't allocate memory chunk for firmware");
550 memcpy(buf, firmware + sent, size);
556 BT_ERR("Error in firmware loading");
600 const struct firmware *firmware; local
621 /* Initialize control structure and load firmware */
642 if (request_firmware(&firmware, "bfubas
518 bfusb_load_firmware(struct bfusb_data *data, const unsigned char *firmware, int count) argument
[all...]
/linux-master/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dusb_mcu.c6 #include <linux/firmware.h>
68 const struct firmware **fw)
87 const struct firmware *fw;
159 dev_err(dev->mt76.dev, "Invalid firmware image\n");
/linux-master/sound/firewire/oxfw/
H A Doxfw.c11 /* 0x970?vvvv or 0x971?vvvv, where vvvv = firmware version */
72 u32 firmware; local
88 OXFORD_FIRMWARE_ID_ADDRESS, &firmware, 4, 0);
91 be32_to_cpus(&firmware);
93 if (firmware >> 20 == 0x970)
114 v, m, firmware >> 20, firmware & 0xffff,
331 // Initial firmware has a quirk to postpone isoc packet transmission during finishing async
346 // Loud Technologies, Mackie Onyx Satellite. Although revised version of firmware is
/linux-master/drivers/scsi/isci/
H A Dprobe_roms.h59 #include <linux/firmware.h>
159 struct isci_orom *isci_request_firmware(struct pci_dev *pdev, const struct firmware *fw);
/linux-master/drivers/media/usb/go7007/
H A Dgo7007-loader.c9 #include <linux/firmware.h>
38 const struct firmware *fw;
68 dev_info(&interface->dev, "loading firmware %s\n", fw1);
72 "unable to load firmware from file \"%s\"\n", fw1);
87 "unable to load firmware from file \"%s\"\n", fw2);
93 dev_err(&interface->dev, "firmware download failed\n");
132 MODULE_DESCRIPTION("firmware loader for go7007-usb");
/linux-master/drivers/net/wireless/intersil/p54/
H A Dp54pci.h94 const struct firmware *firmware; member in struct:p54p_priv
/linux-master/drivers/firmware/
H A Dtrusted_foundations.c12 #include <linux/firmware/trusted_foundations.h>
14 #include <asm/firmware.h>

Completed in 262 milliseconds

1234567891011>>