nfp_cpp_writel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ nfp_cpp_writel ✨

okay so welcome to the Kernel API Manual entry for nfp_cpp_writel, and bestie you're gonna slay this one, it's literally just "write a number somewhere" πŸ’…


🌸 NAME 🌸

nfp_cpp_writel β€” write a u32 word to a CPP location. that's it. that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int nfp_cpp_writel (struct nfp_cpp *cpp , u32 cpp_id , unsigned long
long address , u32 value );

like yes she takes four arguments, don't panic, we'll go through them one by one 🫢


πŸ’– ARGUMENTS πŸ’–

  • cpp β€” the CPP device handle. your main character struct pointer, the whole reason we're here ✨
  • cpp_id β€” the CPP ID for the operation. iykyk, it tells the hardware which thing we're talking to πŸ”₯
  • address β€” the address for the operation. yes it's an unsigned long long, she's long, she's got range πŸ’€
  • value β€” the value to write. a u32, so keep it cute and keep it 32-bit πŸ‘‘

⭐ RETURN ⭐

0 on success, or -ERRNO if it's giving failure 😭 so like, check it, bestie, don't just assume it ate πŸ™ˆ


🌈 SEE ALSO 🌈

like the whole friend group fr fr, readl and readq are the readers, writeq is the big sister of this function, and map_area is doing her own thing mapping areas πŸ’œ


ngl this one's short and sweet β€” no weird edge cases listed, no warnings, no bugs section, just a clean little write. periodt. πŸ“

and that's the page bestie!! 🧚 source/version is ./drivers/net/ethernet/netrono... and it's dated October 2026, so like, future vibes only β­πŸ’– see you in the next manpage, mwah πŸŽ€

πŸ“¦ where this page comes from