/device/google/contexthub/firmware/os/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 | syscallDo.h | 279 static inline int eOsI2cMasterTxRx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize,… in eOsI2cMasterTxRx() argument 281 …YSCALL_OS_DRV_I2C_MASTER, SYSCALL_OS_DRV_I2CM_TXRX), busId, addr, txBuf, txSize, rxBuf, rxSize, cb… in eOsI2cMasterTxRx() 304 static inline int eOsI2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize, uint32_t cb… in eOsI2cSlaveTxPacket() argument 306 …VERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_TX_PKT), busId, txBuf, txSize, cbkTid, cookie); in eOsI2cSlaveTxPacket()
|
D | hostIntf_priv.h | 34 int (*txPacket)(const void *txBuf, size_t txSize,
|
/device/google/contexthub/firmware/os/core/ |
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 | 404 size_t txSize = va_arg(args, size_t); in osExpApiI2cMstTxRx() local 414 …*retValP = i2cMasterTxRx(busId, addr, txBuf, txSize, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInf… in osExpApiI2cMstTxRx() 474 size_t txSize = va_arg(args, size_t); in osExpApiI2cSlvTxPkt() local 482 *retValP = i2cSlaveTxPacket(busId, txBuf, txSize, osExpApiI2cInternalCbk, cbkInfo); in osExpApiI2cSlvTxPkt()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 221 size_t txSize; member 529 state->tx.size = xfer->txSize; in stmI2cMasterTxRxDone() 911 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, in i2cMasterTxRx() argument 933 xfer->txSize = txSize; in i2cMasterTxRx() 959 state->tx.size = xfer->txSize; in i2cMasterTxRx() 1063 size_t txSize, I2cCallbackF callback, void *cookie) in i2cSlaveTx() argument 1080 state->tx.size = txSize; in i2cSlaveTx() 1104 int i2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize, in i2cSlaveTxPacket() argument 1107 return i2cSlaveTx(busId, txBuf, 0, txSize, callback, cookie); in i2cSlaveTxPacket()
|
/device/google/contexthub/firmware/os/platform/native/ |
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/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 340 static bool i2cWrite(struct I2cTransfer *xfer, size_t txSize) in i2cWrite() argument 342 int ret = i2cMasterTx(I2C_BUS_ID, I2C_ADDR, xfer->txrxBuf, txSize, i2cCallback, xfer); in i2cWrite()
|