Searched refs:gBusId (Results 1 - 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/core/
H A DhostIntfI2c.c23 static uint32_t gBusId; variable
32 i2cSlaveTxPreamble(gBusId, NANOHUB_PREAMBLE_BYTE,
40 i2cSlaveTxPreamble(gBusId, NANOHUB_PREAMBLE_BYTE,
47 return i2cSlaveRequest(gBusId, NANOHUB_I2C_SLAVE_ADDRESS);
53 i2cSlaveEnableRx(gBusId, rxBuf, rxSize, hostIntfI2cRxCallback,
61 return i2cSlaveTxPacket(gBusId, txBuf, txSize, hostIntfI2cTxCallback,
67 return i2cSlaveRelease(gBusId);
79 gBusId = busId;
H A DhostIntfSpi.c22 static uint8_t gBusId; variable
53 return spiSlaveRequest(gBusId, &gSpiMode, &gSpi);
100 gBusId = busId;

Completed in 70 milliseconds