__genwqe_readq(9)
π
__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 ππ
__genwqe_writeq(9)__genwqe_writel(9)__genwqe_readl(9)genwqe_read_app_id(9)genwqe_init_crc32(9)genwqe_crc32(9)genwqe_free_sync_sgl(9)genwqe_user_vmap(9)genwqe_user_vunmap(9)genwqe_card_type(9)genwqe_card_reset(9)genwqe_set_interrupt_capability(9)genwqe_reset_interrupt_capability(9)set_reg_idx(9)genwqe_ffdc_buff_size(9)genwqe_ffdc_buff_read(9)genwqe_write_vreg(9)genwqe_read_vreg(9)genwqe_base_clock_frequency(9)genwqe_stop_traps(9)genwqe_start_traps(9)
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
- 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