peci_request_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ peci_request_alloc(9) ✨

okay so bestie, this one is from the Kernel API Manual, and it's literally the glow-up guide for allocating a &struct peci_requests. very demure, very kernel-coded πŸ’…


🌸 NAME 🌸

peci_request_alloc β€” allocate &struct peci_requests


πŸ¦‹ SYNOPSIS πŸ¦‹

struct peci_request * peci_request_alloc (struct peci_device *device ,
u8 tx_len , u8 rx_len );

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” the PECI device that this request is going to be sent to, no cap 🫢
  • tx_len β€” TX length, periodt
  • rx_len β€” RX length, also periodt ✨

πŸ’– RETURN πŸ’–

On success? You get a pointer to a newly allocated struct peci_request, slay. Otherwise? It's NULL. 😭


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/peci/request.c, plus peci_request_status(9) and peci_request_free(9) β€” go read those too, iykyk πŸ‘‘


that's the tea from ./drivers/peci, October 2026 β€” mwah, bye bestie πŸ’‹πŸŽ€

πŸ“¦ where this page comes from