Home
last modified time | relevance | path

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

/linux-6.6.21/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.h67 struct firmware_cache *fwc; member
161 int alloc_lookup_fw_priv(const char *fw_name, struct firmware_cache *fwc,
/linux-6.6.21/drivers/accel/habanalabs/common/
Dfirmware_if.c1561 enum hl_fw_component fwc) in hl_fw_static_read_device_fw_version() argument
1573 switch (fwc) { in hl_fw_static_read_device_fw_version()
1587 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_static_read_device_fw_version()
1604 if (fwc == FW_COMP_BOOT_FIT) { in hl_fw_static_read_device_fw_version()
1610 } else if (fwc == FW_COMP_PREBOOT) { in hl_fw_static_read_device_fw_version()
2266 enum hl_fw_component fwc, in hl_fw_dynamic_read_device_fw_version() argument
2274 switch (fwc) { in hl_fw_dynamic_read_device_fw_version()
2308 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_dynamic_read_device_fw_version()