nvmem_cell_write(9)
β¨ nvmem_cell_write(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for nvmem_cell_write(9) β literally the "put bytes into the nvmem cell" girlie π
π NAME π
nvmem_cell_write β write to a given nvmem cell π
πΈ SYNOPSIS πΈ
int nvmem_cell_write (struct nvmem_cell *cell , void *buf , size_t len );
π¦ ARGUMENTS π¦
cellβ the nvmem cell that's getting written to. she's the main character here πbufβ the buffer that's bout to be written. the content, the vibe, the payload π«Άlenβ length of the buffer being written to the nvmem cell. size matters, no cap π
β RETURN β
returns the length of bytes written β or, if it went sideways, a negative value on failure π that's the vibe check fr
π SEE ALSO π
kernel file ./drivers/nvmem/core.c, plus the whole friend group of related calls, all here, all iconic:
nvmem_add_one_cell(9), nvmem_add_cells(9), nvmem_register_notifier(9), nvmem_unregister_notifier(9), nvmem_register(9), nvmem_unregister(9), devm_nvmem_register(9), of_nvmem_device_get(9), nvmem_device_get(9), nvmem_device_find(9), devm_nvmem_device_put(9), nvmem_device_put(9), devm_nvmem_device_get(9), of_nvmem_cell_get(9), nvmem_cell_get(9), devm_nvmem_cell_get(9), devm_nvmem_cell_put(9), nvmem_cell_put(9), nvmem_cell_read(9), nvmem_cell_read_u8(9), nvmem_cell_read_u16(9), nvmem_cell_read_u32(9), nvmem_cell_read_u64(9), nvmem_cell_read_variable_le_u32(9), nvmem_cell_read_variable_le_u64(9), nvmem_device_cell_read(9), nvmem_device_cell_write(9), nvmem_device_read(9), nvmem_device_write(9), nvmem_add_cell_lookups(9), nvmem_del_cell_lookups(9), nvmem_dev_name(9), nvmem_dev_size(9)
like, they're all right there, go say hi ππ
aaaaand that's the whole page bestie, hope it slayed πβ¨ this one comes from ./drivers/nvmem, dated October 2026 β love her, no notes π«Άπ
π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms