Lines Matching defs:SpiDevice_ops
28 struct SpiDevice_ops { struct
29 int (*masterStartSync)(struct SpiDevice *dev, spi_cs_t cs,
31 int (*masterStartAsync)(struct SpiDevice *dev, spi_cs_t cs,
34 int (*masterRxTx)(struct SpiDevice *dev, void *rxBuf, const void *txBuf,
37 int (*masterStopSync)(struct SpiDevice *dev);
38 int (*masterStopAsync)(struct SpiDevice *dev);
40 int (*slaveStartSync)(struct SpiDevice *dev, const struct SpiMode *mode);
41 int (*slaveStartAsync)(struct SpiDevice *dev, const struct SpiMode *mode);
43 int (*slaveIdle)(struct SpiDevice *dev, const struct SpiMode *mode);
44 int (*slaveRxTx)(struct SpiDevice *dev, void *rxBuf, const void *txBuf,
47 void (*slaveSetCsInterrupt)(struct SpiDevice *dev, bool enabled);
48 bool (*slaveCsIsActive)(struct SpiDevice *dev);
50 int (*slaveStopSync)(struct SpiDevice *dev);
51 int (*slaveStopAsync)(struct SpiDevice *dev);
53 int (*release)(struct SpiDevice *dev);