Home
last modified time | relevance | path

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

/linux/drivers/spi/
H A Dspi-stm32.c26 #define STM32FX_SPI_CR1 0x00 macro
363 .en = { STM32FX_SPI_CR1, STM32FX_SPI_CR1_SPE },
368 .cpol = { STM32FX_SPI_CR1, STM32FX_SPI_CR1_CPOL },
369 .cpha = { STM32FX_SPI_CR1, STM32FX_SPI_CR1_CPHA },
370 .lsb_first = { STM32FX_SPI_CR1, STM32FX_SPI_CR1_LSBFRST },
372 .br = { STM32FX_SPI_CR1, STM32FX_SPI_CR1_BR, STM32FX_SPI_CR1_BR_SHIFT },
818 if (!(readl_relaxed(spi->base + STM32FX_SPI_CR1) & in stm32fx_spi_disable()
841 stm32_spi_clr_bits(spi, STM32FX_SPI_CR1, STM32FX_SPI_CR1_SPE); in stm32fx_spi_disable()
1534 stm32_spi_set_bits(spi, STM32FX_SPI_CR1, STM32F4_SPI_CR1_DFF); in stm32f4_spi_set_bpw()
1536 stm32_spi_clr_bits(spi, STM32FX_SPI_CR1, STM32F4_SPI_CR1_DFF); in stm32f4_spi_set_bpw()
[all …]