Lines Matching full:workqueue
119 /* for handling irqs: need workqueue since we do spi_sync */
120 struct workqueue_struct *workqueue; member
124 /* need to know we are suspending to avoid deadlock on workqueue */
178 queue_work(s->workqueue, &s->work); in max3100_dowork()
555 if (s->workqueue) { in max3100_shutdown()
556 destroy_workqueue(s->workqueue); in max3100_shutdown()
557 s->workqueue = NULL; in max3100_shutdown()
594 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
595 if (!s->workqueue) { in max3100_startup()
596 dev_warn(&s->spi->dev, "cannot create workqueue\n"); in max3100_startup()
605 destroy_workqueue(s->workqueue); in max3100_startup()
606 s->workqueue = NULL; in max3100_startup()
876 if (s->workqueue) in max3100_resume()