Lines Matching refs:edflags

508 	u64 edflags;  member
811 u64 edflags; in process_hw_ts_thread() local
823 edflags = READ_ONCE(line->edflags); in process_hw_ts_thread()
825 switch (edflags & GPIO_V2_LINE_EDGE_FLAGS) { in process_hw_ts_thread()
831 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW) in process_hw_ts_thread()
948 switch (READ_ONCE(line->edflags) & GPIO_V2_LINE_EDGE_FLAGS) { in edge_irq_thread()
1023 u64 eflags, edflags = READ_ONCE(line->edflags); in debounce_work_func() local
1028 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) in debounce_work_func()
1044 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in debounce_work_func()
1049 if (edflags & GPIO_V2_LINE_FLAG_ACTIVE_LOW) in debounce_work_func()
1064 if (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) { in debounce_work_func()
1174 if (READ_ONCE(line->edflags) & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE) in edge_detector_stop()
1180 WRITE_ONCE(line->edflags, 0); in edge_detector_stop()
1187 unsigned int line_idx, u64 edflags) in edge_detector_setup() argument
1195 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in edge_detector_setup()
1215 (edflags & GPIO_V2_LINE_FLAG_EVENT_CLOCK_HTE)) in edge_detector_setup()
1216 return hte_edge_setup(line, edflags); in edge_detector_setup()
1248 unsigned int line_idx, u64 edflags) in edge_detector_update() argument
1252 u64 active_edflags = READ_ONCE(line->edflags); in edge_detector_update()
1256 if ((active_edflags == edflags) && in edge_detector_update()
1267 eflags = edflags & GPIO_V2_LINE_EDGE_FLAGS; in edge_detector_update()
1284 return edge_detector_setup(line, lc, line_idx, edflags); in edge_detector_update()
1561 u64 flags, edflags; in linereq_set_config_unlocked() local
1575 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS; in linereq_set_config_unlocked()
1588 ret = edge_detector_update(line, lc, i, edflags); in linereq_set_config_unlocked()
1593 WRITE_ONCE(line->edflags, edflags); in linereq_set_config_unlocked()
1818 u64 flags, edflags; in linereq_create() local
1891 edflags = flags & GPIO_V2_LINE_EDGE_DETECTOR_FLAGS; in linereq_create()
1908 edflags); in linereq_create()
1913 lr->lines[i].edflags = edflags; in linereq_create()