thc_dma_configure(9)
πΈ thc_dma_configure(9) πΈ
ok so real talk bestie, you're looking at a page from the Kernel API Manual β yes, the Kernel API Manual, we're fancy now π
β and it's all about thc_dma_configure, which is lowkey the glow-up appointment for every DMA engine on the block. One call, all the engines get their settings done. iconic behavior, honestly.
β¨ NAME β¨
thc_dma_configure β configure DMA settings for all DMA engines π«Ά
like, not one, not a couple, all of them. group rate. slay.
β¨ SYNOPSIS β¨
int thc_dma_configure (struct thc_device *dev );
(no cap, keep the spacing exactly like that, she's particular π)
β¨ ARGUMENTS β¨
devβ the pointer of THC private device context π so like. you hand her the THC private device context pointer, and she takes it from there. that's the whole ask. one (1) pointer. that's it. we love a low-maintenance function.
β¨ RETURN β¨
0on success β she ate and left no crumbs π₯- other error codes on failed π β so like, anything that isn't
0means it did not, in fact, slay. check your codes, bestie, don't just assume.
β¨ SEE ALSO β¨
the kernel file herself:
./drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
and her whole friend group, all (9) sections, all legendary π:
thc_dma_set_max_packet_sizes(9)thc_dma_allocate(9)thc_dma_release(9)thc_dma_unconfigure(9)thc_rxdma_reset(9)thc_rxdma_read(9)thc_swdma_read(9)thc_dma_write(9)
ok tiny heads-up from your girl: this page is short and sweet and that's the whole vibe β no hidden options, no env vars, no signals, no exit-status essay. what you see is what you get. don't go looking for extra flags that aren't here, i'm not gonna invent lore for you π
and that's the tea π this page came from ./drivers/hid/intel-thc-hid/in... (yes it's truncated in the footer, don't @ me, that's just how she was given to me), dated October 2026, and the header on it reads thc_dma_configure(9) top and bottom, cute little bookends π mwah, go configure those DMA engines, i believe in you π§β¨
π¦ 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