开发者ID:Analias,项目名称:SNOWLeo-SDR-1,代码行数:42,代码来源:cpuidle.c 示例4: rk3288_cpuidle_enter ▲点赞 1▼ staticintrk3288_cpuidle_enter(struct cpuidle_device *dev, struct cpuidle_driver *drv,intindex){void*sel = RK_CRU_VIRT + RK3288_CRU_CLKSELS_CON(36); u32 con = readl_...
* RTCC idle handler, called when CPU is idle */staticintrtcc_idle_handler(struct notifier_block *nb,unsignedlongval,void*data){if(likely(!atomic_read(&krtccd_enabled)))return0;if(likely(atomic_read(&need_to_reclaim) ==0))return0;// To prevent RTCC from running too frequentlyif(likel...
void*hcpu){inthotcpu = (unsignedlong)hcpu;structcpuidle_device*dev=per_cpu(cpuidle_devices,hotcpu);if(dev && cpuidle_get_driver()) {switch(action) {caseCPU_ONLINE:caseCPU_ONLINE_FROZEN:cpuidle_pause_and_lock();
struct cpuidle_device *dev, struct cpuidle_driver *drv,intindex){intret =0;inti;enummsm_pm_sleep_mode pm_mode; pm_mode = msm_pm_idle_enter(dev, drv, index);for(i =0; i < dev->state_count; i++) {structcpuidle_state_usage*st_usage= &dev->states_usage[i];enummsm_pm_sleep_...
在下文中一共展示了get_cpu_idle_time函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: cpufreq_interactive_timer_resched ▲点赞 6▼ staticvoidcpufreq_interactive_timer_resched(unsignedlongcpu){structcpufreq...
示例1: exynos4_init_cpuidle ▲点赞 7▼ staticint__initexynos4_init_cpuidle(void){inti, max_cpuidle_state, cpu_id;structcpuidle_device*device;structcpuidle_driver*drv= &exynos4_idle_driver;/* Setup cpuidle driver */drv->state_count = (sizeof(exynos4_cpuidle_set) /sizeof(struct cpu...
在下文中一共展示了cpuidle_install_idle_handler函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: cpuidle_switch_governor ▲点赞 9▼ /** * cpuidle_switch_governor - changes the governor ...
在下文中一共展示了rcu_is_cpu_rrupt_from_idle函数的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。 示例1: rcu_check_callbacks ▲点赞 6▼ /* * Check to see if the scheduling-clock interrupt came from an extend...