Searched refs:val_to_freq (Results 1 – 1 of 1) sorted by relevance
76 struct value_to_freq *val_to_freq; member152 rtc->val_to_freq[i].value = readl(rtc->regs + rtc_reg); in read_rtc_register_38x_wa()153 rtc->val_to_freq[i].freq = 0; in read_rtc_register_38x_wa()158 u32 value = rtc->val_to_freq[i].value; in read_rtc_register_38x_wa()160 while (rtc->val_to_freq[j].freq) { in read_rtc_register_38x_wa()161 if (rtc->val_to_freq[j].value == value) { in read_rtc_register_38x_wa()162 rtc->val_to_freq[j].freq++; in read_rtc_register_38x_wa()168 if (!rtc->val_to_freq[j].freq) { in read_rtc_register_38x_wa()169 rtc->val_to_freq[j].value = value; in read_rtc_register_38x_wa()170 rtc->val_to_freq[j].freq = 1; in read_rtc_register_38x_wa()[all …]