Searched refs:psc_addr (Results 1 - 1 of 1) sorted by relevance
/linux-4.4.14/drivers/spi/ |
H A D | spi-mpc512x-psc.c | 42 #define psc_addr(mps, regname) ({ \ macro 105 sicr = in_be32(psc_addr(mps, sicr)); mpc512x_psc_spi_activate_cs() 122 out_be32(psc_addr(mps, sicr), sicr); mpc512x_psc_spi_activate_cs() 124 ccr = in_be32(psc_addr(mps, ccr)); mpc512x_psc_spi_activate_cs() 132 out_be32(psc_addr(mps, ccr), ccr); mpc512x_psc_spi_activate_cs() 345 in_8(psc_addr(mps, mr2)); mpc512x_psc_spi_prep_xfer_hw() 346 out_8(psc_addr(mps, mr2), 0x0); mpc512x_psc_spi_prep_xfer_hw() 349 out_8(psc_addr(mps, command), MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); mpc512x_psc_spi_prep_xfer_hw() 362 out_8(psc_addr(mps, command), MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); mpc512x_psc_spi_unprep_xfer_hw() 419 out_8(psc_addr(mps, command), MPC52xx_PSC_RST_RX); mpc512x_psc_spi_port_config() 420 out_8(psc_addr(mps, command), MPC52xx_PSC_RST_TX); mpc512x_psc_spi_port_config() 421 out_8(psc_addr(mps, command), MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); mpc512x_psc_spi_port_config() 424 out_be16(psc_addr(mps, isr_imr.imr), 0); mpc512x_psc_spi_port_config() 440 out_be32(psc_addr(mps, sicr), sicr); mpc512x_psc_spi_port_config() 442 ccr = in_be32(psc_addr(mps, ccr)); mpc512x_psc_spi_port_config() 447 out_be32(psc_addr(mps, ccr), ccr); mpc512x_psc_spi_port_config() 450 out_8(psc_addr(mps, ctur), 0x00); mpc512x_psc_spi_port_config() 451 out_8(psc_addr(mps, ctlr), 0x82); mpc512x_psc_spi_port_config()
|
Completed in 286 milliseconds