peci_pcs_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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