/linux-6.12.1/drivers/bluetooth/ |
D | btrtl.c | 96 int fw_len; member 549 .len = btrtl_dev->fw_len - 7, /* Cut the tail */ in rtlbt_parse_firmware_v2() 673 if (btrtl_dev->fw_len <= 8) in rtlbt_parse_firmware() 685 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware() 688 fwptr = btrtl_dev->fw_data + btrtl_dev->fw_len - sizeof(extension_sig); in rtlbt_parse_firmware() 770 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware() 796 if (btrtl_dev->fw_len < min_size) in rtlbt_parse_firmware() 815 const unsigned char *data, int fw_len) in rtl_download_firmware() argument 818 int frag_num = fw_len / RTL_FRAG_LEN + 1; in rtl_download_firmware() 839 frag_len = fw_len % RTL_FRAG_LEN; in rtl_download_firmware() [all …]
|
D | hci_aml.c | 250 struct aml_fw_len *fw_len = NULL; in aml_download_firmware() local 284 fw_len = (struct aml_fw_len *)firmware->data; in aml_download_firmware() 289 iccm_len = fw_len->iccm_len - amldev->aml_dev_data->iccm_offset; in aml_download_firmware() 298 dccm_start = (u8 *)(firmware->data) + sizeof(struct aml_fw_len) + fw_len->iccm_len; in aml_download_firmware() 299 dccm_len = fw_len->dccm_len; in aml_download_firmware()
|
/linux-6.12.1/drivers/media/usb/go7007/ |
D | go7007-driver.c | 83 int fw_len; in go7007_load_encoder() local 96 fw_len = fw_entry->size - 16; in go7007_load_encoder() 97 bounce = kmemdup(fw_entry->data + 16, fw_len, GFP_KERNEL); in go7007_load_encoder() 99 v4l2_err(go, "unable to allocate %d bytes for firmware transfer\n", fw_len); in go7007_load_encoder() 104 go->boot_fw_len = fw_len; in go7007_load_encoder() 326 int fw_len, rv = 0, i, x, y; in go7007_start_encoder() local 354 if (go7007_construct_fw_image(go, &fw, &fw_len) < 0) in go7007_start_encoder() 357 if (go7007_send_firmware(go, fw, fw_len) < 0 || in go7007_start_encoder()
|
/linux-6.12.1/drivers/net/wireless/intersil/p54/ |
D | p54spi.c | 205 unsigned long fw_len, _fw_len; in p54spi_upload_firmware() local 210 fw_len = priv->firmware->size; in p54spi_upload_firmware() 211 fw = kmemdup(priv->firmware->data, fw_len, GFP_KERNEL); in p54spi_upload_firmware() 228 while (fw_len > 0) { in p54spi_upload_firmware() 229 _fw_len = min_t(long, fw_len, SPI_MAX_PACKET_SIZE); in p54spi_upload_firmware() 237 fw_len -= _fw_len; in p54spi_upload_firmware() 241 BUG_ON(fw_len != 0); in p54spi_upload_firmware()
|
/linux-6.12.1/drivers/net/ethernet/realtek/ |
D | r8169_firmware.c | 36 __le32 fw_len; member 67 size = le32_to_cpu(fw_info->fw_len); in rtl_fw_format_ok()
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | mxl5xx.h | 30 u32 fw_len; member
|
D | mxl5xx.c | 1589 return firmware_download(state, cfg->fw, cfg->fw_len); in load_fw()
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | ili210x.c | 590 u16 fw_len; in ili251x_firmware_to_buffer() local 605 fw_len = be16_to_cpu(rec->len); in ili251x_firmware_to_buffer() 608 if (fw_addr + fw_len > SZ_64K || fw_addr > SZ_64K - 32) in ili251x_firmware_to_buffer() 614 fw_last_addr = fw_addr + fw_len; in ili251x_firmware_to_buffer() 616 memcpy(fw_buf + fw_addr, rec->data, fw_len); in ili251x_firmware_to_buffer() 621 *df_end = fw_addr + fw_len; in ili251x_firmware_to_buffer()
|
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_devlink.h | 89 u32 fw_len; member
|
D | hinic_devlink.c | 49 if (len != fw_image->fw_len || in check_image_valid() 50 (fw_image->fw_len + UPDATEFW_IMAGE_HEAD_SIZE) != image_size) { in check_image_valid() 55 host_image->image_info.up_total_len = fw_image->fw_len; in check_image_valid()
|
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 675 u8 **fw, size_t *fw_len) in ath6kl_get_fw() argument 684 *fw_len = fw_entry->size; in ath6kl_get_fw() 842 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_testmode_file() 867 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_fw_file() 1055 ar->fw_len = ie_len; in ath6kl_fetch_fw_apin() 1364 address, ar->fw_len); in ath6kl_upload_firmware() 1366 ret = ath6kl_bmi_fast_download(ar, address, ar->fw, ar->fw_len); in ath6kl_upload_firmware()
|
D | core.h | 821 size_t fw_len; member
|
/linux-6.12.1/drivers/net/wireless/ti/wl1251/ |
D | boot.c | 402 nvs_start = wl->fw_len; in wl1251_boot_upload_nvs() 492 wl1251_reg_write32(wl, ACX_EEPROMLESS_IND_REG, wl->fw_len); in wl1251_boot()
|
D | wl1251.h | 285 size_t fw_len; member
|
D | main.c | 72 wl->fw_len = fw->size; in wl1251_fetch_firmware() 73 wl->fw = vmalloc(wl->fw_len); in wl1251_fetch_firmware() 81 memcpy(wl->fw, fw->data, wl->fw_len); in wl1251_fetch_firmware()
|
/linux-6.12.1/drivers/media/radio/wl128x/ |
D | fmdrv_common.c | 1237 int ret, fw_len; in fm_download_firmware() local 1250 fw_len = fw_entry->size; in fm_download_firmware() 1262 fw_len -= sizeof(struct bts_header); in fm_download_firmware() 1264 while (fw_data && fw_len > 0) { in fm_download_firmware() 1283 fw_len -= (sizeof(struct bts_action) + (action->size)); in fm_download_firmware() 1286 fw_entry->size - fw_len, fw_entry->size); in fm_download_firmware()
|
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/ |
D | decl.h | 184 u32 fw_len; member
|
D | main.c | 564 fw.fw_len = adapter->firmware->size; in _mwifiex_fw_dpc()
|
D | sdio.c | 1448 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
|
/linux-6.12.1/drivers/net/wireless/ti/wlcore/ |
D | wlcore.h | 212 size_t fw_len; member
|
D | main.c | 852 wl->fw_len = fw->size; in wl12xx_fetch_firmware() 853 wl->fw = vmalloc(wl->fw_len); in wl12xx_fetch_firmware() 861 memcpy(wl->fw, fw->data, wl->fw_len); in wl12xx_fetch_firmware()
|
/linux-6.12.1/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 1504 unsigned int pipe, fw_len, fw_done, bcnt, icnt; in pvr2_upload_firmware2() local 1565 fw_len = fw_entry->size; in pvr2_upload_firmware2() 1567 if (fw_len % sizeof(u32)) { in pvr2_upload_firmware2() 1588 for (fw_done = 0; fw_done < fw_len;) { in pvr2_upload_firmware2() 1589 bcnt = fw_len - fw_done; in pvr2_upload_firmware2() 1615 fw_files[fwidx],fw_done,fw_len); in pvr2_upload_firmware2()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | tg3.c | 3670 int fw_len; in tg3_fw_data_len() local 3686 if (tp->fw_len == 0xffffffff) in tg3_fw_data_len() 3687 fw_len = be32_to_cpu(fw_hdr->len); in tg3_fw_data_len() 3689 fw_len = tp->fw->size; in tg3_fw_data_len() 3691 return (fw_len - TG3_FW_HDR_LEN) / sizeof(u32); in tg3_fw_data_len() 3913 cpu_scratch_size = tp->fw_len; in tg3_load_tso_firmware() 10177 int fw_len; in tg3_reset_hw() local 10179 fw_len = tp->fw_len; in tg3_reset_hw() 10180 fw_len = (fw_len + (0x80 - 1)) & ~(0x80 - 1); in tg3_reset_hw() 10182 NIC_SRAM_MBUF_POOL_BASE5705 + fw_len); in tg3_reset_hw() [all …]
|
D | tg3.h | 3427 u32 fw_len; /* includes BSS */ member
|
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 663 size_t fw_len; in rt2800_check_firmware() local 676 fw_len = 4096; in rt2800_check_firmware() 678 fw_len = 8192; in rt2800_check_firmware() 684 if (len != fw_len && (!multiple || (len % fw_len) != 0)) in rt2800_check_firmware() 695 ((len / fw_len) == 1)) in rt2800_check_firmware() 703 if (!rt2800_check_firmware_crc(data + offset, fw_len)) in rt2800_check_firmware() 706 offset += fw_len; in rt2800_check_firmware()
|