/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 | spi_priv.h | 34 int (*masterRxTx)(struct SpiDevice *dev, void *rxBuf, const void *txBuf, 44 int (*slaveRxTx)(struct SpiDevice *dev, void *rxBuf, const void *txBuf,
|
D | hostIntf_priv.h | 33 int (*rxPacket)(void *rxBuf, size_t rxSize, HostIntfCommCallbackF callback);
|
D | syscallDo.h | 279 …Rx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, ui… in eOsI2cMasterTxRx() argument 281 …OS_DRV_I2C_MASTER, SYSCALL_OS_DRV_I2CM_TXRX), busId, addr, txBuf, txSize, rxBuf, rxSize, cbkTid, c… in eOsI2cMasterTxRx() 294 static inline void eOsI2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, uint32_t cbkTid,… in eOsI2cSlaveEnableRx() argument 296 …_OS_DRIVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_RX_EN), busId, rxBuf, rxSize, cbkTid, c… in eOsI2cSlaveEnableRx()
|
D | spi.h | 56 void *rxBuf; member
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntfSpi.c | 56 static int hostIntfSpiRxPacket(void *rxBuf, size_t rxSize, in hostIntfSpiRxPacket() argument 61 gPacket.rxBuf = gRxBuf = rxBuf; in hostIntfSpiRxPacket() 78 gPacket.rxBuf = NULL; in hostIntfSpiTxPacket()
|
D | spi.c | 75 return dev->ops->masterRxTx(dev, state->packets[0].rxBuf, in spiMasterStart() 103 void *rxBuf = state->packets[i].rxBuf; in spiMasterNext() local 108 int err = dev->ops->masterRxTx(dev, rxBuf, txBuf, size, mode); in spiMasterNext() 234 void *rxBuf = state->packets[i].rxBuf; in spiSlaveNext() local 239 int err = dev->ops->slaveRxTx(dev, rxBuf, txBuf, size, mode); in spiSlaveNext() 403 return dev->ops->slaveRxTx(dev, state->packets[0].rxBuf, in spiSlaveRxTx()
|
D | hostIntfI2c.c | 50 static int hostIntfI2cRxPacket(void *rxBuf, size_t rxSize, in hostIntfI2cRxPacket() argument 53 i2cSlaveEnableRx(gBusId, rxBuf, rxSize, hostIntfI2cRxCallback, in hostIntfI2cRxPacket()
|
D | osApi.c | 405 void *rxBuf = va_arg(args, void*); in osExpApiI2cMstTxRx() local 414 …*retValP = i2cMasterTxRx(busId, addr, txBuf, txSize, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInf… in osExpApiI2cMstTxRx() 438 void *rxBuf = va_arg(args, void*); in osExpApiI2cSlvRxEn() local 447 i2cSlaveEnableRx(busId, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInfo); in osExpApiI2cSlvRxEn()
|
/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/platform/stm32/ |
D | spi.c | 323 static int stmSpiRxTx(struct SpiDevice *dev, void *rxBuf, const void *txBuf, in stmSpiRxTx() argument 353 if (!rxBuf && stmSpiIsMaster(pdev)) { in stmSpiRxTx() 354 rxBuf = &state->rxWord; in stmSpiRxTx() 358 if (rxBuf) { in stmSpiRxTx() 359 stmSpiStartDma(pdev, &pdev->board->dmaRx, rxBuf, mode->bitsPerWord, in stmSpiRxTx()
|
D | i2c.c | 222 void *rxBuf; member 532 state->rx.buf = xfer->rxBuf; in stmI2cMasterTxRxDone() 911 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, in i2cMasterTxRx() argument 934 xfer->rxBuf = rxBuf; in i2cMasterTxRx() 962 state->rx.buf = xfer->rxBuf; in i2cMasterTxRx() 1032 void i2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, in i2cSlaveEnableRx() argument 1040 state->rx.buf = rxBuf; in i2cSlaveEnableRx()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 837 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]); 858 T(packets[T(mRegCnt)]).rxBuf = *buf; 3710 uint8_t *rxBuf; local 3722 rxBuf = (uint8_t *)T(packets[reg]).rxBuf + 1; 3724 …err = i2cMasterTxRx(BMI160_I2C_BUS_ID, BMI160_I2C_ADDR, txBuf, 1, rxBuf, size, i2cCallback, evtDat…
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 836 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]); 858 T(packets[T(mRegCnt)]).rxBuf = *buf;
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 1263 T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = *buf; in lsm6dsm_spiQueueRead() 1288 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueWrite() 1315 …T_SLAVE_INTERFACE(packets[T_SLAVE_INTERFACE(mRegCnt)]).rxBuf = &T_SLAVE_INTERFACE(txrxBuffer[T_SLA… in lsm6dsm_spiQueueMultiwrite()
|