Lines Matching refs:casc_priv
110 struct cascade_priv *casc_priv; in detect_idle_cascade_timer() local
117 casc_priv = cascade_timer; in detect_idle_cascade_timer()
120 map = casc_priv->cascade_map & priv->idle; in detect_idle_cascade_timer()
121 if (map == casc_priv->cascade_map) { in detect_idle_cascade_timer()
122 num = casc_priv->timer_num; in detect_idle_cascade_timer()
123 priv->timer[num].cascade_handle = casc_priv; in detect_idle_cascade_timer()
126 priv->idle &= ~casc_priv->cascade_map; in detect_idle_cascade_timer()
131 casc_priv++; in detect_idle_cascade_timer()
140 struct cascade_priv *casc_priv; in set_cascade_timer() local
146 casc_priv = priv->timer[num].cascade_handle; in set_cascade_timer()
147 if (!casc_priv) in set_cascade_timer()
150 tcr = casc_priv->tcr_value | in set_cascade_timer()
151 (casc_priv->tcr_value << MPIC_TIMER_TCR_ROVR_OFFSET); in set_cascade_timer()
265 struct cascade_priv *casc_priv; in mpic_stop_timer() local
269 casc_priv = priv->timer[handle->num].cascade_handle; in mpic_stop_timer()
270 if (casc_priv) { in mpic_stop_timer()
290 struct cascade_priv *casc_priv; in mpic_get_remain_time() local
295 casc_priv = priv->timer[handle->num].cascade_handle; in mpic_get_remain_time()
296 if (casc_priv) { in mpic_get_remain_time()
324 struct cascade_priv *casc_priv; in mpic_free_timer() local
329 casc_priv = priv->timer[handle->num].cascade_handle; in mpic_free_timer()
334 if (casc_priv) { in mpic_free_timer()
336 tcr = casc_priv->tcr_value | (casc_priv->tcr_value << in mpic_free_timer()
339 priv->idle |= casc_priv->cascade_map; in mpic_free_timer()