Lines Matching refs:p_dma
84 struct cs4231_dma_control p_dma; member
448 dma_cont = &chip->p_dma; in cs4231_dma_trigger()
976 snd_cs4231_advance_dma(&chip->p_dma, chip->playback_substream, in snd_cs4231_play_callback()
994 struct cs4231_dma_control *dma_cont = &chip->p_dma; in snd_cs4231_playback_pointer()
1805 spin_lock_init(&chip->p_dma.sbus_info.lock); in snd_cs4231_sbus_create()
1821 chip->p_dma.sbus_info.regs = chip->port; in snd_cs4231_sbus_create()
1823 chip->p_dma.sbus_info.dir = APC_PLAY; in snd_cs4231_sbus_create()
1825 chip->p_dma.prepare = sbus_dma_prepare; in snd_cs4231_sbus_create()
1826 chip->p_dma.enable = sbus_dma_enable; in snd_cs4231_sbus_create()
1827 chip->p_dma.request = sbus_dma_request; in snd_cs4231_sbus_create()
1828 chip->p_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create()
1940 if (chip->p_dma.ebus_info.regs) { in snd_cs4231_ebus_free()
1941 ebus_dma_unregister(&chip->p_dma.ebus_info); in snd_cs4231_ebus_free()
1942 of_iounmap(&op->resource[1], chip->p_dma.ebus_info.regs, 0x10); in snd_cs4231_ebus_free()
1971 spin_lock_init(&chip->p_dma.ebus_info.lock); in snd_cs4231_ebus_create()
1983 strcpy(chip->p_dma.ebus_info.name, "cs4231(play)"); in snd_cs4231_ebus_create()
1984 chip->p_dma.ebus_info.flags = EBUS_DMA_FLAG_USE_EBDMA_HANDLER; in snd_cs4231_ebus_create()
1985 chip->p_dma.ebus_info.callback = snd_cs4231_ebus_play_callback; in snd_cs4231_ebus_create()
1986 chip->p_dma.ebus_info.client_cookie = chip; in snd_cs4231_ebus_create()
1987 chip->p_dma.ebus_info.irq = op->archdata.irqs[1]; in snd_cs4231_ebus_create()
1989 chip->p_dma.prepare = _ebus_dma_prepare; in snd_cs4231_ebus_create()
1990 chip->p_dma.enable = _ebus_dma_enable; in snd_cs4231_ebus_create()
1991 chip->p_dma.request = _ebus_dma_request; in snd_cs4231_ebus_create()
1992 chip->p_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create()
2000 chip->p_dma.ebus_info.regs = in snd_cs4231_ebus_create()
2004 if (!chip->port || !chip->p_dma.ebus_info.regs || in snd_cs4231_ebus_create()
2024 if (ebus_dma_register(&chip->p_dma.ebus_info)) { in snd_cs4231_ebus_create()
2030 if (ebus_dma_irq_enable(&chip->p_dma.ebus_info, 1)) { in snd_cs4231_ebus_create()