Lines Matching refs:psc
38 struct mpc52xx_psc __iomem *psc;
81 struct mpc52xx_psc __iomem *psc = mps->psc;
86 sicr = in_be32(&psc->sicr);
103 out_be32(&psc->sicr, sicr);
105 ccr = in_be32(&psc->ccr);
113 out_be32(&psc->ccr, ccr);
138 struct mpc52xx_psc __iomem *psc = mps->psc;
148 in_8(&psc->mode);
149 out_8(&psc->mode, 0x0);
180 out_8(&psc->command,
208 out_8(&psc->command,
212 out_8(&psc->command, MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE);
328 struct mpc52xx_psc __iomem *psc = mps->psc;
337 sprintf(name, "psc%d_mclk", master->bus_num);
344 out_8(&psc->command, MPC52xx_PSC_RST_RX);
345 out_8(&psc->command, MPC52xx_PSC_RST_TX);
346 out_8(&psc->command, MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE);
348 /* Disable psc interrupts all useful interrupts are in fifo */
349 out_be16(&psc->isr_imr.imr, 0);
365 out_be32(&psc->sicr, sicr);
367 ccr = in_be32(&psc->ccr);
371 out_be32(&psc->ccr, ccr);
374 out_8(&psc->ctur, 0x00);
375 out_8(&psc->ctlr, 0x82);
452 mps->psc = tempp;
457 "mpc512x-psc-spi", mps);
488 if (mps->psc)
489 iounmap(mps->psc);
504 if (mps->psc)
505 iounmap(mps->psc);
548 { .compatible = "fsl,mpc5121-psc-spi", },
558 .name = "mpc512x-psc-spi",