Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/platform/stm32/
Dspi.c128 static inline void stmSpiDataPullMode(struct StmSpiDev *pdev, enum StmGpioSpeed dataSpeed, enum Gpi… in stmSpiDataPullMode() argument
130 gpioConfigAlt(pdev->miso, dataSpeed, dataPull, GPIO_OUT_PUSH_PULL, pdev->board->gpioFunc); in stmSpiDataPullMode()
131 gpioConfigAlt(pdev->mosi, dataSpeed, dataPull, GPIO_OUT_PUSH_PULL, pdev->board->gpioFunc); in stmSpiDataPullMode()
134 static inline void stmSpiSckPullMode(struct StmSpiDev *pdev, enum StmGpioSpeed sckSpeed, enum GpioP… in stmSpiSckPullMode() argument
136 gpioConfigAlt(pdev->sck, sckSpeed, sckPull, GPIO_OUT_PUSH_PULL, pdev->board->gpioFunc); in stmSpiSckPullMode()
139 static inline void stmSpiStartDma(struct StmSpiDev *pdev, in stmSpiStartDma() argument
143 struct StmSpi *regs = pdev->cfg->regs; in stmSpiStartDma()
162 dmaStart(pdev->cfg->dmaBus, dmaCfg->stream, buf, size, &mode, callback, in stmSpiStartDma()
163 pdev); in stmSpiStartDma()
166 static inline int stmSpiEnable(struct StmSpiDev *pdev, in stmSpiEnable() argument
[all …]
Di2c.c252 static inline void stmI2cAckEnable(struct StmI2cDev *pdev) in stmI2cAckEnable() argument
254 pdev->cfg->regs->CR1 |= I2C_CR1_ACK; in stmI2cAckEnable()
257 static inline void stmI2cAckDisable(struct StmI2cDev *pdev) in stmI2cAckDisable() argument
259 pdev->cfg->regs->CR1 &= ~I2C_CR1_ACK; in stmI2cAckDisable()
262 static inline void stmI2cDmaEnable(struct StmI2cDev *pdev) in stmI2cDmaEnable() argument
264 pdev->cfg->regs->CR2 |= I2C_CR2_DMAEN; in stmI2cDmaEnable()
267 static inline void stmI2cDmaDisable(struct StmI2cDev *pdev) in stmI2cDmaDisable() argument
269 pdev->cfg->regs->CR2 &= ~I2C_CR2_DMAEN; in stmI2cDmaDisable()
272 static inline void stmI2cStopEnable(struct StmI2cDev *pdev) in stmI2cStopEnable() argument
274 struct StmI2c *regs = pdev->cfg->regs; in stmI2cStopEnable()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dhwcomposer.cpp91 struct hwc_composer_device_data_t* pdev = in hwc_vsync_thread() local
95 int64_t base_timestamp = pdev->vsync_base_timestamp; in hwc_vsync_thread()
111 timestamp += pdev->vsync_period_ns - in hwc_vsync_thread()
112 (timestamp - base_timestamp) % pdev->vsync_period_ns; in hwc_vsync_thread()
127 if (pdev && pdev->procs) { in hwc_vsync_thread()
128 vsync_proc = pdev->procs->vsync; in hwc_vsync_thread()
134 vsync_proc(const_cast<hwc_procs_t*>(pdev->procs), 0, timestamp); in hwc_vsync_thread()
394 struct cvd_hwc_composer_device_1_t* pdev = in cvd_hwc_register_procs() local
396 pdev->vsync_data.procs = procs; in cvd_hwc_register_procs()
408 struct cvd_hwc_composer_device_1_t* pdev = in cvd_hwc_query() local
[all …]
/device/google/cuttlefish_kernel/5.4-x86_64/
DSystem.map134189 ffffffff82efa7b0 b pdev
/device/google/cuttlefish_kernel/5.4-arm64/
DSystem.map237056 ffffffc011a049d8 b pdev