/linux-4.19.296/include/linux/ |
D | firmware.h | 12 struct firmware { struct 43 int request_firmware(const struct firmware **fw, const char *name, 45 int firmware_request_nowarn(const struct firmware **fw, const char *name, 50 void (*cont)(const struct firmware *fw, void *context)); 51 int request_firmware_direct(const struct firmware **fw, const char *name, 53 int request_firmware_into_buf(const struct firmware **firmware_p, 56 void release_firmware(const struct firmware *fw); 58 static inline int request_firmware(const struct firmware **fw, in request_firmware() 65 static inline int firmware_request_nowarn(const struct firmware **fw, in firmware_request_nowarn() 75 void (*cont)(const struct firmware *fw, void *context)) in request_firmware_nowait() [all …]
|
D | remoteproc.h | 327 struct firmware; 347 int (*parse_fw)(struct rproc *rproc, const struct firmware *fw); 349 struct rproc *rproc, const struct firmware *fw); 350 int (*load)(struct rproc *rproc, const struct firmware *fw); 351 int (*sanity_check)(struct rproc *rproc, const struct firmware *fw); 352 u32 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw); 448 char *firmware; member 550 const char *firmware, int len);
|
D | ihex.h | 35 static inline int ihex_validate_fw(const struct firmware *fw) in ihex_validate_fw() 55 static inline int request_ihex_firmware(const struct firmware **fw, in request_ihex_firmware() 59 const struct firmware *lfw; in request_ihex_firmware()
|
/linux-4.19.296/drivers/base/firmware_loader/ |
D | Kconfig | 7 This enables the firmware loading facility in the kernel. The kernel 8 will first look for built-in firmware, if it has any. Next, it will 9 look for the requested firmware in a series of filesystem paths: 12 o /lib/firmware/updates/UTS_RELEASE 13 o /lib/firmware/updates 14 o /lib/firmware/UTS_RELEASE 15 o /lib/firmware 19 need firmware. 24 enable built-in firmware (CONFIG_EXTRA_FIRMWARE). 29 string "Build named firmware blobs into the kernel binary" [all …]
|
D | main.c | 100 static bool fw_copy_to_prealloc_buf(struct firmware *fw, in fw_copy_to_prealloc_buf() 111 static bool fw_get_builtin_firmware(struct firmware *fw, const char *name, in fw_get_builtin_firmware() 127 static bool fw_is_builtin_firmware(const struct firmware *fw) in fw_is_builtin_firmware() 140 static inline bool fw_get_builtin_firmware(struct firmware *fw, in fw_get_builtin_firmware() 147 static inline bool fw_is_builtin_firmware(const struct firmware *fw) in fw_is_builtin_firmware() 351 static void firmware_free_data(const struct firmware *fw) in firmware_free_data() 362 static void fw_set_page_data(struct fw_priv *fw_priv, struct firmware *fw) in fw_set_page_data() 452 int assign_fw(struct firmware *fw, struct device *device, in assign_fw() 502 _request_firmware_prepare(struct firmware **firmware_p, const char *name, in _request_firmware_prepare() 506 struct firmware *firmware; in _request_firmware_prepare() local [all …]
|
D | fallback.c | 77 struct firmware *fw; 507 fw_create_instance(struct firmware *firmware, const char *fw_name, in fw_create_instance() argument 520 fw_sysfs->fw = firmware; in fw_create_instance() 597 static int fw_load_from_user_helper(struct firmware *firmware, in fw_load_from_user_helper() argument 622 fw_sysfs = fw_create_instance(firmware, name, device, opt_flags); in fw_load_from_user_helper() 628 fw_sysfs->fw_priv = firmware->priv; in fw_load_from_user_helper() 632 ret = assign_fw(firmware, device, opt_flags); in fw_load_from_user_helper() 689 int firmware_fallback_sysfs(struct firmware *fw, const char *name, in firmware_fallback_sysfs()
|
D | fallback.h | 34 int firmware_fallback_sysfs(struct firmware *fw, const char *name, 46 static inline int firmware_fallback_sysfs(struct firmware *fw, const char *name, in firmware_fallback_sysfs()
|
/linux-4.19.296/drivers/bluetooth/ |
D | bcm203x.c | 170 const struct firmware *firmware; in bcm203x_probe() local 191 if (request_firmware(&firmware, "BCM2033-MD.hex", &udev->dev) < 0) { in bcm203x_probe() 197 BT_DBG("minidrv data %p size %zu", firmware->data, firmware->size); in bcm203x_probe() 199 size = max_t(uint, firmware->size, 4096); in bcm203x_probe() 204 release_firmware(firmware); in bcm203x_probe() 209 memcpy(data->buffer, firmware->data, firmware->size); in bcm203x_probe() 212 data->buffer, firmware->size, bcm203x_complete, data); in bcm203x_probe() 214 release_firmware(firmware); in bcm203x_probe() 216 if (request_firmware(&firmware, "BCM2033-FW.bin", &udev->dev) < 0) { in bcm203x_probe() 223 BT_DBG("firmware data %p size %zu", firmware->data, firmware->size); in bcm203x_probe() [all …]
|
D | ath3k.c | 219 const struct firmware *firmware) in ath3k_load_firmware() argument 224 int count = firmware->size; in ath3k_load_firmware() 236 memcpy(send_buf, firmware->data, FW_HDR_SIZE); in ath3k_load_firmware() 254 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_firmware() 316 const struct firmware *firmware) in ath3k_load_fwfile() argument 323 count = firmware->size; in ath3k_load_fwfile() 332 memcpy(send_buf, firmware->data, size); in ath3k_load_fwfile() 354 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_fwfile() 407 const struct firmware *firmware; in ath3k_load_patch() local 432 ret = request_firmware(&firmware, filename, &udev->dev); in ath3k_load_patch() [all …]
|
D | bfusb.c | 535 const unsigned char *firmware, int count) in bfusb_load_firmware() argument 566 memcpy(buf, firmware + sent, size); in bfusb_load_firmware() 616 const struct firmware *firmware; in bfusb_probe() local 658 if (request_firmware(&firmware, "bfubase.frm", &udev->dev) < 0) { in bfusb_probe() 663 BT_DBG("firmware data %p size %zu", firmware->data, firmware->size); in bfusb_probe() 665 if (bfusb_load_firmware(data, firmware->data, firmware->size) < 0) { in bfusb_probe() 670 release_firmware(firmware); in bfusb_probe() 703 release_firmware(firmware); in bfusb_probe()
|
D | bt3c_cs.c | 446 const unsigned char *firmware, in bt3c_load_firmware() argument 449 char *ptr = (char *) firmware; in bt3c_load_firmware() 537 const struct firmware *firmware; in bt3c_open() local 568 err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev); in bt3c_open() 574 err = bt3c_load_firmware(info, firmware->data, firmware->size); in bt3c_open() 576 release_firmware(firmware); in bt3c_open()
|
D | btbcm.h | 71 int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw); 92 static inline int btbcm_patchram(struct hci_dev *hdev, const struct firmware *fw) in btbcm_patchram()
|
D | btmrvl_sdio.h | 97 const char *firmware; member 110 const char *firmware; member
|
D | btmrvl_sdio.c | 239 .firmware = "mrvl/sd8688.bin", 248 .firmware = "mrvl/sd8787_uapsta.bin", 257 .firmware = "mrvl/sd8797_uapsta.bin", 266 .firmware = "mrvl/sd8887_uapsta.bin", 275 .firmware = "mrvl/sd8897_uapsta.bin", 284 .firmware = "mrvl/sd8997_uapsta.bin", 447 const struct firmware *fw_helper = NULL; in btmrvl_sdio_download_helper() 545 const struct firmware *fw_firmware = NULL; in btmrvl_sdio_download_fw_w_helper() 546 const u8 *firmware = NULL; in btmrvl_sdio_download_fw_w_helper() local 555 ret = request_firmware(&fw_firmware, card->firmware, in btmrvl_sdio_download_fw_w_helper() [all …]
|
/linux-4.19.296/include/linux/soc/qcom/ |
D | mdt_loader.h | 12 struct firmware; 14 ssize_t qcom_mdt_get_size(const struct firmware *fw); 15 int qcom_mdt_load(struct device *dev, const struct firmware *fw, 20 int qcom_mdt_load_no_init(struct device *dev, const struct firmware *fw,
|
/linux-4.19.296/drivers/misc/mic/cosm/ |
D | cosm_sysfs.c | 236 char *firmware; in firmware_show() local 241 firmware = cdev->firmware; in firmware_show() 243 if (firmware) in firmware_show() 244 return scnprintf(buf, PAGE_SIZE, "%s\n", firmware); in firmware_show() 258 kfree(cdev->firmware); in firmware_store() 260 cdev->firmware = kmalloc(count + 1, GFP_KERNEL); in firmware_store() 261 if (!cdev->firmware) { in firmware_store() 265 strncpy(cdev->firmware, buf, count); in firmware_store() 267 if (cdev->firmware[count - 1] == '\n') in firmware_store() 268 cdev->firmware[count - 1] = '\0'; in firmware_store() [all …]
|
/linux-4.19.296/include/misc/ |
D | altera.h | 38 extern int altera_init(struct altera_config *config, const struct firmware *fw); 42 const struct firmware *fw) in altera_init()
|
/linux-4.19.296/drivers/misc/altera-stapl/ |
D | Kconfig | 1 comment "Altera FPGA firmware download module (requires I2C)" 5 tristate "Altera FPGA firmware download module"
|
/linux-4.19.296/include/sound/ |
D | vx_core.h | 30 struct firmware; 103 int (*load_dsp)(struct vx_core *chip, int idx, const struct firmware *fw); 202 const struct firmware *firmware[4]; /* loaded firmware data */ member 212 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *dsp); 213 int snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *dsp); 214 int snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp);
|
/linux-4.19.296/drivers/isdn/hardware/mISDN/ |
D | speedfax.c | 377 const struct firmware *firmware; in setup_instance() local 394 err = request_firmware(&firmware, "isdn/ISAR.BIN", &card->pdev->dev); in setup_instance() 402 card->name, firmware->size); in setup_instance() 428 err = card->isar.firmware(&card->isar, firmware->data, firmware->size); in setup_instance() 430 release_firmware(firmware); in setup_instance() 444 release_firmware(firmware); in setup_instance()
|
/linux-4.19.296/drivers/base/ |
D | Kconfig | 64 bool "Select only drivers that don't need compile-time external firmware" 67 Select this option if you don't have magic firmware for drivers that 73 bool "Disable drivers features which enable custom firmware building" 77 driver firmware at kernel build time. These drivers do not use the 78 kernel firmware API to load firmware (CONFIG_FW_LOADER), instead they 79 use their own custom loading mechanism. The required firmware is 80 usually shipped with the driver, building the driver firmware 81 should only be needed if you have an updated firmware source. 85 old drivers which enable building of its firmware at kernel build
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | mn88472.c | 409 const struct firmware *firmware; in mn88472_init() local 432 ret = request_firmware(&firmware, name, &client->dev); in mn88472_init() 444 for (rem = firmware->size; rem > 0; rem -= (dev->i2c_write_max - 1)) { in mn88472_init() 447 &firmware->data[firmware->size - rem], in mn88472_init() 470 release_firmware(firmware); in mn88472_init() 507 release_firmware(firmware); in mn88472_init()
|
D | Kconfig | 326 This driver needs external firmware. Please use the command 328 download/extract it, and then copy it to /usr/lib/hotplug/firmware 329 or /lib/firmware (depending on configuration of firmware hotplug). 338 This driver needs external firmware. Please use the command 340 download/extract it, and then copy it to /usr/lib/hotplug/firmware 341 or /lib/firmware (depending on configuration of firmware hotplug). 389 This driver needs external firmware. Please use the commands 392 download/extract them, and then copy them to /usr/lib/hotplug/firmware 393 or /lib/firmware (depending on configuration of firmware hotplug). 593 This driver needs external firmware. Please use the commands [all …]
|
D | af9013.c | 1042 const struct firmware *firmware; in af9013_download_firmware() local 1061 ret = request_firmware(&firmware, name, &client->dev); in af9013_download_firmware() 1072 for (i = 0; i < firmware->size; i++) in af9013_download_firmware() 1073 checksum += firmware->data[i]; in af9013_download_firmware() 1077 buf[2] = (firmware->size >> 8) & 0xff; in af9013_download_firmware() 1078 buf[3] = (firmware->size >> 0) & 0xff; in af9013_download_firmware() 1085 for (rem = firmware->size; rem > 0; rem -= LEN_MAX) { in af9013_download_firmware() 1088 0x5100 + firmware->size - rem, in af9013_download_firmware() 1089 &firmware->data[firmware->size - rem], in af9013_download_firmware() 1098 release_firmware(firmware); in af9013_download_firmware() [all …]
|
/linux-4.19.296/drivers/misc/mic/host/ |
D | mic_x100.c | 352 mic_x100_load_command_line(struct mic_device *mdev, const struct firmware *fw) in mic_x100_load_command_line() 384 const struct firmware *fw; in mic_x100_load_ramdisk() 449 const struct firmware *fw; in mic_x100_load_firmware() 455 rc = request_firmware(&fw, mdev->cosm_dev->firmware, &mdev->pdev->dev); in mic_x100_load_firmware() 459 rc, mdev->cosm_dev->firmware); in mic_x100_load_firmware()
|