Lines Matching refs:eflags
415 * @eflags: the edge flags, GPIO_V2_LINE_FLAG_EDGE_RISING and/or
434 u64 eflags;
558 if (line->eflags == (GPIO_V2_LINE_FLAG_EDGE_RISING |
568 } else if (line->eflags == GPIO_V2_LINE_FLAG_EDGE_RISING) {
571 } else if (line->eflags == GPIO_V2_LINE_FLAG_EDGE_FALLING) {
653 if (!line->eflags)
661 if (((line->eflags == GPIO_V2_LINE_FLAG_EDGE_RISING) && !level) ||
662 ((line->eflags == GPIO_V2_LINE_FLAG_EDGE_FALLING) && level))
761 line->eflags = 0;
770 u64 eflags)
776 if (eflags && !kfifo_initialized(&line->req->events)) {
782 line->eflags = eflags;
792 if (!eflags || READ_ONCE(line->sw_debounced))
799 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING)
802 if (eflags & GPIO_V2_LINE_FLAG_EDGE_FALLING)
820 u64 eflags, bool polarity_change)
825 if ((line->eflags == eflags) && !polarity_change &&
831 line->eflags = eflags;
841 return edge_detector_setup(line, lc, line_idx, eflags);
1461 * @eflags: the event flags this line was requested with
1473 u32 eflags;
1672 if (le->eflags & GPIOEVENT_REQUEST_RISING_EDGE
1673 && le->eflags & GPIOEVENT_REQUEST_FALLING_EDGE) {
1682 } else if (le->eflags & GPIOEVENT_REQUEST_RISING_EDGE) {
1685 } else if (le->eflags & GPIOEVENT_REQUEST_FALLING_EDGE) {
1723 u32 eflags;
1733 eflags = eventreq.eventflags;
1741 (eflags & ~GPIOEVENT_REQUEST_VALID_FLAGS))
1779 le->eflags = eflags;
1796 if (eflags & GPIOEVENT_REQUEST_RISING_EDGE)
1799 if (eflags & GPIOEVENT_REQUEST_FALLING_EDGE)