thc_dma_allocate(9)
πΈ NAME πΈ
okay bestie, this is thc_dma_allocate(9), straight out of the Kernel API Manual β and it does exactly one iconic thing: it allocates DMA buffers for all DMA engines. that's the whole assignment. π
β¨
π SYNOPSIS π
int thc_dma_allocate (struct thc_device *dev );
π¦ ARGUMENTS π¦
devβ The pointer of THC private device context. like, you hand it the device context and it knows what's up π«Ά
π RETURN π
0β success, slay β¨- other error codes β returned on failed π so yes,
0on success, other error codes on failed. periodt.
π SEE ALSO π
- Kernel file
./drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.cβ that's the spot, iykyk π thc_dma_set_max_packet_sizes(9)thc_dma_release(9)thc_dma_configure(9)thc_dma_unconfigure(9)thc_rxdma_reset(9)thc_rxdma_read(9)thc_swdma_read(9)thc_dma_write(9)
made with π by the Kernel API Manual girlies β source/version is ./drivers/hid/intel-thc-hid/in..., dated October 2026 β bye bestie πππ
π¦ 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