Home
last modified time | relevance | path

Searched refs:kthread_vid_cap (Results 1 – 3 of 3) sorted by relevance

/drivers/media/i2c/
Dvideo-i2c.c56 struct task_struct *kthread_vid_cap; member
512 if (data->kthread_vid_cap) in start_streaming()
526 data->kthread_vid_cap = kthread_run(video_i2c_thread_vid_cap, data, in start_streaming()
528 ret = PTR_ERR_OR_ZERO(data->kthread_vid_cap); in start_streaming()
545 if (data->kthread_vid_cap == NULL) in stop_streaming()
548 kthread_stop(data->kthread_vid_cap); in stop_streaming()
549 data->kthread_vid_cap = NULL; in stop_streaming()
/drivers/media/platform/vivid/
Dvivid-kthread-cap.c885 if (dev->kthread_vid_cap) { in vivid_start_generating_vid_cap()
902 dev->kthread_vid_cap = kthread_run(vivid_thread_vid_cap, dev, in vivid_start_generating_vid_cap()
905 if (IS_ERR(dev->kthread_vid_cap)) { in vivid_start_generating_vid_cap()
906 int err = PTR_ERR(dev->kthread_vid_cap); in vivid_start_generating_vid_cap()
908 dev->kthread_vid_cap = NULL; in vivid_start_generating_vid_cap()
923 if (dev->kthread_vid_cap == NULL) in vivid_stop_generating_vid_cap()
963 kthread_stop(dev->kthread_vid_cap); in vivid_stop_generating_vid_cap()
964 dev->kthread_vid_cap = NULL; in vivid_stop_generating_vid_cap()
Dvivid-core.h395 struct task_struct *kthread_vid_cap; member