/device/google/contexthub/firmware/inc/ |
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) 37 return i2cMasterTxRx(busId, addr, txBuf, txSize, NULL, 0, callback, cookie);} 51 int i2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize,
|
hostIntf_priv.h | 34 int (*txPacket)(const void *txBuf, size_t txSize,
|
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); 352 static inline int eOsI2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize, uint32_t cbkTid, void *cookie) 354 return syscallDo5P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_DRIVERS, SYSCALL_OS_DRV_I2C_SLAVE, SYSCALL_OS_DRV_I2CS_TX_PKT), busId, txBuf, txSize, 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 74 #define SYSCALL_OS_DRV_I2CS_TX_PKT 4 // (I2cBus busId, const void *txBuf, size_t txSize, uint32_t yourTidForEvts, void *cookie) -> int status
|
/device/google/contexthub/firmware/src/ |
hostIntfSpi.c | 72 static int hostIntfSpiTxPacket(const void *txBuf, size_t txSize, 75 ((uint8_t *)txBuf)[txSize] = NANOHUB_PREAMBLE_BYTE; 76 gTxSize = txSize; 80 gPacket.size = txSize + 1;
|
hostIntfI2c.c | 58 static int hostIntfI2cTxPacket(const void *txBuf, size_t txSize, 61 return i2cSlaveTxPacket(gBusId, txBuf, txSize, hostIntfI2cTxCallback,
|
osApi.c | 396 size_t txSize = va_arg(args, size_t); 406 *retValP = i2cMasterTxRx(busId, addr, txBuf, txSize, rxBuf, rxSize, osExpApiI2cInternalCbk, cbkInfo); 466 size_t txSize = va_arg(args, size_t); 474 *retValP = i2cSlaveTxPacket(busId, txBuf, txSize, osExpApiI2cInternalCbk, cbkInfo);
|
/device/google/contexthub/firmware/src/platform/linux/ |
i2c.c | 40 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, 67 int i2cSlaveTxPacket(I2cBus busId, const void *txBuf, size_t txSize, I2cCallbackF callback, void *cookie)
|
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
i2c.c | 221 size_t txSize; 515 state->tx.size = xfer->txSize; 846 const void *txBuf, size_t txSize, void *rxBuf, size_t rxSize, 868 xfer->txSize = txSize; 893 state->tx.size = xfer->txSize; 997 size_t txSize, I2cCallbackF callback, void *cookie) 1014 state->tx.size = txSize; 1038 int i2cSlaveTxPacket(uint32_t busId, const void *txBuf, size_t txSize, 1041 return i2cSlaveTx(busId, txBuf, 0, txSize, callback, cookie) [all...] |
/system/tpm/trunks/ftdi/ |
mpsse.c | 694 int retval = MPSSE_FAIL, buf_size = 0, txsize = 0, n = 0; local 699 txsize = size - n; 700 if (txsize > mpsse->xsize) { 701 txsize = mpsse->xsize; 709 txsize = 1; 712 buf = build_block_buffer(mpsse, mpsse->tx, data + n, txsize, &buf_size); 715 n += txsize;
|
/external/ImageMagick/coders/ |
pict.c | 160 /* 0x0d */ { "TxSize", 2, "text size (word)" }, [all...] |