Searched refs:gBusId (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/src/ |
D | hostIntfI2c.c | 23 static uint32_t gBusId; variable 32 i2cSlaveTxPreamble(gBusId, NANOHUB_PREAMBLE_BYTE, in hostIntfI2cRxCallback() 40 i2cSlaveTxPreamble(gBusId, NANOHUB_PREAMBLE_BYTE, in hostIntfI2cTxCallback() 47 return i2cSlaveRequest(gBusId, NANOHUB_I2C_SLAVE_ADDRESS); in hostIntfI2cRequest() 53 i2cSlaveEnableRx(gBusId, rxBuf, rxSize, hostIntfI2cRxCallback, in hostIntfI2cRxPacket() 61 return i2cSlaveTxPacket(gBusId, txBuf, txSize, hostIntfI2cTxCallback, in hostIntfI2cTxPacket() 67 return i2cSlaveRelease(gBusId); in hostIntfI2cRelease() 79 gBusId = busId; in hostIntfI2cInit()
|
D | hostIntfSpi.c | 22 static uint8_t gBusId; variable 53 return spiSlaveRequest(gBusId, &gSpiMode, &gSpi); in hostIntfSpiRequest() 100 gBusId = busId; in hostIntfSpiInit()
|