Home
last modified time | relevance | path

Searched refs:kthread (Results 1 – 25 of 29) sorted by relevance

12

/drivers/media/test-drivers/vimc/
A Dvimc-streamer.c206 if (stream->kthread) in vimc_streamer_s_stream()
213 stream->kthread = kthread_run(vimc_streamer_thread, stream, in vimc_streamer_s_stream()
216 if (IS_ERR(stream->kthread)) { in vimc_streamer_s_stream()
217 ret = PTR_ERR(stream->kthread); in vimc_streamer_s_stream()
220 stream->kthread = NULL; in vimc_streamer_s_stream()
225 if (!stream->kthread) in vimc_streamer_s_stream()
228 ret = kthread_stop(stream->kthread); in vimc_streamer_s_stream()
238 stream->kthread = NULL; in vimc_streamer_s_stream()
A Dvimc-streamer.h38 struct task_struct *kthread; member
/drivers/crypto/ccp/
A Dccp-dev-v3.c466 struct task_struct *kthread; in ccp_init() local
470 kthread = kthread_run(ccp_cmd_queue_thread, cmd_q, in ccp_init()
472 if (IS_ERR(kthread)) { in ccp_init()
474 PTR_ERR(kthread)); in ccp_init()
475 ret = PTR_ERR(kthread); in ccp_init()
479 cmd_q->kthread = kthread; in ccp_init()
505 if (ccp->cmd_q[i].kthread) in ccp_init()
506 kthread_stop(ccp->cmd_q[i].kthread); in ccp_init()
544 if (ccp->cmd_q[i].kthread) in ccp_destroy()
545 kthread_stop(ccp->cmd_q[i].kthread); in ccp_destroy()
A Dccp-dev-v5.c949 struct task_struct *kthread; in ccp5_init() local
953 kthread = kthread_run(ccp_cmd_queue_thread, cmd_q, in ccp5_init()
955 if (IS_ERR(kthread)) { in ccp5_init()
957 PTR_ERR(kthread)); in ccp5_init()
958 ret = PTR_ERR(kthread); in ccp5_init()
962 cmd_q->kthread = kthread; in ccp5_init()
993 if (ccp->cmd_q[i].kthread) in ccp5_init()
994 kthread_stop(ccp->cmd_q[i].kthread); in ccp5_init()
1045 if (ccp->cmd_q[i].kthread) in ccp5_destroy()
1046 kthread_stop(ccp->cmd_q[i].kthread); in ccp5_destroy()
A Dccp-dev.c339 wake_up_process(ccp->cmd_q[i].kthread); in ccp_enqueue_cmd()
371 wake_up_process(ccp->cmd_q[i].kthread); in ccp_do_cmd_backlog()
567 wake_up_process(ccp->cmd_q[i].kthread); in ccp_dev_suspend()
594 wake_up_process(ccp->cmd_q[i].kthread); in ccp_dev_resume()
A Dccp-dev.h294 struct task_struct *kthread; member
/drivers/media/radio/
A Dradio-miropcm20.c73 struct task_struct *kthread; member
384 IS_ERR_OR_NULL(dev->kthread)) { in pcm20_open()
385 dev->kthread = kthread_run(pcm20_thread, dev, "%s", in pcm20_open()
387 if (IS_ERR(dev->kthread)) { in pcm20_open()
390 return PTR_ERR(dev->kthread); in pcm20_open()
400 if (v4l2_fh_is_singular_file(file) && !IS_ERR_OR_NULL(dev->kthread)) { in pcm20_release()
401 kthread_stop(dev->kthread); in pcm20_release()
402 dev->kthread = NULL; in pcm20_release()
/drivers/media/test-drivers/vivid/
A DMakefile3 vivid-vid-cap.o vivid-vid-out.o vivid-kthread-cap.o vivid-kthread-out.o \
7 vivid-kthread-touch.o vivid-touch-cap.o
/drivers/misc/sgi-xp/
A Dxpc_main.c579 struct task_struct *kthread; in xpc_activate_partition() local
590 kthread = kthread_run(xpc_activating, (void *)((u64)partid), "xpc%02d", in xpc_activate_partition()
592 if (IS_ERR(kthread)) { in xpc_activate_partition()
769 struct task_struct *kthread; in xpc_create_kthreads() local
798 kthread = kthread_run(xpc_kthread_start, (void *)args, in xpc_create_kthreads()
800 if (IS_ERR(kthread)) { in xpc_create_kthreads()
1186 struct task_struct *kthread; in xpc_init() local
1235 kthread = kthread_run(xpc_hb_checker, NULL, XPC_HB_CHECK_THREAD_NAME); in xpc_init()
1236 if (IS_ERR(kthread)) { in xpc_init()
1247 kthread = kthread_run(xpc_initiate_discovery, NULL, in xpc_init()
[all …]
/drivers/media/cec/core/
A Dcec-core.c266 adap->kthread = kthread_run(cec_thread_func, adap, "cec-%s", name); in cec_allocate_adapter()
267 if (IS_ERR(adap->kthread)) { in cec_allocate_adapter()
269 res = PTR_ERR(adap->kthread); in cec_allocate_adapter()
283 kthread_stop(adap->kthread); in cec_allocate_adapter()
392 kthread_stop(adap->kthread); in cec_delete_adapter()
A Dcec-pin.c1168 if (!pin->kthread) { in cec_pin_adap_enable()
1169 pin->kthread = kthread_run(cec_pin_thread_func, adap, in cec_pin_adap_enable()
1171 if (IS_ERR(pin->kthread)) { in cec_pin_adap_enable()
1172 int err = PTR_ERR(pin->kthread); in cec_pin_adap_enable()
1175 pin->kthread = NULL; in cec_pin_adap_enable()
1181 } else if (pin->kthread) { in cec_pin_adap_enable()
1323 if (pin->kthread) in cec_pin_adap_free()
1324 kthread_stop(pin->kthread); in cec_pin_adap_free()
1325 pin->kthread = NULL; in cec_pin_adap_free()
A Dcec-pin-priv.h181 struct task_struct *kthread; member
/drivers/media/pci/solo6x10/
A Dsolo6x10-v4l2.c285 solo_dev->kthread = kthread_run(solo_thread, solo_dev, SOLO6X10_NAME "_disp"); in solo_start_thread()
287 if (IS_ERR(solo_dev->kthread)) { in solo_start_thread()
288 ret = PTR_ERR(solo_dev->kthread); in solo_start_thread()
289 solo_dev->kthread = NULL; in solo_start_thread()
299 if (!solo_dev->kthread) in solo_stop_thread()
303 kthread_stop(solo_dev->kthread); in solo_stop_thread()
304 solo_dev->kthread = NULL; in solo_stop_thread()
A Dsolo6x10.h268 struct task_struct *kthread; member
/drivers/media/pci/pt1/
A Dpt1.c79 struct task_struct *kthread; member
681 if (!pt1->kthread) { in pt1_start_polling()
682 pt1->kthread = kthread_run(pt1_thread, pt1, "earth-pt1"); in pt1_start_polling()
683 if (IS_ERR(pt1->kthread)) { in pt1_start_polling()
684 ret = PTR_ERR(pt1->kthread); in pt1_start_polling()
685 pt1->kthread = NULL; in pt1_start_polling()
715 if (count == 0 && pt1->kthread) { in pt1_stop_polling()
716 kthread_stop(pt1->kthread); in pt1_stop_polling()
717 pt1->kthread = NULL; in pt1_stop_polling()
1316 if (pt1->kthread) in pt1_remove()
[all …]
/drivers/pci/hotplug/
A DTODO9 * The driver spawns a kthread cpqhp_event_thread() which is woken by the
11 The kthread is also woken from the timer pushbutton_helper_thread(),
/drivers/iio/trigger/
A DKconfig49 tristate "A kthread based hammering loop trigger"
54 Uses a tight loop in a kthread. Will only work with lower half only
/drivers/media/i2c/
A Dmsp3400-driver.c305 if (NULL == state->kthread) in msp_wake_thread()
846 state->kthread = kthread_run(thread_func, client, "msp34xx"); in msp_probe()
848 if (IS_ERR(state->kthread)) in msp_probe()
861 if (state->kthread) { in msp_remove()
863 kthread_stop(state->kthread); in msp_remove()
A Dmsp3400-driver.h109 struct task_struct *kthread; member
/drivers/gpu/drm/ci/xfails/
A Dvkms-none-skips.txt37 # kthread+0xce/0x100
88 # kthread+0xce/0x100
139 # kthread+0xce/0x100
192 # kthread+0xce/0x100
241 # kthread+0xce/0x100
348 # kthread+0xce/0x100
454 # kthread+0xce/0x100
560 # kthread+0xce/0x100
666 # kthread+0xce/0x100
772 # kthread+0xce/0x100
A Dmsm-sm8350-hdk-skips.txt150 # [ 228.455873] kthread+0x114/0x118
204 # [ 228.684790] kthread+0x114/0x118
/drivers/media/pci/saa7164/
A Dsaa7164-core.c1406 dev->kthread = kthread_run(saa7164_thread_function, dev, in saa7164_initdev()
1408 if (IS_ERR(dev->kthread)) { in saa7164_initdev()
1409 dev->kthread = NULL; in saa7164_initdev()
1446 if (fw_debug && dev->kthread) { in saa7164_finidev()
1447 kthread_stop(dev->kthread); in saa7164_finidev()
1448 dev->kthread = NULL; in saa7164_finidev()
A Dsaa7164.h472 struct task_struct *kthread; member
/drivers/media/pci/cx88/
A Dcx88-video.c1496 core->kthread = kthread_run(cx88_audio_thread, in cx8800_initdev()
1498 if (IS_ERR(core->kthread)) { in cx8800_initdev()
1499 err = PTR_ERR(core->kthread); in cx8800_initdev()
1529 if (core->kthread) { in cx8800_finidev()
1530 kthread_stop(core->kthread); in cx8800_finidev()
1531 core->kthread = NULL; in cx8800_finidev()
/drivers/usb/atm/
A Dueagle-atm.c119 struct task_struct *kthread; member
2183 sc->kthread = kthread_create(uea_kthread, sc, "ueagle-atm"); in uea_boot()
2184 if (IS_ERR(sc->kthread)) { in uea_boot()
2186 ret = PTR_ERR(sc->kthread); in uea_boot()
2211 ret = kthread_stop(sc->kthread); in uea_stop()
2612 wake_up_process(sc->kthread); in uea_probe()

Completed in 60 milliseconds

12