STRUCT ACPM_RX_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct acpm_rx_data β€” RX queue data πŸ’–

okay bestie, so this is a page from the Kernel API Manual, and it's all about struct acpm_rx_data. That's the little data blob that keeps track of the RX queue. Slay. Let's get into it 🫢


✨ SYNOPSIS ✨

struct acpm_rx_data {
    u32 *cmd;
    size_t cmdcnt;
    size_t rxcnt;
    bool completed;
 };

no cap, that's the whole vibe right there πŸ’…


πŸŽ€ Members πŸŽ€

  • cmd β€” pointer to where the data shall be saved. literally just a pointer to the save spot, iykyk πŸ“
  • cmdcnt β€” allocated capacity of the cmd buffer, measured in 32-bit words. that's the capacity, not the length, bestie β€” know the difference πŸ”₯
  • rxcnt β€” expected length of the response in 32-bit words. what you're expecting back, fr fr πŸ‘€
  • completed β€” a flag indicating if the firmware response has been fully processed. true means done-done, periodt βœ…

🌈 SEE ALSO 🌈

okay so if you're going down this rabbit hole, here's the whole friend group πŸ‘‘


and that's the whole page, bestie πŸ’œ go read the source at ./drivers/firmware/samsung, and this one's dated October 2026 β€” main character energy fr πŸ¦‹βœ¨

πŸ“¦ where this page comes from