Home
last modified time | relevance | path

Searched refs:sram_np (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/arch/arm/mach-rockchip/
H A Dpm.c226 struct device_node *sram_np; in rk3288_suspend_init() local
250 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()
/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dti_k3_r5_remoteproc.c1051 struct device_node *sram_np; in k3_r5_core_of_get_sram_memories() local
1068 sram_np = of_parse_phandle(np, "sram", i); in k3_r5_core_of_get_sram_memories()
1069 if (!sram_np) in k3_r5_core_of_get_sram_memories()
1072 if (!of_device_is_available(sram_np)) { in k3_r5_core_of_get_sram_memories()
1073 of_node_put(sram_np); in k3_r5_core_of_get_sram_memories()
1077 ret = of_address_to_resource(sram_np, 0, &res); in k3_r5_core_of_get_sram_memories()
1078 of_node_put(sram_np); in k3_r5_core_of_get_sram_memories()
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_vad.c1159 struct device_node *sram_np = NULL; in rockchip_vad_probe() local
1205 sram_np = of_parse_phandle(np, "rockchip,audio-sram", 0); in rockchip_vad_probe()
1206 if (!sram_np) { in rockchip_vad_probe()
1226 ret = of_address_to_resource(sram_np, 0, &sram_res); in rockchip_vad_probe()
1288 of_node_put(sram_np); in rockchip_vad_probe()
1294 of_node_put(sram_np); in rockchip_vad_probe()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/
H A Dmpp_rkvdec2.c1410 struct device_node *sram_np; in rkvdec2_alloc_rcbbuf() local
1435 sram_np = of_parse_phandle(dev->of_node, "rockchip,sram", 0); in rkvdec2_alloc_rcbbuf()
1436 if (!sram_np) { in rkvdec2_alloc_rcbbuf()
1441 ret = of_address_to_resource(sram_np, 0, &sram_res); in rkvdec2_alloc_rcbbuf()
1442 of_node_put(sram_np); in rkvdec2_alloc_rcbbuf()
H A Dmpp_rkvenc2.c2315 struct device_node *sram_np; in rkvenc2_alloc_rcbbuf() local
2339 sram_np = of_parse_phandle(dev->of_node, "rockchip,sram", 0); in rkvenc2_alloc_rcbbuf()
2340 if (!sram_np) { in rkvenc2_alloc_rcbbuf()
2345 ret = of_address_to_resource(sram_np, 0, &sram_res); in rkvenc2_alloc_rcbbuf()
2346 of_node_put(sram_np); in rkvenc2_alloc_rcbbuf()