Searched refs:reg_hist (Results 1 – 1 of 1) sorted by relevance
4360 static void ufshcd_update_reg_hist(struct ufs_err_reg_hist *reg_hist, in ufshcd_update_reg_hist() argument4363 reg_hist->reg[reg_hist->pos] = reg; in ufshcd_update_reg_hist()4364 reg_hist->tstamp[reg_hist->pos] = ktime_get(); in ufshcd_update_reg_hist()4365 reg_hist->pos = (reg_hist->pos + 1) % UFS_ERR_REG_HIST_LENGTH; in ufshcd_update_reg_hist()