Lines Matching refs:evidx_tail
91 int evidx_tail; member
178 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()
737 while (priv->evidx_head == priv->evidx_tail) { in gpioc_read()
752 priv->evidx_tail != priv->evidx_head) { in gpioc_read()
918 priv->evidx_head = priv->evidx_tail = 0; in gpioc_ioctl()
978 if (priv->evidx_head != priv->evidx_tail) in gpioc_poll()
1027 if (priv->evidx_head != priv->evidx_tail) { in gpioc_kqread()