Home
last modified time | relevance | path

Searched refs:firmware_buf (Results 1 – 4 of 4) sorted by relevance

/drivers/net/usb/
Dkaweth.c227 __u8 *firmware_buf; member
320 memcpy(kaweth->firmware_buf, fw->data, fw->size); in kaweth_download_firmware()
324 kaweth->firmware_buf[2] = (data_len & 0xFF) - 7; in kaweth_download_firmware()
325 kaweth->firmware_buf[3] = data_len >> 8; in kaweth_download_firmware()
326 kaweth->firmware_buf[4] = type; in kaweth_download_firmware()
327 kaweth->firmware_buf[5] = interrupt; in kaweth_download_firmware()
329 netdev_dbg(kaweth->net, "High: %i, Low:%i\n", kaweth->firmware_buf[3], in kaweth_download_firmware()
330 kaweth->firmware_buf[2]); in kaweth_download_firmware()
334 kaweth->firmware_buf, kaweth); in kaweth_download_firmware()
341 kaweth->firmware_buf, data_len, in kaweth_download_firmware()
[all …]
/drivers/staging/rtl8192u/
Dr819xU_firmware.c248 if (fw_entry->size > sizeof(pfirmware->firmware_buf)) { in init_firmware()
254 memcpy(pfirmware->firmware_buf, fw_entry->data, fw_entry->size); in init_firmware()
255 mapped_file = pfirmware->firmware_buf; in init_firmware()
258 memset(pfirmware->firmware_buf, 0, 128); in init_firmware()
259 memcpy(&pfirmware->firmware_buf[128], fw_entry->data, fw_entry->size); in init_firmware()
260 mapped_file = pfirmware->firmware_buf; in init_firmware()
266 mapped_file = pfirmware->firmware_buf; in init_firmware()
Dr8192U.h375 u8 firmware_buf[RTL8190_MAX_FIRMWARE_CODE_SIZE]; member
/drivers/media/usb/gspca/
Dvicam.c229 u8 *firmware_buf; in sd_init() local
238 firmware_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in sd_init()
239 if (!firmware_buf) { in sd_init()
244 memcpy(firmware_buf, rec->data, be16_to_cpu(rec->len)); in sd_init()
245 ret = vicam_control_msg(gspca_dev, 0xff, 0, 0, firmware_buf, in sd_init()
251 kfree(firmware_buf); in sd_init()