of_nvmem_la...et_container(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… of_nvmem_la...et_container(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ we're diving into of_nvmem_layout_get_container, and it's giving "find me the OF node of the layout container" energy πŸ’–


πŸŽ€ NAME πŸŽ€

of_nvmem_layout_get_container β€” Get OF node of layout container

✨ SYNOPSIS ✨

struct device_node * of_nvmem_layout_get_container (struct nvmem_device
*nvmem );

🌸 ARGUMENTS 🌸

  • nvmem β€” nvmem device. That's the one, bestie 🫢

πŸ”₯ RETURN πŸ”₯

you get a node pointer with refcount incremented ✨ or NULL if no container exists πŸ’€. Use of_node_put on it when done, okay? don't leave that refcount hanging 🫢

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/nvmem-provider.h
  • struct nvmem_keepout(9)
  • struct nvmem_cell_info(9)
  • struct nvmem_config(9)
  • struct nvmem_layout(9)

signed, sealed, slayed πŸ’Œ source/version: ./include/linux, date: October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from