/device/google/contexthub/firmware/os/platform/stm32/ |
D | i2c.c | 145 } rx, tx; member 357 static inline void stmI2cInvokeRxCallback(struct I2cStmState *state, size_t tx, size_t rx, int err) in stmI2cInvokeRxCallback() argument 360 state->rx.callback(state->rx.cookie, tx, rx, err); in stmI2cInvokeRxCallback() 364 static inline void stmI2cInvokeTxCallback(struct I2cStmState *state, size_t tx, size_t rx, int err) in stmI2cInvokeTxCallback() argument 367 state->tx.callback(state->tx.cookie, tx, rx, err); in stmI2cInvokeTxCallback() 383 size_t txOffst = state->tx.offset; in stmI2cSlaveTxDone() 394 if (state->tx.preamble) { in stmI2cSlaveTxNextByte() 395 regs->DR = state->tx.byte; in stmI2cSlaveTxNextByte() 396 state->tx.offset++; in stmI2cSlaveTxNextByte() 397 } else if (state->tx.offset < state->tx.size) { in stmI2cSlaveTxNextByte() [all …]
|
D | hostIntf.c | 47 enum IRQn rx, tx; in platHostIntfInit() local 58 tx = spiTxIrq(PLATFORM_HOST_INTF_SPI_BUS); in platHostIntfInit() 70 priority = NVIC_GetPriority(tx); in platHostIntfInit() 74 NVIC_SetPriority(tx, NVIC_EncodePriority(priorityGroup, preemptPriority, subPriority)); in platHostIntfInit()
|
D | usart.c | 102 usart->tx = gpioRequest(txGpioNum); /* tx */ in usartOpen() 103 gpioConfigAlt(usart->tx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); in usartOpen() 144 gpioRelease(usart->tx); in usartClose()
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntfI2c.c | 25 static void hostIntfI2cPreambleCallback(void *cookie, size_t tx, size_t rx, int err) in hostIntfI2cPreambleCallback() argument 29 static void hostIntfI2cRxCallback(void *cookie, size_t tx, size_t rx, int err) in hostIntfI2cRxCallback() argument 37 static void hostIntfI2cTxCallback(void *cookie, size_t tx, size_t rx, int err) in hostIntfI2cTxCallback() argument 42 callback(tx, err); in hostIntfI2cTxCallback()
|
D | nanohubCommand.c | 135 static uint32_t getOsHwVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getOsHwVersion() argument 137 struct NanohubOsHwVersionsResponse *resp = tx; in getOsHwVersion() 147 static uint32_t getAppVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getAppVersion() argument 150 struct NanohubAppVersionsResponse *resp = tx; in getAppVersion() 161 static uint32_t queryAppInfo(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in queryAppInfo() argument 164 struct NanohubAppInfoResponse *resp = tx; in queryAppInfo() 319 static uint32_t startFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in startFirmwareUpload() argument 322 struct NanohubStartFirmwareUploadResponse *resp = tx; in startFirmwareUpload() 632 static uint32_t firmwareChunk(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in firmwareChunk() argument 635 struct NanohubFirmwareChunkResponse *resp = tx; in firmwareChunk() [all …]
|
D | hostIntf.c | 185 static void hostIntfTxAckDone(size_t tx, int err); 188 static void hostIntfTxPayloadDone(size_t tx, int err); 328 static inline bool hostIntfTxPacketDone(int err, size_t tx, in hostIntfTxPacketDone() argument 331 if (!err && tx < mTxSize) { in hostIntfTxPacketDone() 332 mTxSize -= tx; in hostIntfTxPacketDone() 333 mTxBufPtr += tx; in hostIntfTxPacketDone() 474 static void hostIntfTxAckDone(size_t tx, int err) in hostIntfTxAckDone() argument 476 hostIntfTxPacketDone(err, tx, hostIntfTxAckDone); in hostIntfTxAckDone() 515 static void hostIntfTxPayloadDone(size_t tx, int err) in hostIntfTxPayloadDone() argument 517 bool done = hostIntfTxPacketDone(err, tx, hostIntfTxPayloadDone); in hostIntfTxPayloadDone()
|
D | osApi.c | 303 static void osExpApiI2cInternalCbk(void *cookie, size_t tx, size_t rx, int err) in osExpApiI2cInternalCbk() argument 313 thing->i2cAppCbkEvt.tx = tx; in osExpApiI2cInternalCbk()
|
/device/google/contexthub/firmware/lib/libm/ |
D | ef_rem_pio2.c | 106 float tx[3]; local 184 tx[i] = (float)((__int32_t)(z)); 185 z = (z-tx[i])*two8; 187 tx[2] = z; 189 while(tx[nx-1]==zero) nx--; /* skip zero term */ 190 n = __kernel_rem_pio2f(tx,y,e0,nx,2,two_over_pi);
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/ |
D | gdbstub.c | 171 volatile struct ring * const tx = (void *)DEBUG_TX_BASE; variable 176 tx->head = tx->tail = 0; in init_debug_comm() 179 GDB_FLUSH(&tx->head); in init_debug_comm() 180 GDB_FLUSH(&tx->tail); in init_debug_comm() 196 while (!ring_have_space(tx)) in putDebugChar() 199 tx->data[tx->head] = c; in putDebugChar() 202 GDB_FLUSH(&tx->data[tx->head]); in putDebugChar() 204 tx->head = ring_next_head(tx); in putDebugChar() 207 GDB_FLUSH(&tx->head); in putDebugChar()
|
/device/google/contexthub/firmware/os/drivers/leds/ |
D | leds_lp3943.c | 90 size_t tx; member 112 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 116 xfer->tx = tx; in i2cCallback() 122 osLog(LOG_INFO, "[LP3943] i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/ |
D | isl29034.c | 125 size_t tx; member 169 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 173 xfer->tx = tx; in i2cCallback() 179 INFO_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 118 size_t tx; member 187 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 191 xfer->tx = tx; in i2cCallback() 199 DEBUG_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback() 201 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 138 size_t tx; member 211 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 215 xfer->tx = tx; in i2cCallback() 221 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 111 size_t tx; member 164 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 168 xfer->tx = tx; in i2cCallback() 174 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 198 size_t tx; member 326 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err); 333 i2cCallback((void *)xfer, xfer->tx, xfer->rx, xfer->err); in i2cDelayCallback() 336 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 348 xfer->tx = tx; in i2cCallback() 362 xfer->tx = tx; in i2cCallback() 368 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/ |
D | usart.h | 29 struct Gpio *tx; member
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 106 size_t tx; member 182 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err); 253 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 257 xfer->tx = tx; in i2cCallback() 263 osLog(LOG_INFO, "[BMP280] i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 220 size_t tx; member 575 static void st_acc44_i2cCallback(void *cookie, size_t tx, size_t rx, int err) in st_acc44_i2cCallback() argument 585 xfer->tx = tx; in st_acc44_i2cCallback() 591 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in st_acc44_i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 146 size_t tx; member 235 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 239 xfer->tx = tx; in i2cCallback() 245 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 215 size_t tx; member 299 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 303 xfer->tx = tx; in i2cCallback() 309 ERROR_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 148 size_t tx; member 217 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 221 xfer->tx = tx; in i2cCallback() 227 osLog(LOG_INFO, DRIVER_NAME "i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/contexthub/firmware/os/inc/ |
D | i2c.h | 28 typedef void (*I2cCallbackF)(void *cookie, size_t tx, size_t rx, int err);
|
D | seos_priv.h | 79 uint32_t tx; member
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 216 size_t tx; member 277 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err); 369 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument 373 xfer->tx = tx; in i2cCallback() 379 INFO_PRINT("i2c error (tx: %d, rx: %d, err: %d)\n", tx, rx, err); in i2cCallback()
|
/device/google/bonito/ |
D | WCNSS_qcom_cfg.ini | 37 # 1=enable tx STBC; 0=disable 535 # configure tx and rx per band chain mask. These parameters will
|