Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/staging/media/go7007/
Dgo7007-driver.c96 int fw_len, rv = 0; in go7007_load_encoder() local
110 fw_len = fw_entry->size - 16; in go7007_load_encoder()
111 bounce = kmalloc(fw_len, GFP_KERNEL); in go7007_load_encoder()
114 "firmware transfer\n", fw_len); in go7007_load_encoder()
118 memcpy(bounce, fw_entry->data + 16, fw_len); in go7007_load_encoder()
121 go7007_send_firmware(go, bounce, fw_len) < 0 || in go7007_load_encoder()
265 int fw_len, rv = 0, i; in go7007_start_encoder() local
280 if (go7007_construct_fw_image(go, &fw, &fw_len) < 0) in go7007_start_encoder()
283 if (go7007_send_firmware(go, fw, fw_len) < 0 || in go7007_start_encoder()
/linux-3.4.99/drivers/net/wireless/prism54/
Dislpci_dev.c92 long fw_len; in isl_upload_firmware() local
106 fw_len = fw_entry->size; in isl_upload_firmware()
108 if (fw_len % 4) { in isl_upload_firmware()
116 while (fw_len > 0) { in isl_upload_firmware()
118 (fw_len > in isl_upload_firmware()
120 ISL38XX_MEMORY_WINDOW_SIZE : fw_len; in isl_upload_firmware()
130 fw_len -= _fw_len; in isl_upload_firmware()
148 BUG_ON(fw_len != 0); in isl_upload_firmware()
/linux-3.4.99/drivers/net/wireless/p54/
Dp54spi.c219 unsigned long fw_len, _fw_len; in p54spi_upload_firmware() local
224 fw_len = priv->firmware->size; in p54spi_upload_firmware()
225 fw = kmemdup(priv->firmware->data, fw_len, GFP_KERNEL); in p54spi_upload_firmware()
242 while (fw_len > 0) { in p54spi_upload_firmware()
243 _fw_len = min_t(long, fw_len, SPI_MAX_PACKET_SIZE); in p54spi_upload_firmware()
251 fw_len -= _fw_len; in p54spi_upload_firmware()
255 BUG_ON(fw_len != 0); in p54spi_upload_firmware()
/linux-3.4.99/drivers/net/wireless/mwifiex/
Ddecl.h91 u32 fw_len; member
Dmain.c319 fw.fw_len = adapter->firmware->size; in mwifiex_init_hw_fw()
Dsdio.c696 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
Dpcie.c1294 u32 firmware_len = fw->fw_len; in mwifiex_prog_fw_w_helper()
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dinit.c577 u8 **fw, size_t *fw_len) in ath6kl_get_fw() argument
586 *fw_len = fw_entry->size; in ath6kl_get_fw()
743 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_testmode_file()
768 ret = ath6kl_get_fw(ar, filename, &ar->fw, &ar->fw_len); in ath6kl_fetch_fw_file()
934 ar->fw_len = ie_len; in ath6kl_fetch_fw_apin()
1218 address, ar->fw_len); in ath6kl_upload_firmware()
1220 ret = ath6kl_bmi_fast_download(ar, address, ar->fw, ar->fw_len); in ath6kl_upload_firmware()
Dcore.h680 size_t fw_len; member
/linux-3.4.99/drivers/nfc/
Dpn544.c457 size_t fw_len; in pn544_write() local
473 fw_len = PN544_FW_HEADER_SIZE + (info->buf[1] << 8) + in pn544_write()
476 if (len > fw_len) /* 1 msg at a time */ in pn544_write()
477 len = fw_len; in pn544_write()
/linux-3.4.99/drivers/net/wireless/wl1251/
Dboot.c415 nvs_start = wl->fw_len; in wl1251_boot_upload_nvs()
505 wl1251_reg_write32(wl, ACX_EEPROMLESS_IND_REG, wl->fw_len); in wl1251_boot()
Dwl1251.h297 size_t fw_len; member
Dmain.c85 wl->fw_len = fw->size; in wl1251_fetch_firmware()
86 wl->fw = vmalloc(wl->fw_len); in wl1251_fetch_firmware()
94 memcpy(wl->fw, fw->data, wl->fw_len); in wl1251_fetch_firmware()
/linux-3.4.99/drivers/media/radio/wl128x/
Dfmdrv_common.c1244 int ret, fw_len, cmd_cnt; in fm_download_firmware() local
1258 fw_len = fw_entry->size; in fm_download_firmware()
1270 fw_len -= sizeof(struct bts_header); in fm_download_firmware()
1272 while (fw_data && fw_len > 0) { in fm_download_firmware()
1291 fw_len -= (sizeof(struct bts_action) + (action->size)); in fm_download_firmware()
/linux-3.4.99/drivers/net/wireless/wl12xx/
Dwl12xx.h327 size_t fw_len; member
Dmain.c1094 wl->fw_len = fw->size; in wl12xx_fetch_firmware()
1095 wl->fw = vmalloc(wl->fw_len); in wl12xx_fetch_firmware()
1103 memcpy(wl->fw, fw->data, wl->fw_len); in wl12xx_fetch_firmware()
/linux-3.4.99/drivers/net/wireless/rt2x00/
Drt2800lib.c334 size_t fw_len; in rt2800_check_firmware() local
346 fw_len = 4096; in rt2800_check_firmware()
349 fw_len = 8192; in rt2800_check_firmware()
356 if (len != fw_len && (!multiple || (len % fw_len) != 0)) in rt2800_check_firmware()
367 ((len / fw_len) == 1)) in rt2800_check_firmware()
375 if (!rt2800_check_firmware_crc(data + offset, fw_len)) in rt2800_check_firmware()
378 offset += fw_len; in rt2800_check_firmware()
/linux-3.4.99/drivers/media/video/pvrusb2/
Dpvrusb2-hdw.c1556 unsigned int pipe, fw_len, fw_done, bcnt, icnt; in pvr2_upload_firmware2() local
1617 fw_len = fw_entry->size; in pvr2_upload_firmware2()
1619 if (fw_len % sizeof(u32)) { in pvr2_upload_firmware2()
1641 for (fw_done = 0; fw_done < fw_len;) { in pvr2_upload_firmware2()
1642 bcnt = fw_len - fw_done; in pvr2_upload_firmware2()
1668 fw_files[fwidx],fw_done,fw_len); in pvr2_upload_firmware2()
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dtg3.c3336 unsigned int fw_len; member
3374 for (i = 0; i < (info->fw_len / sizeof(u32)); i++) in tg3_load_firmware_cpu()
3402 info.fw_len = tp->fw->size - 12; in tg3_load_5701_a0_firmware_fix()
3463 cpu_scratch_size = tp->fw_len; in tg3_load_tso_firmware()
3464 info.fw_len = tp->fw->size - 12; in tg3_load_tso_firmware()
8801 int fw_len; in tg3_reset_hw() local
8803 fw_len = tp->fw_len; in tg3_reset_hw()
8804 fw_len = (fw_len + (0x80 - 1)) & ~(0x80 - 1); in tg3_reset_hw()
8806 NIC_SRAM_MBUF_POOL_BASE5705 + fw_len); in tg3_reset_hw()
8808 NIC_SRAM_MBUF_POOL_SIZE5705 - fw_len - 0xa00); in tg3_reset_hw()
[all …]
Dtg3.h3218 u32 fw_len; /* includes BSS */ member
/linux-3.4.99/drivers/net/ethernet/realtek/
Dr8169.c2021 __le32 fw_len; member
2054 size = le32_to_cpu(fw_info->fw_len); in rtl_fw_format_ok()