Searched refs:SpiDevice (Results 1 – 7 of 7) sorted by relevance
/device/google/contexthub/firmware/inc/ |
D | spi_priv.h | 23 struct SpiDevice { struct 29 int (*masterStartSync)(struct SpiDevice *dev, spi_cs_t cs, argument 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, [all …]
|
D | spi.h | 24 struct SpiDevice; 73 int spiMasterRequest(uint8_t busId, struct SpiDevice **dev); 75 int spiMasterRxTx(struct SpiDevice *dev, spi_cs_t cs, 80 int spiMasterRelease(struct SpiDevice *dev); 83 struct SpiDevice **dev); 85 int spiSlaveRxTx(struct SpiDevice *dev, 89 int spiSlaveWaitForInactive(struct SpiDevice *dev, SpiCbkF callback, 92 int spiSlaveRelease(struct SpiDevice *dev);
|
/device/google/contexthub/firmware/src/ |
D | spi.c | 35 struct SpiDevice dev; 63 struct SpiDevice *dev = &state->dev; in spiMasterStart() 78 void spi_masterStartAsync_done(struct SpiDevice *dev, int err) in spi_masterStartAsync_done() 94 struct SpiDevice *dev = &state->dev; in spiMasterNext() 112 void spiMasterRxTxDone(struct SpiDevice *dev, int err) in spiMasterRxTxDone() 133 struct SpiDevice *dev = &state->dev; in spiMasterStop() 147 void spiMasterStopAsyncDone(struct SpiDevice *dev, int err) in spiMasterStopAsyncDone() 164 struct SpiDevice *dev = &state->dev; in spiSlaveStart() 178 void spiSlaveStartAsyncDone(struct SpiDevice *dev, int err) in spiSlaveStartAsyncDone() 188 void spiSlaveRxTxDone(struct SpiDevice *dev, int err) in spiSlaveRxTxDone() [all …]
|
D | hostIntfSpi.c | 23 static struct SpiDevice *gSpi;
|
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
D | spi.c | 107 struct SpiDevice *base; 229 static int stmSpiMasterStartSync(struct SpiDevice *dev, spi_cs_t cs, in stmSpiMasterStartSync() 250 static int stmSpiSlaveStartSync(struct SpiDevice *dev, in stmSpiSlaveStartSync() 323 static int stmSpiRxTx(struct SpiDevice *dev, void *rxBuf, const void *txBuf, in stmSpiRxTx() 399 static int stmSpiSlaveIdle(struct SpiDevice *dev, const struct SpiMode *mode) in stmSpiSlaveIdle() 415 static inline void stmSpiDisable(struct SpiDevice *dev, bool master) in stmSpiDisable() 432 static int stmSpiMasterStopSync(struct SpiDevice *dev) in stmSpiMasterStopSync() 446 static int stmSpiSlaveStopSync(struct SpiDevice *dev) in stmSpiSlaveStopSync() 472 static void stmSpiSlaveSetCsInterrupt(struct SpiDevice *dev, bool enabled) in stmSpiSlaveSetCsInterrupt() 492 static bool stmSpiSlaveCsIsActive(struct SpiDevice *dev) in stmSpiSlaveCsIsActive() [all …]
|
/device/google/contexthub/firmware/src/platform/linux/ |
D | spi.c | 25 int spiRequest(struct SpiDevice *dev, uint8_t busId) in spiRequest()
|
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 366 struct SpiDevice *spiDev;
|