Searched refs:psc_addr (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-mpc512x-psc.c | 35 #define psc_addr(mps, regname) ({ \ macro 94 sicr = in_be32(psc_addr(mps, sicr)); in mpc512x_psc_spi_activate_cs() 111 out_be32(psc_addr(mps, sicr), sicr); in mpc512x_psc_spi_activate_cs() 113 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_activate_cs() 121 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_activate_cs() 334 in_8(psc_addr(mps, mr2)); in mpc512x_psc_spi_prep_xfer_hw() 335 out_8(psc_addr(mps, mr2), 0x0); in mpc512x_psc_spi_prep_xfer_hw() 416 ccr = in_be32(psc_addr(mps, ccr)); in mpc512x_psc_spi_port_config() 421 out_be32(psc_addr(mps, ccr), ccr); in mpc512x_psc_spi_port_config() 424 out_8(psc_addr(mps, ctur), 0x00); in mpc512x_psc_spi_port_config() [all …]
|