ps3_read_phys_ctr(9)
π ps3_read_phys_ctr(9) π
okay bestie, welcome to the Kernel API Manual β yes that's the manual name, we're fancy here π
β and today's main character is ps3_read_phys_ctr, a tiny little function with a big job: reading physical counter registers. no cap. let's get into it π¦
β¨ NAME β¨
ps3_read_phys_ctr β Read physical counter registers. that's literally the whole vibe. it reads them. physical ones. counters. registers. π«Ά
πΈ SYNOPSIS πΈ
u32 ps3_read_phys_ctr (u32 cpu , u32 phys_ctr );
like, the signature is right there, copy it exactly, don't be weird about it π
π§ ARGUMENTS π§
okay so here's the thing. the original docs are giving "mystery" energy on both of these:
cpuβ-- undescribed --πphys_ctrβ-- undescribed --π
and no, i'm not gonna make up lore for them. if the manpage didn't describe them, i'm not about to invent a backstory. we respect the source. π
π DESCRIPTION π
Each physical counter can act as one 32 bit counter or as two 16 bit counters. that's it, that's the tea β two whole modes, one counter, pick your fighter β¨π₯
π SEE ALSO π
grab a snack, this list is long and it ate π
- Kernel file
./drivers/ps3/ps3-lpm.c struct ps3_lpm_shadow_regs(9)struct ps3_lpm_priv(9)ps3_write_phys_ctr(9)ps3_read_ctr(9)ps3_write_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)
iykyk π go read the whole squad, they all hang out together π«Ά
and that's the page, bestie!! sourced from ./drivers/ps3, dated October 2026 β put it in your calendar, it's iconic πΈβ¨π
π¦ 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