pch_i2c_repstart(9)
π pch_i2c_repstart β the "okay we're starting again, but make it a vibe" page
Hey bestie, welcome to the pch_i2c_repstart(9) glow-up β¨ β it's a Kernel API Manual entry, section 9, and it's lowkey one of the most dramatic little functions in the i2c-eg20t world.
πΈ NAME πΈ
pch_i2c_repstart β generate a repeated start condition in normal mode. Yeah. A repeated start. Like when the convo isn't over but someone hits "new topic" in the group chat π«Ά
β¨ SYNOPSIS β¨
void pch_i2c_repstart (struct i2c_algo_pch_data *adap );
It returns void, meaning it gives you nothing back β no return value, no exit status, just pure main-character action π
Not me calling a function that doesn't even say "you're welcome" π
π ARGUMENTS π
adapβ a pointer tostruct i2c_algo_pch_data. That's it. That's the whole thing. Hand it the adapter data and let it cook π₯
π¦ SEE ALSO π¦
Okay so this is the part where I introduce you to the whole friend group, because pch_i2c_repstart(9) is not solo β it's giving ensemble cast energy π
The kernel file lives at ./drivers/i2c/busses/i2c-eg20t.c, and here's everyone who hangs out with this function:
- struct
i2c_algo_pch_data(9) - struct
adapter_info(9) pch_i2c_init(9)pch_i2c_wait_for_bus_idle(9)pch_i2c_start(9)pch_i2c_stop(9)pch_i2c_writebytes(9)pch_i2c_sendack(9)pch_i2c_sendnack(9)pch_i2c_restart(9)pch_i2c_readbytes(9)pch_i2c_cb(9)pch_i2c_handler(9)pch_i2c_xfer(9)pch_i2c_func(9)pch_i2c_disbl_int(9)
Like, that's the whole roster β start, stop, restart, ack, nack, read, write, the callback, the handler, the transfer, the func, the interrupt disableβ¦ every single one of them is linked here and you will be clicking through all of them, iykyk π
π Quick vibe check: this page gives you exactly one argument pointer and one void, and zero extra lore. No defaults, no environment variables, no files beyond that one source path, no exit statuses, no signals β if you were waiting for a twist, the twist is that it's genuinely that straightforward. Slay for being thorough though π₯°
Okay bye bestie, go generate that repeated start π
β source: ./drivers/i2c/busses Β· dated October 2026 Β· pch_i2c_repstart(9) signing off, periodt πβπ§
π¦ 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