Lines Matching defs:fw_entry
104 const struct firmware *fw_entry;
131 err = request_firmware(&fw_entry, firmware, priv->dev);
139 fw_entry = orinoco_cached_fw_get(priv, false);
141 hdr = (const struct orinoco_fw_header *) fw_entry->data;
143 fw_err = validate_fw(hdr, fw_entry->size);
158 first_block = (fw_entry->data +
161 end = fw_entry->data + fw_entry->size;
169 first_block = (fw_entry->data +
191 release_firmware(fw_entry);
291 const struct firmware *fw_entry;
294 if (request_firmware(&fw_entry, fw->pri_fw, priv->dev) != 0) {
299 fw_entry = orinoco_cached_fw_get(priv, true);
302 ret = symbol_dl_image(priv, fw, fw_entry->data,
303 fw_entry->data + fw_entry->size, 0);
306 release_firmware(fw_entry);
313 if (request_firmware(&fw_entry, fw->sta_fw, priv->dev) != 0) {
318 fw_entry = orinoco_cached_fw_get(priv, false);
321 ret = symbol_dl_image(priv, fw, fw_entry->data,
322 fw_entry->data + fw_entry->size, 1);
324 release_firmware(fw_entry);
359 const struct firmware *fw_entry = NULL;
370 if (request_firmware(&fw_entry, pri_fw, priv->dev) == 0)
371 priv->cached_pri_fw = fw_entry;
375 if (request_firmware(&fw_entry, fw, priv->dev) == 0)
376 priv->cached_fw = fw_entry;