Home
last modified time | relevance | path

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

/drivers/staging/go7007/
Dgo7007-driver.c96 int fw_len, rv = 0; in go7007_load_encoder() local
111 fw_len = fw_entry->size - 16; in go7007_load_encoder()
112 bounce = kmalloc(fw_len, GFP_KERNEL); in go7007_load_encoder()
115 "firmware transfer\n", fw_len); in go7007_load_encoder()
119 memcpy(bounce, fw_entry->data + 16, fw_len); in go7007_load_encoder()
122 go7007_send_firmware(go, bounce, fw_len) < 0 || in go7007_load_encoder()
307 int fw_len, rv = 0, i; in go7007_start_encoder() local
322 if (go7007_construct_fw_image(go, &fw, &fw_len) < 0) in go7007_start_encoder()
325 if (go7007_send_firmware(go, fw, fw_len) < 0 || in go7007_start_encoder()
/drivers/net/wireless/prism54/
Dislpci_dev.c87 long fw_len; in isl_upload_firmware() local
101 fw_len = fw_entry->size; in isl_upload_firmware()
103 if (fw_len % 4) { in isl_upload_firmware()
111 while (fw_len > 0) { in isl_upload_firmware()
113 (fw_len > in isl_upload_firmware()
115 ISL38XX_MEMORY_WINDOW_SIZE : fw_len; in isl_upload_firmware()
125 fw_len -= _fw_len; in isl_upload_firmware()
143 BUG_ON(fw_len != 0); in isl_upload_firmware()
/drivers/media/video/pvrusb2/
Dpvrusb2-hdw.c1482 unsigned int pipe, fw_len, fw_done, bcnt, icnt; in pvr2_upload_firmware2() local
1543 fw_len = fw_entry->size; in pvr2_upload_firmware2()
1545 if (fw_len % sizeof(u32)) { in pvr2_upload_firmware2()
1567 for (fw_done = 0; fw_done < fw_len;) { in pvr2_upload_firmware2()
1568 bcnt = fw_len - fw_done; in pvr2_upload_firmware2()
1594 fw_files[fwidx],fw_done,fw_len); in pvr2_upload_firmware2()
/drivers/net/
Dtg3.c6273 unsigned int fw_len; member
6311 for (i = 0; i < (info->fw_len / sizeof(u32)); i++) in tg3_load_firmware_cpu()
6339 info.fw_len = tp->fw->size - 12; in tg3_load_5701_a0_firmware_fix()
6401 cpu_scratch_size = tp->fw_len; in tg3_load_tso_firmware()
6402 info.fw_len = tp->fw->size - 12; in tg3_load_tso_firmware()
6659 int fw_len; in tg3_reset_hw() local
6661 fw_len = tp->fw_len; in tg3_reset_hw()
6662 fw_len = (fw_len + (0x80 - 1)) & ~(0x80 - 1); in tg3_reset_hw()
6664 NIC_SRAM_MBUF_POOL_BASE5705 + fw_len); in tg3_reset_hw()
6666 NIC_SRAM_MBUF_POOL_SIZE5705 - fw_len - 0xa00); in tg3_reset_hw()
[all …]
Dtg3.h2769 u32 fw_len; /* includes BSS */ member