Home
last modified time | relevance | path

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

/drivers/base/firmware_loader/
Dmain.c172 struct firmware_cache *fwc, in __allocate_fw_priv() argument
199 fw_priv->fwc = fwc; in __allocate_fw_priv()
217 struct firmware_cache *fwc = &fw_cache; in __lookup_fw_priv() local
219 list_for_each_entry(tmp, &fwc->head, list) in __lookup_fw_priv()
227 struct firmware_cache *fwc, in alloc_lookup_fw_priv() argument
236 spin_lock(&fwc->lock); in alloc_lookup_fw_priv()
245 spin_unlock(&fwc->lock); in alloc_lookup_fw_priv()
252 tmp = __allocate_fw_priv(fw_name, fwc, dbuf, size, offset, opt_flags); in alloc_lookup_fw_priv()
256 list_add(&tmp->list, &fwc->head); in alloc_lookup_fw_priv()
258 spin_unlock(&fwc->lock); in alloc_lookup_fw_priv()
[all …]
Dfirmware.h69 struct firmware_cache *fwc; member
/drivers/misc/habanalabs/common/
Dfirmware_if.c1157 enum hl_fw_component fwc) in hl_fw_static_read_device_fw_version() argument
1169 switch (fwc) { in hl_fw_static_read_device_fw_version()
1183 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_static_read_device_fw_version()
1200 if (fwc == FW_COMP_BOOT_FIT) { in hl_fw_static_read_device_fw_version()
1206 } else if (fwc == FW_COMP_PREBOOT) { in hl_fw_static_read_device_fw_version()
1811 enum hl_fw_component fwc, in hl_fw_dynamic_read_device_fw_version() argument
1818 switch (fwc) { in hl_fw_dynamic_read_device_fw_version()
1848 dev_warn(hdev->dev, "Undefined FW component: %d\n", fwc); in hl_fw_dynamic_read_device_fw_version()