Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-altera-core.c43 static int altr_spi_writel(struct altera_spi *hw, unsigned int reg, in altr_spi_writel() function
79 altr_spi_writel(hw, ALTERA_SPI_CONTROL, hw->imr); in altera_spi_set_cs()
80 altr_spi_writel(hw, ALTERA_SPI_TARGET_SEL, 0); in altera_spi_set_cs()
82 altr_spi_writel(hw, ALTERA_SPI_TARGET_SEL, in altera_spi_set_cs()
85 altr_spi_writel(hw, ALTERA_SPI_CONTROL, hw->imr); in altera_spi_set_cs()
112 altr_spi_writel(hw, ALTERA_SPI_TXDATA, txd); in altera_spi_tx_word()
157 altr_spi_writel(hw, ALTERA_SPI_CONTROL, hw->imr); in altera_spi_txrx()
195 altr_spi_writel(hw, ALTERA_SPI_CONTROL, hw->imr); in altera_spi_irq()
214 altr_spi_writel(hw, ALTERA_SPI_CONTROL, hw->imr); in altera_spi_init_host()
215 altr_spi_writel(hw, ALTERA_SPI_STATUS, 0); /* clear status reg */ in altera_spi_init_host()