peci_ep_pci_local_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 peci_ep_pci_local_read(9) 🌸

okay so bestie, welcome to the Kernel API Manual β€” section 9 ofc, this is the driver-adjacent girlie zone πŸ’…


✨ NAME ✨

peci_ep_pci_local_read β€” read a 32-bit memory location using a raw address, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int peci_ep_pci_local_read (struct peci_device *device , u8 seg , u8 bus
, u8 dev , u8 func , u16 reg , u32 *data );

like. that's a lot of arguments and she's literally serving them all πŸ’€ but it's fine, we go through every single one below πŸ‘‡


πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” the PECI device that this request is gonna be sent to. she's the main character, everyone else is just supporting cast πŸ’–
  • seg β€” PCI segment
  • bus β€” bus
  • dev β€” device
  • func β€” function
  • reg β€” register
  • data β€” where the read data goes to live. this is the lil home for your result 🏠✨
ngl, bus, dev, func and reg are giving "the manpage gave up explaining" energy, but that's literally what it says, so we're keeping it exactly like that πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

So she's like peci_pci_local_read, but β€” and this is the iconic part β€” she uses the RdEndpointConfig PECI command instead πŸ”₯ same vibes, different command, iykyk.


⭐ RETURN ⭐

  • 0 if it succeeded πŸŽ‰
  • other values in case of errors 😭 (yes, that's all it says, she's mysterious like that)

🌈 SEE ALSO 🌈

go read those next, bestie, they're all in ./drivers/peci and they're all slay πŸ‘‘


that's the whole page, periodt. she lives in ./drivers/peci, she's dated October 2026, and this lil group chat was brought to you by the Kernel API Manual πŸ’…πŸ§šπŸ’œ

πŸ“¦ where this page comes from