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) {
2048 chip->thread = NULL;
2058 /* start async thread */
2059 chip->thread = kthread_run(chip_thread, chip, "%s",
2061 if (IS_ERR(chip->thread)) {
2063 chip->thread = NULL;
2075 if (chip->thread) {
2076 /* shutdown async thread */
2077 kthread_stop(chip->thread);
2078 chip->thread = NULL;