Home
last modified time | relevance | path

Searched refs:fwc (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/base/firmware_loader/
Dmain.c113 struct firmware_cache *fwc, in __allocate_fw_priv() argument
140 fw_priv->fwc = fwc; in __allocate_fw_priv()
158 struct firmware_cache *fwc = &fw_cache; in __lookup_fw_priv() local
160 list_for_each_entry(tmp, &fwc->head, list) in __lookup_fw_priv()
167 int alloc_lookup_fw_priv(const char *fw_name, struct firmware_cache *fwc, in alloc_lookup_fw_priv() argument
173 spin_lock(&fwc->lock); in alloc_lookup_fw_priv()
182 spin_unlock(&fwc->lock); in alloc_lookup_fw_priv()
189 tmp = __allocate_fw_priv(fw_name, fwc, dbuf, size, offset, opt_flags); in alloc_lookup_fw_priv()
193 list_add(&tmp->list, &fwc->head); in alloc_lookup_fw_priv()
195 spin_unlock(&fwc->lock); in alloc_lookup_fw_priv()
[all …]
Dfirmware.h69 struct firmware_cache *fwc; member
163 int alloc_lookup_fw_priv(const char *fw_name, struct firmware_cache *fwc,
/linux-5.19.10/drivers/misc/habanalabs/common/
Dfirmware_if.c1314 enum hl_fw_component fwc) in hl_fw_static_read_device_fw_version() argument
1326 switch (fwc) { in hl_fw_static_read_device_fw_version()
1340 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_static_read_device_fw_version()
1357 if (fwc == FW_COMP_BOOT_FIT) { in hl_fw_static_read_device_fw_version()
1363 } else if (fwc == FW_COMP_PREBOOT) { in hl_fw_static_read_device_fw_version()
1963 enum hl_fw_component fwc, in hl_fw_dynamic_read_device_fw_version() argument
1970 switch (fwc) { in hl_fw_dynamic_read_device_fw_version()
2008 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_dynamic_read_device_fw_version()