Lines Matching refs:reg_cache

274 	struct samsung_clock_reg_cache *reg_cache;  in samsung_clk_suspend()  local
276 list_for_each_entry(reg_cache, &clock_reg_cache_list, node) { in samsung_clk_suspend()
277 samsung_clk_save(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_suspend()
278 reg_cache->rd_num); in samsung_clk_suspend()
279 samsung_clk_restore(reg_cache->reg_base, reg_cache->rsuspend, in samsung_clk_suspend()
280 reg_cache->rsuspend_num); in samsung_clk_suspend()
287 struct samsung_clock_reg_cache *reg_cache; in samsung_clk_resume() local
289 list_for_each_entry(reg_cache, &clock_reg_cache_list, node) in samsung_clk_resume()
290 samsung_clk_restore(reg_cache->reg_base, reg_cache->rdump, in samsung_clk_resume()
291 reg_cache->rd_num); in samsung_clk_resume()
305 struct samsung_clock_reg_cache *reg_cache; in samsung_clk_extended_sleep_init() local
307 reg_cache = kzalloc(sizeof(struct samsung_clock_reg_cache), in samsung_clk_extended_sleep_init()
309 if (!reg_cache) in samsung_clk_extended_sleep_init()
311 reg_cache->rdump = samsung_clk_alloc_reg_dump(rdump, nr_rdump); in samsung_clk_extended_sleep_init()
313 if (!reg_cache->rdump) in samsung_clk_extended_sleep_init()
319 reg_cache->reg_base = reg_base; in samsung_clk_extended_sleep_init()
320 reg_cache->rd_num = nr_rdump; in samsung_clk_extended_sleep_init()
321 reg_cache->rsuspend = rsuspend; in samsung_clk_extended_sleep_init()
322 reg_cache->rsuspend_num = nr_rsuspend; in samsung_clk_extended_sleep_init()
323 list_add_tail(&reg_cache->node, &clock_reg_cache_list); in samsung_clk_extended_sleep_init()