Searched refs:sram_np (Results 1 – 2 of 2) sorted by relevance
226 struct device_node *sram_np; in rk3288_suspend_init() local250 sram_np = of_find_compatible_node(NULL, NULL, in rk3288_suspend_init()252 if (!sram_np) { in rk3288_suspend_init()257 rk3288_bootram_base = of_iomap(sram_np, 0); in rk3288_suspend_init()260 of_node_put(sram_np); in rk3288_suspend_init()264 ret = of_address_to_resource(sram_np, 0, &res); in rk3288_suspend_init()267 of_node_put(sram_np); in rk3288_suspend_init()272 of_node_put(sram_np); in rk3288_suspend_init()
1423 struct device_node *sram_np; in k3_r5_core_of_get_sram_memories() local1440 sram_np = of_parse_phandle(np, "sram", i); in k3_r5_core_of_get_sram_memories()1441 if (!sram_np) in k3_r5_core_of_get_sram_memories()1444 if (!of_device_is_available(sram_np)) { in k3_r5_core_of_get_sram_memories()1445 of_node_put(sram_np); in k3_r5_core_of_get_sram_memories()1449 ret = of_address_to_resource(sram_np, 0, &res); in k3_r5_core_of_get_sram_memories()1450 of_node_put(sram_np); in k3_r5_core_of_get_sram_memories()