Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/
Dtime.c137 struct device_node *rtcs; in maple_get_boot_time() local
139 rtcs = of_find_compatible_node(NULL, "rtc", "pnpPNP,b00"); in maple_get_boot_time()
140 if (rtcs) { in maple_get_boot_time()
142 if (of_address_to_resource(rtcs, 0, &r)) { in maple_get_boot_time()
Dsetup.c67 struct device_node *rtcs; in maple_find_nvram_base() local
71 rtcs = of_find_compatible_node(NULL, "nvram", "AMD8111"); in maple_find_nvram_base()
72 if (rtcs) { in maple_find_nvram_base()
74 if (of_address_to_resource(rtcs, 0, &r)) { in maple_find_nvram_base()
87 of_node_put(rtcs); in maple_find_nvram_base()