cdns_i2c_clear_bus_hold(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cdns_i2c_clear_bus_hold(9) β€” from the Kernel API Manual, bestie 🫢

okay so this one's from the Kernel API Manual (section 9, kernel internals, you know the drill) and it's honestly such a simple little function but it's important, so let's get into it ✨


🌸 NAME 🌸

cdns_i2c_clear_bus_hold β€” clears the bus hold bit. that's it. that's the whole job. iconic minimalism honestly πŸ‘‘


✨ SYNOPSIS ✨

void cdns_i2c_clear_bus_hold (struct cdns_i2c *id );

it returns void, so like… nothing comes back. no return value, no drama, no "did it work?" β€” it just does the thing πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • id β€” pointer to the driver data struct. that's your struct cdns_i2c *, the main character of this whole file, holding all the driver's state 🧚
ngl there's exactly one argument and it's the pointer to the driver data struct, so don't overthink it πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

so the manpage says it plain: this is a helper whose whole purpose in life is to clear the controller's bus hold bit ✨

that's it!! it's a tiny helper function, not a headline act, but every I2C bus that needs un-holding is gonna be so grateful 😭 it's giving "small role, huge impact" energy fr fr 🌈


πŸ”₯ SEE ALSO πŸ”₯

the kernel file this lives in is ./drivers/i2c/busses/i2c-cadence.c β€” go read it, it's a whole vibe πŸ“–

and here's the full friend group, all in section 9, no cap:

like, that's the entire Cadence I2C squad right there 😀 all of them, accounted for, none skipped 🫢


okay that's the whole page bestie!! πŸŽ€ big love to the source at ./drivers/i2c/busses, dated October 2026 β€” mwah, thanks for the lore, see u in the next manpage πŸ’œπŸ“

πŸ“¦ where this page comes from