STRUCT PECI_DEVICE_ID(9)
π 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'sconst void *, so don't go messing with it π )x86_vfmβ the device vendor-family-model π this is au32holding 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 π₯
- Kernel file
./drivers/peci/internal.hstruct peci_driver(9) peci_driver_register(9)module_peci_driver(9)
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 asstruct peci_device_id(9)at the bottom. slay, that's the whole page, 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