/device/google/contexthub/firmware/os/inc/ |
D | i2c.h | 33 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie); 39 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie) in i2cMasterRx() argument 41 return i2cMasterTxRx(busId, addr, NULL, 0, rxBuf, rxSize, callback, cookie); in i2cMasterRx() 47 void i2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize,
|
D | hostIntf_priv.h | 33 int (*rxPacket)(void *rxBuf, size_t rxSize, HostIntfCommCallbackF callback);
|
D | syscallDo.h | 279 …Id, uint32_t addr, const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, uint32_t cbkTid, … in eOsI2cMasterTxRx() argument 281 …_I2C_MASTER, SYSCALL_OS_DRV_I2CM_TXRX), busId, addr, txBuf, txSize, rxBuf, rxSize, cbkTid, cookie); in eOsI2cMasterTxRx() 294 static inline void eOsI2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, uint32_t cbkTid,… in eOsI2cSlaveEnableRx() argument 296 …IVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_RX_EN), busId, rxBuf, rxSize, cbkTid, cookie); in eOsI2cSlaveEnableRx()
|
/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 56 void i2cSlaveEnableRx(I2cBus busId, void *rxBuf, size_t rxSize, in i2cSlaveEnableRx() argument
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntfI2c.c | 50 static int hostIntfI2cRxPacket(void *rxBuf, size_t rxSize, in hostIntfI2cRxPacket() argument 53 i2cSlaveEnableRx(gBusId, rxBuf, rxSize, hostIntfI2cRxCallback, in hostIntfI2cRxPacket()
|
D | hostIntfSpi.c | 56 static int hostIntfSpiRxPacket(void *rxBuf, size_t rxSize, in hostIntfSpiRxPacket() argument 63 gPacket.size = rxSize; in hostIntfSpiRxPacket()
|
D | osApi.c | 406 size_t rxSize = va_arg(args, size_t); in osExpApiI2cMstTxRx() local 414 …*retValP = i2cMasterTxRx(busId, addr, txBuf, txSize, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInf… in osExpApiI2cMstTxRx() 439 size_t rxSize = va_arg(args, size_t); in osExpApiI2cSlvRxEn() local 447 i2cSlaveEnableRx(busId, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInfo); in osExpApiI2cSlvRxEn()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 223 size_t rxSize; member 534 state->rx.size = xfer->rxSize; in stmI2cMasterTxRxDone() 911 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, in i2cMasterTxRx() argument 935 xfer->rxSize = rxSize; in i2cMasterTxRx() 964 state->rx.size = xfer->rxSize; in i2cMasterTxRx() 1032 void i2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, in i2cSlaveEnableRx() argument 1042 state->rx.size = rxSize; in i2cSlaveEnableRx()
|