| /bsp/avr32/software_framework/drivers/pm/ |
| A D | pm.c | 167 pm_enable_clk0_no_wait(pm, startup); in pm_enable_clk0() 168 pm_wait_for_clk0_ready(pm); in pm_enable_clk0() 231 pm_wait_for_clk1_ready(pm); in pm_enable_clk1() 291 pm_wait_for_clk32_ready(pm); in pm_enable_clk32() 321 *p_cksel = pm->cksel; in pm_cksel_get() 327 pm->cksel = cksel; in pm_cksel_set() 406 pm->pll[pll] = u_avr32_pm_pll.pll; in pm_pll_setup() 418 pm->pll[pll] = u_avr32_pm_pll.pll; in pm_pll_set_option() 493 pm->isr; in pm_bod_disable_irq() 524 return pm->gplp[gplp]; in pm_read_gplp() [all …]
|
| A D | pm.h | 125 return pm->rcause; in pm_get_reset_cause() 133 extern void pm_enable_osc0_ext_clock(volatile avr32_pm_t *pm); 156 extern void pm_disable_clk0(volatile avr32_pm_t *pm); 171 extern void pm_wait_for_clk0_ready(volatile avr32_pm_t *pm); 201 extern void pm_disable_clk1(volatile avr32_pm_t *pm); 216 extern void pm_wait_for_clk1_ready(volatile avr32_pm_t *pm); 245 extern void pm_disable_clk32(volatile avr32_pm_t *pm); 387 extern unsigned long pm_get_clock(volatile avr32_pm_t *pm); 411 extern void pm_bod_enable_irq(volatile avr32_pm_t *pm); 418 extern void pm_bod_disable_irq(volatile avr32_pm_t *pm); [all …]
|
| /bsp/acm32/acm32f0x0-nucleo/drivers/ |
| A D | drv_pm.c | 40 static void _pm_sleep(struct rt_pm *pm, rt_uint8_t mode) in _pm_sleep() argument 42 RT_ASSERT(pm != RT_NULL); in _pm_sleep() 72 static void _pm_run(struct rt_pm *pm, rt_uint8_t mode) in _pm_run() argument 76 RT_ASSERT(pm != RT_NULL); in _pm_run() 106 static void _pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in _pm_timer_start() argument 110 RT_ASSERT(pm != RT_NULL); in _pm_timer_start() 111 IWDT_HandleTypeDef *phiwdt = (IWDT_HandleTypeDef *)(pm->parent.user_data); in _pm_timer_start() 125 static void _pm_timer_stop(struct rt_pm *pm) in _pm_timer_stop() argument 127 RT_ASSERT(pm != RT_NULL); in _pm_timer_stop() 134 static rt_tick_t _pm_timer_get_tick(struct rt_pm *pm) in _pm_timer_get_tick() argument [all …]
|
| /bsp/essemi/es32vf2264/drivers/ |
| A D | drv_pm.c | 28 static void sleep(struct rt_pm *pm, uint8_t mode) in sleep() argument 66 static void run(struct rt_pm *pm, uint8_t mode) in run() argument 126 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in pm_timer_start() argument 128 RT_ASSERT(pm != RT_NULL); in pm_timer_start() 148 static void pm_timer_stop(struct rt_pm *pm) in pm_timer_stop() argument 150 RT_ASSERT(pm != RT_NULL); in pm_timer_stop() 160 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm) in pm_timer_get_tick() argument 164 RT_ASSERT(pm != RT_NULL); in pm_timer_get_tick()
|
| /bsp/nuvoton/libraries/m031/rtt_port/ |
| A D | drv_clk.c | 58 static void pm_sleep(struct rt_pm *pm, rt_uint8_t mode); 59 static void pm_run(struct rt_pm *pm, rt_uint8_t mode); 60 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout); 61 static void pm_timer_stop(struct rt_pm *pm); 62 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm); 79 struct rt_device pm; variable 84 static void pm_sleep(struct rt_pm *pm, rt_uint8_t mode) in pm_sleep() argument 123 static void pm_run(struct rt_pm *pm, rt_uint8_t mode) in pm_run() argument 214 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm) in pm_timer_get_tick() argument 225 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in pm_timer_start() argument [all …]
|
| /bsp/essemi/es32f0654/drivers/ |
| A D | drv_pm.c | 45 static void sleep(struct rt_pm *pm, uint8_t mode) in sleep() argument 89 static void run(struct rt_pm *pm, uint8_t mode) in run() argument 168 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in pm_timer_start() argument 170 RT_ASSERT(pm != RT_NULL); in pm_timer_start() 190 static void pm_timer_stop(struct rt_pm *pm) in pm_timer_stop() argument 192 RT_ASSERT(pm != RT_NULL); in pm_timer_stop() 202 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm) in pm_timer_get_tick() argument 206 RT_ASSERT(pm != RT_NULL); in pm_timer_get_tick()
|
| /bsp/stm32/libraries/HAL_Drivers/drivers/ |
| A D | drv_pm.c | 45 rt_weak void stm32_pm_device_run(struct rt_pm *pm, uint8_t mode) in stm32_pm_device_run() argument 55 static void sleep(struct rt_pm *pm, uint8_t mode) in sleep() argument 66 if (pm->run_mode == PM_RUN_MODE_LOW_SPEED) in sleep() 83 SystemClock_ReConfig(pm->run_mode); in sleep() 162 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in pm_timer_start() argument 164 RT_ASSERT(pm != RT_NULL); in pm_timer_start() 201 static void pm_timer_stop(struct rt_pm *pm) in pm_timer_stop() argument 203 RT_ASSERT(pm != RT_NULL); in pm_timer_stop() 216 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm) in pm_timer_get_tick() argument 220 RT_ASSERT(pm != RT_NULL); in pm_timer_get_tick()
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_clk.c | 69 static void pm_sleep(struct rt_pm *pm, rt_uint8_t mode); 70 static void pm_run(struct rt_pm *pm, rt_uint8_t mode); 71 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout); 72 static void pm_timer_stop(struct rt_pm *pm); 73 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm); 90 struct rt_device pm; variable 104 static void pm_sleep(struct rt_pm *pm, rt_uint8_t mode) in pm_sleep() argument 136 static void pm_run(struct rt_pm *pm, rt_uint8_t mode) in pm_run() argument 227 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm) in pm_timer_get_tick() argument 238 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in pm_timer_start() argument [all …]
|
| /bsp/nuvoton/libraries/m2354/rtt_port/ |
| A D | drv_clk.c | 69 static void pm_sleep(struct rt_pm *pm, rt_uint8_t mode); 70 static void pm_run(struct rt_pm *pm, rt_uint8_t mode); 71 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout); 72 static void pm_timer_stop(struct rt_pm *pm); 73 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm); 90 struct rt_device pm; variable 104 static void pm_sleep(struct rt_pm *pm, rt_uint8_t mode) in pm_sleep() argument 139 static void pm_run(struct rt_pm *pm, rt_uint8_t mode) in pm_run() argument 230 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm) in pm_timer_get_tick() argument 241 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in pm_timer_start() argument [all …]
|
| /bsp/essemi/es32f369x/drivers/ |
| A D | drv_pm.c | 63 static void sleep(struct rt_pm *pm, uint8_t mode) in sleep() argument 109 static void run(struct rt_pm *pm, uint8_t mode) in run() argument 188 static void pm_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in pm_timer_start() argument 190 RT_ASSERT(pm != RT_NULL); in pm_timer_start() 210 static void pm_timer_stop(struct rt_pm *pm) in pm_timer_stop() argument 212 RT_ASSERT(pm != RT_NULL); in pm_timer_stop() 222 static rt_tick_t pm_timer_get_tick(struct rt_pm *pm) in pm_timer_get_tick() argument 226 RT_ASSERT(pm != RT_NULL); in pm_timer_get_tick()
|
| /bsp/avr32/software_framework/ |
| A D | SConscript | 11 drivers/pm/pm.c 12 drivers/pm/pm_conf_clocks.c 13 drivers/pm/power_clocks_lib.c 25 cwd + '/drivers/pm',
|
| /bsp/maxim/libraries/MAX32660PeriphDriver/Source/ |
| A D | lp.c | 154 MXC_GCR->pm |= MXC_F_GCR_PM_RTCWKEN; in LP_EnableRTCAlarmWakeup() 159 MXC_GCR->pm &= ~MXC_F_GCR_PM_RTCWKEN; in LP_DisableRTCAlarmWakeup() 164 MXC_GCR->pm |= MXC_F_GCR_PM_GPIOWKEN; in LP_EnableGPIOWakeup() 180 MXC_GCR->pm &= ~MXC_F_GCR_PM_GPIOWKEN; in LP_DisableGPIOWakeup() 199 MXC_GCR->pm |= MXC_F_GCR_PM_HIRCPD; in LP_EnterDeepSleepMode() 206 MXC_GCR->pm &= ~MXC_F_GCR_PM_MODE; in LP_EnterBackupMode() 207 MXC_GCR->pm |= MXC_S_GCR_PM_MODE_BACKUP; in LP_EnterBackupMode() 213 MXC_GCR->pm &= ~MXC_F_GCR_PM_MODE; in LP_EnterShutdownMode() 214 MXC_GCR->pm |= MXC_S_GCR_PM_MODE_SHUTDOWN; in LP_EnterShutdownMode()
|
| /bsp/hc32/libraries/hc32_drivers/ |
| A D | drv_pm.c | 151 static void _pm_sleep(struct rt_pm *pm, uint8_t mode) in _pm_sleep() argument 183 static void _pm_run(struct rt_pm *pm, uint8_t mode) in _pm_run() argument 221 static void _pm_wakeup_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in _pm_wakeup_timer_start() argument 223 RT_ASSERT(pm != RT_NULL); in _pm_wakeup_timer_start() 237 static void _pm_wakeup_timer_stop(struct rt_pm *pm) in _pm_wakeup_timer_stop() argument 239 RT_ASSERT(pm != RT_NULL); in _pm_wakeup_timer_stop() 245 static rt_tick_t _timer_get_tick(struct rt_pm *pm) in _timer_get_tick() argument 247 RT_ASSERT(pm != RT_NULL); in _timer_get_tick()
|
| /bsp/stm32/stm32f407-rt-spark/board/ports/pm/ |
| A D | drv_pm.c | 20 static void sleep(struct rt_pm *pm, uint8_t mode) in sleep() argument 59 static struct rt_pm *pm = RT_NULL; variable 64 switch (pm->sleep_mode) in pm_wk_up() 118 pm = rt_container_of(device,struct rt_pm,parent); in drv_pm_hw_init()
|
| /bsp/stm32/stm32f407-lckfb-skystar/board/ports/pm/ |
| A D | drv_pm.c | 20 static void sleep(struct rt_pm *pm, uint8_t mode) in sleep() argument 59 static struct rt_pm *pm = RT_NULL; variable 64 switch (pm->sleep_mode) in pm_wk_up() 118 pm = rt_container_of(device,struct rt_pm,parent); in drv_pm_hw_init()
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/rtc/rtc_sam_d_r_h/ |
| A D | rtc_calendar.c | 205 if (!(module->clock_24h) && (time->pm)) { in rtc_calendar_time_to_register_value() 255 time->pm = ((register_value & RTC_MODE2_CLOCK_HOUR_PM) != 0); in rtc_calendar_register_value_to_time() 400 time.pm = (uint8_t)(time.hour / 12); in rtc_calendar_swap_time_mode() 411 alarm.time.pm = (uint8_t)(alarm.time.hour / 12); in rtc_calendar_swap_time_mode() 425 if (time.pm == 1) { in rtc_calendar_swap_time_mode() 428 time.pm = 0; in rtc_calendar_swap_time_mode() 436 if (alarm.time.pm == 1) { in rtc_calendar_swap_time_mode() 438 alarm.time.pm = 0; in rtc_calendar_swap_time_mode()
|
| /bsp/stm32/stm32f407-lckfb-skystar/board/ports/ |
| A D | SConscript | 16 src += Glob('pm/drv_pm.c') 17 src += Glob('pm/drv_wakeup.c') 18 path += [cwd + '/pm']
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/armcc/ |
| A D | Makefile | 30 hpl/pm \ 60 hpl/pm/hpl_pm.o \ 199 …l/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"… 208 …l/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"… 217 …l/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"…
|
| /bsp/microchip/samd51-adafruit-metro-m4/bsp/armcc/ |
| A D | Makefile | 30 hpl/pm \ 60 hpl/pm/hpl_pm.o \ 199 …l/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"… 208 …l/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"… 217 …l/gclk" -I"../hpl/mclk" -I"../hpl/osc32kctrl" -I"../hpl/oscctrl" -I"../hpl/pm" -I"../hpl/port" -I"…
|
| /bsp/stm32/stm32f407-rt-spark/board/ports/ |
| A D | SConscript | 48 src += Glob('pm/drv_pm.c') 49 src += Glob('pm/drv_wakeup.c') 50 path += [cwd + '/pm']
|
| /bsp/samd21/sam_d2x_asflib/sam0/drivers/rtc/rtc_sam_l_c/ |
| A D | rtc_calendar.c | 223 if (!(module->clock_24h) && (time->pm)) { in rtc_calendar_time_to_register_value() 273 time->pm = ((register_value & (0x10u << RTC_MODE2_CLOCK_HOUR_Pos)) != 0); in rtc_calendar_register_value_to_time() 413 time.pm = (uint8_t)(time.hour / 12); in rtc_calendar_swap_time_mode() 424 alarm.time.pm = (uint8_t)(alarm.time.hour / 12); in rtc_calendar_swap_time_mode() 438 if (time.pm == 1) { in rtc_calendar_swap_time_mode() 441 time.pm = 0; in rtc_calendar_swap_time_mode() 449 if (alarm.time.pm == 1) { in rtc_calendar_swap_time_mode() 451 alarm.time.pm = 0; in rtc_calendar_swap_time_mode()
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/driver/Include/ |
| A D | drv_usb_dev.h | 141 usb_pm pm; /*!< power management */ member 248 if (udev->dev.pm.dev_remote_wakeup) { in usb_rwkup_set() 262 if (udev->dev.pm.dev_remote_wakeup) { in usb_rwkup_reset()
|
| /bsp/microchip/saml10/bsp/ |
| A D | SConscript | 24 src += Glob('hpl/pm/*.c') 50 cwd + '/hpl/pm',
|
| /bsp/renesas/ra2l1-cpk/board/ |
| A D | drv_pm.c | 282 static void ra_sleep(struct rt_pm *pm, rt_uint8_t mode) in ra_sleep() argument 571 static void ra_run(struct rt_pm *pm, rt_uint8_t mode) in ra_run() argument 671 static void ra_timer_start(struct rt_pm *pm, rt_uint32_t timeout) in ra_timer_start() argument 676 static void ra_timer_stop(struct rt_pm *pm) in ra_timer_stop() argument 681 static rt_tick_t ra_timer_get_tick(struct rt_pm *pm) in ra_timer_get_tick() argument
|
| /bsp/microchip/samc21/bsp/ |
| A D | SConscript | 27 src += Glob('hpl/pm/*.c') 54 cwd + '/hpl/pm',
|