Lines Matching defs:thread
134 /* thread */
135 struct task_struct *thread;
313 /* kernel thread for doing i2c stuff asyncronly
322 wake_up_process(chip->thread);
332 v4l2_dbg(1, debug, sd, "thread started\n");
342 v4l2_dbg(1, debug, sd, "thread wakeup\n");
354 v4l2_dbg(1, debug, sd, "thread checkmode\n");
389 v4l2_dbg(1, debug, sd, "thread exiting\n");
1835 if (chip->thread)
1836 wake_up_process(chip->thread);
1878 After waiting for 2 seconds, the kernel thread is called,
1882 if (chip->thread) {
2047 chip->thread = NULL;
2057 /* start async thread */
2058 chip->thread = kthread_run(chip_thread, chip, "%s",
2060 if (IS_ERR(chip->thread)) {
2062 chip->thread = NULL;
2074 if (chip->thread) {
2075 /* shutdown async thread */
2076 kthread_stop(chip->thread);
2077 chip->thread = NULL;