Home
last modified time | relevance | path

Searched refs:firmware (Results 1 – 25 of 2188) sorted by relevance

12345678910>>...88

/OK3568_Linux_fs/yocto/meta-rockchip/recipes-kernel/rkwifibt-firmware/
H A Drkwifibt-firmware.bb4 SUMMARY = "Rockchip WIFI/BT firmware files"
20 install -d ${D}/lib/firmware/rtlbt/
22 cp -u $(find ${S}/firmware/ -type f) ${D}/lib/firmware/
23 ln -rsf ${D}/lib/firmware/*rtl*_* ${D}/lib/firmware/rtlbt/
47 lib/firmware/fw_bcm40181a2_apsta.bin \
48 lib/firmware/fw_bcm40181a2.bin \
49 lib/firmware/nvram_ap6181.txt \
53 lib/firmware/fw_bcm43438a1_apsta.bin \
54 lib/firmware/fw_bcm43438a1.bin \
55 lib/firmware/nvram_ap6212a.txt \
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/
H A Dfalcon.c59 const struct firmware *firmware) in falcon_copy_firmware_image() argument
61 u32 *virt = falcon->firmware.virt; in falcon_copy_firmware_image()
65 for (i = 0; i < firmware->size / sizeof(u32); i++) in falcon_copy_firmware_image()
66 virt[i] = le32_to_cpu(((u32 *)firmware->data)[i]); in falcon_copy_firmware_image()
71 struct falcon_fw_bin_header_v1 *bin = (void *)falcon->firmware.virt; in falcon_parse_firmware_image()
87 if (bin->size > falcon->firmware.size) { in falcon_parse_firmware_image()
92 os = falcon->firmware.virt + bin->os_header_offset; in falcon_parse_firmware_image()
94 falcon->firmware.bin_data.size = bin->os_size; in falcon_parse_firmware_image()
95 falcon->firmware.bin_data.offset = bin->os_data_offset; in falcon_parse_firmware_image()
96 falcon->firmware.code.offset = os->code_offset; in falcon_parse_firmware_image()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/stable/
H A Dsysfs-driver-firmware-zynqmp1 What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs*
17 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
18 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
22 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
23 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
27 What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs*
46 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
47 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
51 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
52 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-kernel/linux-firmware/
H A Dlinux-firmware_20230210.bb3 DESCRIPTION = "Linux firmware is a package distributed alongside the Linux kernel \
4 that contains firmware binary blobs necessary for partial or full functionality \
56 & Firmware-ralink-firmware \
62 & Firmware-ueagle-atm4-firmware \
109 file://LICENCE.open-ath9k-htc-firmware;md5=1b33c9f4d17bc4d457bdb23727046837 \
121 file://LICENCE.ralink-firmware.txt;md5=ab2c269277c45476fb449673911a2dfd \
127 file://LICENCE.ueagle-atm4-firmware;md5=4ed7ea6b507ccc583b9d594417714118 \
178 NO_GENERIC_LICENSE[Firmware-ath9k-htc] = "LICENCE.open-ath9k-htc-firmware"
190 NO_GENERIC_LICENSE[Firmware-ralink-firmware] = "LICENCE.ralink-firmware.txt"
196 NO_GENERIC_LICENSE[Firmware-ueagle-atm4-firmware] = "LICENCE.ueagle-atm4-firmware"
[all …]
/OK3568_Linux_fs/u-boot/drivers/qe/
H A Dqe.c381 int qe_upload_firmware(const struct qe_firmware *firmware) in qe_upload_firmware() argument
396 if (!firmware) { in qe_upload_firmware()
401 hdr = &firmware->header; in qe_upload_firmware()
421 if ((firmware->count < 1) || (firmware->count > MAX_QE_RISC)) { in qe_upload_firmware()
427 calc_size += (firmware->count - 1) * sizeof(struct qe_microcode); in qe_upload_firmware()
429 for (i = 0; i < firmware->count; i++) in qe_upload_firmware()
436 be32_to_cpu(firmware->microcode[i].count); in qe_upload_firmware()
448 crc = be32_to_cpu(*(u32 *)((void *)firmware + calc_size)); in qe_upload_firmware()
449 if (crc != (crc32(-1, (const void *) firmware, calc_size) ^ -1)) { in qe_upload_firmware()
457 if (!firmware->split) { in qe_upload_firmware()
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/firmware/
H A Dfirmware_cache.rst5 When Linux resumes from suspend some device drivers require firmware lookups to
7 firmware lookups are not possible, during this short period of time firmware
9 the root filesystem for firmware delays user experience with device
10 functionality. In order to support these requirements the firmware
11 infrastructure implements a firmware cache for device drivers for most API
14 The firmware cache makes using certain firmware API calls safe during a device
16 the firmware by themselves for dealing with firmware loss during system resume.
18 The firmware cache works by requesting for firmware prior to suspend and
19 caching it in memory. Upon resume device drivers using the firmware API will
20 have access to the firmware immediately, without having to wait for the root
[all …]
H A Drequest_firmware.rst5 You would typically load firmware and then load it into your device somehow.
6 The typical firmware work flow is reflected below::
12 Synchronous firmware requests
15 Synchronous firmware requests will wait until the firmware is found or until
43 Asynchronous firmware requests
46 Asynchronous firmware requests allow driver code to not have to wait
47 until the firmware or an error is returned. Function callbacks are
48 provided so that when the firmware or an error is found the driver is
60 Some devices have an optimization in place to enable the firmware to be
62 author must ensure the firmware is still available on resume from suspend,
[all …]
H A Dfallback-mechanisms.rst6 filesystem lookup on the root filesystem or when the firmware simply cannot be
8 configuration options related to supporting the firmware fallback mechanism are:
10 * CONFIG_FW_LOADER_USER_HELPER: enables building the firmware fallback
15 enable the kobject uevent fallback mechanism on all firmware API calls
21 manually load the firmware. Read below for more details.
31 Justifying the firmware fallback mechanism
40 * Races upon resume from suspend. This is resolved by the firmware cache, but
41 the firmware cache is only supported if you use uevents, and its not
47 * The firmware provides very unique device specific data tailored for
68 In order to help device drivers upload firmware using a fallback mechanism
[all …]
H A Dbuilt-in-fw.rst2 Built-in firmware
5 Firmware can be built-in to the kernel, this means building the firmware
6 into vmlinux directly, to enable avoiding having to look for firmware from
7 the filesystem. Instead, firmware can be looked for inside the kernel
8 directly. You can enable built-in firmware using the kernel configuration
14 There are a few reasons why you might want to consider building your firmware
19 want to stuff the firmware into the boot initramfs.
22 able to make use of built-in firmware:
24 * Legalese - firmware is non-GPL compatible
25 * Some firmware may be optional
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/nvdimm/
H A Dfirmware-activate.rst7 Some persistent memory devices run a firmware locally on the device /
9 and health monitoring. The process of updating that firmware typically
13 DSM specification [1], has added support for activating firmware at
17 to advertise and control their local runtime firmware activation
20 The libnvdimm bus object, ndbusX, implements an ndbusX/firmware/activate
21 attribute that shows the state of the firmware activation as one of 'idle',
25 No devices are set / armed to activate firmware
37 activation. In that scenario the potential for firmware activation to
40 The 'ndbusX/firmware/activate' property can be written with a value of
42 run firmware activation from within the equivalent of the hibernation
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dfirmware.h12 struct firmware { struct
42 int request_firmware(const struct firmware **fw, const char *name,
44 int firmware_request_nowarn(const struct firmware **fw, const char *name,
46 int firmware_request_platform(const struct firmware **fw, const char *name,
51 void (*cont)(const struct firmware *fw, void *context));
52 int request_firmware_direct(const struct firmware **fw, const char *name,
54 int request_firmware_into_buf(const struct firmware **firmware_p,
56 int request_partial_firmware_into_buf(const struct firmware **firmware_p,
60 void release_firmware(const struct firmware *fw);
62 static inline int request_firmware(const struct firmware **fw, in request_firmware()
[all …]
/OK3568_Linux_fs/kernel/drivers/base/firmware_loader/
H A DKconfig8 This enables the firmware loading facility in the kernel. The kernel
9 will first look for built-in firmware, if it has any. Next, it will
10 look for the requested firmware in a series of filesystem paths:
13 o /lib/firmware/updates/UTS_RELEASE
14 o /lib/firmware/updates
15 o /lib/firmware/UTS_RELEASE
16 o /lib/firmware
20 need firmware.
25 enable built-in firmware (CONFIG_EXTRA_FIRMWARE).
33 string "Build named firmware blobs into the kernel binary"
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/broadcom-bt-firmware/
H A Dbroadcom-bt-firmware_12.0.1.1105_p3.bb4 SUMMARY = "Broadcom Bluetooth firmware files"
5 …m Bluetooth devices. Note that in case of BT+WiFi devices, separate WiFi firmware might be needed."
6 HOMEPAGE = "https://github.com/winterheart/broadcom-bt-firmware"
12 SRC_URI = "git://github.com/winterheart/broadcom-bt-firmware.git;branch=master;protocol=https"
28 install -d ${D}${nonarch_base_libdir}/firmware/brcm/
29 cp brcm/*.hcd ${D}${nonarch_base_libdir}/firmware/brcm/
32 install -m 0644 LICENSE.broadcom_bcm20702 ${D}${nonarch_base_libdir}/firmware/brcm/
35 install -m 0644 DEVICES.md ${D}${nonarch_base_libdir}/firmware/brcm/
59 FILES:${PN}-bcm20702a1 = "${nonarch_base_libdir}/firmware/brcm/BCM20702A1*hcd"
60 FILES:${PN}-bcm20702b0 = "${nonarch_base_libdir}/firmware/brcm/BCM20702B0*hcd"
[all …]
/OK3568_Linux_fs/kernel/sound/pci/asihpi/
H A Dhpidspcd.c18 const struct firmware *firmware; member
26 const struct firmware *firmware; in hpi_dsp_code_open() local
35 err = request_firmware(&firmware, fw_name, &dev->dev); in hpi_dsp_code_open()
37 if (err || !firmware) { in hpi_dsp_code_open()
42 if (firmware->size < sizeof(header)) { in hpi_dsp_code_open()
46 memcpy(&header, firmware->data, sizeof(header)); in hpi_dsp_code_open()
50 || (header.size != firmware->size)) { in hpi_dsp_code_open()
53 header.size, firmware->size); in hpi_dsp_code_open()
79 dsp_code->pvt->firmware = firmware; in hpi_dsp_code_open()
86 release_firmware(firmware); in hpi_dsp_code_open()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-firmware-efi-esrt1 What: /sys/firmware/efi/esrt/
5 (ESRT), a catalog of firmware for which can be updated with
10 What: /sys/firmware/efi/esrt/fw_resource_count
15 What: /sys/firmware/efi/esrt/fw_resource_count_max
20 really only useful to the system firmware itself.
22 What: /sys/firmware/efi/esrt/fw_resource_version
25 Description: The version of the ESRT structure provided by the firmware.
27 What: /sys/firmware/efi/esrt/entries/entry$N/
32 example: /sys/firmware/efi/esrt/entries/entry0/
34 What: /sys/firmware/efi/esrt/entries/entry$N/fw_type
[all …]
H A Dsysfs-firmware-memmap1 What: /sys/firmware/memmap/
5 On all platforms, the firmware provides a memory map which the
10 However, on most architectures that firmware-provided memory
16 kexec needs the raw firmware-provided memory map to setup the
19 that reason, /sys/firmware/memmap is an interface that provides
22 The structure is as follows: Under /sys/firmware/memmap there
25 /sys/firmware/memmap/0
26 /sys/firmware/memmap/1
27 /sys/firmware/memmap/2
28 /sys/firmware/memmap/3
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dfirmware.c81 void *firmware; in expose_firmware_sysfs() local
87 firmware = vzalloc(size); in expose_firmware_sysfs()
88 if (!firmware) in expose_firmware_sysfs()
91 h = firmware; in expose_firmware_sysfs()
100 p = firmware + h->cfg_space_offset; in expose_firmware_sysfs()
105 memcpy(gvt->firmware.cfg_space, p, info->cfg_space_size); in expose_firmware_sysfs()
107 p = firmware + h->mmio_offset; in expose_firmware_sysfs()
112 memcpy(gvt->firmware.mmio, p, info->mmio_size); in expose_firmware_sysfs()
115 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs()
118 firmware_attr.private = firmware; in expose_firmware_sysfs()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/firmware/xilinx/
H A Dxlnx,zynqmp-firmware.txt5 The zynqmp-firmware node describes the interface to platform firmware.
6 ZynqMP has an interface to communicate with secure firmware. Firmware
7 driver provides an interface to firmware APIs. Interface APIs can be
15 "xlnx,zynqmp-firmware" for Zynq Ultrascale+ MPSoC
16 "xlnx,versal-firmware" for Versal
17 - method: The method of calling the PM-API firmware layer.
28 firmware {
29 zynqmp_firmware: zynqmp-firmware {
30 compatible = "xlnx,zynqmp-firmware";
38 firmware {
[all …]
/OK3568_Linux_fs/tools/linux/Firmware_Merger/
H A Duser_manual.txt1 …firmware_merger read setting.ini to get partition info and create firmware.firmware_merger can gen…
2 three kinds of firmware(1.flat rk firmware 2.flat gpt firmware 3.compact gpt firmware).flat firmwar…
3 directly written into flash by 'wl'command.Compact firmware can only be written by productiontool. …
4 is rk miniloader,firmware use flat rk format.when SPL is u-boot,firmware use flat gpt.
7 1.set format of firmware
8 Gpt_Enable= /*flat rk firmware*/
9 Gpt_Enable=0 /*flat gpt firmware*/
10 Gpt_Enable=1 /*compact gpt firmware*/
12 2.backup header of firmware or not
13 Backup_Partition_Enable=1 /*backup firmware header*/
[all …]
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Dath3k.c206 const struct firmware *firmware) in ath3k_load_firmware() argument
211 int count = firmware->size; in ath3k_load_firmware()
222 0, 0, firmware->data, FW_HDR_SIZE, in ath3k_load_firmware()
238 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_firmware()
275 const struct firmware *firmware) in ath3k_load_fwfile() argument
282 count = firmware->size; in ath3k_load_fwfile()
293 firmware->data, size, USB_CTRL_SET_TIMEOUT, in ath3k_load_fwfile()
311 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_fwfile()
359 const struct firmware *firmware; in ath3k_load_patch() local
384 ret = request_firmware(&firmware, filename, &udev->dev); in ath3k_load_patch()
[all …]
H A Dbcm203x.c155 const struct firmware *firmware; in bcm203x_probe() local
176 if (request_firmware(&firmware, "BCM2033-MD.hex", &udev->dev) < 0) { in bcm203x_probe()
182 BT_DBG("minidrv data %p size %zu", firmware->data, firmware->size); in bcm203x_probe()
184 size = max_t(uint, firmware->size, 4096); in bcm203x_probe()
189 release_firmware(firmware); in bcm203x_probe()
194 memcpy(data->buffer, firmware->data, firmware->size); in bcm203x_probe()
197 data->buffer, firmware->size, bcm203x_complete, data); in bcm203x_probe()
199 release_firmware(firmware); in bcm203x_probe()
201 if (request_firmware(&firmware, "BCM2033-FW.bin", &udev->dev) < 0) { in bcm203x_probe()
208 BT_DBG("firmware data %p size %zu", firmware->data, firmware->size); in bcm203x_probe()
[all …]
/OK3568_Linux_fs/buildroot/package/freescale-imx/firmware-imx/
H A Dfirmware-imx.mk9 FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin
40 FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys
63 FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys
91 cp $(@D)/firmware/hdmi/cadence/signed_hdmi_imx8m.bin \
102 mkdir -p $(TARGET_DIR)/lib/firmware/imx
103 cp -r $(@D)/firmware/epdc $(TARGET_DIR)/lib/firmware/imx
104 mv $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted \
105 $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw
116 mkdir -p $(TARGET_DIR)/lib/firmware/imx/sdma
117 cp -r $(@D)/firmware/sdma/sdma-$(FIRMWARE_IMX_SDMA_FW_NAME)*.bin \
[all …]
/OK3568_Linux_fs/u-boot/fit/
H A Du-boot.its31 type = "firmware";
33 os = "arm-trusted-firmware";
43 type = "firmware";
45 os = "arm-trusted-firmware";
55 type = "firmware";
57 os = "arm-trusted-firmware";
67 type = "firmware";
69 os = "arm-trusted-firmware";
79 type = "firmware";
81 os = "arm-trusted-firmware";
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gt1x/
H A Dgt1x_update.c382 6 + update_info.firmware->subsystem_count; in gt1x_update_firmware()
385 3 + update_info.firmware->subsystem_count; in gt1x_update_firmware()
396 …p = gt1x_get_fw_data(update_info.firmware->subsystem[0].offset, update_info.firmware->subsystem[0]… in gt1x_update_firmware()
405 ret = gt1x_run_ss51_isp(p, update_info.firmware->subsystem[0].length); in gt1x_update_firmware()
413 for (i = 1; i < update_info.firmware->subsystem_count; i++) { in gt1x_update_firmware()
414 GTP_INFO("subsystem: %d", update_info.firmware->subsystem[i].type); in gt1x_update_firmware()
415 GTP_INFO("Length: %d", update_info.firmware->subsystem[i].length); in gt1x_update_firmware()
416 GTP_INFO("Address: %d", update_info.firmware->subsystem[i].address); in gt1x_update_firmware()
418 ret = gt1x_burn_subsystem(&(update_info.firmware->subsystem[i])); in gt1x_update_firmware()
429 …p = gt1x_get_fw_data(update_info.firmware->subsystem[0].offset, update_info.firmware->subsystem[0]… in gt1x_update_firmware()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/as102/
H A Das102_fw.c93 const struct firmware *firmware) { in as102_firmware_upload() argument
104 for (total_read_bytes = 0; total_read_bytes < firmware->size; ) { in as102_firmware_upload()
109 (u8 *) (firmware->data + total_read_bytes), in as102_firmware_upload()
120 if (total_read_bytes == firmware->size) { in as102_firmware_upload()
158 const struct firmware *firmware = NULL; in as102_fw_upload() local
180 errno = request_firmware(&firmware, fw1, &dev->dev); in as102_fw_upload()
188 errno = as102_firmware_upload(bus_adap, cmd_buf, firmware); in as102_fw_upload()
197 release_firmware(firmware); in as102_fw_upload()
198 firmware = NULL; in as102_fw_upload()
204 errno = request_firmware(&firmware, fw2, &dev->dev); in as102_fw_upload()
[all …]

12345678910>>...88