Lines Matching refs:edflags

445 	u64 edflags;  member
598 u64 edflags; in process_hw_ts_thread() local
610 edflags = READ_ONCE(line->edflags); in process_hw_ts_thread()
612 switch (edflags & GPIO_V2_LINE_EDGE_FLAGS) { in process_hw_ts_thread()
618 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW) in process_hw_ts_thread()
735 switch (READ_ONCE(line->edflags) & GPIO_V2_LINE_EDGE_FLAGS) { in edge_irq_thread()
810 u64 eflags, edflags = READ_ONCE(line->edflags); in debounce_work_func() local
815 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) in debounce_work_func()
831 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in debounce_work_func()
836 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW) in debounce_work_func()
851 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) { in debounce_work_func()
954 if (READ_ONCE(line->edflags) & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) in edge_detector_stop()
960 WRITE_ONCE(line->edflags, 0); in edge_detector_stop()
968 unsigned int line_idx, u64 edflags) in edge_detector_setup() argument
975 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in edge_detector_setup()
995 (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE)) in edge_detector_setup()
996 return hte_edge_setup(line, edflags); in edge_detector_setup()
1022 unsigned int line_idx, u64 edflags) in edge_detector_update() argument
1024 u64 active_edflags = READ_ONCE(line->edflags); in edge_detector_update()
1028 if ((active_edflags == edflags) && in edge_detector_update()
1044 return edge_detector_setup(line, lc, line_idx, edflags); in edge_detector_update()
1321 u64 flags, edflags; in linereq_set_config_unlocked() local
1329 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS; in linereq_set_config_unlocked()
1346 ret = edge_detector_update(line, lc, i, edflags); in linereq_set_config_unlocked()
1351 WRITE_ONCE(line->edflags, edflags); in linereq_set_config_unlocked()
1536 u64 flags, edflags; in linereq_create() local
1610 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS; in linereq_create()
1627 edflags); in linereq_create()
1632 lr->lines[i].edflags = edflags; in linereq_create()