riva_get_cmap_len(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for riva_get_cmap_len(9) β€” manual name folded in near the top, cute and cozy, exactly as requested. πŸ’…

riva_get_cmap_len - query current color map length. that's the whole NAME vibe, no cap. πŸ’–


✨ SYNOPSIS ✨

here's the signature, bestie β€” keep it exactly like this:

int riva_get_cmap_len (const struct fb_var_screeninfo *var );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • var β€” standard kernel fb changeable data. that's the one argument, and that's the data vibe. 🫢

🌸 DESCRIPTION 🌸

okay so the function does exactly what it says on the tin: Get current color map length. no side quests, no drama. ✨

CALLED FROM: rivafb_setcolreg

that's the call site, periodt. πŸ’…


⭐ RETURN ⭐

it hands you back the Length of color map. iconic, useful, straightforward. πŸ‘‘


🌈 SEE ALSO 🌈

go read these too, iykyk:

Kernel file ./drivers/video/fbdev/riva/fbdev.c


mwah πŸ’‹ this lil page comes from the source/version ./drivers/video/fbdev/riva and is dated October 2026 β€” periodt, bye bestie 🫢✨

πŸ“¦ where this page comes from