ps3_write_ctr(9)
β¨ ps3_write_ctr(9) β Kernel API Manual β¨
π NAME π
ps3_write_ctr β Write counter. Short, sweet, iconic.
π SYNOPSIS π
void ps3_write_ctr (u32 cpu , u32 ctr , u32 val );
π¦ ARGUMENTS π¦
Okay bestie, the manual is literally giving us -- undescribed -- for every single one of these, so Iβm not gonna invent lore:
cpuβ-- undescribed --πctrβ-- undescribed --πvalβ-- undescribed --π
No cap, thatβs all it says. We move.
πΈ DESCRIPTION πΈ
So this one writes 16 or 32 bits depending on the current size of the counter. Thatβs the whole vibe.
And real talk: Counters 4, 5, 6 & 7 are always 16 bit. Periodt.
π SEE ALSO π
The kernel file is ./drivers/ps3/ps3-lpm.c, and the whole squad is:
- Kernel file:
./drivers/ps3/ps3-lpm.c 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_read_pm07_control(9)ps3_write_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)
xoxo, your local Unix bestie β source/version ./drivers/ps3, dated October 2026 π
β¨
π¦ 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