Lines Matching refs:phase
65 int8_t phase; member
155 if (rtc->phase == -1) { in next_scr2_rtc_update()
156 rtc->phase = 0; in next_scr2_rtc_update()
161 if (rtc->phase < 8) { in next_scr2_rtc_update()
165 if (rtc->phase >= 8 && rtc->phase < 16) { in next_scr2_rtc_update()
172 if (rtc->ram[rtc->command] & (0x80 >> (rtc->phase - 8))) { in next_scr2_rtc_update()
183 if (rtc->status & (0x80 >> (rtc->phase - 8))) { in next_scr2_rtc_update()
193 if (rtc->control & (0x80 >> (rtc->phase - 8))) { in next_scr2_rtc_update()
229 if (ret & (0x80 >> (rtc->phase - 8))) { in next_scr2_rtc_update()
238 rtc->phase++; in next_scr2_rtc_update()
239 if (rtc->phase == 16) { in next_scr2_rtc_update()
255 rtc->phase = -1; in next_scr2_rtc_update()
927 VMSTATE_INT8(phase, NextRtc),