Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/i2c/
Dvideo-i2c.c88 struct task_struct *kthread_vid_cap; member
520 if (data->kthread_vid_cap) in start_streaming()
532 data->kthread_vid_cap = kthread_run(video_i2c_thread_vid_cap, data, in start_streaming()
534 ret = PTR_ERR_OR_ZERO(data->kthread_vid_cap); in start_streaming()
551 if (data->kthread_vid_cap == NULL) in stop_streaming()
554 kthread_stop(data->kthread_vid_cap); in stop_streaming()
555 data->kthread_vid_cap = NULL; in stop_streaming()
/linux-5.19.10/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c916 if (dev->kthread_vid_cap) { in vivid_start_generating_vid_cap()
936 dev->kthread_vid_cap = kthread_run(vivid_thread_vid_cap, dev, in vivid_start_generating_vid_cap()
939 if (IS_ERR(dev->kthread_vid_cap)) { in vivid_start_generating_vid_cap()
940 int err = PTR_ERR(dev->kthread_vid_cap); in vivid_start_generating_vid_cap()
942 dev->kthread_vid_cap = NULL; in vivid_start_generating_vid_cap()
957 if (dev->kthread_vid_cap == NULL) in vivid_stop_generating_vid_cap()
1013 kthread_stop(dev->kthread_vid_cap); in vivid_stop_generating_vid_cap()
1014 dev->kthread_vid_cap = NULL; in vivid_stop_generating_vid_cap()
Dvivid-core.h414 struct task_struct *kthread_vid_cap; member