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