Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/chrp/
Dtime.c42 struct device_node *rtcs; in chrp_time_init() local
46 rtcs = of_find_compatible_node(NULL, "rtc", "pnpPNP,b00"); in chrp_time_init()
47 if (rtcs == NULL) in chrp_time_init()
48 rtcs = of_find_compatible_node(NULL, "rtc", "ds1385-rtc"); in chrp_time_init()
49 if (rtcs == NULL) in chrp_time_init()
51 if (of_address_to_resource(rtcs, 0, &r)) { in chrp_time_init()
52 of_node_put(rtcs); in chrp_time_init()
55 of_node_put(rtcs); in chrp_time_init()
/linux-2.6.39/arch/powerpc/platforms/maple/
Dtime.c144 struct device_node *rtcs; in maple_get_boot_time() local
146 rtcs = of_find_compatible_node(NULL, "rtc", "pnpPNP,b00"); in maple_get_boot_time()
147 if (rtcs) { in maple_get_boot_time()
149 if (of_address_to_resource(rtcs, 0, &r)) { in maple_get_boot_time()
Dsetup.c73 struct device_node *rtcs; in maple_find_nvram_base() local
77 rtcs = of_find_compatible_node(NULL, "nvram", "AMD8111"); in maple_find_nvram_base()
78 if (rtcs) { in maple_find_nvram_base()
80 if (of_address_to_resource(rtcs, 0, &r)) { in maple_find_nvram_base()
93 of_node_put(rtcs); in maple_find_nvram_base()