intel_dkl_phy_rmw(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… intel_dkl_phy_rmw(9) β€” the Kernel API Manual glow-up

okay so bestie, welcome to the manual page for intel_dkl_phy_rmw, straight out of the kernel API manual. yes it's a 9-section page, yes that means it's kernel-internal, and yes we're gonna read it together 🫢


✨ NAME ✨

intel_dkl_phy_rmw β€” literally just read-modify-write a Dekel PHY register. that's the whole vibe. no cap.


🌸 SYNOPSIS 🌸

void intel_dkl_phy_rmw (struct intel_display *display , struct
intel_dkl_phy_reg reg , u32 clear , u32 set );

it's giving "void function, four arguments, does exactly what it says on the tin" energy πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • display β€” the display device instance. like, which display are we even talking to, bestie? this is that.
  • reg β€” the Dekel PHY register. the actual little spot in hardware we're about to mess with ✨
  • clear β€” mask to clear. the bits you want gone.
  • set β€” mask to set. the bits you want on. periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, okay? it reads the reg Dekel PHY register, clears then sets the clear/set bits inside it, and then β€” and this is the polite part β€” only writes that value back to the register if the value differs from the one it read. 😌 like, if nothing changed? no write. we're not out here doing unnecessary hardware writes, that's not the vibe.

the way it's literally "read it, clear the clear bits, set the set bits, and write back only if it's actually different" β€” iconic behaviour honestly. πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives right here, no gatekeeping:

./drivers/gpu/drm/i915/display/intel_dkl_phy.c

and these are its besties, fr fr:

like a little friend group of Dekel PHY helpers. love that for them 🌈


reminder bestie: this is kernel API territory, so it's intel_dkl_phy_rmw exactly as written β€” no renaming, no shortcuts, iykyk πŸ’–

and that's the whole page!! mwah πŸ’‹ it ships from ./drivers/gpu/drm/i915/display, dated October 2026, under the header intel_dkl_phy_rmw(9) β€” go be amazing with your Dekel PHY registers, you've got this πŸ§šβ€β™€οΈβ­πŸ“

πŸ“¦ where this page comes from