Lines Matching refs:mq
99 struct omap_mbox_queue *mq = container_of(work,
101 struct omap_mbox *mbox = mq->queue->queuedata;
130 struct omap_mbox_queue *mq =
132 struct omap_mbox *mbox = mq->queue->queuedata;
301 struct omap_mbox_queue *mq;
303 mq = kzalloc(sizeof(struct omap_mbox_queue), GFP_KERNEL);
304 if (!mq)
307 spin_lock_init(&mq->lock);
309 q = blk_init_queue(proc, &mq->lock);
313 mq->queue = q;
315 INIT_WORK(&mq->work, work);
317 return mq;
319 kfree(mq);
332 struct omap_mbox_queue *mq;
364 mq = mbox_queue_alloc(mbox, mbox_txq_fn, mbox_tx_work);
365 if (!mq) {
369 mbox->txq = mq;
371 mq = mbox_queue_alloc(mbox, mbox_rxq_fn, mbox_rx_work);
372 if (!mq) {
376 mbox->rxq = mq;