Searched refs:pwrUnitClock (Results 1 – 11 of 11) sorted by relevance
/device/google/contexthub/firmware/os/platform/stm32/ |
D | wdt.c | 68 pwrUnitClock(PERIPH_BUS_APB1, PERIPH_APB1_WWDG, true); in wdtEnableClk() 78 pwrUnitClock(PERIPH_BUS_APB1, PERIPH_APB1_WWDG, false); in wdtDisableClk()
|
D | crc.c | 59 pwrUnitClock(PERIPH_BUS_AHB1, PERIPH_AHB1_CRC, true); in crc32() 81 pwrUnitClock(PERIPH_BUS_AHB1, PERIPH_AHB1_CRC, false); in crc32()
|
D | usart.c | 106 pwrUnitClock(mUsartBusses[port], mUsartPeriphs[port], true); in usartOpen() 140 pwrUnitClock(mUsartBusses[usart->unit], mUsartPeriphs[usart->unit], false); in usartClose()
|
D | syscfg.c | 42 pwrUnitClock(PERIPH_BUS_APB2, PERIPH_APB2_SYSCFG, true); in syscfgSetExtiPort()
|
D | pwr.c | 109 void pwrUnitClock(uint32_t bus, uint32_t unit, bool on) in pwrUnitClock() function 184 pwrUnitClock(PERIPH_BUS_APB1, PERIPH_APB1_PWR, true); in pwrEnableAndClockRtc()
|
D | i2c.c | 860 pwrUnitClock(PERIPH_BUS_APB1, cfg->clock, true); in i2cMasterRequest() 895 pwrUnitClock(PERIPH_BUS_APB1, cfg->clock, false); in i2cMasterRelease() 1021 pwrUnitClock(PERIPH_BUS_APB1, cfg->clock, false); in i2cSlaveRelease() 1048 pwrUnitClock(PERIPH_BUS_APB1, cfg->clock, true); in i2cSlaveEnableRx()
|
D | spi.c | 194 pwrUnitClock(pdev->cfg->clockBus, pdev->cfg->clockUnit, true); in stmSpiEnable() 429 pwrUnitClock(pdev->cfg->clockBus, pdev->cfg->clockUnit, false); in stmSpiDisable()
|
D | dma.c | 249 pwrUnitClock(PERIPH_BUS_AHB1, STM_DMA_CLOCK_UNIT[busId], true); in dmaStart()
|
D | gpio.c | 105 pwrUnitClock(PERIPH_BUS_AHB1, mGpioPeriphs[gpioNum >> GPIO_PORT_SHIFT], true); in gpioConfigWithNum()
|
D | platform.c | 286 pwrUnitClock(PERIPH_BUS_APB1, PERIPH_APB1_TIM2, true); in platInitialize()
|
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/ |
D | pwr.h | 180 void pwrUnitClock(uint32_t bus, uint32_t unit, bool on);
|