octeon_i2c_hlc_wait(9)
π 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β thestruct 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:
octeon_i2c_wait(9)octeon_i2c_start(9)octeon_i2c_read(9)octeon_i2c_write(9)octeon_i2c_hlc_block_comp_read(9)octeon_i2c_hlc_block_comp_write(9)octeon_i2c_xfer(9)
Go read them all, bestie. Family reunion energy fr fr. π
Heads up π«Ά β the return value is only0or-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
- 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