/drivers/media/test-drivers/vimc/ |
D | vimc-streamer.c | 200 if (stream->kthread) in vimc_streamer_s_stream() 207 stream->kthread = kthread_run(vimc_streamer_thread, stream, in vimc_streamer_s_stream() 210 if (IS_ERR(stream->kthread)) { in vimc_streamer_s_stream() 211 ret = PTR_ERR(stream->kthread); in vimc_streamer_s_stream() 214 stream->kthread = NULL; in vimc_streamer_s_stream() 219 if (!stream->kthread) in vimc_streamer_s_stream() 222 ret = kthread_stop(stream->kthread); in vimc_streamer_s_stream() 232 stream->kthread = NULL; in vimc_streamer_s_stream()
|
D | vimc-streamer.h | 38 struct task_struct *kthread; member
|
/drivers/net/wimax/i2400m/ |
D | usb-tx.c | 246 struct task_struct *kthread; in i2400mu_tx_setup() local 248 kthread = kthread_run(i2400mu_txd, i2400mu, "%s-tx", in i2400mu_tx_setup() 251 if (IS_ERR(kthread)) { in i2400mu_tx_setup() 252 result = PTR_ERR(kthread); in i2400mu_tx_setup() 263 struct task_struct *kthread; in i2400mu_tx_release() local 266 kthread = i2400mu->tx_kthread; in i2400mu_tx_release() 269 if (kthread) in i2400mu_tx_release() 270 kthread_stop(kthread); in i2400mu_tx_release()
|
D | usb-rx.c | 433 struct task_struct *kthread; in i2400mu_rx_setup() local 435 kthread = kthread_run(i2400mu_rxd, i2400mu, "%s-rx", in i2400mu_rx_setup() 438 if (IS_ERR(kthread)) { in i2400mu_rx_setup() 439 result = PTR_ERR(kthread); in i2400mu_rx_setup() 451 struct task_struct *kthread; in i2400mu_rx_release() local 454 kthread = i2400mu->rx_kthread; in i2400mu_rx_release() 457 if (kthread) in i2400mu_rx_release() 458 kthread_stop(kthread); in i2400mu_rx_release()
|
/drivers/crypto/ccp/ |
D | ccp-dev-v3.c | 466 struct task_struct *kthread; in ccp_init() local 470 kthread = kthread_create(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() 480 wake_up_process(kthread); in ccp_init() 506 if (ccp->cmd_q[i].kthread) in ccp_init() 507 kthread_stop(ccp->cmd_q[i].kthread); in ccp_init() 545 if (ccp->cmd_q[i].kthread) in ccp_destroy() [all …]
|
D | ccp-dev-v5.c | 949 struct task_struct *kthread; in ccp5_init() local 953 kthread = kthread_create(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() 963 wake_up_process(kthread); in ccp5_init() 994 if (ccp->cmd_q[i].kthread) in ccp5_init() 995 kthread_stop(ccp->cmd_q[i].kthread); in ccp5_init() 1046 if (ccp->cmd_q[i].kthread) in ccp5_destroy() [all …]
|
D | ccp-dev.c | 339 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() 596 wake_up_process(ccp->cmd_q[i].kthread); in ccp_dev_resume()
|
/drivers/media/test-drivers/vivid/ |
D | Makefile | 3 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/media/radio/ |
D | radio-miropcm20.c | 73 struct task_struct *kthread; member 386 IS_ERR_OR_NULL(dev->kthread)) { in pcm20_open() 387 dev->kthread = kthread_run(pcm20_thread, dev, "%s", in pcm20_open() 389 if (IS_ERR(dev->kthread)) { in pcm20_open() 392 return PTR_ERR(dev->kthread); in pcm20_open() 402 if (v4l2_fh_is_singular_file(file) && !IS_ERR_OR_NULL(dev->kthread)) { in pcm20_release() 403 kthread_stop(dev->kthread); in pcm20_release() 404 dev->kthread = NULL; in pcm20_release()
|
/drivers/misc/sgi-xp/ |
D | xpc_main.c | 589 struct task_struct *kthread; in xpc_activate_partition() local 600 kthread = kthread_run(xpc_activating, (void *)((u64)partid), "xpc%02d", in xpc_activate_partition() 602 if (IS_ERR(kthread)) { in xpc_activate_partition() 779 struct task_struct *kthread; in xpc_create_kthreads() local 808 kthread = kthread_run(xpc_kthread_start, (void *)args, in xpc_create_kthreads() 810 if (IS_ERR(kthread)) { in xpc_create_kthreads() 1225 struct task_struct *kthread; in xpc_init() local 1273 kthread = kthread_run(xpc_hb_checker, NULL, XPC_HB_CHECK_THREAD_NAME); in xpc_init() 1274 if (IS_ERR(kthread)) { in xpc_init() 1285 kthread = kthread_run(xpc_initiate_discovery, NULL, in xpc_init() [all …]
|
/drivers/media/cec/core/ |
D | cec-core.c | 277 adap->kthread = kthread_run(cec_thread_func, adap, "cec-%s", name); in cec_allocate_adapter() 278 if (IS_ERR(adap->kthread)) { in cec_allocate_adapter() 280 res = PTR_ERR(adap->kthread); in cec_allocate_adapter() 294 kthread_stop(adap->kthread); in cec_allocate_adapter() 401 kthread_stop(adap->kthread); in cec_delete_adapter()
|
D | cec-pin-priv.h | 167 struct task_struct *kthread; member
|
D | cec-pin.c | 1138 pin->kthread = kthread_run(cec_pin_thread_func, adap, in cec_pin_adap_enable() 1140 if (IS_ERR(pin->kthread)) { in cec_pin_adap_enable() 1142 return PTR_ERR(pin->kthread); in cec_pin_adap_enable() 1147 kthread_stop(pin->kthread); in cec_pin_adap_enable()
|
/drivers/media/pci/solo6x10/ |
D | solo6x10-v4l2.c | 285 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()
|
D | solo6x10.h | 268 struct task_struct *kthread; member
|
/drivers/media/pci/pt1/ |
D | pt1.c | 79 struct task_struct *kthread; member 682 if (!pt1->kthread) { in pt1_start_polling() 683 pt1->kthread = kthread_run(pt1_thread, pt1, "earth-pt1"); in pt1_start_polling() 684 if (IS_ERR(pt1->kthread)) { in pt1_start_polling() 685 ret = PTR_ERR(pt1->kthread); in pt1_start_polling() 686 pt1->kthread = NULL; in pt1_start_polling() 716 if (count == 0 && pt1->kthread) { in pt1_stop_polling() 717 kthread_stop(pt1->kthread); in pt1_stop_polling() 718 pt1->kthread = NULL; in pt1_stop_polling() 1318 if (pt1->kthread) in pt1_remove() [all …]
|
/drivers/iio/trigger/ |
D | Kconfig | 49 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/ |
D | msp3400-driver.c | 305 if (NULL == state->kthread) in msp_wake_thread() 853 state->kthread = kthread_run(thread_func, client, "msp34xx"); in msp_probe() 855 if (IS_ERR(state->kthread)) in msp_probe() 868 if (state->kthread) { in msp_remove() 870 kthread_stop(state->kthread); in msp_remove()
|
D | msp3400-driver.h | 109 struct task_struct *kthread; member
|
/drivers/crypto/ |
D | sahara.c | 197 struct task_struct *kthread; member 701 wake_up_process(dev->kthread); in sahara_aes_crypt() 1067 wake_up_process(dev->kthread); in sahara_sha_enqueue() 1429 dev->kthread = kthread_run(sahara_queue_manage, dev, "sahara_crypto"); in sahara_probe() 1430 if (IS_ERR(dev->kthread)) { in sahara_probe() 1431 return PTR_ERR(dev->kthread); in sahara_probe() 1478 kthread_stop(dev->kthread); in sahara_probe() 1491 kthread_stop(dev->kthread); in sahara_remove()
|
/drivers/pci/hotplug/ |
D | TODO | 11 * The driver spawns a kthread cpqhp_event_thread() which is woken by the 13 The kthread is also woken from the timer pushbutton_helper_thread(),
|
/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 1419 dev->kthread = kthread_run(saa7164_thread_function, dev, in saa7164_initdev() 1421 if (IS_ERR(dev->kthread)) { in saa7164_initdev() 1422 dev->kthread = NULL; in saa7164_initdev() 1459 if (fw_debug && dev->kthread) { in saa7164_finidev() 1460 kthread_stop(dev->kthread); in saa7164_finidev() 1461 dev->kthread = NULL; in saa7164_finidev()
|
/drivers/media/pci/cx88/ |
D | cx88-video.c | 1497 core->kthread = kthread_run(cx88_audio_thread, in cx8800_initdev() 1499 if (IS_ERR(core->kthread)) { in cx8800_initdev() 1500 err = PTR_ERR(core->kthread); in cx8800_initdev() 1530 if (core->kthread) { in cx8800_finidev() 1531 kthread_stop(core->kthread); in cx8800_finidev() 1532 core->kthread = NULL; in cx8800_finidev()
|
/drivers/usb/atm/ |
D | ueagle-atm.c | 119 struct task_struct *kthread; member 2184 sc->kthread = kthread_create(uea_kthread, sc, "ueagle-atm"); in uea_boot() 2185 if (IS_ERR(sc->kthread)) { in uea_boot() 2187 ret = PTR_ERR(sc->kthread); in uea_boot() 2212 ret = kthread_stop(sc->kthread); in uea_stop() 2613 wake_up_process(sc->kthread); in uea_probe()
|
/drivers/media/usb/tm6000/ |
D | tm6000.h | 84 struct task_struct *kthread; member
|