st_i2c_rd_fill_tx_fifo(9)
π st_i2c_rd_fill_tx_fifo(9) β like, the Kernel API Manual entry you didn't know you needed π
okay so bestie, welcome to the Kernel API Manual glow-up of st_i2c_rd_fill_tx_fifo. yes it's a real function. yes it's iconic. let's get into it β¨
πΈ NAME πΈ
st_i2c_rd_fill_tx_fifo β fills the Tx FIFO when you're in read mode, no cap π«Ά
β¨ SYNOPSIS β¨
void st_i2c_rd_fill_tx_fifo (struct st_i2c_dev *i2c_dev , u32 max );
that's it. that's the whole vibe. two arguments, returns nothing, main character energy only π
π¦ ARGUMENTS π¦
i2c_devβ the controller's private data, aka the little bag of secrets this driver keeps about itself πmaxβ the maximum amount of data to fill into the Tx FIFO. like, the ceiling. the limit. the "bestie know your boundaries" number π₯
π DESCRIPTION π
so here's the tea π΅ β this function fills the Tx FIFO with a fixed pattern when you're in read mode, and the whole point of that is to trigger the clock. that's it. that's the function. it's literally just stuffing a pattern in there to make the clock go tick tick tick β°β¨
no shade, it's a small job, but somebody's gotta do it and it ate ππ
π SEE ALSO π
the whole friend group lives in the kernel file ./drivers/i2c/busses/i2c-st.c and honestly the squad is kinda big, so buckle up π§:
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_terminate_xfer(9)st_i2c_handle_write(9)st_i2c_handle_read(9)st_i2c_isr_thread(9)st_i2c_xfer_msg(9)st_i2c_xfer(9)
iykyk π go read them, they're all serving in their own way π«Ά
and that's the whole page, bestie! this little gem was served fresh from ./drivers/i2c/busses and dated October 2026 β yes, the manual itself is st_i2c_rd_fill_tx_fifo(9), we came full circle π. mwah, stay hydrated, and may your FIFOs always be filled πππ
π¦ 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