/drivers/net/wireless/intersil/prism54/ |
D | islpci_dev.c | 91 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/media/usb/go7007/ |
D | go7007-driver.c | 91 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/intersil/p54/ |
D | p54spi.c | 217 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/bluetooth/ |
D | btrtl.c | 220 const unsigned char *data, int fw_len) in rtl_download_firmware() argument 223 int frag_num = fw_len / RTL_FRAG_LEN + 1; in rtl_download_firmware() 240 frag_len = fw_len % RTL_FRAG_LEN; in rtl_download_firmware()
|
/drivers/media/dvb-frontends/ |
D | mxl5xx.h | 17 u32 fw_len; member
|
D | mxl5xx.c | 1575 return firmware_download(state, cfg->fw, cfg->fw_len); in load_fw()
|
/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
|
/drivers/net/wireless/ti/wl1251/ |
D | boot.c | 416 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()
|
D | wl1251.h | 300 size_t fw_len; member
|
D | main.c | 86 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/media/radio/wl128x/ |
D | fmdrv_common.c | 1241 int ret, fw_len, cmd_cnt; in fm_download_firmware() local 1255 fw_len = fw_entry->size; in fm_download_firmware() 1267 fw_len -= sizeof(struct bts_header); in fm_download_firmware() 1269 while (fw_data && fw_len > 0) { in fm_download_firmware() 1289 fw_len -= (sizeof(struct bts_action) + (action->size)); in fm_download_firmware()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | decl.h | 173 u32 fw_len; member
|
D | main.c | 538 fw.fw_len = adapter->firmware->size; in _mwifiex_fw_dpc()
|
D | sdio.c | 972 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
|
D | pcie.c | 2099 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
|
/drivers/net/wireless/ti/wlcore/ |
D | wlcore.h | 224 size_t fw_len; member
|
D | main.c | 773 wl->fw_len = fw->size; in wl12xx_fetch_firmware() 774 wl->fw = vmalloc(wl->fw_len); in wl12xx_fetch_firmware() 782 memcpy(wl->fw, fw->data, wl->fw_len); in wl12xx_fetch_firmware()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 1513 unsigned int pipe, fw_len, fw_done, bcnt, icnt; in pvr2_upload_firmware2() local 1574 fw_len = fw_entry->size; in pvr2_upload_firmware2() 1576 if (fw_len % sizeof(u32)) { in pvr2_upload_firmware2() 1597 for (fw_done = 0; fw_done < fw_len;) { in pvr2_upload_firmware2() 1598 bcnt = fw_len - fw_done; in pvr2_upload_firmware2() 1624 fw_files[fwidx],fw_done,fw_len); in pvr2_upload_firmware2()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 3675 int fw_len; in tg3_fw_data_len() local 3691 if (tp->fw_len == 0xffffffff) in tg3_fw_data_len() 3692 fw_len = be32_to_cpu(fw_hdr->len); in tg3_fw_data_len() 3694 fw_len = tp->fw->size; in tg3_fw_data_len() 3696 return (fw_len - TG3_FW_HDR_LEN) / sizeof(u32); in tg3_fw_data_len() 3918 cpu_scratch_size = tp->fw_len; in tg3_load_tso_firmware() 10093 int fw_len; in tg3_reset_hw() local 10095 fw_len = tp->fw_len; in tg3_reset_hw() 10096 fw_len = (fw_len + (0x80 - 1)) & ~(0x80 - 1); in tg3_reset_hw() 10098 NIC_SRAM_MBUF_POOL_BASE5705 + fw_len); in tg3_reset_hw() [all …]
|
D | tg3.h | 3410 u32 fw_len; /* includes BSS */ member
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 647 size_t fw_len; in rt2800_check_firmware() local 660 fw_len = 4096; in rt2800_check_firmware() 662 fw_len = 8192; in rt2800_check_firmware() 668 if (len != fw_len && (!multiple || (len % fw_len) != 0)) in rt2800_check_firmware() 679 ((len / fw_len) == 1)) in rt2800_check_firmware() 687 if (!rt2800_check_firmware_crc(data + offset, fw_len)) in rt2800_check_firmware() 690 offset += fw_len; in rt2800_check_firmware()
|
/drivers/net/ethernet/realtek/ |
D | r8169.c | 2560 __le32 fw_len; member 2593 size = le32_to_cpu(fw_info->fw_len); in rtl_fw_format_ok()
|