Home
last modified time | relevance | path

Searched refs:txSize (Results 1 – 8 of 8) sorted by relevance

/device/google/contexthub/firmware/inc/
Di2c.h32 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,
DhostIntf_priv.h34 int (*txPacket)(const void *txBuf, size_t txSize,
DsyscallDo.h306 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/
DhostIntfSpi.c72 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()
DhostIntfI2c.c58 static int hostIntfI2cTxPacket(const void *txBuf, size_t txSize, in hostIntfI2cTxPacket() argument
61 return i2cSlaveTxPacket(gBusId, txBuf, txSize, hostIntfI2cTxCallback, in hostIntfI2cTxPacket()
DosApi.c376 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/
Di2c.c40 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/
Di2c.c221 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()