Lines Matching refs:tbst
271 static uint64_t tfmr_new_tb_state(uint64_t tfmr, unsigned int tbst) in tfmr_new_tb_state() argument
276 tfmr |= (uint64_t)tbst << (63 - 31); /* move new state to state */ in tfmr_new_tb_state()
278 if (tbst == TBST_TB_RUNNING) { in tfmr_new_tb_state()
322 unsigned int tbst = tfmr_get_tb_state(tfmr); in tb_state_machine_step() local
324 if (!(tfmr & TFMR_TB_ECLIPZ) || tbst == TBST_TB_ERROR) { in tb_state_machine_step()
342 if (tbst == TBST_GET_TOD) { in tb_state_machine_step()
351 if (tbst == TBST_SYNC_WAIT) { in tb_state_machine_step()
354 } else if (tbst == TBST_GET_TOD) { in tb_state_machine_step()
363 "state machine in invalid state 0x%x\n", tbst); in tb_state_machine_step()
386 unsigned int tbst = tfmr_get_tb_state(tfmr); in helper_store_tfmr() local
434 if (tbst == TBST_TB_ERROR) { in helper_store_tfmr()
445 if (tbst == TBST_NOT_SET) { in helper_store_tfmr()
452 tbst); in helper_store_tfmr()