thc_i2c_rx_max_size_enable(9)
πΈ 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 hereenableβ 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 β¨
0on 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 π:
thc_clear_state(9)thc_dev_init(9)thc_tic_pio_read(9)thc_tic_pio_write(9)thc_tic_pio_write_and_read(9)thc_interrupt_config(9)thc_int_trigger_type_select(9)thc_interrupt_enable(9)thc_interrupt_quiesce(9)thc_set_pio_interrupt_support(9)thc_ltr_config(9)thc_change_ltr_mode(9)thc_ltr_unconfig(9)thc_int_cause_read(9)thc_interrupt_handler(9)thc_port_select(9)thc_spi_read_config(9)thc_spi_write_config(9)thc_spi_input_output_address_config(9)thc_i2c_subip_init(9)thc_i2c_subip_regs_save(9)thc_i2c_subip_regs_restore(9)thc_i2c_set_rx_max_size(9)thc_i2c_set_rx_int_delay(9)thc_i2c_rx_int_delay_enable(9)
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
- 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