// SPDX-License-Identifier: GPL-2.0-only /* * vivid-kthread-touch.c - touch capture thread support functions. * */ #include <linux/freezer.h> #include <linux/jiffies.h> #include "vivid-core.h" #include "vivid-kthread-touch.h" #include "vivid-touch-cap.h" static noinline_for_stack void vivid_thread_tch_cap_tick(struct vivid_dev *dev, int dropped_bufs) { … } static int vivid_thread_touch_cap(void *data) { … } int vivid_start_generating_touch_cap(struct vivid_dev *dev) { … } void vivid_stop_generating_touch_cap(struct vivid_dev *dev) { … }