Home
last modified time | relevance | path

Searched defs:busId (Results 1 – 19 of 19) sorted by relevance

/device/google/contexthub/firmware/os/platform/native/
Di2c.c29 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()
Dspi.c25 int spiRequest(struct SpiDevice *dev, uint8_t busId) in spiRequest()
/device/google/contexthub/firmware/os/platform/stm32/
Ddma.c161 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 …]
Di2c.c226 uint8_t busId; /* for us these are both fine in a uint 8 */ member
490 static inline struct StmI2cXfer *stmI2cGetNextPendingXfer(uint8_t busId) in stmI2cGetNextPendingXfer()
791 static int i2cMasterReset(uint32_t busId, uint32_t speed) in i2cMasterReset()
834 int i2cMasterRequest(uint32_t busId, uint32_t speed) in i2cMasterRequest()
881 int i2cMasterRelease(uint32_t busId) in i2cMasterRelease()
910 int i2cMasterTxRx(uint32_t busId, uint32_t addr, in i2cMasterTxRx()
980 int i2cSlaveRequest(uint32_t busId, uint32_t addr) in i2cSlaveRequest()
1008 int i2cSlaveRelease(uint32_t busId) in i2cSlaveRelease()
1032 void i2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, in i2cSlaveEnableRx()
1062 static int i2cSlaveTx(uint32_t busId, const void *txBuf, uint8_t byte, in i2cSlaveTx()
[all …]
Dspi.c607 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/
Di2c.h34 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()
DsyscallDo.h269 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/os/core/
DosApi.c386 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
DhostIntfSpi.c98 const struct HostIntfComm *hostIntfSpiInit(uint8_t busId) in hostIntfSpiInit()
DhostIntfI2c.c77 const struct HostIntfComm *hostIntfI2cInit(uint32_t busId) in hostIntfI2cInit()
Dspi.c287 int spiMasterRequest(uint8_t busId, struct SpiDevice **dev_out) in spiMasterRequest()
350 int spiSlaveRequest(uint8_t busId, const struct SpiMode *mode, in spiSlaveRequest()
/device/google/contexthub/firmware/variant/argonkey/src/os/
Dspi.c55 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()
Di2c.c56 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
/device/google/contexthub/firmware/variant/nucleo/src/os/
Dspi.c55 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()
Di2c.c34 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
/device/google/contexthub/firmware/variant/neonkey/src/os/
Di2c.c45 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
Dspi.c39 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()
/device/google/contexthub/firmware/variant/lunchbox/src/os/
Di2c.c34 const struct StmI2cBoardCfg *boardStmI2cCfg(uint8_t busId) in boardStmI2cCfg()
Dspi.c55 const struct StmSpiBoardCfg *boardStmSpiCfg(uint8_t busId) in boardStmSpiCfg()