st_i2c_isr_thread(9)
β¨ st_i2c_isr_thread(9) β¨
okay bestie, welcome to the Kernel API Manual entry for st_i2c_isr_thread β yes that's the whole title, yes it's a mouthful, yes we're gonna get through it together π
πΈ NAME πΈ
st_i2c_isr_thread β the interrupt routine, aka the lil thread that wakes up when the hardware's like "hey, something happened!!" π¦
β SYNOPSIS β
irqreturn_t st_i2c_isr_thread (int irq , void *data );
that's it. that's the whole shape of it. returns an irqreturn_t, takes two args, iconic behavior honestly π
π ARGUMENTS π
irqβ the interrupt number π this is literally which interrupt we're talking about, no capdataβ the controller's private data π«Ά the driver's own lil stash of stuff, passed through as avoid *so you gotta know what you're casting it back to (iykyk)
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/i2c/busses/i2c-st.c, and it's giving main character energy because all of these live there too:
struct st_i2c_timings(9)struct st_i2c_client(9)struct st_i2c_dev(9)st_i2c_hw_config(9)st_i2c_write_tx_fifo(9)st_i2c_wr_fill_tx_fifo(9)st_i2c_rd_fill_tx_fifo(9)st_i2c_terminate_xfer(9)st_i2c_handle_write(9)st_i2c_handle_read(9)st_i2c_xfer_msg(9)st_i2c_xfer(9)
like, the whole friend group is here π§β¨ go read them, they ate π
ngl bestie, if you're writing or debugging the ST I2C driver, this page is your little starting point β everything else is one SEE ALSO away π
and that's a wrap, bestie!! π this page was brought to you by the source at ./drivers/i2c/busses, dated October 2026 β and it's literally titled st_i2c_isr_thread(9) in case you forgot already π mwah, go slay your interrupts β¨π
π¦ 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