Searched refs:evidx_tail (Results 1 – 1 of 1) sorted by relevance
91 int evidx_tail; member178 rv = &priv->events[priv->evidx_tail++]; in next_tail_event()179 if (priv->evidx_tail == priv->numevents) in next_tail_event()180 priv->evidx_tail = 0; in next_tail_event()187 if (priv->evidx_head >= priv->evidx_tail) in number_of_events()188 return (priv->evidx_head - priv->evidx_tail); in number_of_events()190 return (priv->numevents + priv->evidx_head - priv->evidx_tail); in number_of_events()347 priv->evidx_head = priv->evidx_tail = 0; in gpioc_detach_priv_pin()530 if (priv->evidx_head == priv->evidx_tail) in gpioc_interrupt_handler()703 priv->evidx_head = priv->evidx_tail = 0; in gpioc_open()[all …]