Lines Matching refs:etr_events
461 static unsigned long etr_events; variable
502 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_init()
506 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_init()
532 if (!test_and_set_bit(ETR_EVENT_SWITCH_LOCAL, &etr_events)) { in etr_switch_to_local()
550 if (!test_and_set_bit(ETR_EVENT_SYNC_CHECK, &etr_events)) { in etr_sync_check()
568 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_timing_alert()
571 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_timing_alert()
577 set_bit(ETR_EVENT_PORT_ALERT, &etr_events); in etr_timing_alert()
583 set_bit(ETR_EVENT_UPDATE, &etr_events); in etr_timeout()
824 if (test_and_clear_bit(ETR_EVENT_SYNC_CHECK, &etr_events)) in etr_handle_events()
826 if (test_and_clear_bit(ETR_EVENT_SWITCH_LOCAL, &etr_events)) in etr_handle_events()
828 if (test_and_clear_bit(ETR_EVENT_PORT_ALERT, &etr_events)) in etr_handle_events()
831 if (test_and_clear_bit(ETR_EVENT_PORT0_CHANGE, &etr_events)) { in etr_handle_events()
844 if (test_and_clear_bit(ETR_EVENT_PORT1_CHANGE, &etr_events)) { in etr_handle_events()
857 clear_bit(ETR_EVENT_UPDATE, &etr_events); in etr_handle_events()
1198 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_online_store()
1208 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_online_store()