Searched refs:pwr_ctrl (Results 1 – 4 of 4) sorted by relevance
/hal_ambiq-3.5.0/mcu/apollo4p/hal/ |
D | am_hal_pwrctrl.c | 483 am_get_pwrctrl(struct am_pwr_s *pwr_ctrl, uint32_t ePeripheral) in am_get_pwrctrl() argument 485 if ( pwr_ctrl == NULL || ePeripheral >= AM_HAL_PWRCTRL_PERIPH_MAX ) in am_get_pwrctrl() 490 *pwr_ctrl = am_hal_pwrctrl_peripheral_control[ePeripheral]; in am_get_pwrctrl() 506 am_get_pwrctrl(struct am_pwr_s *pwr_ctrl, uint32_t ePeripheral) in am_get_pwrctrl() argument 510 if (pwr_ctrl == NULL || ePeripheral >= AM_HAL_PWRCTRL_PERIPH_MAX) in am_get_pwrctrl() 517 pwr_ctrl->ui32PwrEnRegAddr = AM_REGADDR(PWRCTRL, DEVPWREN); in am_get_pwrctrl() 518 pwr_ctrl->ui32PwrStatReqAddr = AM_REGADDR(PWRCTRL, DEVPWRSTATUS); in am_get_pwrctrl() 519 pwr_ctrl->ui32PeriphEnable = 1 << ePeripheral; in am_get_pwrctrl() 520 pwr_ctrl->ui32PeriphStatus = 1 << ePeripheral; in am_get_pwrctrl() 530 pwr_ctrl->ui32PwrEnRegAddr = AM_REGADDR(PWRCTRL, AUDSSPWREN); in am_get_pwrctrl() [all …]
|
/hal_ambiq-3.5.0/mcu/apollo4p/hal/mcu/ |
D | am_hal_card_host.c | 187 .pwr_ctrl = am_hal_card_host_power_control,
|
D | am_hal_card_host.h | 245 uint32_t (*pwr_ctrl)(void *pHandle, bool bOnOff); member
|
D | am_hal_card.c | 1190 if ((ui32Status = pHost->ops->pwr_ctrl(pHost->pHandle, false)) != AM_HAL_STATUS_SUCCESS) in am_hal_card_pwrctrl_sleep() 1201 if ((ui32Status = pHost->ops->pwr_ctrl(pHost->pHandle, false)) != AM_HAL_STATUS_SUCCESS) in am_hal_card_pwrctrl_sleep() 1273 if ((ui32Status = pHost->ops->pwr_ctrl(pHost->pHandle, true)) != AM_HAL_STATUS_SUCCESS) in am_hal_card_pwrctrl_wakeup() 1302 if ((ui32Status = pHost->ops->pwr_ctrl(pHost->pHandle, true)) != AM_HAL_STATUS_SUCCESS) in am_hal_card_pwrctrl_wakeup()
|