Lines Matching defs:eflags
835 static int hte_edge_setup(struct line *line, u64 eflags)
841 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING)
845 if (eflags & GPIO_V2_LINE_FLAG_EDGE_FALLING)
865 static int hte_edge_setup(struct line *line, u64 eflags)
969 u64 eflags, edflags = READ_ONCE(line->edflags);
990 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS;
991 if (!eflags)
999 if (((eflags == GPIO_V2_LINE_FLAG_EDGE_RISING) && !level) ||
1000 ((eflags == GPIO_V2_LINE_FLAG_EDGE_FALLING) && level))
1137 u64 eflags;
1141 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS;
1142 if (eflags && !kfifo_initialized(&line->req->events)) {
1157 if (!eflags || READ_ONCE(line->sw_debounced))
1168 if (eflags & GPIO_V2_LINE_FLAG_EDGE_RISING)
1171 if (eflags & GPIO_V2_LINE_FLAG_EDGE_FALLING)
1196 u64 eflags;
1213 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS;
1214 if (eflags && !kfifo_initialized(&line->req->events)) {
1892 * @eflags: the event flags this line was requested with
1905 u32 eflags;
2109 if (le->eflags & GPIOEVENT_REQUEST_RISING_EDGE
2110 && le->eflags & GPIOEVENT_REQUEST_FALLING_EDGE) {
2119 } else if (le->eflags & GPIOEVENT_REQUEST_RISING_EDGE) {
2122 } else if (le->eflags & GPIOEVENT_REQUEST_FALLING_EDGE) {
2160 u32 eflags;
2171 eflags = eventreq.eventflags;
2179 (eflags & ~GPIOEVENT_REQUEST_VALID_FLAGS))
2216 le->eflags = eflags;
2232 if (eflags & GPIOEVENT_REQUEST_RISING_EDGE)
2235 if (eflags & GPIOEVENT_REQUEST_FALLING_EDGE)