STRUCT FWCTL_RPC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay so welcome to the Kernel API Manual, bestie β€” this is the page for struct fwctl_rpc(9), and it is literally the ioctl(FWCTL_RPC) moment. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

struct fwctl_rpc {
    __u32 size;
    __u32 scope;
    __u32 in_len;
    __u32 out_len;
    __aligned_u64 in;
    __aligned_u64 out;
};

πŸ’… Members πŸ’…

  • size β€” sizeof(struct fwctl_rpc), iconic, self-explanatory, periodt.
  • scope β€” one of enum fwctl_rpc_scope, the required scope for the RPC.
  • in_len β€” length of the in memory.
  • out_len β€” length of the out memory.
  • in β€” request message in device specific format.
  • out β€” response message in device specific format.

🌸 Description 🌸

Deliver a Remote Procedure Call to the device FW and return the response. The call's parameters and return are marshaled into linear buffers of memory. Any errno indicates that delivery of the RPC to the device failed. Return status originating in the device during a successful delivery must be encoded into out.

The format of the buffers matches the out_device_type from FWCTL_INFO.

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./include/uapi/fwctl/fwctl.h
  • General ioctl format(9)
  • struct fwctl_info(9)
  • enum fwctl_rpc_scope(9)

Okay bestie, that's the whole page. It came from ./include/uapi/fwctl, dated October 2026, and it's the struct fwctl_rpc(9) sign-off β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from