Lines Matching refs:dir
59 int dir; member
67 int dir);
1670 if (base->dir == APC_PLAY) in sbus_dma_request()
1676 if (base->dir == APC_PLAY) in sbus_dma_request()
1681 sbus_writel(bus_addr, base->regs + base->dir + APCNVA); in sbus_dma_request()
1682 sbus_writel(len, base->regs + base->dir + APCNC); in sbus_dma_request()
1699 if (base->dir == APC_RECORD) in sbus_dma_prepare()
1715 sbus_writel(0, base->regs + base->dir + APCNC); in sbus_dma_enable()
1716 sbus_writel(0, base->regs + base->dir + APCNVA); in sbus_dma_enable()
1717 if (base->dir == APC_PLAY) { in sbus_dma_enable()
1718 sbus_writel(0, base->regs + base->dir + APCC); in sbus_dma_enable()
1719 sbus_writel(0, base->regs + base->dir + APCVA); in sbus_dma_enable()
1726 if (base->dir == APC_PLAY) in sbus_dma_enable()
1746 return sbus_readl(base->regs + base->dir + APCVA); in sbus_dma_addr()
1803 chip->c_dma.sbus_info.dir = APC_RECORD; in snd_cs4231_sbus_create()
1804 chip->p_dma.sbus_info.dir = APC_PLAY; in snd_cs4231_sbus_create()
1900 static void _ebus_dma_prepare(struct cs4231_dma_control *dma_cont, int dir) in _ebus_dma_prepare() argument
1902 ebus_dma_prepare(&dma_cont->ebus_info, dir); in _ebus_dma_prepare()