Lines Matching full:workqueue
122 /* for handling irqs: need workqueue since we do spi_sync */
123 struct workqueue_struct *workqueue; member
127 /* need to know we are suspending to avoid deadlock on workqueue */
181 queue_work(s->workqueue, &s->work); in max3100_dowork()
569 if (s->workqueue) { in max3100_shutdown()
570 destroy_workqueue(s->workqueue); in max3100_shutdown()
571 s->workqueue = NULL; in max3100_shutdown()
608 s->workqueue = create_freezable_workqueue(b); in max3100_startup()
609 if (!s->workqueue) { in max3100_startup()
610 dev_warn(&s->spi->dev, "cannot create workqueue\n"); in max3100_startup()
619 destroy_workqueue(s->workqueue); in max3100_startup()
620 s->workqueue = NULL; in max3100_startup()
892 if (s->workqueue) in max3100_resume()