Lines Matching refs:edflags
499 u64 edflags; member
665 u64 edflags; in process_hw_ts_thread() local
677 edflags = READ_ONCE(line->edflags); in process_hw_ts_thread()
679 switch (edflags & GPIO_V2_LINE_EDGE_FLAGS) { in process_hw_ts_thread()
685 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW) in process_hw_ts_thread()
802 switch (READ_ONCE(line->edflags) & GPIO_V2_LINE_EDGE_FLAGS) { in edge_irq_thread()
877 u64 eflags, edflags = READ_ONCE(line->edflags); in debounce_work_func() local
882 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) in debounce_work_func()
898 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in debounce_work_func()
903 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW) in debounce_work_func()
918 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) { in debounce_work_func()
1021 if (READ_ONCE(line->edflags) & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) in edge_detector_stop()
1027 WRITE_ONCE(line->edflags, 0); in edge_detector_stop()
1035 unsigned int line_idx, u64 edflags) in edge_detector_setup() argument
1042 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in edge_detector_setup()
1062 (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE)) in edge_detector_setup()
1063 return hte_edge_setup(line, edflags); in edge_detector_setup()
1089 unsigned int line_idx, u64 edflags) in edge_detector_update() argument
1091 u64 active_edflags = READ_ONCE(line->edflags); in edge_detector_update()
1095 if ((active_edflags == edflags) && in edge_detector_update()
1111 return edge_detector_setup(line, lc, line_idx, edflags); in edge_detector_update()
1388 u64 flags, edflags; in linereq_set_config_unlocked() local
1396 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS; in linereq_set_config_unlocked()
1413 ret = edge_detector_update(line, lc, i, edflags); in linereq_set_config_unlocked()
1418 WRITE_ONCE(line->edflags, edflags); in linereq_set_config_unlocked()
1638 u64 flags, edflags; in linereq_create() local
1711 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS; in linereq_create()
1728 edflags); in linereq_create()
1733 lr->lines[i].edflags = edflags; in linereq_create()