Home
last modified time | relevance | path

Searched refs:hwblk (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/arch/sh/kernel/cpu/shmobile/
Dpm_runtime.c43 int hwblk = ad->hwblk_id; in __platform_pm_runtime_resume() local
46 dev_dbg(d, "__platform_pm_runtime_resume() [%d]\n", hwblk); in __platform_pm_runtime_resume()
49 hwblk_enable(hwblk_info, hwblk); in __platform_pm_runtime_resume()
59 hwblk_disable(hwblk_info, hwblk); in __platform_pm_runtime_resume()
64 hwblk, ret); in __platform_pm_runtime_resume()
73 int hwblk = ad->hwblk_id; in __platform_pm_runtime_suspend() local
76 dev_dbg(d, "__platform_pm_runtime_suspend() [%d]\n", hwblk); in __platform_pm_runtime_suspend()
83 hwblk_enable(hwblk_info, hwblk); in __platform_pm_runtime_suspend()
85 hwblk_disable(hwblk_info, hwblk); in __platform_pm_runtime_suspend()
91 hwblk_cnt_dec(hwblk_info, hwblk, HWBLK_CNT_IDLE); in __platform_pm_runtime_suspend()
[all …]
/linux-2.6.39/arch/sh/kernel/cpu/
Dhwblk.c26 static int __hwblk_mod_cnt(struct hwblk_info *info, int hwblk, in __hwblk_mod_cnt() argument
29 struct hwblk *hp = info->hwblks + hwblk; in __hwblk_mod_cnt()
38 static void hwblk_mod_cnt(struct hwblk_info *info, int hwblk, in hwblk_mod_cnt() argument
44 __hwblk_mod_cnt(info, hwblk, counter, value, goal); in hwblk_mod_cnt()
48 void hwblk_cnt_inc(struct hwblk_info *info, int hwblk, int counter) in hwblk_cnt_inc() argument
50 hwblk_mod_cnt(info, hwblk, counter, 1, 1); in hwblk_cnt_inc()
53 void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int counter) in hwblk_cnt_dec() argument
55 hwblk_mod_cnt(info, hwblk, counter, -1, 0); in hwblk_cnt_dec()
58 void hwblk_enable(struct hwblk_info *info, int hwblk) in hwblk_enable() argument
60 struct hwblk *hp = info->hwblks + hwblk; in hwblk_enable()
[all …]
DMakefile23 obj-y += irq/ init.o clock.o hwblk.o proc.o
/linux-2.6.39/arch/sh/include/asm/
Dhwblk.h33 struct hwblk { struct
43 struct hwblk *hwblks; argument
54 void hwblk_enable(struct hwblk_info *info, int hwblk);
55 void hwblk_disable(struct hwblk_info *info, int hwblk);
57 void hwblk_cnt_inc(struct hwblk_info *info, int hwblk, int cnt);
58 void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int cnt);
/linux-2.6.39/arch/sh/kernel/cpu/sh4a/
DMakefile30 clock-$(CONFIG_CPU_SUBTYPE_SH7722) := clock-sh7722.o hwblk-sh7722.o
31 clock-$(CONFIG_CPU_SUBTYPE_SH7723) := clock-sh7723.o hwblk-sh7723.o
32 clock-$(CONFIG_CPU_SUBTYPE_SH7724) := clock-sh7724.o hwblk-sh7724.o
Dhwblk-sh7722.c42 static struct hwblk sh7722_hwblk[HWBLK_NR] = {
Dhwblk-sh7723.c42 static struct hwblk sh7723_hwblk[HWBLK_NR] = {
Dhwblk-sh7724.c42 static struct hwblk sh7724_hwblk[HWBLK_NR] = {