release_dma_bufs(9)
π release_dma_bufs(9) β like, the Kernel API Manual page, bestie π
okay so picture this: you're poking around the Kernel API Manual and you land on release_dma_bufs β and yes, the name is lowkey the whole plot. This one releases the DMA buffer that was being used for transferring firmware fragments. That's it. That's the gig. Clean up era β¨
β¨ NAME β¨
release_dma_bufs β release the DMA buffer for transferring firmware fragments π§
π¦ SYNOPSIS π¦
void release_dma_bufs (struct ishtp_device *dev , struct
loader_xfer_dma_fragment *fragment , void **dma_bufs , u32 fragment_size
);
note the void return, babes β she does the thing and dips, no receipt, no return value π
πΈ ARGUMENTS πΈ
four besties walk into a function, and here's who's who π«Ά
devβ the ISHTP device itself, the main character of this whole saga πfragmentβ the ISHTP firmware fragment descriptor, aka the little info card for the fragment in question πdma_bufsβ the array of DMA fragment buffers, very "here's the whole squad" energy πfragment_sizeβ the size of a single DMA fragment,u32, yes ma'am β
π₯ SEE ALSO π₯
- Kernel file
./drivers/hid/intel-ish-hid/ishtp/loader.c
and the friend group it runs with, fr fr:
loader_write_message(9)loader_xfer_cmd(9)prepare_dma_bufs(9)request_ish_firmware(9)ishtp_loader_work(9)
iykyk π
quick vibe check: every argument above is spelled exactly like the kernel wants it β don't go "fixing" the names, the compiler is not flexible like that π
and that's the page!! π this one lives under ./drivers/hid/intel-ish-hid/ishtp with the Kernel API Manual crew, dated October 2026 β so like, future-era slay, no cap π bye bestie, go free those buffers π¦
π¦ 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