Lines Matching refs:fw_cache

92 static struct firmware_cache fw_cache;  variable
201 struct firmware_cache *fwc = &fw_cache; in __lookup_fw_priv()
564 if (fwn->magic == (unsigned long)&fw_cache) in fw_name_devm_release()
575 return (fwn->magic == (unsigned long)&fw_cache) && in fw_devm_match()
618 fwn->magic = (unsigned long)&fw_cache; in fw_add_devm_name()
705 ret = alloc_lookup_fw_priv(name, &fw_cache, &fw_priv, dbuf, size, in _request_firmware_prepare()
1085 struct firmware_cache *fwc = &fw_cache; in lookup_fw_priv()
1144 struct firmware_cache *fwc = &fw_cache; in __fw_entry_found()
1156 struct firmware_cache *fwc = &fw_cache; in fw_cache_piggyback_on_request()
1185 struct firmware_cache *fwc = &fw_cache; in __async_dev_cache_fw_image()
1224 struct firmware_cache *fwc = &fw_cache; in dev_cache_fw_image()
1227 devm_name_match, &fw_cache, in dev_cache_fw_image()
1252 struct firmware_cache *fwc = &fw_cache; in __device_uncache_fw_images()
1282 struct firmware_cache *fwc = &fw_cache; in device_cache_fw_images()
1329 queue_delayed_work(system_power_efficient_wq, &fw_cache.work, in device_uncache_fw_images_delay()
1356 fw_cache.state = FW_LOADER_NO_CACHE; in fw_pm_notify()
1369 fw_cache.state = FW_LOADER_NO_CACHE; in fw_suspend()
1381 spin_lock_init(&fw_cache.name_lock); in register_fw_pm_ops()
1382 INIT_LIST_HEAD(&fw_cache.fw_names); in register_fw_pm_ops()
1384 INIT_DELAYED_WORK(&fw_cache.work, in register_fw_pm_ops()
1387 fw_cache.pm_notify.notifier_call = fw_pm_notify; in register_fw_pm_ops()
1388 ret = register_pm_notifier(&fw_cache.pm_notify); in register_fw_pm_ops()
1400 unregister_pm_notifier(&fw_cache.pm_notify); in unregister_fw_pm_ops()
1418 spin_lock_init(&fw_cache.lock); in fw_cache_init()
1419 INIT_LIST_HEAD(&fw_cache.head); in fw_cache_init()
1420 fw_cache.state = FW_LOADER_NO_CACHE; in fw_cache_init()