ps3_write_pm07_control(9)
π ps3_write_pm07_control β like, the Kernel API Manual page, bestie β¨
Okay so picture this: you're deep in the ps3 kernel API manual (ps3_write_pm07_control(9), yes that's the whole name, she's long but she's iconic) and you just need to write to a counter control register. That's it. That's the page. Let's get into it π
β¨ NAME β¨
ps3_write_pm07_control β literally just writes counter control registers. That's her whole job. Slay. π
πΈ SYNOPSIS πΈ
void ps3_write_pm07_control (u32 cpu , u32 ctr , u32 val );
Three u32s walk into a function. No return value, no drama, no notes. π
π¦ ARGUMENTS π¦
cpuβ okay so,-- undescribed --π like the docs just Did Not elaborate. She's mysterious. She's giving main character energy but also zero lore.ctrβ also-- undescribed --π bestie the manpage really said "figure it out" for this one too.valβ and-- undescribed --π iykyk, ngl the source is right there in the page if you're nosy (see below).
Fr fr though: those three are marked -- undescribed -- in the original docs, so I'm not gonna sit here and make up a personality for them. No cap, no invented facts. π«Ά
π DESCRIPTION π
Here's the actual tea β: each logical counter has a corresponding control register. That's the whole vibe. One logical counter β one control register, matched up, obsessed with the symmetry. π
And this function writes to it. Simple, clean, unbothered. β¨
π₯ SEE ALSO π₯
Everything's connected, bestie β it's giving group chat, not solo era. π§
Kernel file:
./drivers/ps3/ps3-lpm.c
And the whole friend group:
struct ps3_lpm_shadow_regs(9)struct ps3_lpm_priv(9)ps3_read_phys_ctr(9)ps3_write_phys_ctr(9)ps3_read_ctr(9)ps3_write_ctr(9)ps3_read_pm07_control(9)ps3_read_pm(9)ps3_write_pm(9)ps3_get_ctr_size(9)ps3_set_ctr_size(9)ps3_enable_pm(9)ps3_disable_pm(9)ps3_lpm_copy_tb(9)ps3_lpm_copy_tb_to_user(9)ps3_get_and_clear_pm_interrupts(9)ps3_enable_pm_interrupts(9)ps3_lpm_open(9)ps3_lpm_close(9)
Not me listing all nineteen of them β every single one is here, periodt. π
β¨ that's the whole page, bestie β¨ π
This little gem lives in ./drivers/ps3, and it's stamped October 2026 β future-dated and fabulous, we love a queen with a calendar. ππ
π¦ 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