Lines Matching full:workqueue
104 /* for handling irqs: need workqueue since we do spi_sync */
105 struct workqueue_struct *workqueue; member
109 /* need to know we are suspending to avoid deadlock on workqueue */
307 queue_work(s->workqueue, &s->work); in max3100_dowork()
538 if (s->workqueue) { in max3100_shutdown()
539 destroy_workqueue(s->workqueue); in max3100_shutdown()
540 s->workqueue = NULL; in max3100_shutdown()
569 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
570 if (!s->workqueue) { in max3100_startup()
571 dev_warn(&s->spi->dev, "cannot create workqueue\n"); in max3100_startup()
580 destroy_workqueue(s->workqueue); in max3100_startup()
581 s->workqueue = NULL; in max3100_startup()
805 if (s->workqueue) in max3100_resume()