Lines Matching refs:spi_softc
121 struct spi_softc { struct
153 RD4(struct spi_softc *sc, bus_size_t offset) in RD4() argument
160 WR4(struct spi_softc *sc, bus_size_t offset, uint32_t value) in WR4()
167 spi_calc_clockdiv(struct spi_softc *sc, u_int busfreq) in spi_calc_clockdiv()
201 spi_set_chipsel(struct spi_softc *sc, u_int cs, bool active) in spi_set_chipsel()
229 spi_hw_setup(struct spi_softc *sc, u_int cs, u_int mode, u_int freq) in spi_hw_setup()
273 spi_empty_rxfifo(struct spi_softc *sc) in spi_empty_rxfifo()
283 spi_fill_txfifo(struct spi_softc *sc) in spi_fill_txfifo()
302 struct spi_softc *sc = arg; in spi_intr()
372 spi_xfer_buf(struct spi_softc *sc, void *rxbuf, void *txbuf, uint32_t len) in spi_xfer_buf()
410 struct spi_softc *sc = device_get_softc(dev); in spi_transfer()
470 struct spi_softc *sc = device_get_softc(dev); in spi_detach()
496 struct spi_softc *sc = device_get_softc(dev); in spi_attach()
599 sizeof(struct spi_softc),