/device/google/contexthub/firmware/inc/ |
D | i2c.h | 32 int i2cMasterTxRx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize, 35 const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie) in i2cMasterTx() argument 37 return i2cMasterTxRx(busId, addr, txBuf, txSize, NULL, 0, callback, cookie);} in i2cMasterTx() 51 int i2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize,
|
D | hostIntf_priv.h | 34 int (*txPacket)(const void *txBuf, size_t txSize,
|
D | syscallDo.h | 306 static inline int eOsI2cMasterTxRx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize,… in eOsI2cMasterTxRx() argument 308 …YSCALL_OS_DRV_I2C_MASTER, SYSCALL_OS_DRV_I2CM_TXRX), busId, addr, txBuf, txSize, rxBuf, rxSize, cb… in eOsI2cMasterTxRx() 331 static inline int eOsI2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize, uint32_t cb… in eOsI2cSlaveTxPacket() argument 333 …VERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_TX_PKT), busId, txBuf, txSize, cbkTid, cookie); in eOsI2cSlaveTxPacket()
|
/device/google/contexthub/firmware/src/ |
D | hostIntfSpi.c | 72 static int hostIntfSpiTxPacket(const void *txBuf, size_t txSize, in hostIntfSpiTxPacket() argument 75 ((uint8_t *)txBuf)[txSize] = NANOHUB_PREAMBLE_BYTE; in hostIntfSpiTxPacket() 76 gTxSize = txSize; in hostIntfSpiTxPacket() 80 gPacket.size = txSize + 1; in hostIntfSpiTxPacket()
|
D | hostIntfI2c.c | 58 static int hostIntfI2cTxPacket(const void *txBuf, size_t txSize, in hostIntfI2cTxPacket() argument 61 return i2cSlaveTxPacket(gBusId, txBuf, txSize, hostIntfI2cTxCallback, in hostIntfI2cTxPacket()
|
D | osApi.c | 376 size_t txSize = va_arg(args, size_t); in osExpApiI2cMstTxRx() local 386 …*retValP = i2cMasterTxRx(busId, addr, txBuf, txSize, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInf… in osExpApiI2cMstTxRx() 446 size_t txSize = va_arg(args, size_t); in osExpApiI2cSlvTxPkt() local 454 *retValP = i2cSlaveTxPacket(busId, txBuf, txSize, osExpApiI2cInternalCbk, cbkInfo); in osExpApiI2cSlvTxPkt()
|
/device/google/contexthub/firmware/src/platform/linux/ |
D | i2c.c | 40 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, in i2cMasterTxRx() argument 67 int i2cSlaveTxPacket(I2cBus busId, const void *txBuf, size_t txSize, I2cCallbackF callback, void *c… in i2cSlaveTxPacket() argument
|
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
D | i2c.c | 221 size_t txSize; member 515 state->tx.size = xfer->txSize; in stmI2cMasterTxRxDone() 846 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, in i2cMasterTxRx() argument 868 xfer->txSize = txSize; in i2cMasterTxRx() 893 state->tx.size = xfer->txSize; in i2cMasterTxRx() 997 size_t txSize, I2cCallbackF callback, void *cookie) in i2cSlaveTx() argument 1014 state->tx.size = txSize; in i2cSlaveTx() 1038 int i2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize, in i2cSlaveTxPacket() argument 1041 return i2cSlaveTx(busId, txBuf, 0, txSize, callback, cookie); in i2cSlaveTxPacket()
|