devm_spi_mem_dirmap_destroy(9)
π devm_spi_mem_dirmap_destroy(9) π
okay so bestie, welcome to the Kernel API Manual entry for devm_spi_mem_dirmap_destroy(9) β yes the name is a mouthful, no we're not changing it, it's iconic in a chaotic way π
β¨ NAME β¨
devm_spi_mem_dirmap_destroy β Destroy a direct mapping descriptor attached to a device πΈ
β¨ SYNOPSIS β¨
void devm_spi_mem_dirmap_destroy (struct device *dev , struct
spi_mem_dirmap_desc *desc );
β¨ ARGUMENTS β¨
devβ the device that the dirmap desc is attached to π«Ά like, that's its home, that's its whole situationdescβ the direct mapping descriptor we are destroying. yes. we're ending it. respectfully π
β¨ DESCRIPTION β¨
so this is the devm_ variant of the spi_mem_dirmap_destroy function. that's the whole vibe. it's the managed, device-tied version of the same thing, and if u want the full lore you gotta see spi_mem_dirmap_destroy for more details β¨ ngl it's literally right there in the name, the devm_ prefix is doing the heavy lifting, love that for it π
β¨ SEE ALSO β¨
Kernel file ./drivers/spi/spi-mem.c β go read it, it's giving main character energy π
spi_controller_dma_map_mem_op_data(9)spi_controller_dma_unmap_mem_op_data(9)spi_mem_supports_op(9)spi_mem_exec_op(9)spi_mem_get_name(9)spi_mem_set_dqs(9)spi_mem_has_dqs(9)spi_mem_adjust_op_size(9)spi_mem_adjust_op_freq(9)spi_mem_calc_op_duration(9)spi_mem_dirmap_create(9)spi_mem_dirmap_destroy(9)devm_spi_mem_dirmap_create(9)spi_mem_dirmap_read(9)spi_mem_dirmap_write(9)spi_mem_poll_status(9)spi_mem_driver_register_with_owner(9)spi_mem_driver_unregister(9)
like?? that's a whole friend group π the create/destroy pair is right there β devm_spi_mem_dirmap_create(9) and devm_spi_mem_dirmap_destroy(9), they're literally the it-couple of this page π
π§ quick vibe check:descis the descriptor u are destroying anddevis the device it's attached to, so keep them straight or the kernel will simply not have a good time π
and that's the page!! mwah π this one lives under ./drivers/spi, blessed by the October 2026 era of the Kernel API Manual β devm_spi_mem_dirmap_destroy(9), slay, periodt πβ
π¦ 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