thc_dma_write(9)
π NAME π
thc_dma_write β okay so bestie, this is the function that uses TXDMA to write data to the touch device. That's the whole assignment. It's thc_dma_write(9) from the Kernel API Manual, and she's iconic. π
β¨ SYNOPSIS β¨
No cap, here's the signature exactly as it appears β copy it, don't freestyle it:
int thc_dma_write (struct thc_device *dev , void *buffer , size_t
buf_len );
πΈ ARGUMENTS πΈ
devβ the pointer of the THC private device context. Main-character pointer energy, fr fr. π«Άbufferβ the pointer of the write data buffer. It's giving "the data lives here," iykyk. β¨buf_lenβ the write data length. Literally the length of the write data. No cap. π
π₯ RETURN π₯
Success returns 0. Failure returns other error codes on failed β that's the return tea, and we're not adding extra lore. Periodt. ππ
π¦ SEE ALSO π¦
- Kernel file:
./drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.cβ go read the source, iykyk. π thc_dma_set_max_packet_sizes(9)π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)π
okay that's the whole page, mwah π β the footer/source-version bit says ./drivers/hid/intel-thc-hid/in..., and the date is October 2026. thc_dma_write(9) out. π
π¦ 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