Lines Matching refs:edflags
426 * @edflags: the edge flags, GPIO_V2_LINE_FLAG_EDGE_RISING and/or
452 * edflags is set by linereq_create(), linereq_free(), and
458 u64 edflags;
643 u64 edflags;
655 edflags = READ_ONCE(line->edflags);
657 switch (edflags & GPIO_V2_LINE_EDGE_FLAGS) {
663 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW)
780 switch (READ_ONCE(line->edflags) & GPIO_V2_LINE_EDGE_FLAGS) {
855 u64 eflags, edflags = READ_ONCE(line->edflags);
860 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE)
876 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS;
881 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW)
896 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) {
1007 if (READ_ONCE(line->edflags) & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE)
1013 WRITE_ONCE(line->edflags, 0);
1029 unsigned int line_idx, u64 edflags)
1037 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS;
1056 (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE))
1057 return hte_edge_setup(line, edflags);
1089 unsigned int line_idx, u64 edflags)
1091 u64 active_edflags = READ_ONCE(line->edflags);
1095 if ((active_edflags == edflags) &&
1106 if (edflags & GPIO_V2_LINE_EDGE_FLAGS)
1118 return edge_detector_setup(line, lc, line_idx, edflags);
1409 u64 flags, edflags;
1432 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS;
1445 ret = edge_detector_update(line, &lc, i, edflags);
1450 WRITE_ONCE(line->edflags, edflags);
1622 u64 flags, edflags;
1696 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS;
1713 edflags);
1718 lr->lines[i].edflags = edflags;