Searched refs:SpiDevice (Results 1 – 9 of 9) sorted by relevance
/device/google/contexthub/firmware/os/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/os/core/ |
D | spi.c | 35 struct SpiDevice dev; 64 struct SpiDevice *dev = &state->dev; in spiMasterStart() 79 void spi_masterStartAsync_done(struct SpiDevice *dev, int err) in spi_masterStartAsync_done() 95 struct SpiDevice *dev = &state->dev; in spiMasterNext() 113 void spiMasterRxTxDone(struct SpiDevice *dev, int err) in spiMasterRxTxDone() 134 struct SpiDevice *dev = &state->dev; in spiMasterStop() 148 void spiMasterStopAsyncDone(struct SpiDevice *dev, int err) in spiMasterStopAsyncDone() 167 struct SpiDevice *dev = &state->dev; in spiSlaveStart() 181 void spiSlaveStartAsyncDone(struct SpiDevice *dev, int err) in spiSlaveStartAsyncDone() 191 void spiSlaveRxTxDone(struct SpiDevice *dev, int err) in spiSlaveRxTxDone() [all …]
|
D | hostIntfSpi.c | 23 static struct SpiDevice *gSpi;
|
/device/google/contexthub/firmware/os/platform/stm32/ |
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/os/platform/native/ |
D | spi.c | 25 int spiRequest(struct SpiDevice *dev, uint8_t busId) in spiRequest()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 618 struct SpiDevice *spiDev;
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 511 struct SpiDevice *spiDev;
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 620 struct SpiDevice *spiDev;
|