Lines Matching refs:psc

37 	struct mpc52xx_psc __iomem *psc;  member
74 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc512x_psc_spi_activate_cs() local
80 sicr = in_be32(&psc->sicr); in mpc512x_psc_spi_activate_cs()
97 out_be32(&psc->sicr, sicr); in mpc512x_psc_spi_activate_cs()
99 ccr = in_be32(&psc->ccr); in mpc512x_psc_spi_activate_cs()
107 out_be32(&psc->ccr, ccr); in mpc512x_psc_spi_activate_cs()
318 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc512x_psc_spi_prep_xfer_hw() local
323 in_8(&psc->mode); in mpc512x_psc_spi_prep_xfer_hw()
324 out_8(&psc->mode, 0x0); in mpc512x_psc_spi_prep_xfer_hw()
327 out_8(&psc->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in mpc512x_psc_spi_prep_xfer_hw()
335 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc512x_psc_spi_unprep_xfer_hw() local
341 out_8(&psc->command, MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); in mpc512x_psc_spi_unprep_xfer_hw()
391 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc512x_psc_spi_port_config() local
399 out_8(&psc->command, MPC52xx_PSC_RST_RX); in mpc512x_psc_spi_port_config()
400 out_8(&psc->command, MPC52xx_PSC_RST_TX); in mpc512x_psc_spi_port_config()
401 out_8(&psc->command, MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); in mpc512x_psc_spi_port_config()
404 out_be16(&psc->isr_imr.imr, 0); in mpc512x_psc_spi_port_config()
420 out_be32(&psc->sicr, sicr); in mpc512x_psc_spi_port_config()
422 ccr = in_be32(&psc->ccr); in mpc512x_psc_spi_port_config()
427 out_be32(&psc->ccr, ccr); in mpc512x_psc_spi_port_config()
430 out_8(&psc->ctur, 0x00); in mpc512x_psc_spi_port_config()
431 out_8(&psc->ctlr, 0x82); in mpc512x_psc_spi_port_config()
509 mps->psc = tempp; in mpc512x_psc_spi_do_probe()