thc_tic_pio_read(9)
π NAME π
thc_tic_pio_read β Read data from touch device by PIO. This is the thc_tic_pio_read(9) page from the Kernel API Manual, and it's here to explain reading data from a touch device through PIO. Bestie, we are so ready. β¨
π SYNOPSIS π
Here's the exact signature, no cap:
int thc_tic_pio_read (struct thc_device *dev , const u32 address , const
u32 size , u32 *actual_size , u32 *buffer );
π«Ά ARGUMENTS π«Ά
devβ the pointer of THC private device context. It's giving main character pointer energy for the THC private device context. πaddressβ slave address for the PIO operation.sizeβ expected read data size.actual_sizeβ the pointer of the actual data size read from touch device.bufferβ the pointer of data buffer to store the data read from touch device.
π RETURN π
0 on success, other error codes on failed. So success is 0 π, and failed is other error codes on failed π. That's the whole return vibe check.
π SEE ALSO π
Kernel file: ./drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c
The whole friend group:
thc_clear_state(9)thc_dev_init(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_set_rx_int_delay(9)thc_i2c_rx_int_delay_enable(9)
okay that's the page, bestie π«Ά source/version: ./drivers/hid/intel-thc-hid/in... Β· date: October 2026 β bye, go read that touch data π
β¨
π¦ 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