Lines Matching refs:dmac
377 struct pl330_dmac *dmac; member
438 struct pl330_dmac *dmac; member
566 return thrd->dmac->manager == thrd; in is_manager()
572 return (thrd->dmac->pcfg.mode & DMAC_MODE_NS) ? true : false; in _manager_ns()
873 void __iomem *regs = thrd->dmac->base; in _until_dmac_idle()
893 void __iomem *regs = thrd->dmac->base; in _execute_DBGINSN()
898 dev_err(thrd->dmac->ddma.dev, "DMAC halted!\n"); in _execute_DBGINSN()
918 void __iomem *regs = thrd->dmac->base; in _state()
976 void __iomem *regs = thrd->dmac->base; in _stop()
1003 void __iomem *regs = thrd->dmac->base; in _trigger()
1040 dev_info(thrd->dmac->ddma.dev, "%s:%d Recipe for ABORT!\n", in _trigger()
1477 struct pl330_dmac *pl330 = thrd->dmac; in pl330_submit_req()
1500 dev_info(thrd->dmac->ddma.dev, "%s:%d\n", in pl330_submit_req()
1508 dev_info(thrd->dmac->ddma.dev, in pl330_submit_req()
1744 struct pl330_dmac *pl330 = thrd->dmac; in _alloc_event()
1797 struct pl330_dmac *pl330 = thrd->dmac; in _free_event()
1866 struct pl330_dmac *pl330 = thrd->dmac; in _reset_thread()
1899 thrd->dmac = pl330; in dmac_alloc_threads()
1907 thrd->dmac = pl330; in dmac_alloc_threads()
2062 dev_err(pch->dmac->ddma.dev, "%s:%d Bad Desc(%d)\n", in fill_queue()
2090 spin_lock(&pch->thread->dmac->lock); in pl330_tasklet()
2092 spin_unlock(&pch->thread->dmac->lock); in pl330_tasklet()
2097 spin_lock(&pch->thread->dmac->lock); in pl330_tasklet()
2099 spin_unlock(&pch->thread->dmac->lock); in pl330_tasklet()
2115 spin_lock(&pch->thread->dmac->lock); in pl330_tasklet()
2117 spin_unlock(&pch->thread->dmac->lock); in pl330_tasklet()
2122 list_move_tail(&desc->node, &pch->dmac->desc_pool); in pl330_tasklet()
2137 pm_runtime_mark_last_busy(pch->dmac->ddma.dev); in pl330_tasklet()
2138 pm_runtime_put_autosuspend(pch->dmac->ddma.dev); in pl330_tasklet()
2165 struct pl330_dmac *pl330 = pch->dmac; in pl330_alloc_chan_resources()
2257 pch->dmac->quirks); in pl330_config_write()
2264 pch->dmac->quirks); in pl330_config_write()
2285 struct pl330_dmac *pl330 = pch->dmac; in pl330_terminate_all()
2334 struct pl330_dmac *pl330 = pch->dmac; in pl330_pause()
2359 struct pl330_dmac *pl330 = pch->dmac; in pl330_free_chan_resources()
2364 pm_runtime_get_sync(pch->dmac->ddma.dev); in pl330_free_chan_resources()
2371 list_splice_tail_init(&pch->work_list, &pch->dmac->desc_pool); in pl330_free_chan_resources()
2374 pm_runtime_mark_last_busy(pch->dmac->ddma.dev); in pl330_free_chan_resources()
2375 pm_runtime_put_autosuspend(pch->dmac->ddma.dev); in pl330_free_chan_resources()
2383 struct pl330_dmac *pl330 = pch->dmac; in pl330_get_current_xferred_count()
2384 void __iomem *regs = thrd->dmac->base; in pl330_get_current_xferred_count()
2396 pm_runtime_mark_last_busy(pch->dmac->ddma.dev); in pl330_get_current_xferred_count()
2425 spin_lock(&pch->thread->dmac->lock); in pl330_tx_status()
2471 spin_unlock(&pch->thread->dmac->lock); in pl330_tx_status()
2494 pm_runtime_get_sync(pch->dmac->ddma.dev); in pl330_issue_pending()
2598 struct pl330_dmac *pl330 = pch->dmac; in pl330_get_desc()
2623 desc->rqcfg.pcfg = &pch->dmac->pcfg; in pl330_get_desc()
2645 dev_err(pch->dmac->ddma.dev, "%s:%d Unable to fetch desc\n", in __pl330_prep_dma_memcpy()
2669 struct pl330_dmac *pl330 = pch->dmac; in get_burst_len()
2690 struct pl330_dmac *pl330 = pch->dmac; in pl330_prep_dma_cyclic()
2699 dev_err(pch->dmac->ddma.dev, "%s:%d Invalid dma direction\n", in pl330_prep_dma_cyclic()
2714 dev_err(pch->dmac->ddma.dev, "%s:%d Unable to fetch desc\n", in pl330_prep_dma_cyclic()
2786 pl330 = pch->dmac; in pl330_prep_dma_memcpy()
2870 struct pl330_dmac *pl330 = pch->dmac; in pl330_prep_slave_sg()
2872 dev_err(pch->dmac->ddma.dev, in pl330_prep_slave_sg()
3117 pch->dmac = pl330; in pl330_probe()