Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DhostIntfSpi.c28 static struct SpiPacket gPacket; variable
61 gPacket.rxBuf = gRxBuf = rxBuf; in hostIntfSpiRxPacket()
62 gPacket.txBuf = NULL; in hostIntfSpiRxPacket()
63 gPacket.size = rxSize; in hostIntfSpiRxPacket()
65 err = spiSlaveRxTx(gSpi, &gPacket, 1, hostIntfSpiRxCallback, callback); in hostIntfSpiRxPacket()
78 gPacket.rxBuf = NULL; in hostIntfSpiTxPacket()
79 gPacket.txBuf = txBuf; in hostIntfSpiTxPacket()
80 gPacket.size = txSize + 1; in hostIntfSpiTxPacket()
82 return spiSlaveRxTx(gSpi, &gPacket, 1, hostIntfSpiTxCallback, in hostIntfSpiTxPacket()