peci_pcs_read(9)
π NAME π
peci_pcs_read β read PCS register. Okay so this is the peci_pcs_read(9) page from the Kernel API Manual, and bestie, it's literally the function that reads a PCS register β¨
πΈ SYNOPSIS πΈ
int peci_pcs_read (struct peci_device *device , u8 index , u16 param ,
u32 *data );
π«Ά ARGUMENTS π«Ά
deviceβ the PECI device to which the request is going to be sent πindexβ the PCS index π’paramβ the PCS parameter πdataβ where to store the read data π«
π¦ DESCRIPTION π¦
It uses the RdPkgConfig PECI command. That's the whole tea, no cap ββ¨
π RETURN π
Returns 0 if it succeeded, and other values in case of errors. So like, 0 is the slay outcome π
π SEE ALSO π
Kernel file ./drivers/peci/cpu.c, plus these iconic little functions: peci_temp_read(9), peci_pci_local_read(9), peci_ep_pci_local_read(9), peci_mmio_read(9) π
mwah π this cutie came from ./drivers/peci, dated October 2026, and it's literally peci_pcs_read(9) β periodt π
π¦ 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