STRUCT PECI_REQUEST(9)
β¨ struct peci_request(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for struct peci_request(9) β this is literally the glow-up era of PECI requests and we're gonna get into it π
πΈ NAME πΈ
struct peci_request β PECI request, the whole vibe, the main character struct π
π¦ SYNOPSIS π¦
struct peci_request {
struct peci_device *device;
struct {
u8 buf[PECI_REQUEST_MAX_BUF_SIZE];
u8 len;
} rx, tx;
};
no cap, that's the whole thing. it's giving "small but does the work" π«Ά
π Members π
bestie, these are the fields and you literally cannot skip a single one:
deviceβ the PECI device to which the request is sent. that's who we're talking to πrxβ RX buffer specific data. the incoming energy πrx.bufβ RX buffer. literally the buffer where the reply lands πrx.lenβ received data length in bytes. how much actually showed up πtxβ TX buffer specific data. our outgoing energy β¨tx.bufβ TX buffer. where we put the stuff we're sending πtx.lenβ transfer data length in bytes. how much we're sending out into the world π«
π Description π
okay so listen: a peci_request represents a request issued by the PECI originator (that's TX, us, the one doing the asking π«‘) and a response received from the PECI responder (that's RX, them, the one doing the answering π).
it's literally a whole conversation in a struct. the way that one struct holds both sides of the exchange is lowkey iconic π₯
π SEE ALSO π
iykyk, go check these out too bestie:
- Kernel file
./include/linux/peci.h struct peci_controller_ops(9)struct peci_controller(9)struct peci_device(9)
π§ okay and one last thing before you go β this whole page lives under ./include/linux and it's dated October 2026, so you know exactly where it came from and when. slay, periodt, go read the kernel source bestie ππ
π¦ 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