Lines Matching refs:cmds
60 rec->cmds = (void __iomem *)DBDMA_ALIGN(rec->space); in snd_pmac_dbdma_alloc()
61 rec->addr = rec->dma_base + (unsigned long)((char *)rec->cmds - (char *)rec->space); in snd_pmac_dbdma_alloc()
211 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_pcm_prepare()
221 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) { in snd_pmac_pcm_prepare()
259 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) in snd_pmac_pcm_trigger()
273 for (i = 0, cp = rec->cmd.cmds; i < rec->nperiods; i++, cp++) in snd_pmac_pcm_trigger()
297 volatile struct dbdma_cmd __iomem *cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_pointer()
391 memcpy((void *)emergency_dbdma.cmds, (void *)cp, in snd_pmac_pcm_dead_xfer()
396 cp = emergency_dbdma.cmds; in snd_pmac_pcm_dead_xfer()
438 cp = emergency_dbdma.cmds; in snd_pmac_pcm_update()
440 cp = &rec->cmd.cmds[rec->cur_period]; in snd_pmac_pcm_update()
720 chip->extra_dma.cmds->req_count = cpu_to_le16(bytes); in snd_pmac_beep_dma_start()
721 chip->extra_dma.cmds->xfer_status = cpu_to_le16(0); in snd_pmac_beep_dma_start()
722 chip->extra_dma.cmds->cmd_dep = cpu_to_le32(chip->extra_dma.addr); in snd_pmac_beep_dma_start()
723 chip->extra_dma.cmds->phy_addr = cpu_to_le32(addr); in snd_pmac_beep_dma_start()
724 chip->extra_dma.cmds->command = cpu_to_le16(OUTPUT_MORE | BR_ALWAYS); in snd_pmac_beep_dma_start()
736 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_beep_dma_stop()