Home
last modified time | relevance | path

Searched refs:rtcs (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/arch/powerpc/platforms/chrp/
Dtime.c45 struct device_node *rtcs; in chrp_time_init() local
49 rtcs = of_find_compatible_node(NULL, "rtc", "pnpPNP,b00"); in chrp_time_init()
50 if (rtcs == NULL) in chrp_time_init()
51 rtcs = of_find_compatible_node(NULL, "rtc", "ds1385-rtc"); in chrp_time_init()
52 if (rtcs == NULL) in chrp_time_init()
54 if (of_address_to_resource(rtcs, 0, &r)) { in chrp_time_init()
55 of_node_put(rtcs); in chrp_time_init()
58 of_node_put(rtcs); in chrp_time_init()
/Linux-v5.4/arch/powerpc/platforms/maple/
Dtime.c138 struct device_node *rtcs; in maple_get_boot_time() local
140 rtcs = of_find_compatible_node(NULL, "rtc", "pnpPNP,b00"); in maple_get_boot_time()
141 if (rtcs) { in maple_get_boot_time()
143 if (of_address_to_resource(rtcs, 0, &r)) { in maple_get_boot_time()
Dsetup.c68 struct device_node *rtcs; in maple_find_nvram_base() local
72 rtcs = of_find_compatible_node(NULL, "nvram", "AMD8111"); in maple_find_nvram_base()
73 if (rtcs) { in maple_find_nvram_base()
75 if (of_address_to_resource(rtcs, 0, &r)) { in maple_find_nvram_base()
88 of_node_put(rtcs); in maple_find_nvram_base()