Lines Matching refs:hwblk_info
11 static void hwblk_area_mod_cnt(struct hwblk_info *info, in hwblk_area_mod_cnt()
26 static int __hwblk_mod_cnt(struct hwblk_info *info, int hwblk, in __hwblk_mod_cnt()
38 static void hwblk_mod_cnt(struct hwblk_info *info, int hwblk, in hwblk_mod_cnt()
48 void hwblk_cnt_inc(struct hwblk_info *info, int hwblk, int counter) in hwblk_cnt_inc()
53 void hwblk_cnt_dec(struct hwblk_info *info, int hwblk, int counter) in hwblk_cnt_dec()
58 void hwblk_enable(struct hwblk_info *info, int hwblk) in hwblk_enable()
77 void hwblk_disable(struct hwblk_info *info, int hwblk) in hwblk_disable()
96 struct hwblk_info *hwblk_info; variable
98 int __init hwblk_register(struct hwblk_info *info) in hwblk_register()
100 hwblk_info = info; in hwblk_register()
122 if (!hwblk_info) in sh_hwblk_clk_enable()
125 hwblk_enable(hwblk_info, clk->arch_flags); in sh_hwblk_clk_enable()
131 if (hwblk_info) in sh_hwblk_clk_disable()
132 hwblk_disable(hwblk_info, clk->arch_flags); in sh_hwblk_clk_disable()