thc_i2c_rx_max_size_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 thc_i2c_rx_max_size_enable 🌸

okay bestie, welcome to the Kernel API Manual, section 9 β€” yes we're in the deep kernel lore today and honestly? it's giving main character energy πŸ’…


✨ NAME ✨

thc_i2c_rx_max_size_enable β€” literally just turns the I2C Rx max input size control on (or off, she's versatile πŸ¦‹)


✨ SYNOPSIS ✨

int thc_i2c_rx_max_size_enable (struct thc_device *dev , bool enable );

✨ ARGUMENTS ✨

  • dev β€” the pointer to the THC private device context 🫢 like, the whole vibe of the device lives in here
  • enable β€” whether we're enabling max input size control or not, simple as that ✨

✨ DESCRIPTION ✨

So what she actually does: this function enables or disables the I2C RxDMA max input size control feature. Both directions, she's flexible πŸ’–

⚠️ okay so this is the important part, no cap: max input size control only can be enabled after the max input size was set by thc_i2c_set_rx_max_size. Like, set the size FIRST, then enable. Order matters, bestie, do not skip a step πŸ™ˆ

✨ RETURN ✨

  • 0 on success β€” slay πŸ’…
  • other error codes on failure β€” not slay, go check your error code 😭

✨ SEE ALSO ✨

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

and the whole friend group of related functions, periodt πŸ‘‘:


okay that's the whole page, go read a different manpage now, ily πŸ«ΆπŸ’œ

β€” signed, sealed, delivered: source ./drivers/hid/intel-thc-hid/in..., dated October 2026, brought to you by thc_i2c_rx_max_size_enable(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from