Lines Matching refs:etr_events
479 static unsigned long etr_events; variable
520 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_init()
524 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_init()
550 if (!test_and_set_bit(ETR_EVENT_SWITCH_LOCAL, &etr_events)) { in etr_switch_to_local()
569 if (!test_and_set_bit(ETR_EVENT_SYNC_CHECK, &etr_events)) { in etr_sync_check()
593 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_timing_alert()
596 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_timing_alert()
602 set_bit(ETR_EVENT_PORT_ALERT, &etr_events); in etr_timing_alert()
608 set_bit(ETR_EVENT_UPDATE, &etr_events); in etr_timeout()
852 if (test_and_clear_bit(ETR_EVENT_SYNC_CHECK, &etr_events)) in etr_handle_events()
854 if (test_and_clear_bit(ETR_EVENT_SWITCH_LOCAL, &etr_events)) in etr_handle_events()
856 if (test_and_clear_bit(ETR_EVENT_PORT_ALERT, &etr_events)) in etr_handle_events()
859 if (test_and_clear_bit(ETR_EVENT_PORT0_CHANGE, &etr_events)) { in etr_handle_events()
872 if (test_and_clear_bit(ETR_EVENT_PORT1_CHANGE, &etr_events)) { in etr_handle_events()
885 clear_bit(ETR_EVENT_UPDATE, &etr_events); in etr_handle_events()
1227 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_online_store()
1237 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_online_store()