nfp_cpp_writel(9)
β¨ 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 anunsigned long long, she's long, she's got range πvalueβ the value to write. au32, 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 π
- the kernel file
./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpplib.cβ go read the source, it's iconic nfp_cpp_readl(9)nfp_cpp_readq(9)nfp_cpp_writeq(9)nfp_cpp_map_area(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms