Lines Matching refs:etr_events
482 static unsigned long etr_events; variable
523 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_init()
527 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_init()
553 if (!test_and_set_bit(ETR_EVENT_SWITCH_LOCAL, &etr_events)) { in etr_switch_to_local()
571 if (!test_and_set_bit(ETR_EVENT_SYNC_CHECK, &etr_events)) { in etr_sync_check()
589 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_timing_alert()
592 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_timing_alert()
598 set_bit(ETR_EVENT_PORT_ALERT, &etr_events); in etr_timing_alert()
604 set_bit(ETR_EVENT_UPDATE, &etr_events); in etr_timeout()
845 if (test_and_clear_bit(ETR_EVENT_SYNC_CHECK, &etr_events)) in etr_handle_events()
847 if (test_and_clear_bit(ETR_EVENT_SWITCH_LOCAL, &etr_events)) in etr_handle_events()
849 if (test_and_clear_bit(ETR_EVENT_PORT_ALERT, &etr_events)) in etr_handle_events()
852 if (test_and_clear_bit(ETR_EVENT_PORT0_CHANGE, &etr_events)) { in etr_handle_events()
865 if (test_and_clear_bit(ETR_EVENT_PORT1_CHANGE, &etr_events)) { in etr_handle_events()
878 clear_bit(ETR_EVENT_UPDATE, &etr_events); in etr_handle_events()
1220 set_bit(ETR_EVENT_PORT0_CHANGE, &etr_events); in etr_online_store()
1230 set_bit(ETR_EVENT_PORT1_CHANGE, &etr_events); in etr_online_store()