nvram_len 34 drivers/firmware/broadcom/bcm47xx_nvram.c static size_t nvram_len; nvram_len 58 drivers/firmware/broadcom/bcm47xx_nvram.c if (nvram_len) { nvram_len 93 drivers/firmware/broadcom/bcm47xx_nvram.c nvram_len = ((struct nvram_header *)(nvram_buf))->len; nvram_len 94 drivers/firmware/broadcom/bcm47xx_nvram.c if (nvram_len > size) { nvram_len 96 drivers/firmware/broadcom/bcm47xx_nvram.c nvram_len = size; nvram_len 98 drivers/firmware/broadcom/bcm47xx_nvram.c if (nvram_len >= NVRAM_SPACE) { nvram_len 100 drivers/firmware/broadcom/bcm47xx_nvram.c nvram_len, NVRAM_SPACE - 1); nvram_len 101 drivers/firmware/broadcom/bcm47xx_nvram.c nvram_len = NVRAM_SPACE - 1; nvram_len 105 drivers/firmware/broadcom/bcm47xx_nvram.c DIV_ROUND_UP(nvram_len, 4)); nvram_len 149 drivers/firmware/broadcom/bcm47xx_nvram.c nvram_len = header.len; nvram_len 150 drivers/firmware/broadcom/bcm47xx_nvram.c if (nvram_len >= NVRAM_SPACE) { nvram_len 152 drivers/firmware/broadcom/bcm47xx_nvram.c nvram_len, NVRAM_SPACE); nvram_len 153 drivers/firmware/broadcom/bcm47xx_nvram.c nvram_len = NVRAM_SPACE - 1; nvram_len 156 drivers/firmware/broadcom/bcm47xx_nvram.c err = mtd_read(mtd, 0, nvram_len, &nvram_len, nvram_len 173 drivers/firmware/broadcom/bcm47xx_nvram.c if (!nvram_len) { nvram_len 222 drivers/firmware/broadcom/bcm47xx_nvram.c if (!nvram_len) { nvram_len 228 drivers/firmware/broadcom/bcm47xx_nvram.c *nvram_size = nvram_len - sizeof(struct nvram_header); nvram_len 52 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c u32 nvram_len; nvram_len 149 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c if (nvp->nvram_len + cplen + 1 >= BRCMF_FW_MAX_NVRAM_SIZE) nvram_len 152 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c memcpy(&nvp->nvram[nvp->nvram_len], skv, cplen); nvram_len 153 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len += cplen; nvram_len 154 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram[nvp->nvram_len] = '\0'; nvram_len 155 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len++; nvram_len 240 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvram = kzalloc(nvp->nvram_len + 1 + 3 + sizeof(u32), GFP_KERNEL); nvram_len 245 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c if (nvp->nvram_len < BRCMF_FW_NVRAM_DEVPATH_LEN + 6) nvram_len 259 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c while (i < nvp->nvram_len - BRCMF_FW_NVRAM_DEVPATH_LEN) { nvram_len 280 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c while (i < nvp->nvram_len) { nvram_len 299 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len = j; nvram_len 304 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len = 0; nvram_len 321 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvram = kzalloc(nvp->nvram_len + 1 + 3 + sizeof(u32), GFP_KERNEL); nvram_len 333 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c while (i < nvp->nvram_len - len) { nvram_len 352 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len = j; nvram_len 356 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len = 0; nvram_len 364 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c memcpy(&nvp->nvram[nvp->nvram_len], &BRCMF_FW_DEFAULT_BOARDREV, nvram_len 366 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len += strlen(BRCMF_FW_DEFAULT_BOARDREV); nvram_len 367 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram[nvp->nvram_len] = '\0'; nvram_len 368 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c nvp->nvram_len++; nvram_len 400 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c if (nvp.nvram_len == 0) { nvram_len 407 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c pad = nvp.nvram_len; nvram_len 408 drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c *new_length = roundup(nvp.nvram_len + 1, 4); nvram_len 1548 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c u32 nvram_len) nvram_len 1578 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c nvram_len; nvram_len 1579 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c brcmf_pcie_copy_mem_todev(devinfo, address, nvram, nvram_len); nvram_len 1759 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c u32 i, nvram_len; nvram_len 1772 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c nvram_len = fwreq->items[BRCMF_PCIE_FW_NVRAM].nv_data.len; nvram_len 1788 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c ret = brcmf_pcie_download_fw_nvram(devinfo, fw, nvram, nvram_len); nvram_len 4124 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c u32 nvram_len; nvram_len 4135 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c nvram_len = fwreq->items[BRCMF_SDIO_FW_NVRAM].nv_data.len; nvram_len 4140 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c err = brcmf_sdio_download_firmware(bus, code, nvram, nvram_len);