Lines Matching refs:tod_state
120 if (chiptod->tod_state == tod_running) { in pnv_chiptod_xscom_read()
144 if (chiptod->tod_state == tod_running) { in pnv_chiptod_xscom_read()
162 if (chiptod->tod_state != tod_not_set) { in chiptod_receive_ttype()
165 chiptod->tod_state); in chiptod_receive_ttype()
167 chiptod->tod_state = tod_running; in chiptod_receive_ttype()
172 chiptod->tod_state = tod_not_set; in chiptod_receive_ttype()
332 chiptod->tod_state = tod_not_set; in pnv_chiptod_xscom_write()
336 if (chiptod->tod_state != tod_not_set) { in pnv_chiptod_xscom_write()
339 chiptod->tod_state); in pnv_chiptod_xscom_write()
342 chiptod->tod_state = tod_stopped; in pnv_chiptod_xscom_write()
344 chiptod->tod_state = tod_running; in pnv_chiptod_xscom_write()
355 if (chiptod->tod_state != tod_running) { in pnv_chiptod_xscom_write()
358 chiptod->tod_state); in pnv_chiptod_xscom_write()
379 if (pc->tod_state.tb_ready_for_tod) { in pnv_chiptod_xscom_write()
380 pc->tod_state.tod_sent_to_tb = 1; in pnv_chiptod_xscom_write()
389 if (chiptod->tod_state != tod_stopped) { in pnv_chiptod_xscom_write()
392 chiptod->tod_state); in pnv_chiptod_xscom_write()
394 chiptod->tod_state = tod_running; in pnv_chiptod_xscom_write()
536 chiptod->tod_state = tod_error; in pnv_chiptod_reset()