Home
last modified time | relevance | path

Searched refs:fw_len (Results 1 – 21 of 21) sorted by relevance

/drivers/media/usb/go7007/
Dgo7007-driver.c91 int fw_len, rv = 0; in go7007_load_encoder() local
104 fw_len = fw_entry->size - 16; in go7007_load_encoder()
105 bounce = kmemdup(fw_entry->data + 16, fw_len, GFP_KERNEL); in go7007_load_encoder()
107 v4l2_err(go, "unable to allocate %d bytes for firmware transfer\n", fw_len); in go7007_load_encoder()
112 go->boot_fw_len = fw_len; in go7007_load_encoder()
332 int fw_len, rv = 0, i, x, y; in go7007_start_encoder() local
360 if (go7007_construct_fw_image(go, &fw, &fw_len) < 0) in go7007_start_encoder()
363 if (go7007_send_firmware(go, fw, fw_len) < 0 || in go7007_start_encoder()
/drivers/net/wireless/prism54/
Dislpci_dev.c91 long fw_len; in isl_upload_firmware() local
105 fw_len = fw_entry->size; in isl_upload_firmware()
107 if (fw_len % 4) { in isl_upload_firmware()
115 while (fw_len > 0) { in isl_upload_firmware()
117 (fw_len > in isl_upload_firmware()
119 ISL38XX_MEMORY_WINDOW_SIZE : fw_len; in isl_upload_firmware()
129 fw_len -= _fw_len; in isl_upload_firmware()
147 BUG_ON(fw_len != 0); in isl_upload_firmware()
/drivers/net/wireless/p54/
Dp54spi.c217 unsigned long fw_len, _fw_len; in p54spi_upload_firmware() local
222 fw_len = priv->firmware->size; in p54spi_upload_firmware()
223 fw = kmemdup(priv->firmware->data, fw_len, GFP_KERNEL); in p54spi_upload_firmware()
240 while (fw_len > 0) { in p54spi_upload_firmware()
241 _fw_len = min_t(long, fw_len, SPI_MAX_PACKET_SIZE); in p54spi_upload_firmware()
249 fw_len -= _fw_len; in p54spi_upload_firmware()
253 BUG_ON(fw_len != 0); in p54spi_upload_firmware()
/drivers/net/wireless/ath/ath6kl/
Dinit.c666 u8 **fw, size_t *fw_len) in ath6kl_get_fw() argument
675 *fw_len = fw_entry->size; in ath6kl_get_fw()
832 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_testmode_file()
857 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_fw_file()
1032 ar->fw_len = ie_len; in ath6kl_fetch_fw_apin()
1340 address, ar->fw_len); in ath6kl_upload_firmware()
1342 ret = ath6kl_bmi_fast_download(ar, address, ar->fw, ar->fw_len); in ath6kl_upload_firmware()
Dcore.h819 size_t fw_len; member
/drivers/net/wireless/mwifiex/
Ddecl.h131 u32 fw_len; member
Dmain.c406 fw.fw_len = adapter->firmware->size; in mwifiex_fw_dpc()
Dsdio.c865 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
Dpcie.c1840 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
/drivers/net/wireless/ti/wl1251/
Dboot.c416 nvs_start = wl->fw_len; in wl1251_boot_upload_nvs()
506 wl1251_reg_write32(wl, ACX_EEPROMLESS_IND_REG, wl->fw_len); in wl1251_boot()
Dwl1251.h300 size_t fw_len; member
Dmain.c86 wl->fw_len = fw->size; in wl1251_fetch_firmware()
87 wl->fw = vmalloc(wl->fw_len); in wl1251_fetch_firmware()
95 memcpy(wl->fw, fw->data, wl->fw_len); in wl1251_fetch_firmware()
/drivers/net/wireless/brcm80211/brcmfmac/
Dpcie.c1316 uint fw_len, nv_len; in brcmf_pcie_get_fwnames() local
1346 fw_len = sizeof(devinfo->fw_name) - 1; in brcmf_pcie_get_fwnames()
1350 strncpy(devinfo->fw_name, brcmf_firmware_path, fw_len); in brcmf_pcie_get_fwnames()
1352 fw_len -= strlen(devinfo->fw_name); in brcmf_pcie_get_fwnames()
1357 strncat(devinfo->fw_name, "/", fw_len); in brcmf_pcie_get_fwnames()
1359 fw_len--; in brcmf_pcie_get_fwnames()
1363 strncat(devinfo->fw_name, fw_name, fw_len); in brcmf_pcie_get_fwnames()
/drivers/media/radio/wl128x/
Dfmdrv_common.c1248 int ret, fw_len, cmd_cnt; in fm_download_firmware() local
1262 fw_len = fw_entry->size; in fm_download_firmware()
1274 fw_len -= sizeof(struct bts_header); in fm_download_firmware()
1276 while (fw_data && fw_len > 0) { in fm_download_firmware()
1295 fw_len -= (sizeof(struct bts_action) + (action->size)); in fm_download_firmware()
/drivers/net/wireless/ti/wlcore/
Dwlcore.h218 size_t fw_len; member
Dmain.c766 wl->fw_len = fw->size; in wl12xx_fetch_firmware()
767 wl->fw = vmalloc(wl->fw_len); in wl12xx_fetch_firmware()
775 memcpy(wl->fw, fw->data, wl->fw_len); in wl12xx_fetch_firmware()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c1523 unsigned int pipe, fw_len, fw_done, bcnt, icnt; in pvr2_upload_firmware2() local
1584 fw_len = fw_entry->size; in pvr2_upload_firmware2()
1586 if (fw_len % sizeof(u32)) { in pvr2_upload_firmware2()
1608 for (fw_done = 0; fw_done < fw_len;) { in pvr2_upload_firmware2()
1609 bcnt = fw_len - fw_done; in pvr2_upload_firmware2()
1635 fw_files[fwidx],fw_done,fw_len); in pvr2_upload_firmware2()
/drivers/net/wireless/rt2x00/
Drt2800lib.c578 size_t fw_len; in rt2800_check_firmware() local
591 fw_len = 4096; in rt2800_check_firmware()
593 fw_len = 8192; in rt2800_check_firmware()
599 if (len != fw_len && (!multiple || (len % fw_len) != 0)) in rt2800_check_firmware()
610 ((len / fw_len) == 1)) in rt2800_check_firmware()
618 if (!rt2800_check_firmware_crc(data + offset, fw_len)) in rt2800_check_firmware()
621 offset += fw_len; in rt2800_check_firmware()
/drivers/net/ethernet/broadcom/
Dtg3.c3674 int fw_len; in tg3_fw_data_len() local
3690 if (tp->fw_len == 0xffffffff) in tg3_fw_data_len()
3691 fw_len = be32_to_cpu(fw_hdr->len); in tg3_fw_data_len()
3693 fw_len = tp->fw->size; in tg3_fw_data_len()
3695 return (fw_len - TG3_FW_HDR_LEN) / sizeof(u32); in tg3_fw_data_len()
3917 cpu_scratch_size = tp->fw_len; in tg3_load_tso_firmware()
10049 int fw_len; in tg3_reset_hw() local
10051 fw_len = tp->fw_len; in tg3_reset_hw()
10052 fw_len = (fw_len + (0x80 - 1)) & ~(0x80 - 1); in tg3_reset_hw()
10054 NIC_SRAM_MBUF_POOL_BASE5705 + fw_len); in tg3_reset_hw()
[all …]
Dtg3.h3406 u32 fw_len; /* includes BSS */ member
/drivers/net/ethernet/realtek/
Dr8169.c2441 __le32 fw_len; member
2474 size = le32_to_cpu(fw_info->fw_len); in rtl_fw_format_ok()