Searched defs:workqueue (Results 1 - 25 of 38) sorted by relevance

12

/drivers/input/misc/
H A Dtwl4030-vibra.c29 #include <linux/workqueue.h>
45 struct workqueue_struct *workqueue; member in struct:vibra_info
145 queue_work(info->workqueue, &info->play_work);
153 info->workqueue = create_singlethread_workqueue("vibra");
154 if (info->workqueue == NULL) {
155 dev_err(&input->dev, "couldn't create workqueue\n");
167 destroy_workqueue(info->workqueue);
168 info->workqueue = NULL;
H A Dtwl6040-vibra.c30 #include <linux/workqueue.h>
47 struct workqueue_struct *workqueue; member in struct:vibra_info
215 ret = queue_work(info->workqueue, &info->play_work);
364 info->workqueue = alloc_workqueue("twl6040-vibra", 0, 0);
365 if (info->workqueue == NULL) {
366 dev_err(info->dev, "couldn't create workqueue\n");
398 destroy_workqueue(info->workqueue);
/drivers/memstick/core/
H A Dmemstick.c27 static struct workqueue_struct *workqueue; variable in typeref:struct:workqueue_struct
212 queue_work(workqueue, &host->media_checker);
550 flush_workqueue(workqueue);
625 workqueue = create_freezable_workqueue("kmemstick");
626 if (!workqueue)
637 destroy_workqueue(workqueue);
646 destroy_workqueue(workqueue);
/drivers/misc/
H A Dtifm_core.c21 static struct workqueue_struct *workqueue; variable in typeref:struct:workqueue_struct
224 flush_workqueue(workqueue);
311 queue_work(workqueue, work);
333 workqueue = create_freezable_workqueue("tifm");
334 if (!workqueue)
349 destroy_workqueue(workqueue);
358 destroy_workqueue(workqueue);
/drivers/spi/
H A Dspi-fsl-lib.h70 struct workqueue_struct *workqueue; member in struct:mpc8xxx_spi
H A Dspi-ti-ssp.c39 struct workqueue_struct *workqueue; member in struct:ti_ssp_spi
286 queue_work(hw->workqueue, &hw->work);
324 hw->workqueue = create_singlethread_workqueue(dev_name(dev));
325 if (!hw->workqueue) {
354 destroy_workqueue(hw->workqueue);
373 destroy_workqueue(hw->workqueue);
H A Dspi-mpc512x-psc.c24 #include <linux/workqueue.h>
46 struct workqueue_struct *workqueue; member in struct:mpc512x_psc_spi
314 queue_work(mps->workqueue, &mps->work);
470 mps->workqueue =
472 if (mps->workqueue == NULL) {
484 destroy_workqueue(mps->workqueue);
500 flush_workqueue(mps->workqueue);
501 destroy_workqueue(mps->workqueue);
H A Dspi-mpc52xx-psc.c21 #include <linux/workqueue.h>
46 struct workqueue_struct *workqueue; member in struct:mpc52xx_psc_spi
302 queue_work(mps->workqueue, &mps->work);
428 mps->workqueue = create_singlethread_workqueue(
430 if (mps->workqueue == NULL) {
442 destroy_workqueue(mps->workqueue);
487 flush_workqueue(mps->workqueue);
488 destroy_workqueue(mps->workqueue);
H A Dspi-sh.c31 #include <linux/workqueue.h>
90 struct workqueue_struct *workqueue; member in struct:spi_sh_data
395 queue_work(ss->workqueue, &ss->ws);
440 destroy_workqueue(ss->workqueue);
500 ss->workqueue = create_singlethread_workqueue(
502 if (ss->workqueue == NULL) {
503 dev_err(&pdev->dev, "create workqueue error\n");
531 destroy_workqueue(ss->workqueue);
H A Dspi-stmp.c60 struct workqueue_struct *workqueue; member in struct:stmp_spi
425 queue_work(ss->workqueue, &ss->work);
489 ss->workqueue = create_singlethread_workqueue(dev_name(&dev->dev));
490 if (!ss->workqueue) {
582 if (ss->workqueue)
583 destroy_workqueue(ss->workqueue);
609 destroy_workqueue(ss->workqueue);
H A Dspi-bfin-sport.c23 #include <linux/workqueue.h>
69 struct workqueue_struct *workqueue; member in struct:bfin_sport_spi_master_data
304 queue_work(drv_data->workqueue, &drv_data->pump_messages);
564 queue_work(drv_data->workqueue, &drv_data->pump_messages);
681 /* init messages workqueue */
683 drv_data->workqueue =
685 if (drv_data->workqueue == NULL)
709 queue_work(drv_data->workqueue, &drv_data->pump_messages);
753 destroy_workqueue(drv_data->workqueue);
H A Dspi-txx9.c23 #include <linux/workqueue.h>
75 struct workqueue_struct *workqueue; member in struct:txx9spi
334 queue_work(c->workqueue, &c->work);
399 c->workqueue = create_singlethread_workqueue(
401 if (!c->workqueue)
424 if (c->workqueue)
425 destroy_workqueue(c->workqueue);
442 destroy_workqueue(c->workqueue);
H A Dspi-bfin5xx.c24 #include <linux/workqueue.h>
70 struct workqueue_struct *workqueue; member in struct:bfin_spi_master_data
362 queue_work(drv_data->workqueue, &drv_data->pump_messages);
962 queue_work(drv_data->workqueue, &drv_data->pump_messages);
1203 /* init messages workqueue */
1205 drv_data->workqueue = create_singlethread_workqueue(
1207 if (drv_data->workqueue == NULL)
1230 queue_work(drv_data->workqueue, &drv_data->pump_messages);
1272 destroy_workqueue(drv_data->workqueue);
H A Dspi-dw.h110 struct workqueue_struct *workqueue; member in struct:dw_spi
H A Dspi-pxa2xx.c29 #include <linux/workqueue.h>
121 struct workqueue_struct *workqueue; member in struct:driver_data
454 queue_work(drv_data->workqueue, &drv_data->pump_messages);
1240 queue_work(drv_data->workqueue, &drv_data->pump_messages);
1453 drv_data->workqueue = create_singlethread_workqueue(
1455 if (drv_data->workqueue == NULL)
1478 queue_work(drv_data->workqueue, &drv_data->pump_messages);
1524 destroy_workqueue(drv_data->workqueue);
1707 dev_err(&pdev->dev, "pxa2xx_spi_remove: workqueue will not "
/drivers/staging/sep/
H A Dsep_dev.h97 struct workqueue_struct *workqueue; member in struct:sep_device
/drivers/target/tcm_fc/
H A Dtcm_fc.h101 struct workqueue_struct *workqueue; member in struct:ft_tpg
/drivers/usb/host/whci/
H A Dwhcd.h25 #include <linux/workqueue.h>
60 struct workqueue_struct *workqueue; member in struct:whc
/drivers/mfd/
H A Dezx-pcap.c49 struct workqueue_struct *workqueue; member in struct:pcap_chip
152 queue_work(pcap->workqueue, &pcap->msr_work);
160 queue_work(pcap->workqueue, &pcap->msr_work);
213 queue_work(pcap->workqueue, &pcap->isr_work);
416 destroy_workqueue(pcap->workqueue);
457 pcap->workqueue = create_singlethread_workqueue("pcapd");
458 if (!pcap->workqueue) {
519 destroy_workqueue(pcap->workqueue);
/drivers/media/video/hdpvr/
H A Dhdpvr.h15 #include <linux/workqueue.h>
99 struct workqueue_struct *workqueue; member in struct:hdpvr_device
/drivers/net/wireless/libertas/
H A Dif_sdio.c137 struct workqueue_struct *workqueue; member in struct:if_sdio_card
966 queue_work(card->workqueue, &card->packet_worker);
1038 * We run it in a workqueue totally independent from the if_sdio_card
1064 flush_workqueue(card->workqueue);
1180 card->workqueue = create_workqueue("libertas_sdio");
1237 flush_workqueue(card->workqueue);
1240 destroy_workqueue(card->workqueue);
1289 flush_workqueue(card->workqueue);
1290 destroy_workqueue(card->workqueue);
H A Dif_spi.c62 struct workqueue_struct *workqueue; member in struct:if_spi_card
1006 queue_work(card->workqueue, &card->packet_work);
1022 queue_work(card->workqueue, &card->packet_work);
1191 card->workqueue = create_workqueue("libertas_spi");
1219 flush_workqueue(card->workqueue);
1220 destroy_workqueue(card->workqueue);
1246 flush_workqueue(card->workqueue);
1247 destroy_workqueue(card->workqueue);
1262 flush_workqueue(card->workqueue);
/drivers/scsi/
H A Dvmw_pvscsi.c28 #include <linux/workqueue.h>
77 struct workqueue_struct *workqueue; member in struct:pvscsi_adapter
803 * workqueue we can safely flush any outstanding work.
805 flush_workqueue(adapter->workqueue);
1027 adapter->workqueue = create_singlethread_workqueue(name);
1028 if (!adapter->workqueue) {
1058 queue_work(adapter->workqueue, &adapter->work);
1109 if (adapter->workqueue)
1110 destroy_workqueue(adapter->workqueue);
1419 if (adapter->workqueue)
[all...]
/drivers/tty/serial/
H A Dmax3100.c124 /* for handling irqs: need workqueue since we do spi_sync */
125 struct workqueue_struct *workqueue; member in struct:max3100_port
129 /* need to know we are suspending to avoid deadlock on workqueue */
184 queue_work(s->workqueue, &s->work);
532 /* we are sending char from a workqueue so enable */
567 if (s->workqueue) {
568 flush_workqueue(s->workqueue);
569 destroy_workqueue(s->workqueue);
570 s->workqueue = NULL;
607 s->workqueue
[all...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-hdw-internal.h37 #include <linux/workqueue.h>
173 struct workqueue_struct *workqueue; member in struct:pvr2_hdw

Completed in 512 milliseconds

12