Lines Matching refs:psc_regs
42 status = spin_event_timeout(!(in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_read()
51 in_be32(&psc_dma->psc_regs->ac97_data); in psc_ac97_read()
54 out_be32(&psc_dma->psc_regs->ac97_cmd, (1<<31) | ((reg & 0x7f) << 24)); in psc_ac97_read()
57 status = spin_event_timeout((in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_read()
61 in_be16(&psc_dma->psc_regs->sr_csr.status)); in psc_ac97_read()
66 val = in_be32(&psc_dma->psc_regs->ac97_data); in psc_ac97_read()
86 status = spin_event_timeout(!(in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_write()
93 out_be32(&psc_dma->psc_regs->ac97_cmd, in psc_ac97_write()
102 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_warm_reset()
115 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_cold_reset()
174 out_be32(&psc_dma->psc_regs->ac97_slots, 0x01000000); in psc_ac97_hw_digital_params()
176 out_be32(&psc_dma->psc_regs->ac97_slots, 0x03000000); in psc_ac97_hw_digital_params()
194 out_be32(&psc_dma->psc_regs->ac97_slots, psc_dma->slots); in psc_ac97_trigger()
203 out_be32(&psc_dma->psc_regs->ac97_slots, psc_dma->slots); in psc_ac97_trigger()
212 struct mpc52xx_psc __iomem *regs = psc_dma->psc_regs; in psc_ac97_probe()
288 regs = psc_dma->psc_regs; in psc_ac97_of_probe()
292 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in psc_ac97_of_probe()