Home
last modified time | relevance | path

Searched defs:state (Results 1 – 25 of 113) sorted by relevance

12345

/device/google/contexthub/firmware/os/core/
Dspi.c61 static int spiMasterStart(struct SpiDeviceState *state, in spiMasterStart()
81 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); in spi_masterStartAsync_done() local
93 static void spiMasterNext(struct SpiDeviceState *state) in spiMasterNext()
115 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); in spiMasterRxTxDone() local
132 static void spiMasterStop(struct SpiDeviceState *state) in spiMasterStop()
150 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); in spiMasterStopAsyncDone() local
154 static void spiMasterDone(struct SpiDeviceState *state, int err) in spiMasterDone()
164 static int spiSlaveStart(struct SpiDeviceState *state, in spiSlaveStart()
183 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); in spiSlaveStartAsyncDone() local
193 struct SpiDeviceState *state = SPI_DEVICE_TO_STATE(dev); in spiSlaveRxTxDone() local
[all …]
DappSec.c99 static void limitChunkSize(struct AppSecState *state) in limitChunkSize()
107 static void appSecSetCurState(struct AppSecState *state, uint32_t curState) in appSecSetCurState()
135 static inline uint32_t appSecGetCurState(const struct AppSecState *state) in appSecGetCurState()
143 struct AppSecState *state = heapAlloc(sizeof(struct AppSecState)); in appSecInit() local
160 void appSecDeinit(struct AppSecState *state) in appSecDeinit()
166 static AppSecErr appSecBlockRx(struct AppSecState *state) in appSecBlockRx()
218 static AppSecErr appSecProcessIncomingHdr(struct AppSecState *state, uint32_t *needBytesOut) in appSecProcessIncomingHdr()
357 static AppSecErr appSecProcessIncomingData(struct AppSecState *state) in appSecProcessIncomingData()
378 AppSecErr appSecDoSomeProcessing(struct AppSecState *state) in appSecDoSomeProcessing()
412 static AppSecErr appSecProcessIncomingSigData(struct AppSecState *state) in appSecProcessIncomingSigData()
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLClientState.h650 … const GLClientState::VertexAttribState& state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local
656 … const GLClientState::VertexAttribState& state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local
662 … const GLClientState::VertexAttribState& state = getState(GLClientState::VERTEX_LOCATION); in getClientStateParameter() local
668 const GLClientState::VertexAttribState& state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter() local
674 const GLClientState::VertexAttribState& state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter() local
680 const GLClientState::VertexAttribState& state = getState(GLClientState::COLOR_LOCATION); in getClientStateParameter() local
686 … const GLClientState::VertexAttribState& state = getState(GLClientState::NORMAL_LOCATION); in getClientStateParameter() local
692 … const GLClientState::VertexAttribState& state = getState(GLClientState::NORMAL_LOCATION); in getClientStateParameter() local
698 …const GLClientState::VertexAttribState& state = getState(getActiveTexture() + GLClientState::TEXCO… in getClientStateParameter() local
704 …const GLClientState::VertexAttribState& state = getState(getActiveTexture() + GLClientState::TEXCO… in getClientStateParameter() local
[all …]
/device/generic/opengl-transport/host/commands/emugen/
DEntryPoint.h46 void setUnsupported(bool state) { m_unsupported = state; } in setUnsupported()
48 void setCustomDecoder(bool state) { m_customDecoder = state; } in setCustomDecoder()
50 void setNotApi(bool state) { m_notApi = state; } in setNotApi()
52 void setFlushOnEncode(bool state) { m_flushOnEncode = state; } in setFlushOnEncode()
DVar.h92 void setNullAllowed(bool state) { m_nullAllowed = state; } in setNullAllowed()
93 void setIsLarge(bool state) { m_isLarge = state; } in setIsLarge()
94 void setDMA(bool state) { m_isDMA = state; } in setDMA()
/device/google/wahoo/liblight/
Dlights.c163 is_lit(struct light_state_t const* state) in is_lit()
169 rgb_to_brightness(struct light_state_t const* state) in rgb_to_brightness()
178 struct light_state_t const* state) in set_light_backlight()
211 struct light_state_t const* state) in set_speaker_light_locked()
272 struct light_state_t const* state) in set_light_battery()
284 struct light_state_t const* state) in set_light_notifications()
295 struct light_state_t const* state) in set_light_attention()
/device/generic/goldfish-opengl/system/GLESv1_enc/
DGLEncoder.cpp75 GLClientState* state = ctx->m_state; in s_glGetIntegerv() local
118 GLClientState* state = ctx->m_state; in s_glGetFloatv() local
157 GLClientState* state = ctx->m_state; in s_glGetFixedv() local
196 GLClientState* state = ctx->m_state; in s_glGetBooleanv() local
330 void GLEncoder::s_glEnableClientState(void *self, GLenum state) in s_glEnableClientState()
338 void GLEncoder::s_glDisableClientState(void *self, GLenum state) in s_glDisableClientState()
351 const GLClientState::VertexAttribState& state = ctx->m_state->getState(loc); in s_glIsEnabled() local
403 … const GLClientState::VertexAttribState& state = m_state->getStateAndEnableDirty(i, &enableDirty); in sendVertexData() local
519 const GLClientState::VertexAttribState& state = ctx->m_state->getState(i); in s_glDrawArrays() local
551 const GLClientState::VertexAttribState& state = ctx->m_state->getState(i); in s_glDrawElements() local
[all …]
/device/google/contexthub/firmware/os/platform/stm32/
Di2c.c178 struct I2cStmState state; member
350 struct I2cStmState *state = &pdev->state; in stmI2cSlaveIdle() local
357 static inline void stmI2cInvokeRxCallback(struct I2cStmState *state, size_t tx, size_t rx, int err) in stmI2cInvokeRxCallback()
364 static inline void stmI2cInvokeTxCallback(struct I2cStmState *state, size_t tx, size_t rx, int err) in stmI2cInvokeTxCallback()
373 struct I2cStmState *state = &pdev->state; in stmI2cSlaveRxDone() local
382 struct I2cStmState *state = &pdev->state; in stmI2cSlaveTxDone() local
391 struct I2cStmState *state = &pdev->state; in stmI2cSlaveTxNextByte() local
409 struct I2cStmState *state = &pdev->state; in stmI2cSlaveAddrMatched() local
440 struct I2cStmState *state = &pdev->state; in stmI2cSlaveRxBufNotEmpty() local
457 struct I2cStmState *state = &pdev->state; in stmI2cSlaveTxBufEmpty() local
[all …]
Ddma.c195 struct StmDmaStreamState *state = dmaGetStreamState(busId, stream); in dmaIsrTeif() local
208 struct StmDmaStreamState *state = dmaGetStreamState(busId, stream); in dmaIsrTcif() local
221 struct StmDmaStreamState *state = dmaGetStreamState(busId, stream); in dmaIsr() local
244 struct StmDmaStreamState *state = dmaGetStreamState(busId, stream); in dmaStart() local
286 struct StmDmaStreamState *state = dmaGetStreamState(busId, stream); in dmaStop() local
310 struct StmDmaStreamState *state = dmaGetStreamState(busId, stream); in dmaStopAll() local
Dspi.c110 struct StmSpiState state; member
170 struct StmSpiState *state = &pdev->state; in stmSpiEnable() local
275 struct StmSpiState *state = &pdev->state; in stmSpiDone() local
297 struct StmSpiState *state = &pdev->state; in stmSpiRxDone() local
312 struct StmSpiState *state = &pdev->state; in stmSpiTxDone() local
328 struct StmSpiState *state = &pdev->state; in stmSpiRxTx() local
403 struct StmSpiState *state = &pdev->state; in stmSpiSlaveIdle() local
460 struct StmSpiState *state = container_of(isr, struct StmSpiState, isrNss); in stmSpiExtiIsr() local
/device/google/contexthub/lib/nanohub/
Dsha2.c21 void sha2init(struct Sha2state *state) in sha2init()
56 static void sha2processBlock(struct Sha2state *state) in sha2processBlock()
121 void sha2processBytes(struct Sha2state *state, const void *bytes, uint32_t numBytes) in sha2processBytes()
146 const uint32_t* sha2finish(struct Sha2state *state) in sha2finish()
Drsa.c168 const uint32_t* rsaPubOpIterative(struct RsaState* state, const uint32_t *a, const uint32_t *c, uin… in rsaPubOpIterative()
214 const uint32_t* rsaPubOp(struct RsaState* state, const uint32_t *a, const uint32_t *c) in rsaPubOp()
244 const uint32_t* rsaPrivOp(struct RsaState* state, const uint32_t *a, const uint32_t *b, const uint3… in rsaPrivOp()
/device/google/cuttlefish/host/frontend/vnc_server/
Dblackboard.cpp81 auto& state = GetStateForClient(conn); in WaitForSenderWork() local
107 auto& state = GetStateForClient(conn); in SetOrientation() local
128 auto& state = GetStateForClient(conn); in FrameBufferUpdateRequestReceived() local
135 auto& state = GetStateForClient(conn); in StopWaiting() local
/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c54 float *state) { in lmSolverSolve()
185 bool checkRelativeStepSize(const float *step, const float *state, in checkRelativeStepSize()
216 const float *state, const void *f_data, in computeResidualAndGradients()
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp677 GLClientState* state = ctx->m_state; in s_glGetIntegerv() local
901 GLClientState* state = ctx->m_state; in s_glGetFloatv() local
965 GLClientState* state = ctx->m_state; in s_glGetBooleanv() local
1208 const GLClientState::VertexAttribState& state = vaoState.attribState[i]; in sendVertexAttributes() local
1999 GLClientState* state = ctx->m_state; in updateHostTexture2DBindingsFromProgramData() local
2054 GLClientState* state = ctx->m_state; in s_glUniform1i() local
2185 GLClientState* state = ctx->m_state; in s_glActiveTexture() local
2196 GLClientState* state = ctx->m_state; in s_glBindTexture() local
2233 GLClientState* state = ctx->m_state; in s_glDeleteTextures() local
2357 GLClientState* state = ctx->m_state; in s_glTexImage2D() local
[all …]
/device/generic/goldfish/network/netmgr/
Dinterface_state.cpp19 const char* interfaceStateToStr(InterfaceState state) { in interfaceStateToStr()
Dbridge_builder.cpp31 InterfaceState state) { in onInterfaceState()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c142 uint8_t state; member
189 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
224 static bool i2c_read(uint8_t addr, uint16_t len, uint32_t delay, uint8_t state) in i2c_read()
248 static bool i2c_write(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state) in i2c_write()
307 uint32_t state = on ? SENSOR_HUMIDITY_POWER_UP : SENSOR_HUMIDITY_POWER_DOWN; in humidityPower() local
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c122 uint8_t state; member
212 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
255 static bool writeRegister(uint8_t reg, uint8_t value, uint8_t state) in writeRegister()
268 static bool setSleepEnable(bool enable, uint8_t state) in setSleepEnable()
273 static bool setReportingMode(uint8_t mode, uint8_t state) in setReportingMode()
/device/google/contexthub/firmware/os/cpu/cortexm4/
Dcpu.c188 uint32_t state; in cpuIntsOff() local
201 uint32_t state; in cpuIntsOn() local
212 void cpuIntsRestore(uint64_t state) in cpuIntsRestore()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c150 uint8_t state; member
214 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
248 static bool i2c_read(uint8_t addr, uint16_t len, uint32_t delay, uint8_t state) in i2c_read()
265 static bool i2c_write(uint8_t addr, uint8_t data, uint32_t delay, uint8_t state) in i2c_write()
355 uint32_t state = on ? SENSOR_BARO_POWER_UP : SENSOR_BARO_POWER_DOWN; in baroPower() local
452 uint32_t state = on ? SENSOR_TEMP_POWER_UP : SENSOR_TEMP_POWER_DOWN; in tempPower() local
/device/google/contexthub/firmware/os/cpu/x86/
Dcpu.c39 void cpuIntsRestore(uint64_t state) in cpuIntsRestore()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c115 uint8_t state; member
143 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
177 static bool si7034_i2c_read(uint8_t addr0, uint8_t addr1, uint8_t state) in si7034_i2c_read()
196 static bool si7034_i2c_write(uint8_t data, uint8_t state) in si7034_i2c_write()
/device/generic/goldfish/dhcp/client/
Ddhcpclient.cpp192 const char* DhcpClient::stateToStr(State state) { in stateToStr()
513 void DhcpClient::setNextState(State state) { in setNextState()
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_lp3943.c94 uint8_t state; member
149 static struct I2cTransfer *allocXfer(uint8_t state) in allocXfer()
173 static bool writeRegister(uint8_t reg, uint8_t value, uint8_t state) in writeRegister()

12345