cdns_i2c_clear_bus_hold(9)
π 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 yourstruct 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:
enum cdns_i2c_mode(9)enum cdns_i2c_slave_state(9)struct cdns_i2c(9)cdns_i2c_init(9)cdns_i2c_runtime_suspend(9)cdns_i2c_runtime_resume(9)cdns_i2c_slave_isr(9)cdns_i2c_master_isr(9)cdns_i2c_isr(9)cdns_i2c_mrecv(9)cdns_i2c_msend(9)cdns_i2c_master_reset(9)cdns_i2c_master_xfer(9)cdns_i2c_master_xfer_atomic(9)cdns_i2c_func(9)cdns_i2c_calc_divs(9)cdns_i2c_setclk(9)cdns_i2c_clk_notifier_cb(9)cdns_i2c_detect_transfer_size(9)cdns_i2c_probe(9)cdns_i2c_remove(9)cdns_i2c_shutdown(9)
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
- 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