Lines Matching defs:hwblk
18 #include <asm/hwblk.h>
43 int hwblk = ad->hwblk_id;
46 dev_dbg(d, "__platform_pm_runtime_resume() [%d]\n", hwblk);
49 hwblk_enable(hwblk_info, hwblk);
59 hwblk_disable(hwblk_info, hwblk);
64 hwblk, ret);
73 int hwblk = ad->hwblk_id;
76 dev_dbg(d, "__platform_pm_runtime_suspend() [%d]\n", hwblk);
83 hwblk_enable(hwblk_info, hwblk);
85 hwblk_disable(hwblk_info, hwblk);
91 hwblk_cnt_dec(hwblk_info, hwblk, HWBLK_CNT_IDLE);
96 hwblk, ret);
134 * main power domain are unused but some are counted as idle, ie the hwblk
147 int hwblk = ad->hwblk_id;
150 dev_dbg(dev, "platform_pm_runtime_suspend() [%d]\n", hwblk);
153 if (!hwblk)
169 hwblk_disable(hwblk_info, hwblk);
178 hwblk_cnt_inc(hwblk_info, hwblk, HWBLK_CNT_IDLE);
187 hwblk, ret);
196 int hwblk = ad->hwblk_id;
199 dev_dbg(dev, "platform_pm_runtime_resume() [%d]\n", hwblk);
202 if (!hwblk)
217 hwblk_cnt_dec(hwblk_info, hwblk, HWBLK_CNT_IDLE);
232 hwblk, ret);
240 int hwblk = pdev->archdata.hwblk_id;
243 dev_dbg(dev, "platform_pm_runtime_idle() [%d]\n", hwblk);
246 if (!hwblk)
255 dev_dbg(dev, "platform_pm_runtime_idle() [%d] done!\n", hwblk);
264 int hwblk = pdev->archdata.hwblk_id;
267 if (!hwblk)
275 hwblk_enable(hwblk_info, hwblk);
276 hwblk_disable(hwblk_info, hwblk);
282 /* keep track of number of devices in use per hwblk */
283 hwblk_cnt_inc(hwblk_info, hwblk, HWBLK_CNT_DEVICES);
286 /* keep track of number of devices in use per hwblk */
287 hwblk_cnt_dec(hwblk_info, hwblk, HWBLK_CNT_DEVICES);