mei_pxp_gsc_command(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mei_pxp_gsc_command(9)

okay so bestie, welcome to the Kernel API Manual (yes, that's the manual name, we're fancy now) β€” this is the whole scoop on mei_pxp_gsc_command, and honestly? it's giving "send a message, get a message back" main character energy ✨


πŸ¦‹ NAME

mei_pxp_gsc_command β€” sends a gsc command, by sending a sgl mei message to gsc and receiving reply from gsc πŸ’Œ

like, literally the whole thing: it ships a command off to gsc, and gsc replies right back. no cap.


✨ SYNOPSIS

ssize_t mei_pxp_gsc_command (struct device *dev , u8 client_id , u32
fence_id , struct scatterlist *sg_in , size_t total_in_len , struct
scatterlist *sg_out );

look at that signature. iconic. returns an ssize_t, which we'll get to πŸ‘‘


πŸŽ€ ARGUMENTS

one bullet at a time, bestie β€” every single one, don't skip:

  • dev β€” the device corresponding to the mei_cl_device 🫢
  • client_id β€” the client id to send the command to. it's giving "which address does this go to" fr fr
  • fence_id β€” the fence id to send the command to 🚧
  • sg_in β€” scatter gather list containing addresses for rx message buffer 🌸 (yes, rx β€” that's what it says, don't come for me)
  • total_in_len β€” total length of data in the 'in' sg, and lowkey it can be less than the sum of buffers sizes πŸ‘€
  • sg_out β€” scatter gather list containing addresses for tx message buffer 🌈 (tx this time β€” the vibes are flipped but that's the spec)

πŸ’€ RETURN

  • bytes sent on Success πŸŽ‰
  • <0 on Failure 😭

that's it. that's the whole return section. periodt.


πŸ”₯ SEE ALSO

go read these next, i'm obsessed:

  • Kernel file ./drivers/misc/mei/pxp/mei_pxp.c MEI_PXP Client Driver(9)
  • mei_pxp_send_message(9)
  • mei_pxp_receive_message(9)
  • mei_pxp_component_match(9)

mwah πŸ’œ that's the page! this little gem lives in ./drivers/misc/mei/pxp, it's from October 2026, and the whole thing is filed under mei_pxp_gsc_command(9) β€” take care of her, she's a queen πŸ‘‘

πŸ“¦ where this page comes from