Lines Matching refs:fwreq

458 			     struct brcmf_fw_request *fwreq);
1544 struct brcmf_fw_request *fwreq; in brcmf_pcie_reset() local
1558 fwreq = brcmf_pcie_prepare_fw_request(devinfo); in brcmf_pcie_reset()
1559 if (!fwreq) { in brcmf_pcie_reset()
1564 err = brcmf_fw_get_firmwares(dev, fwreq, brcmf_pcie_setup); in brcmf_pcie_reset()
1567 kfree(fwreq); in brcmf_pcie_reset()
2129 struct brcmf_fw_request *fwreq) in brcmf_pcie_setup() argument
2149 fw = fwreq->items[BRCMF_PCIE_FW_CODE].binary; in brcmf_pcie_setup()
2150 nvram = fwreq->items[BRCMF_PCIE_FW_NVRAM].nv_data.data; in brcmf_pcie_setup()
2151 nvram_len = fwreq->items[BRCMF_PCIE_FW_NVRAM].nv_data.len; in brcmf_pcie_setup()
2152 devinfo->clm_fw = fwreq->items[BRCMF_PCIE_FW_CLM].binary; in brcmf_pcie_setup()
2153 devinfo->txcap_fw = fwreq->items[BRCMF_PCIE_FW_TXCAP].binary; in brcmf_pcie_setup()
2154 kfree(fwreq); in brcmf_pcie_setup()
2230 struct brcmf_fw_request *fwreq; in brcmf_pcie_prepare_fw_request() local
2238 fwreq = brcmf_fw_alloc_request(devinfo->ci->chip, devinfo->ci->chiprev, in brcmf_pcie_prepare_fw_request()
2242 if (!fwreq) in brcmf_pcie_prepare_fw_request()
2245 fwreq->items[BRCMF_PCIE_FW_CODE].type = BRCMF_FW_TYPE_BINARY; in brcmf_pcie_prepare_fw_request()
2246 fwreq->items[BRCMF_PCIE_FW_NVRAM].type = BRCMF_FW_TYPE_NVRAM; in brcmf_pcie_prepare_fw_request()
2247 fwreq->items[BRCMF_PCIE_FW_NVRAM].flags = BRCMF_FW_REQF_OPTIONAL; in brcmf_pcie_prepare_fw_request()
2248 fwreq->items[BRCMF_PCIE_FW_CLM].type = BRCMF_FW_TYPE_BINARY; in brcmf_pcie_prepare_fw_request()
2249 fwreq->items[BRCMF_PCIE_FW_CLM].flags = BRCMF_FW_REQF_OPTIONAL; in brcmf_pcie_prepare_fw_request()
2250 fwreq->items[BRCMF_PCIE_FW_TXCAP].type = BRCMF_FW_TYPE_BINARY; in brcmf_pcie_prepare_fw_request()
2251 fwreq->items[BRCMF_PCIE_FW_TXCAP].flags = BRCMF_FW_REQF_OPTIONAL; in brcmf_pcie_prepare_fw_request()
2253 fwreq->domain_nr = pci_domain_nr(devinfo->pdev->bus) + 1; in brcmf_pcie_prepare_fw_request()
2254 fwreq->bus_nr = devinfo->pdev->bus->number; in brcmf_pcie_prepare_fw_request()
2262 const char **bt = fwreq->board_types; in brcmf_pcie_prepare_fw_request()
2287 kfree(fwreq); in brcmf_pcie_prepare_fw_request()
2292 fwreq->board_types[0] = devinfo->settings->board_type; in brcmf_pcie_prepare_fw_request()
2295 return fwreq; in brcmf_pcie_prepare_fw_request()
2404 struct brcmf_fw_request *fwreq; in brcmf_pcie_probe() local
2495 fwreq = brcmf_pcie_prepare_fw_request(devinfo); in brcmf_pcie_probe()
2496 if (!fwreq) { in brcmf_pcie_probe()
2501 ret = brcmf_fw_get_firmwares(bus->dev, fwreq, brcmf_pcie_setup); in brcmf_pcie_probe()
2503 kfree(fwreq); in brcmf_pcie_probe()