Lines Matching refs:fw_name

111 static struct fw_priv *__allocate_fw_priv(const char *fw_name,  in __allocate_fw_priv()  argument
132 fw_priv->fw_name = kstrdup_const(fw_name, GFP_ATOMIC); in __allocate_fw_priv()
133 if (!fw_priv->fw_name) { in __allocate_fw_priv()
149 pr_debug("%s: fw-%s fw_priv=%p\n", __func__, fw_name, fw_priv); in __allocate_fw_priv()
154 static struct fw_priv *__lookup_fw_priv(const char *fw_name) in __lookup_fw_priv() argument
160 if (!strcmp(tmp->fw_name, fw_name)) in __lookup_fw_priv()
166 static int alloc_lookup_fw_priv(const char *fw_name, in alloc_lookup_fw_priv() argument
182 tmp = __lookup_fw_priv(fw_name); in alloc_lookup_fw_priv()
192 tmp = __allocate_fw_priv(fw_name, fwc, dbuf, size, offset, opt_flags); in alloc_lookup_fw_priv()
212 __func__, fw_priv->fw_name, fw_priv, fw_priv->data, in __free_fw_priv()
223 kfree_const(fw_priv->fw_name); in __free_fw_priv()
459 fw_path[i], fw_priv->fw_name, suffix); in fw_get_filesystem_firmware()
495 fw_priv->fw_name); in fw_get_filesystem_firmware()
506 fw_priv->fw_name); in fw_get_filesystem_firmware()
538 __func__, fw_priv->fw_name, fw_priv, fw_priv->data, in fw_set_page_data()
639 ret = fw_add_devm_name(device, fw_priv->fw_name); in assign_fw()
1113 static int cache_firmware(const char *fw_name) in cache_firmware() argument
1118 pr_debug("%s: %s\n", __func__, fw_name); in cache_firmware()
1120 ret = request_firmware(&fw, fw_name, NULL); in cache_firmware()
1124 pr_debug("%s: %s ret=%d\n", __func__, fw_name, ret); in cache_firmware()
1129 static struct fw_priv *lookup_fw_priv(const char *fw_name) in lookup_fw_priv() argument
1135 tmp = __lookup_fw_priv(fw_name); in lookup_fw_priv()
1152 static int uncache_firmware(const char *fw_name) in uncache_firmware() argument
1157 pr_debug("%s: %s\n", __func__, fw_name); in uncache_firmware()
1159 if (firmware_request_builtin(&fw, fw_name)) in uncache_firmware()
1162 fw_priv = lookup_fw_priv(fw_name); in uncache_firmware()
1203 const char *name = fw_priv->fw_name; in fw_cache_piggyback_on_request()
1249 const char *fw_name = fwn->name; in dev_create_fw_entry() local
1253 fce = alloc_fw_cache_entry(fw_name); in dev_create_fw_entry()