Searched refs:firmware_buf (Results 1 – 8 of 8) sorted by relevance
/drivers/base/ |
D | firmware_class.c | 137 struct firmware_buf { struct 166 #define to_fwbuf(d) container_of(d, struct firmware_buf, ref) argument 179 static struct firmware_buf *__allocate_fw_buf(const char *fw_name, in __allocate_fw_buf() 182 struct firmware_buf *buf; in __allocate_fw_buf() 202 static struct firmware_buf *__fw_lookup_buf(const char *fw_name) in __fw_lookup_buf() 204 struct firmware_buf *tmp; in __fw_lookup_buf() 215 struct firmware_buf **buf) in fw_lookup_and_allocate_buf() 217 struct firmware_buf *tmp; in fw_lookup_and_allocate_buf() 240 struct firmware_buf *buf = to_fwbuf(ref); in __fw_free_buf() 263 static void fw_free_buf(struct firmware_buf *buf) in fw_free_buf() [all …]
|
/drivers/net/usb/ |
D | kaweth.c | 243 __u8 *firmware_buf; member 411 memcpy(kaweth->firmware_buf, fw->data, fw->size); in kaweth_download_firmware() 415 kaweth->firmware_buf[2] = (data_len & 0xFF) - 7; in kaweth_download_firmware() 416 kaweth->firmware_buf[3] = data_len >> 8; in kaweth_download_firmware() 417 kaweth->firmware_buf[4] = type; in kaweth_download_firmware() 418 kaweth->firmware_buf[5] = interrupt; in kaweth_download_firmware() 420 netdev_dbg(kaweth->net, "High: %i, Low:%i\n", kaweth->firmware_buf[3], in kaweth_download_firmware() 421 kaweth->firmware_buf[2]); in kaweth_download_firmware() 425 kaweth->firmware_buf, kaweth); in kaweth_download_firmware() 434 (void *)kaweth->firmware_buf, in kaweth_download_firmware() [all …]
|
/drivers/staging/rtl8192u/ |
D | r819xU_firmware.c | 249 if (fw_entry->size > sizeof(pfirmware->firmware_buf)) { in init_firmware() 255 memcpy(pfirmware->firmware_buf,fw_entry->data,fw_entry->size); in init_firmware() 256 mapped_file = pfirmware->firmware_buf; in init_firmware() 259 memset(pfirmware->firmware_buf, 0, 128); in init_firmware() 260 memcpy(&pfirmware->firmware_buf[128],fw_entry->data,fw_entry->size); in init_firmware() 261 mapped_file = pfirmware->firmware_buf; in init_firmware() 267 mapped_file = pfirmware->firmware_buf; in init_firmware()
|
D | r8192U.h | 458 u8 firmware_buf[RTL8190_MAX_FIRMWARE_CODE_SIZE]; member
|
/drivers/media/usb/gspca/ |
D | vicam.c | 243 u8 *firmware_buf; in sd_init() local 252 firmware_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); in sd_init() 253 if (!firmware_buf) { in sd_init() 258 memcpy(firmware_buf, rec->data, be16_to_cpu(rec->len)); in sd_init() 259 ret = vicam_control_msg(gspca_dev, 0xff, 0, 0, firmware_buf, in sd_init() 265 kfree(firmware_buf); in sd_init()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_firmware.c | 273 sizeof(pfirmware->firmware_buf[init_step])) { in init_firmware() 281 memcpy(pfirmware->firmware_buf[init_step], in init_firmware() 287 memset(pfirmware->firmware_buf[init_step], in init_firmware() 289 memcpy(&pfirmware->firmware_buf[init_step][128], in init_firmware() 300 mapped_file = pfirmware->firmware_buf[init_step]; in init_firmware()
|
D | r8192E_firmware.h | 65 u8 firmware_buf[MAX_FW_INIT_STEP][RTL8190_MAX_FIRMWARE_CODE_SIZE]; member
|
/drivers/staging/rtl8723au/hal/ |
D | rtl8723a_hal_init.c | 214 u8 *firmware_buf = NULL; in rtl8723a_FirmwareDownload() local 263 firmware_buf = kmemdup(fw->data, fw->size, GFP_KERNEL); in rtl8723a_FirmwareDownload() 264 if (!firmware_buf) { in rtl8723a_FirmwareDownload() 268 buf = firmware_buf; in rtl8723a_FirmwareDownload() 273 pFwHdr = (struct rt_8723a_firmware_hdr *)firmware_buf; in rtl8723a_FirmwareDownload() 339 kfree(firmware_buf); in rtl8723a_FirmwareDownload()
|