STRUCT PECI_DEVICE_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct peci_device_id(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ today we're looking at struct peci_device_id β€” literally the little data blob PECI uses to match devices πŸŽ€ it's smol, it's cute, it's giving "two fields and a dream" energy, and you're gonna understand it in like thirty seconds fr fr πŸ’…


🌸 NAME 🌸

struct peci_device_id β€” PECI device data to match πŸ¦‹

like, the actual data that a PECI device gets matched against, no cap ✨


✨ SYNOPSIS ✨

struct peci_device_id {
    const void *data;
    u32 x86_vfm;
 };

that's the whole thing, bestie β€” two members, zero drama, main character energy πŸ‘‘


πŸŽ€ Members πŸŽ€

  • data β€” a pointer to driver private data specific to the device 🫢 like, whatever extra secret info the driver wants to stash, this is where it lives (it's const void *, so don't go messing with it πŸ’…)
  • x86_vfm β€” the device vendor-family-model 🌈 this is a u32 holding the vendor/family/model triple β€” yes it's one field, yes it's packing all three, and yes it ate, we love a compact king πŸ‘‘

πŸ”₯ SEE ALSO πŸ”₯

go read those next, they're all connected iykyk 🧚


bestie heads up: this page lives in ./drivers/peci, and it's dated October 2026 β€” yes, from the future πŸ’€ the whole thing is part of the Kernel API Manual (that's the manual name, folded in near the top like I promised πŸ’–), and it's signed off as struct peci_device_id(9) at the bottom. slay, that's the whole page, periodt πŸŒΈπŸ¦‹πŸ’œ
πŸ“¦ where this page comes from