/linux/drivers/media/usb/go7007/ |
H A 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/drivers/bluetooth/ |
H A 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/drivers/input/touchscreen/ |
H A 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/drivers/media/dvb-frontends/ |
H A D | mxl5xx.h | 30 u32 fw_len; member
|
H A D | mxl5xx.c | 1589 return firmware_download(state, cfg->fw, cfg->fw_len); in load_fw()
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A 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()
|
H A D | core.h | 821 size_t fw_len; member
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H A 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()
|
H A D | hinic_devlink.h | 89 u32 fw_len; member
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A 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()
|
H A D | wl1251.h | 285 size_t fw_len; member
|
H A 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/drivers/net/wireless/marvell/mwifiex/ |
H A D | decl.h | 184 u32 fw_len; member
|
H A D | main.c | 564 fw.fw_len = adapter->firmware->size; in _mwifiex_fw_dpc()
|
H A D | sdio.c | 1448 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
|
H A D | pcie.c | 2165 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
|
/linux/drivers/net/wireless/ti/wlcore/ |
H A D | wlcore.h | 212 size_t fw_len; member
|
/linux/drivers/media/usb/pvrusb2/ |
H A 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/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 3671 int fw_len; in tg3_fw_data_len() local 3687 if (tp->fw_len == 0xffffffff) in tg3_fw_data_len() 3688 fw_len = be32_to_cpu(fw_hdr->len); in tg3_fw_data_len() 3690 fw_len = tp->fw->size; in tg3_fw_data_len() 3692 return (fw_len - TG3_FW_HDR_LEN) / sizeof(u32); in tg3_fw_data_len() 3914 cpu_scratch_size = tp->fw_len; in tg3_load_tso_firmware() 10212 int fw_len; in tg3_reset_hw() local 10214 fw_len = tp->fw_len; in tg3_reset_hw() 10215 fw_len = (fw_len + (0x80 - 1)) & ~(0x80 - 1); in tg3_reset_hw() 10217 NIC_SRAM_MBUF_POOL_BASE5705 + fw_len); in tg3_reset_hw() [all …]
|