Home
last modified time | relevance | path

Searched refs:psc_addr (Results 1 – 1 of 1) sorted by relevance

/drivers/spi/
Dspi-mpc512x-psc.c38 #define psc_addr(mps, regname) ({ \ macro
101 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs()
118 out_be32(psc_addr(mps, sicr), sicr); in mpc512x_psc_spi_activate_cs()
120 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs()
128 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_activate_cs()
340 in_8(psc_addr(mps, mr2)); in mpc512x_psc_spi_prep_xfer_hw()
341 out_8(psc_addr(mps, mr2), 0x0); in mpc512x_psc_spi_prep_xfer_hw()
344 out_8(psc_addr(mps, command), MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in mpc512x_psc_spi_prep_xfer_hw()
357 out_8(psc_addr(mps, command), MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); in mpc512x_psc_spi_unprep_xfer_hw()
414 out_8(psc_addr(mps, command), MPC52xx_PSC_RST_RX); in mpc512x_psc_spi_port_config()
[all …]