Lines Matching refs:todo
206 struct msm_dp_event *todo; in msm_dp_add_event() local
218 todo = &msm_dp_priv->event_list[msm_dp_priv->event_pndx++]; in msm_dp_add_event()
220 todo->event_id = event; in msm_dp_add_event()
221 todo->data = data; in msm_dp_add_event()
222 todo->delay = delay; in msm_dp_add_event()
232 struct msm_dp_event *todo; in msm_dp_del_event() local
243 todo = &msm_dp_priv->event_list[gndx]; in msm_dp_del_event()
244 if (todo->event_id == event) { in msm_dp_del_event()
245 todo->event_id = EV_NO_EVENT; /* deleted */ in msm_dp_del_event()
246 todo->delay = 0; in msm_dp_del_event()
1050 struct msm_dp_event *todo; in hpd_event_thread() local
1070 todo = &msm_dp_priv->event_list[msm_dp_priv->event_gndx]; in hpd_event_thread()
1071 if (todo->delay) { in hpd_event_thread()
1080 todo_next->event_id = todo->event_id; in hpd_event_thread()
1081 todo_next->data = todo->data; in hpd_event_thread()
1082 todo_next->delay = todo->delay - 1; in hpd_event_thread()
1085 todo->event_id = EV_NO_EVENT; in hpd_event_thread()
1086 todo->delay = 0; in hpd_event_thread()
1105 switch (todo->event_id) { in hpd_event_thread()
1107 msm_dp_hpd_plug_handle(msm_dp_priv, todo->data); in hpd_event_thread()
1110 msm_dp_hpd_unplug_handle(msm_dp_priv, todo->data); in hpd_event_thread()
1113 msm_dp_irq_hpd_handle(msm_dp_priv, todo->data); in hpd_event_thread()
1117 todo->data); in hpd_event_thread()