HFI_HISTORY_SZ
for (j = 0; j < HFI_HISTORY_SZ; j++) {
unsigned idx = (j + queue->history_idx) % HFI_HISTORY_SZ;
for (j = 0; j < HFI_HISTORY_SZ; j++) {
s32 hfi_queue_history[HFI_MAX_QUEUES][HFI_HISTORY_SZ];
queue->history[(queue->history_idx++) % HFI_HISTORY_SZ] = index;
queue->history[(queue->history_idx++) % HFI_HISTORY_SZ] = index;
s32 history[HFI_HISTORY_SZ];