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()
162 writel(XILSPI_SPICR_DFLT_OFF, &regs->spicr); in xilinx_spi_release_bus()
228 reg = readl(&regs->spicr) & ~SPICR_MASTER_INHIBIT; in xilinx_spi_startup_block()
229 writel(reg, &regs->spicr); in xilinx_spi_startup_block()
283 reg = readl(&regs->spicr) & ~SPICR_MASTER_INHIBIT; in xilinx_spi_xfer()
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()
[all …]