Searched refs:pspi (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/arch/x86/platform/mrst/ |
D | early_printk_mrst.c | 107 static struct dw_spi_reg *pspi; variable 134 dw_writel(pspi, dr, config); in max3110_write_config() 143 dw_writel(pspi, dr, data); in max3110_write_data() 161 pspi = (void *)set_fixmap_offset_nocache(FIX_EARLYCON_MEM_BASE, in mrst_early_console_init() 165 dw_writel(pspi, ssienr, 0); in mrst_early_console_init() 168 ctrlr0 = dw_readl(pspi, ctrl0); in mrst_early_console_init() 173 dw_writel(pspi, ctrl0, ctrlr0); in mrst_early_console_init() 180 dw_writel(pspi, baudr, freq/100000); in mrst_early_console_init() 183 dw_writel(pspi, imr, 0x0); in mrst_early_console_init() 186 dw_writel(pspi, ser, 0x2); in mrst_early_console_init() [all …]
|
/linux-2.6.39/drivers/spi/ |
D | spi_topcliff_pch.c | 388 static int pch_spi_setup(struct spi_device *pspi) in pch_spi_setup() argument 391 if (pspi->bits_per_word == 0) { in pch_spi_setup() 392 pspi->bits_per_word = 8; in pch_spi_setup() 393 dev_dbg(&pspi->dev, "%s 8 bits per word\n", __func__); in pch_spi_setup() 396 if ((pspi->bits_per_word != 8) && (pspi->bits_per_word != 16)) { in pch_spi_setup() 397 dev_err(&pspi->dev, "%s Invalid bits per word\n", __func__); in pch_spi_setup() 404 if ((pspi->max_speed_hz) > PCH_MAX_BAUDRATE) in pch_spi_setup() 405 pspi->max_speed_hz = PCH_MAX_BAUDRATE; in pch_spi_setup() 407 dev_dbg(&pspi->dev, "%s MODE = %x\n", __func__, in pch_spi_setup() 408 (pspi->mode) & (SPI_CPOL | SPI_CPHA)); in pch_spi_setup() [all …]
|