__genwqe_readq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __genwqe_readq β€” read that 64-bit register, bestie

okay so this is a page from the Kernel API Manual (section 9, kernel-space girlies only ✨), and it's literally the tiniest little function and she still ate. it's __genwqe_readq. the double underscore is not a typo, it's a whole lewk πŸ‘‘


🌸 NAME 🌸

__genwqe_readq β€” Read 64-bit register

like, that's it. that's her whole job. read a 64-bit register. iconic honestly πŸŽ€


✨ SYNOPSIS ✨

u64 __genwqe_readq (struct genwqe_dev *cd , u64 byte_offs );

so she takes two things and she hands you back a u64. no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • cd β€” the genwqe device descriptor. this is your main character struct, the whole device vibe check in one pointer πŸ’–
  • byte_offs β€” the offset within BAR. yes, byte offset, so don't come at her with word offsets, she's not doing that math for you πŸ™ˆ

⭐ RETURN ⭐

value from register. that's the answer. that's the whole tea. she reads it and she gives it to you πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/misc/genwqe/card_utils.c β€” and honestly? the whole genwqe friend group. go say hi to all of them, they're all linked, it's giving family reunion πŸ˜­πŸ’œ

ngl bestie, if you're here you probably also want __genwqe_writeq(9) β€” reading is cute but writing is where the plot happens πŸ’€

and that's the page!! no notes, she's short and she's perfect 🌈✨ this one lives in ./drivers/misc/genwqe, dated October 2026, so mark your calendar and stan responsibly πŸ’…πŸ“

πŸ“¦ where this page comes from