thc_i2c_set_rx_int_delay(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… thc_i2c_set_rx_int_delay(9) πŸ’…

okay so bestie, we're in the Kernel API Manual today and this page is all about thc_i2c_set_rx_int_delay β€” literally the little function that sets the I2C Rx input interrupt delay value. that's it, that's the whole vibe. πŸŽ€


✨ NAME ✨

thc_i2c_set_rx_int_delay β€” set the I2C Rx input interrupt delay value. periodt. 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

int thc_i2c_set_rx_int_delay (struct thc_device *dev , u32 delay_us );

πŸ“ ARGUMENTS πŸ“

  • dev β€” the pointer of THC private device context. like, the whole personality of the device, handed to you. 🫢
  • delay_us β€” the interrupt delay value, and the unit is us (microseconds, bestie, don't forget). ⏱️

πŸ’– DESCRIPTION πŸ’–

this one's short and sweet: it sets delay_us for the I2C RxDMA input interrupt delay feature. that's the whole story. no cap, it's giving "small function, big responsibility." ✨


πŸ‘‘ RETURN πŸ‘‘

  • 0 on success πŸ’š
  • other error codes on failure 😭
ngl bestie, always check that return value. 0 is the slay, everything else is a vibe check failure.

🌈 SEE ALSO 🌈

the kernel file lives at:

./drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c

and here's the whole friend group, hand-picked, no one left behind:


and that's a wrap, babe 🧚 source is ./drivers/hid/intel-thc-hid/in... and this iconic little number is dated October 2026 β€” thc_i2c_set_rx_int_delay(9), main character energy only, iykyk πŸ’œβ­

πŸ“¦ where this page comes from