Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/base/firmware_loader/
H A Dmain.c93 static struct firmware_cache fw_cache; variable
216 struct firmware_cache *fwc = &fw_cache; in __lookup_fw_priv()
605 if (fwn->magic == (unsigned long)&fw_cache) in fw_name_devm_release()
616 return (fwn->magic == (unsigned long)&fw_cache) && in fw_devm_match()
659 fwn->magic = (unsigned long)&fw_cache; in fw_add_devm_name()
743 ret = alloc_lookup_fw_priv(name, &fw_cache, &fw_priv, dbuf, size, in _request_firmware_prepare()
1190 struct firmware_cache *fwc = &fw_cache; in lookup_fw_priv()
1249 struct firmware_cache *fwc = &fw_cache; in __fw_entry_found()
1289 struct firmware_cache *fwc = &fw_cache; in __async_dev_cache_fw_image()
1328 struct firmware_cache *fwc = &fw_cache; in dev_cache_fw_image()
[all …]
/OK3568_Linux_fs/kernel/sound/pci/echoaudio/
H A Dechoaudio.h426 const struct firmware *fw_cache[8]; /* Cached firmwares */ member
H A Dechoaudio.c39 if (chip->fw_cache[fw_index]) { in get_firmware()
43 *fw_entry = chip->fw_cache[fw_index]; in get_firmware()
57 chip->fw_cache[fw_index] = *fw_entry; in get_firmware()
82 if (chip->fw_cache[i]) { in free_firmware_cache()
83 release_firmware(chip->fw_cache[i]); in free_firmware_cache()
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Drtk_btusb.c2176 memcpy(fw_info->fw_data, patch_entry->fw_cache, patch_entry->fw_len); in get_firmware()
2204 memcpy(fw_info->fw_data, patch_entry->fw_cache, patch_entry->fw_len); in get_suspend_firmware()
3638 patch_entry->fw_len = load_firmware(fw_info, &patch_entry->fw_cache);
3659 kfree(patch_entry->fw_cache);
3660 patch_entry->fw_cache = NULL;
3683 patch_entry->fw_len = load_firmware(fw_info, &patch_entry->fw_cache); in bt_pm_notify()
3705 kfree(patch_entry->fw_cache); in bt_pm_notify()
3706 patch_entry->fw_cache = NULL; in bt_pm_notify()
H A Drtk_btusb.h629 uint8_t *fw_cache; member