thc_dma_set_...packet_sizes(9)
β¨ NAME β¨
thc_dma_set_max_packet_sizes β Set max packet sizes for all DMA engines π
okay bestie, you're looking at the Kernel API Manual page for thc_dma_set_...packet_sizes(9), and it's literally giving βone function, all the DMA packet sizes.β No cap. π«Ά
π SYNOPSIS π
int thc_dma_set_max_packet_sizes (struct thc_device *dev , size_t
mps_read1 , size_t mps_read2 , size_t mps_write , size_t mps_swdma );
π ARGUMENTS π
devβ the pointer to the THC private device context. literally what it sounds like, bestie.mps_read1β RxDMA1 max packet size.mps_read2β RxDMA2 max packet size.mps_writeβ TxDMA max packet size.mps_swdmaβ Software DMA max packet size.
π¦ DESCRIPTION π¦
okay so here's the whole vibe: if mps is not 0, that means the corresponding DMA channel is used. then it sets the flag to turn on this channel. slay. β¨
πΈ RETURN πΈ
0 on success, other error codes on failed. yes bestie, βon failedβ is the wording β we keep the facts exactly, always. π
π SEE ALSO π
Kernel file: ./drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c
thc_dma_allocate(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)
k bye bestie π this page's source/version is ./drivers/hid/intel-thc-hid/in... and it's dated October 2026, for thc_dma_set_...packet_sizes(9). periodt β¨
π¦ 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