pch_i2c_restart(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pch_i2c_restart β€” a Kernel API Manual moment πŸ¦‹

okay so bestie, welcome to the glow-up of pch_i2c_restart(9), straight out of the Kernel API Manual ✨ this one's a little cutie β€” no cap, it's like three lines of lore but we're gonna make it iconic πŸŽ€


🌸 NAME 🌸

pch_i2c_restart β€” literally generates an I2C restart condition, in normal mode, periodt πŸ’…


✨ SYNOPSIS ✨

void pch_i2c_restart (struct i2c_algo_pch_data *adap );

like, that's the whole vibe check β€” returns nothing, takes one pointer 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • adap β€” a pointer to struct i2c_algo_pch_data, bestie. that's it. that's the argument. she's serving one (1) pointer and honestly? iconic πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so what does she do? she generates an I2C restart condition in normal mode by setting I2CCTL.I2CRSTA ⭐ that's the whole main character moment. no extra steps, no side quests, just set that bit and slay πŸ’–

ngl it's giving "small function, big responsibility" β€” iykyk 😭


πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group, fr fr β€” go say hi to all of them πŸ’œ


🌈 okay that's the page!! this lil baddie lives in ./drivers/i2c/busses, dated October 2026, and yes she's still pch_i2c_restart(9) β€” ate and left no crumbs πŸ“πŸ’…βœ¨

πŸ“¦ where this page comes from