Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/usb/
Dkaweth.c231 __u8 *firmware_buf; member
393 memcpy(kaweth->firmware_buf, fw->data, fw->size); in kaweth_download_firmware()
397 kaweth->firmware_buf[2] = (data_len & 0xFF) - 7; in kaweth_download_firmware()
398 kaweth->firmware_buf[3] = data_len >> 8; in kaweth_download_firmware()
399 kaweth->firmware_buf[4] = type; in kaweth_download_firmware()
400 kaweth->firmware_buf[5] = interrupt; in kaweth_download_firmware()
402 netdev_dbg(kaweth->net, "High: %i, Low:%i\n", kaweth->firmware_buf[3], in kaweth_download_firmware()
403 kaweth->firmware_buf[2]); in kaweth_download_firmware()
407 kaweth->firmware_buf, kaweth); in kaweth_download_firmware()
416 (void *)kaweth->firmware_buf, in kaweth_download_firmware()
[all …]
/Linux-v5.4/drivers/staging/rtl8192u/
Dr819xU_firmware.c253 if (fw_entry->size > sizeof(pfirmware->firmware_buf)) { in init_firmware()
259 memcpy(pfirmware->firmware_buf, fw_entry->data, fw_entry->size); in init_firmware()
260 mapped_file = pfirmware->firmware_buf; in init_firmware()
263 memset(pfirmware->firmware_buf, 0, 128); in init_firmware()
264 memcpy(&pfirmware->firmware_buf[128], fw_entry->data, fw_entry->size); in init_firmware()
265 mapped_file = pfirmware->firmware_buf; in init_firmware()
271 mapped_file = pfirmware->firmware_buf; in init_firmware()
Dr8192U.h375 u8 firmware_buf[RTL8190_MAX_FIRMWARE_CODE_SIZE]; member
/Linux-v5.4/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()