nx842_OF_upd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ nx842_OF_upd(9) πŸ¦‹

okay bestie, welcome to the Kernel API Manual entry for nx842_OF_upd β€” yes she's a section 9 page, yes she's iconic, let's get into it πŸ’…


✨ NAME ✨

nx842_OF_upd β€” literally handles OF property updates for the device πŸŽ€

🌸 SYNOPSIS 🌸

int nx842_OF_upd (struct property *new_prop );

πŸ’– ARGUMENTS πŸ’–

  • new_prop β€” bestie listen. If this is not NULL, then this property is the one being updated. If it is NULL, then it's updating all the properties from the current values in the OF tree. that's the whole vibe 🫢

🌈 DESCRIPTION 🌈

So the move here is: set all the properties from the OF tree. Optionally, you can hand over a new property via the new_prop pointer to overwrite an existing value β€” like a little glow-up for one specific property ✨.

but here's the thing πŸ‘‘: the device stays disabled until all the values are valid. no cap. and this function will return an error for updates unless all the values are valid. so like, no skipping the vibe check 😭

πŸ”₯ RETURN πŸ”₯

  • 0 β€” Success πŸ’… slay
  • -ENOMEM β€” could not allocate memory for the new devdata structure 😭 rough
  • -EINVAL β€” property value not found, new_prop is not a recognized property for the device, or the property value is not valid πŸ™ˆ
  • -ENODEV β€” device is not available πŸ’€

⭐ SEE ALSO ⭐

Kernel file ./drivers/crypto/nx/nx-common-pseries.c


and that's the page, bestie!! πŸŽ€πŸ¦‹ this lil gem lives in ./drivers/crypto/nx and it's dated October 2026 β€” mark your calendars, she's a main character fr fr πŸ’œβœ¨

πŸ“¦ where this page comes from