Searched refs:msm_dp_priv (Results 1 – 1 of 1) sorted by relevance
195 static int msm_dp_add_event(struct msm_dp_display_private *msm_dp_priv, u32 event, in msm_dp_add_event() argument202 spin_lock_irqsave(&msm_dp_priv->event_lock, flag); in msm_dp_add_event()203 pndx = msm_dp_priv->event_pndx + 1; in msm_dp_add_event()205 if (pndx == msm_dp_priv->event_gndx) { in msm_dp_add_event()207 msm_dp_priv->event_pndx, msm_dp_priv->event_gndx); in msm_dp_add_event()208 spin_unlock_irqrestore(&msm_dp_priv->event_lock, flag); in msm_dp_add_event()211 todo = &msm_dp_priv->event_list[msm_dp_priv->event_pndx++]; in msm_dp_add_event()212 msm_dp_priv->event_pndx %= DP_EVENT_Q_MAX; in msm_dp_add_event()216 wake_up(&msm_dp_priv->event_q); in msm_dp_add_event()217 spin_unlock_irqrestore(&msm_dp_priv->event_lock, flag); in msm_dp_add_event()[all …]