Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/drivers/misc/habanalabs/common/
Dfirmware_if.c1425 enum hl_fw_component fwc) in hl_fw_static_read_device_fw_version() argument
1437 switch (fwc) { in hl_fw_static_read_device_fw_version()
1451 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_static_read_device_fw_version()
1468 if (fwc == FW_COMP_BOOT_FIT) { in hl_fw_static_read_device_fw_version()
1474 } else if (fwc == FW_COMP_PREBOOT) { in hl_fw_static_read_device_fw_version()
2058 enum hl_fw_component fwc, in hl_fw_dynamic_read_device_fw_version() argument
2065 switch (fwc) { in hl_fw_dynamic_read_device_fw_version()
2099 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_dynamic_read_device_fw_version()