Home
last modified time | relevance | path

Searched refs:tx (Results 1 – 16 of 16) sorted by relevance

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Di2c.c144 } rx, tx; member
354 static inline void stmI2cInvokeRxCallback(struct I2cStmState *state, size_t tx, size_t rx, int err) in stmI2cInvokeRxCallback() argument
357 state->rx.callback(state->rx.cookie, tx, rx, err); in stmI2cInvokeRxCallback()
361 static inline void stmI2cInvokeTxCallback(struct I2cStmState *state, size_t tx, size_t rx, int err) in stmI2cInvokeTxCallback() argument
364 state->tx.callback(state->tx.cookie, tx, rx, err); in stmI2cInvokeTxCallback()
380 size_t txOffst = state->tx.offset; in stmI2cSlaveTxDone()
391 if (state->tx.preamble) { in stmI2cSlaveTxNextByte()
392 regs->DR = state->tx.byte; in stmI2cSlaveTxNextByte()
393 state->tx.offset++; in stmI2cSlaveTxNextByte()
394 } else if (state->tx.offset < state->tx.size) { in stmI2cSlaveTxNextByte()
[all …]
DhostIntf.c29 enum IRQn rx, tx; in platHostIntfInit() local
40 tx = spiTxIrq(PLATFORM_HOST_INTF_SPI_BUS); in platHostIntfInit()
52 priority = NVIC_GetPriority(tx); in platHostIntfInit()
56 NVIC_SetPriority(tx, NVIC_EncodePriority(priorityGroup, preemptPriority, subPriority)); in platHostIntfInit()
Dusart.c102 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/src/
DhostIntfI2c.c25 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()
DnanohubCommand.c118 static uint32_t getOsHwVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getOsHwVersion() argument
120 struct NanohubOsHwVersionsResponse *resp = tx; in getOsHwVersion()
130 static uint32_t getAppVersion(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in getAppVersion() argument
133 struct NanohubAppVersionsResponse *resp = tx; in getAppVersion()
144 static uint32_t queryAppInfo(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in queryAppInfo() argument
147 struct NanohubAppInfoResponse *resp = tx; in queryAppInfo()
299 static uint32_t startFirmwareUpload(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in startFirmwareUpload() argument
302 struct NanohubStartFirmwareUploadResponse *resp = tx; in startFirmwareUpload()
576 static uint32_t firmwareChunk(void *rx, uint8_t rx_len, void *tx, uint64_t timestamp) in firmwareChunk() argument
579 struct NanohubFirmwareChunkResponse *resp = tx; in firmwareChunk()
[all …]
DhostIntf.c169 static void hostIntfTxAckDone(size_t tx, int err);
172 static void hostIntfTxPayloadDone(size_t tx, int err);
296 static inline bool hostIntfTxPacketDone(int err, size_t tx, in hostIntfTxPacketDone() argument
299 if (!err && tx < mTxSize) { in hostIntfTxPacketDone()
300 mTxSize -= tx; in hostIntfTxPacketDone()
301 mTxBufPtr += tx; in hostIntfTxPacketDone()
439 static void hostIntfTxAckDone(size_t tx, int err) in hostIntfTxAckDone() argument
441 hostIntfTxPacketDone(err, tx, hostIntfTxAckDone); in hostIntfTxAckDone()
475 static void hostIntfTxPayloadDone(size_t tx, int err) in hostIntfTxPayloadDone() argument
477 bool done = hostIntfTxPacketDone(err, tx, hostIntfTxPayloadDone); in hostIntfTxPayloadDone()
DosApi.c275 static void osExpApiI2cInternalCbk(void *cookie, size_t tx, size_t rx, int err) in osExpApiI2cInternalCbk() argument
285 thing->i2cAppCbkEvt.tx = tx; in osExpApiI2cInternalCbk()
/device/google/contexthub/lib/libm/
Def_rem_pio2.c106 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/google/contexthub/firmware/inc/platform/stm32f4xx/
Dusart.h29 struct Gpio *tx; member
/device/google/contexthub/firmware/inc/
DosApi.h26 uint32_t tx; member
Di2c.h28 typedef void (*I2cCallbackF)(void *cookie, size_t tx, size_t rx, int err);
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/
Dbosch_bmp280.c145 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument
/device/google/contexthub/firmware/src/drivers/rohm_rpr0521/
Drohm_rpr0521.c272 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument
/device/google/contexthub/firmware/src/drivers/ams_tmd2772/
Dams_tmd2772.c198 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/
Dams_tmd4903.c294 static void i2cCallback(void *cookie, size_t tx, size_t rx, int err) in i2cCallback() argument
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini411 # 1=enable tx STBC; 0=disable