ishtp_cl_alloc_dma_buf(9)
πΈ ishtp_cl_alloc_dma_buf π
okay bestie, welcome to the Kernel API Manual β yes, this is a real page from the grown-up kernel docs and yes, we're gonna make it make sense π«Ά
β¨ NAME β¨
ishtp_cl_alloc_dma_buf β the function that grabs you your DMA RX and TX buffers, no cap π
π¦ SYNOPSIS π¦
void ishtp_cl_alloc_dma_buf (struct ishtp_device *dev );
like, that's it. one argument. she's lowkey minimal π
β ARGUMENTS β
devβ the ishtp device π this is the one and only thing you hand her.
π DESCRIPTION π
so the whole vibe here is: you call this once during bus setup and it allocates both the RX and TX DMA buffer for you. one and done, periodt β¨
it allocates 1MB, and that RX + TX DMA buffer gets divided into slots π that's the whole thing. that's the function. iconic behavior honestly π
ngl, "once during bus setup" is doing a lot of work in that sentence β that's the documented usage, so don't go calling it whenever you feel like it π
π₯ SEE ALSO π₯
- the kernel file
./drivers/hid/intel-ish-hid/ishtp/dma-if.cβ go read her, she's the main character π ishtp_cl_free_dma_buf(9)β the one who cleans up after this one π§ (iykyk)
and that's the page, bestie!! π sign-off time: this little gem lives in ./drivers/hid/intel-ish-hid/ishtp, dated October 2026, and it's the ishtp_cl_alloc_dma_buf(9) page you just read π slay π
π¦ 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