Searched refs:idma64c (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/dma/ |
H A D | idma64.c | 120 idma64c->desc = NULL; in idma64_start_transfer() 146 desc = idma64c->desc; in idma64_chan_irq() 343 if (vchan_issue_pending(&idma64c->vchan) && !idma64c->desc) in idma64_issue_pending() 388 if (idma64c->desc && cookie == idma64c->desc->vdesc.tx.cookie) { in idma64_tx_status() 414 memcpy(&idma64c->config, config, sizeof(idma64c->config)); in idma64_slave_config() 454 if (idma64c->desc && idma64c->desc->status == DMA_IN_PROGRESS) { in idma64_pause() 469 if (idma64c->desc && idma64c->desc->status == DMA_PAUSED) { in idma64_resume() 487 if (idma64c->desc) { in idma64_terminate_all() 489 idma64c->desc = NULL; in idma64_terminate_all() 513 if (!idma64c->pool) { in idma64_alloc_chan_resources() [all …]
|
H A D | idma64.h | 153 return readl(idma64c->regs + offset); in idma64c_readl() 159 writel(value, idma64c->regs + offset); in idma64c_writel() 162 #define channel_readl(idma64c, reg) \ argument 163 idma64c_readl(idma64c, IDMA64_CH_##reg) 164 #define channel_writel(idma64c, reg, value) \ argument 165 idma64c_writel(idma64c, IDMA64_CH_##reg, (value)) 169 return lo_hi_readq(idma64c->regs + offset); in idma64c_readq() 175 lo_hi_writeq(value, idma64c->regs + offset); in idma64c_writeq() 178 #define channel_readq(idma64c, reg) \ argument 179 idma64c_readq(idma64c, IDMA64_CH_##reg) [all …]
|