Lines Matching refs:p_dma

84 	struct cs4231_dma_control	p_dma;  member
453 dma_cont = &chip->p_dma; in cs4231_dma_trigger()
977 snd_cs4231_advance_dma(&chip->p_dma, chip->playback_substream, in snd_cs4231_play_callback()
995 struct cs4231_dma_control *dma_cont = &chip->p_dma; in snd_cs4231_playback_pointer()
1791 spin_lock_init(&chip->p_dma.sbus_info.lock); in snd_cs4231_sbus_create()
1808 chip->p_dma.sbus_info.regs = chip->port; in snd_cs4231_sbus_create()
1810 chip->p_dma.sbus_info.dir = APC_PLAY; in snd_cs4231_sbus_create()
1812 chip->p_dma.prepare = sbus_dma_prepare; in snd_cs4231_sbus_create()
1813 chip->p_dma.enable = sbus_dma_enable; in snd_cs4231_sbus_create()
1814 chip->p_dma.request = sbus_dma_request; in snd_cs4231_sbus_create()
1815 chip->p_dma.address = sbus_dma_addr; in snd_cs4231_sbus_create()
1929 if (chip->p_dma.ebus_info.regs) { in snd_cs4231_ebus_free()
1930 ebus_dma_unregister(&chip->p_dma.ebus_info); in snd_cs4231_ebus_free()
1931 of_iounmap(&op->resource[1], chip->p_dma.ebus_info.regs, 0x10); in snd_cs4231_ebus_free()
1960 spin_lock_init(&chip->p_dma.ebus_info.lock); in snd_cs4231_ebus_create()
1972 strcpy(chip->p_dma.ebus_info.name, "cs4231(play)"); in snd_cs4231_ebus_create()
1973 chip->p_dma.ebus_info.flags = EBUS_DMA_FLAG_USE_EBDMA_HANDLER; in snd_cs4231_ebus_create()
1974 chip->p_dma.ebus_info.callback = snd_cs4231_ebus_play_callback; in snd_cs4231_ebus_create()
1975 chip->p_dma.ebus_info.client_cookie = chip; in snd_cs4231_ebus_create()
1976 chip->p_dma.ebus_info.irq = op->archdata.irqs[1]; in snd_cs4231_ebus_create()
1978 chip->p_dma.prepare = _ebus_dma_prepare; in snd_cs4231_ebus_create()
1979 chip->p_dma.enable = _ebus_dma_enable; in snd_cs4231_ebus_create()
1980 chip->p_dma.request = _ebus_dma_request; in snd_cs4231_ebus_create()
1981 chip->p_dma.address = _ebus_dma_addr; in snd_cs4231_ebus_create()
1989 chip->p_dma.ebus_info.regs = in snd_cs4231_ebus_create()
1993 if (!chip->port || !chip->p_dma.ebus_info.regs || in snd_cs4231_ebus_create()
2016 if (ebus_dma_register(&chip->p_dma.ebus_info)) { in snd_cs4231_ebus_create()
2023 if (ebus_dma_irq_enable(&chip->p_dma.ebus_info, 1)) { in snd_cs4231_ebus_create()