Home
last modified time | relevance | path

Searched refs:rxBuf (Results 1 – 15 of 15) sorted by relevance

/device/google/contexthub/firmware/os/inc/
Di2c.h33 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,
Dspi_priv.h34 int (*masterRxTx)(struct SpiDevice *dev, void *rxBuf, const void *txBuf,
44 int (*slaveRxTx)(struct SpiDevice *dev, void *rxBuf, const void *txBuf,
DhostIntf_priv.h33 int (*rxPacket)(void *rxBuf, size_t rxSize, HostIntfCommCallbackF callback);
DsyscallDo.h279 …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()
Dspi.h56 void *rxBuf; member
/device/google/contexthub/firmware/os/core/
DhostIntfSpi.c56 static int hostIntfSpiRxPacket(void *rxBuf, size_t rxSize, in hostIntfSpiRxPacket() argument
61 gPacket.rxBuf = gRxBuf = rxBuf; in hostIntfSpiRxPacket()
78 gPacket.rxBuf = NULL; in hostIntfSpiTxPacket()
Dspi.c75 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()
DhostIntfI2c.c50 static int hostIntfI2cRxPacket(void *rxBuf, size_t rxSize, in hostIntfI2cRxPacket() argument
53 i2cSlaveEnableRx(gBusId, rxBuf, rxSize, hostIntfI2cRxCallback, in hostIntfI2cRxPacket()
DosApi.c405 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/
Di2c.c40 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/
Dspi.c323 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()
Di2c.c222 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/
Dbosch_bmi160.c837 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/
Dinvensense_icm40600.c836 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]);
858 T(packets[T(mRegCnt)]).rxBuf = *buf;
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c1263 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()