tc3589x_block_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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: tc3589x is a struct tc3589x *, reg and length are both u8, and values is a u8 *. keep that exact, bestie, don't get creative 😭

🧚 SEE ALSO 🧚


⭐ 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