octeon_i2c_hlc_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… octeon_i2c_hlc_wait β€” Kernel API Manual, bestie edition πŸŽ€

Okay so picture this: you're deep in the kernel, poking at an Octeon I2C controller, and you've just kicked off an HLC operation. Now what? You wait for it to complete. That's the whole vibe of octeon_i2c_hlc_wait(9) β€” it's the "girl, hold on, let it finish" function, and honestly? Iconic. πŸ¦‹


✨ SYNOPSIS ✨

int octeon_i2c_hlc_wait (struct octeon_i2c *i2c );

Yep, that's it. One argument, one int coming back at you. Lowkey elegant, ngl. πŸ’…


🌸 ARGUMENTS 🌸

  • i2c β€” the struct octeon_i2c. That's the controller struct, your main character for this whole function. She's the one you're waiting on. 🫢

⭐ RETURN ⭐

  • 0 β€” success, we ate, everything's fine, go off πŸ‘‘
  • otherwise -ETIMEDOUT β€” the wait ran out of patience, and the operation never completed 😭 no cap, that's the failure path, and it's literally just this one error code

🌈 SEE ALSO 🌈

The kernel file lives at ./drivers/i2c/busses/i2c-octeon-core.c, and if you're obsessed with this one (you are, iykyk), you're gonna want her whole friend group:

Go read them all, bestie. Family reunion energy fr fr. πŸ’–


Heads up 🫢 β€” the return value is only 0 or -ETIMEDOUT. Don't go inventing other codes, that's not the moment.

That's the whole page! Brought to you from ./drivers/i2c/busses, dated October 2026, straight out of the Kernel API Manual. Mwah πŸ’‹βœ¨πŸ§š

πŸ“¦ where this page comes from