STRUCT PECI_DRIVER(9)
π struct peci_driver(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual page for struct peci_driver, and it's literally the PECI driver struct. Short, iconic, no cap. Let's go. πβ¨
π NAME π
struct peci_driver β PECI driver. That's the whole vibe, and we're obsessed. Slay. π
β¨ SYNOPSIS β¨
Here's the struct exactly as it is, character for character β do not mess with the formatting, iykyk:
struct peci_driver {
struct device_driver driver;
int (*probe)(struct peci_device *device, const struct peci_device_id
*id);
void (*remove)(struct peci_device *device);
const struct peci_device_id *id_table;
};
π«Ά Members π«Ά
okay, member-by-member, because we are not skipping anything:
driverβ inherit device driver. It's literally thestruct device_drivermember, periodt. πprobeβ probe callback. That's the callback field, bestie. β¨removeβ remove callback. Yep, the remove callback. πid_tableβ PECI device match table to decide which device to bind. This is the match table, and it decides which device gets bound. No cap. π―
π SEE ALSO π
go check these out for the full lore:
- Kernel file
./drivers/peci/internal.h struct peci_device_id(9)peci_driver_register(9)module_peci_driver(9)
xoxo bestie, this one came from ./drivers/peci, dated October 2026, and it's struct peci_driver(9). ππβ¨
π¦ 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