STRUCT BRCM_NVRAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct brcm_nvram(9) ✨

okay bestie, welcome to the Kernel API Manual πŸ’– this page is all about struct brcm_nvram, and it is literally the driver state internal struct. no cap, that's the whole vibe.


🌸 NAME 🌸

struct brcm_nvram β€” driver state internal struct 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

struct brcm_nvram {
    struct device *dev;
    size_t nvmem_size;
    uint8_t *data;
    size_t data_len;
    uint8_t padding_byte;
    struct nvmem_cell_info *cells;
    int ncells;
};

πŸ’… Members πŸ’…

  • dev β€” the NVMEM device pointer, the main-character pointer fr fr πŸ’–
  • nvmem_size β€” size of the whole space available for NVRAM, like the full closet bestie ✨
  • data β€” NVRAM data copy stored to avoid poking the underlying flash controller, periodt. this copy is here so we don't go poking flash πŸ™ˆ
  • data_len β€” NVRAM data size, the length bestie πŸ’…
  • padding_byte β€” padding value used to fill remaining space, so the leftover bits get a little filler byte πŸŽ€
  • cells β€” array of discovered NVMEM cells, iconic discovery energy πŸ‘‘
  • ncells β€” number of elements in cells, literally the count πŸ¦‹

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/nvmem/brcm_nvram.c β€” go look, it's giving source energy πŸ‘‘

xoxo from source/version ./drivers/nvmem πŸ’– October 2026 πŸ’– struct brcm_nvram(9) out πŸŽ€

πŸ“¦ where this page comes from