thc_i2c_set_rx_int_delay(9)
π 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 isus(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 π
0on 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:
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_rx_max_size_enable(9)thc_i2c_rx_int_delay_enable(9)
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
- 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