fsl_queue 295 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *fsl_queue = fsl_chan->queue; fsl_queue 307 drivers/dma/fsl-qdma.c if (!fsl_queue->comp_pool && !fsl_queue->desc_pool) fsl_queue 311 drivers/dma/fsl-qdma.c &fsl_queue->comp_used, list) { fsl_queue 312 drivers/dma/fsl-qdma.c dma_pool_free(fsl_queue->comp_pool, fsl_queue 315 drivers/dma/fsl-qdma.c dma_pool_free(fsl_queue->desc_pool, fsl_queue 323 drivers/dma/fsl-qdma.c &fsl_queue->comp_free, list) { fsl_queue 324 drivers/dma/fsl-qdma.c dma_pool_free(fsl_queue->comp_pool, fsl_queue 327 drivers/dma/fsl-qdma.c dma_pool_free(fsl_queue->desc_pool, fsl_queue 334 drivers/dma/fsl-qdma.c dma_pool_destroy(fsl_queue->comp_pool); fsl_queue 335 drivers/dma/fsl-qdma.c dma_pool_destroy(fsl_queue->desc_pool); fsl_queue 338 drivers/dma/fsl-qdma.c fsl_queue->comp_pool = NULL; fsl_queue 339 drivers/dma/fsl-qdma.c fsl_queue->desc_pool = NULL; fsl_queue 624 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *fsl_queue = fsl_qdma->queue; fsl_queue 646 drivers/dma/fsl-qdma.c temp_queue = fsl_queue + i; fsl_queue 824 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *fsl_queue = fsl_qdma->queue; fsl_queue 849 drivers/dma/fsl-qdma.c temp = fsl_queue + i + (j * fsl_qdma->n_queues); fsl_queue 942 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *fsl_queue = fsl_chan->queue; fsl_queue 943 drivers/dma/fsl-qdma.c void __iomem *block = fsl_queue->block_base; fsl_queue 945 drivers/dma/fsl-qdma.c reg = qdma_readl(fsl_chan->qdma, block + FSL_QDMA_BCQSR(fsl_queue->id)); fsl_queue 954 drivers/dma/fsl-qdma.c memcpy(fsl_queue->virt_head++, fsl_queue 956 drivers/dma/fsl-qdma.c if (fsl_queue->virt_head == fsl_queue->cq + fsl_queue->n_cq) fsl_queue 957 drivers/dma/fsl-qdma.c fsl_queue->virt_head = fsl_queue->cq; fsl_queue 959 drivers/dma/fsl-qdma.c list_add_tail(&fsl_comp->list, &fsl_queue->comp_used); fsl_queue 961 drivers/dma/fsl-qdma.c reg = qdma_readl(fsl_chan->qdma, block + FSL_QDMA_BCQMR(fsl_queue->id)); fsl_queue 963 drivers/dma/fsl-qdma.c qdma_writel(fsl_chan->qdma, reg, block + FSL_QDMA_BCQMR(fsl_queue->id)); fsl_queue 971 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *fsl_queue; fsl_queue 974 drivers/dma/fsl-qdma.c fsl_queue = fsl_comp->qchan->queue; fsl_queue 976 drivers/dma/fsl-qdma.c spin_lock_irqsave(&fsl_queue->queue_lock, flags); fsl_queue 977 drivers/dma/fsl-qdma.c list_add_tail(&fsl_comp->list, &fsl_queue->comp_free); fsl_queue 978 drivers/dma/fsl-qdma.c spin_unlock_irqrestore(&fsl_queue->queue_lock, flags); fsl_queue 985 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *fsl_queue = fsl_chan->queue; fsl_queue 987 drivers/dma/fsl-qdma.c spin_lock_irqsave(&fsl_queue->queue_lock, flags); fsl_queue 992 drivers/dma/fsl-qdma.c spin_unlock_irqrestore(&fsl_queue->queue_lock, flags); fsl_queue 1020 drivers/dma/fsl-qdma.c struct fsl_qdma_queue *fsl_queue = fsl_chan->queue; fsl_queue 1022 drivers/dma/fsl-qdma.c if (fsl_queue->comp_pool && fsl_queue->desc_pool) fsl_queue 1025 drivers/dma/fsl-qdma.c INIT_LIST_HEAD(&fsl_queue->comp_free); fsl_queue 1030 drivers/dma/fsl-qdma.c fsl_queue->comp_pool = fsl_queue 1035 drivers/dma/fsl-qdma.c if (!fsl_queue->comp_pool) fsl_queue 1041 drivers/dma/fsl-qdma.c fsl_queue->desc_pool = fsl_queue 1046 drivers/dma/fsl-qdma.c if (!fsl_queue->desc_pool) fsl_queue 1049 drivers/dma/fsl-qdma.c ret = fsl_qdma_pre_request_enqueue_desc(fsl_queue); fsl_queue 1060 drivers/dma/fsl-qdma.c dma_pool_destroy(fsl_queue->desc_pool); fsl_queue 1062 drivers/dma/fsl-qdma.c dma_pool_destroy(fsl_queue->comp_pool);