Searched refs:firmware_buf (Results 1 - 8 of 8) sorted by relevance
/linux-4.1.27/drivers/staging/rtl8192u/ |
H A D | r819xU_firmware.c | 251 if (fw_entry->size > sizeof(pfirmware->firmware_buf)) { init_firmware() 257 memcpy(pfirmware->firmware_buf,fw_entry->data,fw_entry->size); init_firmware() 258 mapped_file = pfirmware->firmware_buf; init_firmware() 261 memset(pfirmware->firmware_buf, 0, 128); init_firmware() 262 memcpy(&pfirmware->firmware_buf[128],fw_entry->data,fw_entry->size); init_firmware() 263 mapped_file = pfirmware->firmware_buf; init_firmware() 269 mapped_file = pfirmware->firmware_buf; init_firmware()
|
H A D | r8192U.h | 456 u8 firmware_buf[RTL8190_MAX_FIRMWARE_CODE_SIZE]; member in struct:_rt_firmware
|
/linux-4.1.27/drivers/base/ |
H A D | firmware_class.c | 116 /* firmware_buf instance will be added into the below list */ 137 struct firmware_buf { struct 166 #define to_fwbuf(d) container_of(d, struct firmware_buf, ref) 179 static struct firmware_buf *__allocate_fw_buf(const char *fw_name, __allocate_fw_buf() 182 struct firmware_buf *buf; __allocate_fw_buf() 202 static struct firmware_buf *__fw_lookup_buf(const char *fw_name) __fw_lookup_buf() 204 struct firmware_buf *tmp; __fw_lookup_buf() 215 struct firmware_buf **buf) fw_lookup_and_allocate_buf() 217 struct firmware_buf *tmp; fw_lookup_and_allocate_buf() 240 struct firmware_buf *buf = to_fwbuf(ref); 263 static void fw_free_buf(struct firmware_buf *buf) fw_free_buf() 289 static int fw_read_file_contents(struct file *file, struct firmware_buf *fw_buf) fw_read_file_contents() 321 struct firmware_buf *buf) fw_get_filesystem_firmware() 373 static void fw_set_page_data(struct firmware_buf *buf, struct firmware *fw) fw_set_page_data() 451 struct firmware_buf *buf; 460 static void __fw_load_abort(struct firmware_buf *buf) __fw_load_abort() 476 struct firmware_buf *buf = fw_priv->buf; fw_load_abort() 496 struct firmware_buf, fw_shutdown_notify() 598 static int fw_map_pages_buf(struct firmware_buf *buf) fw_map_pages_buf() 628 struct firmware_buf *fw_buf; firmware_loading_store() 705 struct firmware_buf *buf; firmware_data_read() 745 struct firmware_buf *buf = fw_priv->buf; fw_realloc_buffer() 800 struct firmware_buf *buf; firmware_data_write() 900 struct firmware_buf *buf = fw_priv->buf; _request_firmware_load() 965 struct firmware_buf *buf; kill_requests_without_uevent() 966 struct firmware_buf *next; kill_requests_without_uevent() 996 /* wait until the shared firmware_buf becomes ready (or error) */ sync_cached_firmware_buf() 997 static int sync_cached_firmware_buf(struct firmware_buf *buf) sync_cached_firmware_buf() 1015 /* prepare firmware and firmware_buf structs; 1024 struct firmware_buf *buf; _request_firmware_prepare() 1063 struct firmware_buf *buf = fw->priv; assign_firmware_buf() 1351 static struct firmware_buf *fw_lookup_buf(const char *fw_name) fw_lookup_buf() 1353 struct firmware_buf *tmp; fw_lookup_buf() 1376 struct firmware_buf *buf; uncache_firmware()
|
/linux-4.1.27/drivers/net/usb/ |
H A D | kaweth.c | 243 __u8 *firmware_buf; member in struct:kaweth_device 411 memcpy(kaweth->firmware_buf, fw->data, fw->size); kaweth_download_firmware() 415 kaweth->firmware_buf[2] = (data_len & 0xFF) - 7; kaweth_download_firmware() 416 kaweth->firmware_buf[3] = data_len >> 8; kaweth_download_firmware() 417 kaweth->firmware_buf[4] = type; kaweth_download_firmware() 418 kaweth->firmware_buf[5] = interrupt; kaweth_download_firmware() 420 netdev_dbg(kaweth->net, "High: %i, Low:%i\n", kaweth->firmware_buf[3], kaweth_download_firmware() 421 kaweth->firmware_buf[2]); kaweth_download_firmware() 425 kaweth->firmware_buf, kaweth); kaweth_download_firmware() 434 (void *)kaweth->firmware_buf, kaweth_download_firmware() 445 kaweth->firmware_buf[0] = 0xB6; kaweth_trigger_firmware() 446 kaweth->firmware_buf[1] = 0xC3; kaweth_trigger_firmware() 447 kaweth->firmware_buf[2] = 0x01; kaweth_trigger_firmware() 448 kaweth->firmware_buf[3] = 0x00; kaweth_trigger_firmware() 449 kaweth->firmware_buf[4] = 0x06; kaweth_trigger_firmware() 450 kaweth->firmware_buf[5] = interrupt; kaweth_trigger_firmware() 451 kaweth->firmware_buf[6] = 0x00; kaweth_trigger_firmware() 452 kaweth->firmware_buf[7] = 0x00; kaweth_trigger_firmware() 462 (void *)kaweth->firmware_buf, kaweth_trigger_firmware() 1050 kaweth->firmware_buf = (__u8 *)__get_free_page(GFP_KERNEL); kaweth_probe() 1096 free_page((unsigned long)kaweth->firmware_buf); kaweth_probe()
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | r8192E_firmware.c | 274 sizeof(pfirmware->firmware_buf[init_step])) { init_firmware() 281 memcpy(pfirmware->firmware_buf[init_step], init_firmware() 287 memset(pfirmware->firmware_buf[init_step], init_firmware() 289 memcpy(&pfirmware->firmware_buf[init_step][128], init_firmware() 300 mapped_file = pfirmware->firmware_buf[init_step]; init_firmware()
|
H A D | r8192E_firmware.h | 65 u8 firmware_buf[MAX_FW_INIT_STEP][RTL8190_MAX_FIRMWARE_CODE_SIZE]; member in struct:rt_firmware
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | vicam.c | 243 u8 *firmware_buf; sd_init() local 252 firmware_buf = kmalloc(PAGE_SIZE, GFP_KERNEL); sd_init() 253 if (!firmware_buf) { sd_init() 258 memcpy(firmware_buf, rec->data, be16_to_cpu(rec->len)); sd_init() 259 ret = vicam_control_msg(gspca_dev, 0xff, 0, 0, firmware_buf, sd_init() 265 kfree(firmware_buf); sd_init()
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_hal_init.c | 203 u8 *firmware_buf = NULL; rtl8723a_FirmwareDownload() local 251 firmware_buf = kmemdup(fw->data, fw->size, GFP_KERNEL); rtl8723a_FirmwareDownload() 252 if (!firmware_buf) { rtl8723a_FirmwareDownload() 256 buf = firmware_buf; rtl8723a_FirmwareDownload() 261 pFwHdr = (struct rt_8723a_firmware_hdr *)firmware_buf; rtl8723a_FirmwareDownload() 327 kfree(firmware_buf); rtl8723a_FirmwareDownload()
|
Completed in 338 milliseconds