Home
last modified time | relevance | path

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

/hardware/intel/bootstub/
Dspi-uart.c26 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()
[all …]
Dssp-uart.c29 static volatile struct ssp_reg *pspi = 0; variable
35 pspi = (struct ssp_reg*)TNG_SSP5_ADDR_BASE; in ssp_init()
36 pspi->SSPx_SSFS = SSP_SLAVE; in ssp_init()
37 pspi->SSPx_SSCR1 = SSP_SSCR1; in ssp_init()
38 pspi->SSPx_SSCR0 = SSP_SSCR0; in ssp_init()
48 pspi = (struct ssp_reg*)TNG_SSP5_ADDR_BASE; in ssp_max3110_putc()
50 pspi->SSPx_SSDR = SSCR0; in ssp_max3110_putc()
54 SSCR0 = pspi->SSPx_SSSR; in ssp_max3110_putc()
58 SSCR0 = pspi->SSPx_SSDR; in ssp_max3110_putc()