Home
last modified time | relevance | path

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

/freebsd/sys/riscv/sifive/
H A Dsifive_spi.c140 #define SFSPI_WRITE(_sc, _reg, _val) \ macro
157 SFSPI_WRITE(sc, SFSPI_REG_TXDATA, val); in sfspi_tx()
216 SFSPI_WRITE(sc, SFSPI_REG_SCKDIV, sckdiv); in sfspi_setup()
234 SFSPI_WRITE(sc, SFSPI_REG_SCKMODE, sckmode); in sfspi_setup()
239 SFSPI_WRITE(sc, SFSPI_REG_CSMODE, csmode); in sfspi_setup()
241 SFSPI_WRITE(sc, SFSPI_REG_CSID, cs & ~SPIBUS_CS_HIGH); in sfspi_setup()
244 SFSPI_WRITE(sc, SFSPI_REG_FMT, fmt); in sfspi_setup()
290 SFSPI_WRITE(sc, SFSPI_REG_CSDEF, csdef); in sfspi_transfer()
291 SFSPI_WRITE(sc, SFSPI_REG_CSDEF, SFSPI_CSDEF_ALL); in sfspi_transfer()
345 SFSPI_WRITE(sc, SFSPI_REG_FCTRL, 0x0); in sfspi_attach()