spi_mem_driv...r_with_owner(9)
β¨ spi_mem_driver_register_with_owner(9) β the Kernel API Manual glow-up β¨
okay so bestie, we're in the <pink>Kernel API Manual</pink> today (that's the manual name, iykyk) and the star of the show is spi_mem_driver_register_with_owner β yes the header truncates it to spi_mem_driv...r_with_owner(9) because even manpage titles have a character limit, tragic π
πΈ NAME πΈ
spi_mem_driver_register_with_owner β literally just registers a SPI memory driver. that's it. that's the whole job. π
π SYNOPSIS π
int spi_mem_driver_register_with_owner (struct spi_mem_driver *memdrv ,
struct module *owner );
look at her go. returns an int, takes two args, eats absolutely zero crumbs π«Ά
π¦ ARGUMENTS π¦
memdrvβ the SPI memory driver you wanna register. the main character of this whole function ngl πownerβ the owner of this driver. every driver needs a person, no cap π
π DESCRIPTION π
Registers a SPI memory driver. that's the tea β that's the entire description, she's concise, she's iconic, she said what she said β¨
β RETURN β
0β in case of success π slay, we ate- a negative error core β otherwise π (and yes, "core" is the page's own typo for "code", we're keeping it, we don't gatekeep)
fr fr, keep an eye on the sign β 0 good, negative bad, that's the whole vibe check π
π SEE ALSO π
- Kernel file
./drivers/spi/spi-mem.cβ go read the source bestie, 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)devm_spi_mem_dirmap_destroy(9)spi_mem_dirmap_read(9)spi_mem_dirmap_write(9)spi_mem_poll_status(9)spi_mem_driver_unregister(9)β the breakup arc, you'll need her eventually π
and that's the whole page bestie, no crumbs left π
this lil masterpiece lives in ./drivers/spi, stamped October 2026, from the Kernel API Manual (spi_mem_driv...r_with_owner(9)) β mwah, logged off, ily π§π
π¦ 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