Lines Matching refs:pspi
26 static volatile struct mrst_spi_reg *pspi = 0; variable
36 pspi = (struct mrst_spi_reg *)CTP_REGBASE_SPI1; in spi_init()
38 pspi = (struct mrst_spi_reg *)MRST_REGBASE_SPI1; in spi_init()
44 pspi = (struct mrst_spi_reg *)CTP_REGBASE_SPI0; in spi_init()
46 pspi = (struct mrst_spi_reg *)MRST_REGBASE_SPI0; in spi_init()
50 pspi->ssienr = 0x0; in spi_init()
53 ctrlr0 = pspi->ctrlr0; in spi_init()
58 pspi->ctrlr0 = ctrlr0; in spi_init()
64 pspi->baudr = MRST_SPI_CLK_BASE / (clk_cdiv + 1) / 115200; in spi_init()
67 pspi->imr &= 0xffffff00; in spi_init()
70 pspi->ser = 0x2; in spi_init()
73 pspi->ssienr |= 0x1; in spi_init()
86 pspi->dr[0] = config; in max3110_write_config()
95 pspi->dr[0] = data; in max3110_write_data()
107 sr = pspi->sr; in spi_max3110_putc()