Lines Matching refs:psc_regs
38 status = spin_event_timeout(!(in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_read()
47 in_be32(&psc_dma->psc_regs->ac97_data); in psc_ac97_read()
50 out_be32(&psc_dma->psc_regs->ac97_cmd, (1<<31) | ((reg & 0x7f) << 24)); in psc_ac97_read()
53 status = spin_event_timeout((in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_read()
57 in_be16(&psc_dma->psc_regs->sr_csr.status)); in psc_ac97_read()
62 val = in_be32(&psc_dma->psc_regs->ac97_data); in psc_ac97_read()
82 status = spin_event_timeout(!(in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_write()
89 out_be32(&psc_dma->psc_regs->ac97_cmd, in psc_ac97_write()
98 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_warm_reset()
111 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_cold_reset()
169 out_be32(&psc_dma->psc_regs->ac97_slots, 0x01000000); in psc_ac97_hw_digital_params()
171 out_be32(&psc_dma->psc_regs->ac97_slots, 0x03000000); in psc_ac97_hw_digital_params()
189 out_be32(&psc_dma->psc_regs->ac97_slots, psc_dma->slots); in psc_ac97_trigger()
198 out_be32(&psc_dma->psc_regs->ac97_slots, psc_dma->slots); in psc_ac97_trigger()
207 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_probe()
299 regs = psc_dma->psc_regs; in psc_ac97_of_probe()
302 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in psc_ac97_of_probe()