__genwqe_writel(9)
π __genwqe_writel(9) π
okay so bestie, welcome to the Kernel API Manual β this is the page for __genwqe_writel(9), and honestly? it's giving "one job, does it well." β¨
πΈ NAME πΈ
__genwqe_writel β Write 32-bit register π
like, that's it. that's the whole vibe. you write a 32-bit value into a register. slay.
π¦ SYNOPSIS π¦
int __genwqe_writel (struct genwqe_dev *cd , u64 byte_offs , u32 val );
not me being obsessed with how clean that signature is π three args, one int coming back at you.
β¨ ARGUMENTS β¨
cdβ the genwqe device descriptor π this is your main character, the device you're talking to.byte_offsβ byte offset within BAR π§ that's where in the BAR you're aiming, measured in bytes.valβ the 32-bit value π the actual thing you're writing. 32 bits of pure content.
π₯ RETURN π₯
0if success π«Ά- < 0 if error π
that's the whole contract, no cap. zero means we ate. negative means something went sideways.
π SEE ALSO π
this list is LONG bestie, buckle up β all of these live in the kernel file ./drivers/misc/genwqe/card_utils.c:
__genwqe_writeq(9)__genwqe_readq(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)
twenty-one whole entries, and yes i counted, and yes i'm normal about it π
okay that's the whole page, bestie β go forth and write your 32-bit registers responsibly β¨
this lil cutie lives in ./drivers/misc/genwqe, dated October 2026, and it's officially signed off β 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