Searched refs:nvram_len (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/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() 115 if (nvram_len) { in bcm47xx_nvram_init_from_iomem() 169 nvram_len = header.len; in nvram_init() 170 if (nvram_len >= NVRAM_SPACE) { in nvram_init() 172 nvram_len, NVRAM_SPACE); in nvram_init() 173 nvram_len = NVRAM_SPACE - 1; in nvram_init() 176 err = mtd_read(mtd, 0, nvram_len, &nvram_len, in nvram_init() 193 if (!nvram_len) { in bcm47xx_nvram_getenv() [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 55 u32 nvram_len; member 157 if (nvp->nvram_len + cplen + 1 >= BRCMF_FW_MAX_NVRAM_SIZE) in brcmf_nvram_handle_value() 160 memcpy(&nvp->nvram[nvp->nvram_len], skv, cplen); in brcmf_nvram_handle_value() 161 nvp->nvram_len += cplen; in brcmf_nvram_handle_value() 162 nvp->nvram[nvp->nvram_len] = '\0'; in brcmf_nvram_handle_value() 163 nvp->nvram_len++; in brcmf_nvram_handle_value() 251 nvram = kzalloc(nvp->nvram_len + 1 + 3 + sizeof(u32), GFP_KERNEL); in brcmf_fw_strip_multi_v1() 256 if (nvp->nvram_len < BRCMF_FW_NVRAM_DEVPATH_LEN + 6) in brcmf_fw_strip_multi_v1() 270 while (i < nvp->nvram_len - BRCMF_FW_NVRAM_DEVPATH_LEN) { in brcmf_fw_strip_multi_v1() 291 while (i < nvp->nvram_len) { in brcmf_fw_strip_multi_v1() [all …]
|
D | pcie.c | 1684 u32 nvram_len) in brcmf_pcie_download_fw_nvram() argument 1714 nvram_len; in brcmf_pcie_download_fw_nvram() 1715 memcpy_toio(devinfo->tcm + address, nvram, nvram_len); in brcmf_pcie_download_fw_nvram() 2137 u32 i, nvram_len; in brcmf_pcie_setup() local 2151 nvram_len = fwreq->items[BRCMF_PCIE_FW_NVRAM].nv_data.len; in brcmf_pcie_setup() 2171 ret = brcmf_pcie_download_fw_nvram(devinfo, fw, nvram, nvram_len); in brcmf_pcie_setup()
|
D | sdio.c | 4213 u32 nvram_len; in brcmf_sdio_firmware_callback() local 4224 nvram_len = fwreq->items[BRCMF_SDIO_FW_NVRAM].nv_data.len; in brcmf_sdio_firmware_callback() 4230 err = brcmf_sdio_download_firmware(bus, code, nvram, nvram_len); in brcmf_sdio_firmware_callback()
|