Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/src/
Dspi.c37 const struct SpiPacket *packets; member
74 return dev->ops->masterRxTx(dev, state->packets[0].rxBuf, in spiMasterStart()
75 state->packets[0].txBuf, state->packets[0].size, mode); in spiMasterStart()
102 void *rxBuf = state->packets[i].rxBuf; in spiMasterNext()
103 const void *txBuf = state->packets[i].txBuf; in spiMasterNext()
104 size_t size = state->packets[i].size; in spiMasterNext()
120 if (state->packets[i].delay > 0) { in spiMasterRxTxDone()
121 if (!timTimerSet(state->packets[i].delay, 0, 50, spiDelayCallback, state, true)) { in spiMasterRxTxDone()
229 void *rxBuf = state->packets[i].rxBuf; in spiSlaveNext()
230 const void *txBuf = state->packets[i].txBuf; in spiSlaveNext()
[all …]
/device/google/contexthub/firmware/inc/
Dspi.h76 const struct SpiPacket packets[], size_t n,
86 const struct SpiPacket packets[], size_t n,
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c365 struct SpiPacket packets[SPI_PACKET_SIZE]; member
646 T(packets[T(mRegCnt)]).size = 2; in spiQueueWrite()
647 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueWrite()
648 T(packets[T(mRegCnt)]).rxBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueWrite()
649 T(packets[T(mRegCnt)]).delay = delay * 1000; in spiQueueWrite()
667 T(packets[T(mRegCnt)]).size = size + 1; // first byte will not contain valid data in spiQueueRead()
668 T(packets[T(mRegCnt)]).txBuf = &T(txrxBuffer[T(mWbufCnt)]); in spiQueueRead()
669 T(packets[T(mRegCnt)]).rxBuf = *buf; in spiQueueRead()
670 T(packets[T(mRegCnt)]).delay = delay * 1000; in spiQueueRead()
697 if (spiMasterRxTx(T(spiDev), T(cs), T(packets), regCount, mode, callback, cookie) < 0) { in spiBatchTxRx()
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini81 # Flags to filter Mcast abd Bcast RX packets.
541 # Bus bandwidth threshold values in terms of number of packets