/device/google/contexthub/firmware/inc/ |
i2c.h | 33 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie); 39 void *rxBuf, size_t rxSize, I2cCallbackF callback, void *cookie) 41 return i2cMasterTxRx(busId, addr, NULL, 0, rxBuf, rxSize, callback, cookie); 47 void i2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize,
|
hostIntf_priv.h | 33 int (*rxPacket)(void *rxBuf, size_t rxSize, HostIntfCommCallbackF callback);
|
syscallDo.h | 327 static inline int eOsI2cMasterTxRx(uint32_t busId, uint32_t addr, const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, uint32_t cbkTid, void *cookie) 329 return syscallDoGeneric(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_MASTER, SYSCALL_OS_DRV_I2CM_TXRX), busId, addr, txBuf, txSize, rxBuf, rxSize, cbkTid, cookie); 342 static inline void eOsI2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, uint32_t cbkTid, void *cookie) 344 syscallDo5P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_RX_EN), busId, rxBuf, rxSize, cbkTid, cookie);
|
osApi.h | 66 #define SYSCALL_OS_DRV_I2CM_TXRX 2 // (I2cBus busId, I2cAddr addr, const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, uint32_t yourTidForEvts, void *cookie) -> int status 72 #define SYSCALL_OS_DRV_I2CS_RX_EN 2 // (I2cBus busId, void *rxBuf, size_t rxSize, uint32_t yourTidForEvts, void *cookie) -> void
|
/device/google/contexthub/firmware/src/platform/linux/ |
i2c.c | 40 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, 56 void i2cSlaveEnableRx(I2cBus busId, void *rxBuf, size_t rxSize,
|
/device/google/contexthub/firmware/src/ |
hostIntfI2c.c | 50 static int hostIntfI2cRxPacket(void *rxBuf, size_t rxSize, 53 i2cSlaveEnableRx(gBusId, rxBuf, rxSize, hostIntfI2cRxCallback,
|
hostIntfSpi.c | 56 static int hostIntfSpiRxPacket(void *rxBuf, size_t rxSize, 63 gPacket.size = rxSize;
|
osApi.c | 398 size_t rxSize = va_arg(args, size_t); 406 *retValP = i2cMasterTxRx(busId, addr, txBuf, txSize, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInfo); 431 size_t rxSize = va_arg(args, size_t); 439 i2cSlaveEnableRx(busId, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInfo);
|
/system/tpm/trunks/ftdi/ |
mpsse.c | 744 int n = 0, rxsize = 0, data_size = 0, retval = 0; local 753 rxsize = size - n; 754 if (rxsize > mpsse->xsize) { 755 rxsize = mpsse->xsize; 758 data = build_block_buffer(mpsse, mpsse->rx, sbuf, rxsize, &data_size); 764 n += raw_read(mpsse, buf + n, rxsize); 871 int n = 0, data_size = 0, rxsize = 0, retval = 0; local 883 rxsize = size - n; 884 if (rxsize > SPI_TRANSFER_SIZE) { 885 rxsize = SPI_TRANSFER_SIZE [all...] |
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
i2c.c | 223 size_t rxSize; 520 state->rx.size = xfer->rxSize; 846 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, 870 xfer->rxSize = rxSize; 898 state->rx.size = xfer->rxSize; 966 void i2cSlaveEnableRx(uint32_t busId, void *rxBuf, size_t rxSize, 976 state->rx.size = rxSize;
|
/prebuilts/go/darwin-x86/src/runtime/ |
os1_darwin.go | 199 func machcall(h *machheader, maxsize int32, rxsize int32) int32 { 265 if h.msgh_size != uint32(rxsize) { 267 print("mach_msg _MachReply size mismatch ", h.msgh_size, " != ", rxsize, "\n")
|
/prebuilts/go/linux-x86/src/runtime/ |
os1_darwin.go | 199 func machcall(h *machheader, maxsize int32, rxsize int32) int32 { 265 if h.msgh_size != uint32(rxsize) { 267 print("mach_msg _MachReply size mismatch ", h.msgh_size, " != ", rxsize, "\n")
|