ucb1x00_reg_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

ucb1x00_reg_read β€” read a UCB1x00 register. And okay bestie, this is straight from the Kernel API Manual, so we're in full kernel-internals group-chat mode πŸ’…βœ¨


✨ SYNOPSIS ✨

unsigned int ucb1x00_reg_read (struct ucb1x00 *ucb , unsigned int reg );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ucb β€” the UCB1x00 structure describing the chip. Like the chip's whole little identity file, no cap 🫢
  • reg β€” the UCB1x00 4-bit register index to write. Yes bestie, that's the exact wording the original is serving, and we're keeping it fr fr πŸ’€

🌸 DESCRIPTION 🌸

Read the UCB1x00 register reg and return its value. That's the whole assignment, and it ate πŸ’–

The SIB clock must be running for this function to return. Like, literally, no running clock = no return. That's the vibe check, periodt β°πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./include/linux/mfd/ucb1x00.h, plus these iconic little references:


mwah πŸ’‹ this page came from ./include/linux/mfd, dated October 2026, and it's a whole Kernel API Manual moment. Bye bestie, go read those registers responsibly πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from