Lines Matching refs:fw_cache

177 static struct firmware_cache fw_cache;  variable
205 struct firmware_cache *fwc = &fw_cache; in __fw_lookup_buf()
392 if (fwn->magic == (unsigned long)&fw_cache) in fw_name_devm_release()
402 return (fwn->magic == (unsigned long)&fw_cache) && in fw_devm_match()
430 fwn->magic = (unsigned long)&fw_cache; in fw_add_devm_name()
1039 ret = fw_lookup_and_allocate_buf(name, &fw_cache, &buf); in _request_firmware_prepare()
1354 struct firmware_cache *fwc = &fw_cache; in fw_lookup_buf()
1408 struct firmware_cache *fwc = &fw_cache; in __fw_entry_found()
1420 struct firmware_cache *fwc = &fw_cache; in fw_cache_piggyback_on_request()
1448 struct firmware_cache *fwc = &fw_cache; in __async_dev_cache_fw_image()
1487 struct firmware_cache *fwc = &fw_cache; in dev_cache_fw_image()
1490 devm_name_match, &fw_cache, in dev_cache_fw_image()
1515 struct firmware_cache *fwc = &fw_cache; in __device_uncache_fw_images()
1545 struct firmware_cache *fwc = &fw_cache; in device_cache_fw_images()
1602 queue_delayed_work(system_power_efficient_wq, &fw_cache.work, in device_uncache_fw_images_delay()
1625 fw_cache.state = FW_LOADER_NO_CACHE; in fw_pm_notify()
1638 fw_cache.state = FW_LOADER_NO_CACHE; in fw_suspend()
1654 spin_lock_init(&fw_cache.lock); in fw_cache_init()
1655 INIT_LIST_HEAD(&fw_cache.head); in fw_cache_init()
1656 fw_cache.state = FW_LOADER_NO_CACHE; in fw_cache_init()
1659 spin_lock_init(&fw_cache.name_lock); in fw_cache_init()
1660 INIT_LIST_HEAD(&fw_cache.fw_names); in fw_cache_init()
1662 INIT_DELAYED_WORK(&fw_cache.work, in fw_cache_init()
1665 fw_cache.pm_notify.notifier_call = fw_pm_notify; in fw_cache_init()
1666 register_pm_notifier(&fw_cache.pm_notify); in fw_cache_init()
1687 unregister_pm_notifier(&fw_cache.pm_notify); in firmware_class_exit()