STRUCT STRATIX10_RSU_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

struct stratix10_rsu_priv β€” rsu data structure. This is the struct stratix10_rsu_priv(9) page from the Kernel API Manual, and bestie, we are going member by member, no skips, no cap. 🫢


πŸŽ€ SYNOPSIS

Okay so here's the whole struct, exactly as it is, because we do not mess with code:

       struct stratix10_rsu_priv {
           struct stratix10_svc_chan *chan;
           struct stratix10_svc_client client;
           struct completion completion;
           struct mutex lock;
           bool async;
           struct {
             unsigned long current_image;
             unsigned long fail_image;
             unsigned int version;
             unsigned int state;
             unsigned int error_details;
             unsigned int error_location;
           } status;
           struct {
             unsigned int dcmf0;
             unsigned int dcmf1;
             unsigned int dcmf2;
             unsigned int dcmf3;
           } dcmf_version;
           struct {
             unsigned int dcmf0;
             unsigned int dcmf1;
             unsigned int dcmf2;
             unsigned int dcmf3;
           } dcmf_status;
           struct flash_device_info device_info[4];
           unsigned int retry_counter;
           unsigned int max_retry;
           unsigned long spt0_address;
           unsigned long spt1_address;
           unsigned int *get_spt_response_buf;
        };

πŸ‘‘ Members

  • chan β€” pointer to the allocated service channel. it's giving allocated channel energy ✨
  • client β€” the active service client. main character client, honestly πŸ’…
  • completion β€” state for callback completion.
  • lock β€” a mutex to protect callback completion state. do not skip the lock, bestie πŸ”’
  • async β€” supports async operations.
  • status.current_image β€” address of image currently running in flash.
  • status.fail_image β€” address of failed image in flash.
  • status.version β€” the interface version number of RSU firmware.
  • status.state β€” the state of RSU system.
  • status.error_details β€” error code.
  • status.error_location β€” the error offset inside the image that failed.
  • dcmf_version.dcmf0 β€” Quartus dcmf0 version.
  • dcmf_version.dcmf1 β€” Quartus dcmf1 version.
  • dcmf_version.dcmf2 β€” Quartus dcmf2 version.
  • dcmf_version.dcmf3 β€” Quartus dcmf3 version.
  • dcmf_status.dcmf0 β€” dcmf0 status.
  • dcmf_status.dcmf1 β€” dcmf1 status.
  • dcmf_status.dcmf2 β€” dcmf2 status.
  • dcmf_status.dcmf3 β€” dcmf3 status.
  • device_info β€” per-device flash information array; each entry contains size and erase size for one flash device. and yes, the struct declares it as device_info[4] 🌸
  • retry_counter β€” the current image's retry counter.
  • max_retry β€” the preset max retry value.
  • spt0_address β€” address of spt0.
  • spt1_address β€” address of spt1.
  • get_spt_response_buf β€” response from sdm for get_spt command.

πŸ¦‹ SEE ALSO


mwah πŸ’‹ footer vibes: source ./drivers/firmware, dated October 2026, and it's still struct stratix10_rsu_priv(9) β€” byeee bestie, you ate this whole struct and left no crumbs 🫢✨

πŸ“¦ where this page comes from