Lines Matching refs:tod_state
306 if (pc->big_core && pc->tod_state.big_core_quirk) { in cpu_get_tbst()
314 return &pc->tod_state; in cpu_get_tbst()
320 PnvCoreTODState *tod_state = cpu_get_tbst(cpu); in tb_state_machine_step() local
328 if (tod_state->tb_sync_pulse_timer) { in tb_state_machine_step()
329 tod_state->tb_sync_pulse_timer--; in tb_state_machine_step()
335 if (tod_state->tb_state_timer) { in tb_state_machine_step()
336 tod_state->tb_state_timer--; in tb_state_machine_step()
353 tod_state->tb_state_timer = 3; in tb_state_machine_step()
355 if (tod_state->tod_sent_to_tb) { in tb_state_machine_step()
358 tod_state->tb_ready_for_tod = 0; in tb_state_machine_step()
359 tod_state->tod_sent_to_tb = 0; in tb_state_machine_step()
366 tod_state->tb_ready_for_tod = 0; in tb_state_machine_step()
383 PnvCoreTODState *tod_state = cpu_get_tbst(cpu); in helper_store_tfmr() local
407 tod_state->tb_sync_pulse_timer = 1; in helper_store_tfmr()
415 tod_state->tb_ready_for_tod = 0; in helper_store_tfmr()
429 tod_state->tb_ready_for_tod = 0; in helper_store_tfmr()
430 tod_state->tod_sent_to_tb = 0; in helper_store_tfmr()
443 tod_state->tb_state_timer = 3; in helper_store_tfmr()
447 tod_state->tb_ready_for_tod = 1; in helper_store_tfmr()
448 tod_state->tb_state_timer = 3; /* arbitrary */ in helper_store_tfmr()
455 tod_state->tb_ready_for_tod = 0; in helper_store_tfmr()