Lines Matching refs:eflags
743 static int hte_edge_setup(struct line *line, u64 eflags)
749 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING)
753 if (eflags & GPIO_V2_LINE_FLAG_EDGE_FALLING)
773 static int hte_edge_setup(struct line *line, u64 eflags)
877 u64 eflags, edflags = READ_ONCE(line->edflags);
898 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS;
899 if (!eflags)
907 if (((eflags == GPIO_V2_LINE_FLAG_EDGE_RISING) && !level) ||
908 ((eflags == GPIO_V2_LINE_FLAG_EDGE_FALLING) && level))
1039 u64 eflags;
1042 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS;
1043 if (eflags && !kfifo_initialized(&line->req->events)) {
1058 if (!eflags || READ_ONCE(line->sw_debounced))
1069 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING)
1072 if (eflags & GPIO_V2_LINE_FLAG_EDGE_FALLING)
1796 * @eflags: the event flags this line was requested with
1809 u32 eflags;
2039 if (le->eflags & GPIOEVENT_REQUEST_RISING_EDGE
2040 && le->eflags & GPIOEVENT_REQUEST_FALLING_EDGE) {
2049 } else if (le->eflags & GPIOEVENT_REQUEST_RISING_EDGE) {
2052 } else if (le->eflags & GPIOEVENT_REQUEST_FALLING_EDGE) {
2090 u32 eflags;
2100 eflags = eventreq.eventflags;
2108 (eflags & ~GPIOEVENT_REQUEST_VALID_FLAGS))
2145 le->eflags = eflags;
2161 if (eflags & GPIOEVENT_REQUEST_RISING_EDGE)
2164 if (eflags & GPIOEVENT_REQUEST_FALLING_EDGE)