Searched refs:nvram_len (Results 1 – 4 of 4) sorted by relevance
/drivers/firmware/broadcom/ |
D | bcm47xx_nvram.c | 34 static size_t nvram_len; variable 66 nvram_len = copy_size; in bcm47xx_nvram_copy() 78 if (nvram_len) { in bcm47xx_nvram_find_and_copy() 151 nvram_len = header.len; in nvram_init() 152 if (nvram_len >= NVRAM_SPACE) { in nvram_init() 154 nvram_len, NVRAM_SPACE); in nvram_init() 155 nvram_len = NVRAM_SPACE - 1; in nvram_init() 158 err = mtd_read(mtd, 0, nvram_len, &nvram_len, in nvram_init() 175 if (!nvram_len) { in bcm47xx_nvram_getenv() 224 if (!nvram_len) { in bcm47xx_nvram_get_contents() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 52 u32 nvram_len; member 149 if (nvp->nvram_len + cplen + 1 >= BRCMF_FW_MAX_NVRAM_SIZE) in brcmf_nvram_handle_value() 152 memcpy(&nvp->nvram[nvp->nvram_len], skv, cplen); in brcmf_nvram_handle_value() 153 nvp->nvram_len += cplen; in brcmf_nvram_handle_value() 154 nvp->nvram[nvp->nvram_len] = '\0'; in brcmf_nvram_handle_value() 155 nvp->nvram_len++; in brcmf_nvram_handle_value() 242 nvram = kzalloc(nvp->nvram_len + 1 + 3 + sizeof(u32), GFP_KERNEL); in brcmf_fw_strip_multi_v1() 247 if (nvp->nvram_len < BRCMF_FW_NVRAM_DEVPATH_LEN + 6) in brcmf_fw_strip_multi_v1() 261 while (i < nvp->nvram_len - BRCMF_FW_NVRAM_DEVPATH_LEN) { in brcmf_fw_strip_multi_v1() 282 while (i < nvp->nvram_len) { in brcmf_fw_strip_multi_v1() [all …]
|
D | pcie.c | 1534 u32 nvram_len) in brcmf_pcie_download_fw_nvram() argument 1564 nvram_len; in brcmf_pcie_download_fw_nvram() 1565 memcpy_toio(devinfo->tcm + address, nvram, nvram_len); in brcmf_pcie_download_fw_nvram() 1745 u32 i, nvram_len; in brcmf_pcie_setup() local 1758 nvram_len = fwreq->items[BRCMF_PCIE_FW_NVRAM].nv_data.len; in brcmf_pcie_setup() 1776 ret = brcmf_pcie_download_fw_nvram(devinfo, fw, nvram, nvram_len); in brcmf_pcie_setup()
|
D | sdio.c | 4209 u32 nvram_len; in brcmf_sdio_firmware_callback() local 4220 nvram_len = fwreq->items[BRCMF_SDIO_FW_NVRAM].nv_data.len; in brcmf_sdio_firmware_callback() 4225 err = brcmf_sdio_download_firmware(bus, code, nvram, nvram_len); in brcmf_sdio_firmware_callback()
|