Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
Dspi.c34 struct SpiDeviceState { struct
50 #define SPI_DEVICE_TO_STATE(p) ((struct SpiDeviceState *)p) argument
52 static void spiMasterNext(struct SpiDeviceState *state);
53 static void spiMasterStop(struct SpiDeviceState *state);
54 static void spiMasterDone(struct SpiDeviceState *state, int err);
56 static void spiSlaveNext(struct SpiDeviceState *state);
57 static void spiSlaveIdle(struct SpiDeviceState *state, int err);
58 static void spiSlaveDone(struct SpiDeviceState *state);
60 static int spiMasterStart(struct SpiDeviceState *state, in spiMasterStart()
80 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); in spi_masterStartAsync_done()
[all …]