Searched refs:casc_priv (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/powerpc/sysdev/
H A Dmpic_timer.c146 struct cascade_priv *casc_priv; detect_idle_cascade_timer() local
153 casc_priv = cascade_timer; detect_idle_cascade_timer()
156 map = casc_priv->cascade_map & priv->idle; detect_idle_cascade_timer()
157 if (map == casc_priv->cascade_map) { detect_idle_cascade_timer()
158 num = casc_priv->timer_num; detect_idle_cascade_timer()
159 priv->timer[num].cascade_handle = casc_priv; detect_idle_cascade_timer()
162 priv->idle &= ~casc_priv->cascade_map; detect_idle_cascade_timer()
167 casc_priv++; detect_idle_cascade_timer()
176 struct cascade_priv *casc_priv; set_cascade_timer() local
182 casc_priv = priv->timer[num].cascade_handle; set_cascade_timer()
183 if (!casc_priv) set_cascade_timer()
186 tcr = casc_priv->tcr_value | set_cascade_timer()
187 (casc_priv->tcr_value << MPIC_TIMER_TCR_ROVR_OFFSET); set_cascade_timer()
301 struct cascade_priv *casc_priv; mpic_stop_timer() local
305 casc_priv = priv->timer[handle->num].cascade_handle; mpic_stop_timer()
306 if (casc_priv) { mpic_stop_timer()
326 struct cascade_priv *casc_priv; mpic_get_remain_time() local
331 casc_priv = priv->timer[handle->num].cascade_handle; mpic_get_remain_time()
332 if (casc_priv) { mpic_get_remain_time()
360 struct cascade_priv *casc_priv; mpic_free_timer() local
365 casc_priv = priv->timer[handle->num].cascade_handle; mpic_free_timer()
370 if (casc_priv) { mpic_free_timer()
372 tcr = casc_priv->tcr_value | (casc_priv->tcr_value << mpic_free_timer()
375 priv->idle |= casc_priv->cascade_map; mpic_free_timer()

Completed in 37 milliseconds