octeon_i2c_h...ck_comp_read(9)
πΈ octeon_i2c_hlc_block_comp_read(9) πΈ
okay bestie, welcome to the Kernel API Manual β¨ β yes, the Linux kernel has man pages too, and this one is a whole little vibe. today we're looking at octeon_i2c_hlc_block_comp_read. it's giving "niche but iconic" π
π NAME π
octeon_i2c_hlc_block_comp_read β the high-level-controller composite block read β¨ lowkey a mouthful but she's doing her thing
π¦ SYNOPSIS π¦
int octeon_i2c_hlc_block_comp_read (struct octeon_i2c *i2c , struct i2c_msg *msgs );
like, that's the whole signature. no cap. π«Ά
π ARGUMENTS π
i2cβ thestruct octeon_i2c, that's her whole personality tbh. she holds the state πmsgsβ bestie, listen:msg[0]contains the address, and you place read data intomsg[1]. that's the deal. msg zero is the address-carrier, msg one is the data-receiver π₯
π DESCRIPTION π
okay so here's the lore π§
the i2c core command is constructed and written into the SW_TWSI register. that's step one, main character energy.
the execution of the command will result in requested data being placed into a FIFO buffer, ready to be read. yes, FIFO. first in, first out. queue girlies stay winning π
and the whole reason she exists? she's used in the case where the i2c xfer is for greater than 8 bytes of read data. that's her moment. that's her whole arc. anything chunky, she handles it π₯
β RETURN β
0on success π₯³- otherwise a negative errno π (it's fine, it's fine, check the errno, you got this)
π¦ SEE ALSO π¦
kernel file ./drivers/i2c/busses/i2c-octeon-core.c β go read her neighbors, they're all linked up like a group chat fr fr:
octeon_i2c_wait(9)octeon_i2c_hlc_wait(9)octeon_i2c_start(9)octeon_i2c_read(9)octeon_i2c_write(9)octeon_i2c_hlc_block_comp_write(9)β the write twin, matching set, obsessed πocteon_i2c_xfer(9)
ngl she's a kernel-internal helper, so no shell commands to run here β this one's for the driver devs and the i2c girlies specifically. iykyk π
that's the whole page bestie, you ate that reading π«Ά β this little manual lives at ./drivers/i2c/busses, dated October 2026, and honestly? iconic of her. periodt. πβ¨π
π¦ 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