| 105 | } |
| 106 | |
| 107 | static void gpt_event(enum sched_item_id id) { |
| 108 | uint64_t next_event; |
| 109 | sched_repeat(id, 0); /* re-activate to event cycle */ |
| 110 | next_event = gpt_next_event(id); |
| 111 | if (next_event) { |
| 112 | sched_repeat(id, next_event); |
| 113 | } else { |
| 114 | sched_clear(id); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | static void gpt_delay(enum sched_item_id id) { |
| 119 | int index; |
nothing calls this directly
no test coverage detected