/device/google/contexthub/firmware/os/platform/native/ |
D | i2c.c | 29 int i2cMasterRequest(I2cBus busId, I2cSpeed speed) in i2cMasterRequest() 34 int i2cMasterRelease(I2cBus busId) in i2cMasterRelease() 39 int i2cMasterTxRx(I2cBus busId, I2cAddr addr, in i2cMasterTxRx() 46 int i2cSlaveRequest(I2cBus busId, I2cAddr addr) in i2cSlaveRequest() 51 int i2cSlaveRelease(I2cBus busId) in i2cSlaveRelease() 56 void i2cSlaveEnableRx(I2cBus busId, void *rxBuf, size_t rxSize, in i2cSlaveEnableRx() 62 int i2cSlaveTxPreamble(I2cBus busId, uint8_t byte, I2cCallbackF callback, void *cookie) in i2cSlaveTxPreamble() 67 int i2cSlaveTxPacket(I2cBus busId, const void *txBuf, size_t txSize, I2cCallbackF callback, void *c… in i2cSlaveTxPacket()
|
D | spi.c | 25 int spiRequest(struct SpiDevice *dev, uint8_t busId) in spiRequest()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | dma.c | 161 static inline struct StmDmaStreamState *dmaGetStreamState(uint8_t busId, in dmaGetStreamState() 167 static inline struct StmDmaStreamRegs *dmaGetStreamRegs(uint8_t busId, in dmaGetStreamRegs() 175 static inline uint8_t dmaGetIsr(uint8_t busId, uint8_t stream) in dmaGetIsr() 184 static inline void dmaClearIsr(uint8_t busId, uint8_t stream, uint8_t mask) in dmaClearIsr() 193 static void dmaIsrTeif(uint8_t busId, uint8_t stream) in dmaIsrTeif() 206 static void dmaIsrTcif(uint8_t busId, uint8_t stream) in dmaIsrTcif() 219 static void dmaIsr(uint8_t busId, uint8_t stream) in dmaIsr() 238 int dmaStart(uint8_t busId, uint8_t stream, const void *buf, uint16_t size, in dmaStart() 277 uint16_t dmaBytesLeft(uint8_t busId, uint8_t stream) in dmaBytesLeft() 283 void dmaStop(uint8_t busId, uint8_t stream) in dmaStop() [all …]
|
D | i2c.c | 227 uint8_t busId; /* for us these are both fine in a uint 8 */ member 781 static int i2cMasterReset(uint32_t busId, uint32_t speed) in i2cMasterReset() 824 int i2cMasterRequest(uint32_t busId, uint32_t speed) in i2cMasterRequest() 872 int i2cMasterRelease(uint32_t busId) in i2cMasterRelease() 901 int i2cMasterTxRx(uint32_t busId, uint32_t addr, in i2cMasterTxRx() 971 int i2cSlaveRequest(uint32_t busId, uint32_t addr) in i2cSlaveRequest() 999 int i2cSlaveRelease(uint32_t busId) in i2cSlaveRelease() 1023 void i2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, in i2cSlaveEnableRx() 1053 static int i2cSlaveTx(uint32_t busId, const void *txBuf, uint8_t byte, in i2cSlaveTx() 1089 int i2cSlaveTxPreamble(uint32_t busId, uint8_t byte, I2cCallbackF callback, in i2cSlaveTxPreamble() [all …]
|
D | spi.c | 607 int spiRequest(struct SpiDevice *dev, uint8_t busId) in spiRequest() 627 const enum IRQn spiRxIrq(uint8_t busId) in spiRxIrq() 637 const enum IRQn spiTxIrq(uint8_t busId) in spiTxIrq()
|
/device/google/contexthub/firmware/os/inc/ |
D | i2c.h | 34 static inline int i2cMasterTx(uint32_t busId, uint32_t addr, in i2cMasterTx() 38 static inline int i2cMasterRx(uint32_t busId, uint32_t addr, in i2cMasterRx()
|
D | syscallDo.h | 269 static inline int eOsI2cMasterRequest(uint32_t busId, uint32_t speedInHz) in eOsI2cMasterRequest() 274 static inline int eOsI2cMasterRelease(uint32_t busId) in eOsI2cMasterRelease() 279 static inline int eOsI2cMasterTxRx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize,… in eOsI2cMasterTxRx() 284 static inline int eOsI2cSlaveRequest(uint32_t busId, uint32_t addr) in eOsI2cSlaveRequest() 289 static inline int eOsI2cSlaveRelease(uint32_t busId) in eOsI2cSlaveRelease() 294 static inline void eOsI2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, uint32_t cbkTid,… in eOsI2cSlaveEnableRx() 299 static inline int eOsI2cSlaveTxPreamble(uint32_t busId, uint8_t byte, uint32_t cbkTid, void *cookie) in eOsI2cSlaveTxPreamble() 304 static inline int eOsI2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize, uint32_t cb… in eOsI2cSlaveTxPacket()
|
/device/google/contexthub/firmware/variant/neonkey/src/os/ |
D | i2c.c | 45 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
|
D | spi.c | 39 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()
|
/device/google/contexthub/firmware/variant/lunchbox/src/os/ |
D | spi.c | 55 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()
|
D | i2c.c | 34 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
|
/device/google/contexthub/firmware/variant/argonkey/src/os/ |
D | spi.c | 55 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()
|
D | i2c.c | 56 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
|
/device/google/contexthub/firmware/variant/nucleo/src/os/ |
D | i2c.c | 34 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
|
D | spi.c | 55 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()
|
/device/google/contexthub/firmware/os/core/ |
D | osApi.c | 386 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cMstReq() local 394 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cMstRel() local 401 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cMstTxRx() local 422 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cSlvReq() local 430 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cSlvRel() local 437 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cSlvRxEn() local 455 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cSlvTxPre() local 472 uint32_t busId = va_arg(args, uint32_t); in osExpApiI2cSlvTxPkt() local
|
D | hostIntfSpi.c | 98 const struct HostIntfComm *hostIntfSpiInit(uint8_t busId) in hostIntfSpiInit()
|
D | hostIntfI2c.c | 77 const struct HostIntfComm *hostIntfI2cInit(uint32_t busId) in hostIntfI2cInit()
|
D | spi.c | 287 int spiMasterRequest(uint8_t busId, struct SpiDevice **dev_out) in spiMasterRequest() 350 int spiSlaveRequest(uint8_t busId, const struct SpiMode *mode, in spiSlaveRequest()
|