tc3589x_block_read(9)
β¨ tc3589x_block_read β¨
okay so bestie, welcome to the Kernel API Manual entry for tc3589x_block_read β yes that's the <italic>name</italic>, and no I will not be pronouncing it out loud π
πΈ NAME πΈ
tc3589x_block_read β read multiple TC3589x registers
like, multiple. not one. a whole little squad of registers. π«Ά
π¦ SYNOPSIS π¦
int tc3589x_block_read (struct tc3589x *tc3589x , u8 reg , u8 length ,
u8 *values );
that's the whole signature, no cap. four args, one int coming back at you π
π ARGUMENTS π
tc3589xβ Device to read from. this is the main character fr, it's the TC3589x you're pulling data out of πregβ First register. like the starting point of the read β where the little register field trip begins πlengthβ Number of registers. how many of them you're grabbing, highkey important πvaluesβ Buffer to write to. this is where the results land, it's giving drop-off spot π
ngl these types are doing a lot of work:tc3589xis astruct tc3589x *,regandlengthare bothu8, andvaluesis au8 *. keep that exact, bestie, don't get creative π
π§ SEE ALSO π§
- Kernel file
./drivers/mfd/tc3589x.c tc3589x_reg_read(9)tc3589x_reg_write(9)tc3589x_block_write(9)β the icon that does the writing version of this ποΈtc3589x_set_bits(9)
β alright that's the whole page, mwah π β sourced from ./drivers/mfd, dated October 2026, and yes the footer still says tc3589x_block_read(9) because the loop is eternal. 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