staging_state
static void init_stage(struct staging_state *ss)
static bool can_send_next_chunk(struct staging_state *ss, int *err)
static inline bool staging_is_complete(struct staging_state *ss, int *err)
static int wait_for_transaction(struct staging_state *ss)
static int send_data_chunk(struct staging_state *ss, void *ucode_ptr)
static int fetch_next_offset(struct staging_state *ss)
struct staging_state ss = {};