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.c251 static inline void stmI2cAckEnable(struct StmI2cDev *pdev) in stmI2cAckEnable() argument
253 pdev->cfg->regs->CR1 |= I2C_CR1_ACK; in stmI2cAckEnable()
256 static inline void stmI2cAckDisable(struct StmI2cDev *pdev) in stmI2cAckDisable() argument
258 pdev->cfg->regs->CR1 &= ~I2C_CR1_ACK; in stmI2cAckDisable()
261 static inline void stmI2cDmaEnable(struct StmI2cDev *pdev) in stmI2cDmaEnable() argument
263 pdev->cfg->regs->CR2 |= I2C_CR2_DMAEN; in stmI2cDmaEnable()
266 static inline void stmI2cDmaDisable(struct StmI2cDev *pdev) in stmI2cDmaDisable() argument
268 pdev->cfg->regs->CR2 &= ~I2C_CR2_DMAEN; in stmI2cDmaDisable()
271 static inline void stmI2cStopEnable(struct StmI2cDev *pdev) in stmI2cStopEnable() argument
273 struct StmI2c *regs = pdev->cfg->regs; in stmI2cStopEnable()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dhwcomposer.cpp90 struct hwc_composer_device_data_t* pdev = in hwc_vsync_thread() local
94 int64_t base_timestamp = pdev->vsync_base_timestamp; in hwc_vsync_thread()
110 timestamp += pdev->vsync_period_ns - in hwc_vsync_thread()
111 (timestamp - base_timestamp) % pdev->vsync_period_ns; in hwc_vsync_thread()
126 if (pdev && pdev->procs) { in hwc_vsync_thread()
127 vsync_proc = pdev->procs->vsync; in hwc_vsync_thread()
133 vsync_proc(const_cast<hwc_procs_t*>(pdev->procs), 0, timestamp); in hwc_vsync_thread()
393 struct cvd_hwc_composer_device_1_t* pdev = in cvd_hwc_register_procs() local
395 pdev->vsync_data.procs = procs; in cvd_hwc_register_procs()
407 struct cvd_hwc_composer_device_1_t* pdev = in cvd_hwc_query() local
[all …]
/device/google/cuttlefish_kernel/5.4-x86_64/
DSystem.map130806 ffffffff82f11260 b pdev
/device/google/cuttlefish_kernel/5.4-arm64/
DSystem.map234828 ffffffc0119f38e0 b pdev