thc_dma_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 πŸ¦‹


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