Lines Matching defs:todo
199 struct dp_event *todo;
211 todo = &dp_priv->event_list[dp_priv->event_pndx++];
213 todo->event_id = event;
214 todo->data = data;
215 todo->delay = delay;
225 struct dp_event *todo;
236 todo = &dp_priv->event_list[gndx];
237 if (todo->event_id == event) {
238 todo->event_id = EV_NO_EVENT; /* deleted */
239 todo->delay = 0;
1037 struct dp_event *todo;
1057 todo = &dp_priv->event_list[dp_priv->event_gndx];
1058 if (todo->delay) {
1067 todo_next->event_id = todo->event_id;
1068 todo_next->data = todo->data;
1069 todo_next->delay = todo->delay - 1;
1072 todo->event_id = EV_NO_EVENT;
1073 todo->delay = 0;
1092 switch (todo->event_id) {
1094 dp_hpd_plug_handle(dp_priv, todo->data);
1097 dp_hpd_unplug_handle(dp_priv, todo->data);
1100 dp_irq_hpd_handle(dp_priv, todo->data);
1104 todo->data);