Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/spi/
H A Dxilinx_spi.c93 u32 spicr; /* SPI Control Register (SPICR) */ member
150 writel(XILSPI_SPICR_DFLT_ON, &regs->spicr); in xilinx_spi_claim_bus()
229 writel(reg, &regs->spicr); in xilinx_spi_startup_block()
284 writel(reg, &regs->spicr); in xilinx_spi_xfer()
327 uint32_t spicr; in xilinx_spi_set_mode() local
329 spicr = readl(&regs->spicr); in xilinx_spi_set_mode()
331 spicr |= SPICR_LSB_FIRST; in xilinx_spi_set_mode()
333 spicr |= SPICR_CPHA; in xilinx_spi_set_mode()
335 spicr |= SPICR_CPOL; in xilinx_spi_set_mode()
337 spicr |= SPICR_LOOP; in xilinx_spi_set_mode()
[all …]