prcmu_abb_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« prcmu_abb_write(9) β€” the manual page, but make it group chat πŸ’«

okay bestie, so this is a page from the Kernel API Manual, section 9, and it's all about prcmu_abb_write. it's giving very niche kernel lore, but we're gonna get through it together, i promise 🫢


✨ NAME ✨

prcmu_abb_write β€” literally just writes register value(s) to the ABB πŸ’… no cap, that's the whole vibe.


🌸 SYNOPSIS 🌸

int prcmu_abb_write(u8 slave, u8 reg, u8 *value, u8 size);

like, that's the signature, and yes it's an int return, main character energy fr fr πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • slave β€” the I2C slave address. that's the address, bestie, don't @ me πŸ™ˆ
  • reg β€” the (start) register address. it's the start one, key detail, iykyk.
  • value β€” the value(s) you're writing. plural! it's a pointer, it can carry multiple vibes πŸ’–
  • size β€” the number of registers to write. how many are we doing? that's what size decides ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole point: writes register value(s) to the ABB. that's it, that's the function 🫢

and here's the tea β˜•: size has to be 1 for the current firmware version. like, it's not a suggestion, bestie, it's a hard requirement for the firmware as it stands rn πŸ’€ don't be out here passing size = 2 thinking you're iconic, because the current firmware will simply not slay. lowkey important, highkey a vibe check on your args 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

okay so this function runs with a whole friend group, and you should probably meet all of them. here's the full roster, no one left out, periodt πŸ’…

the kernel file ./drivers/mfd/db8500-prcmu.c plus these absolute icons:

like, that's a stacked lineup. ate and left no crumbs πŸ‘‘


and that's the whole page!! this one's sourced from ./drivers/mfd, version October 2026, and yeah, that's the date too β€” so consider this your cute little sign-off, bestie. go forth and write those ABB registers (with size = 1, obviously πŸ’œ). mwah πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from