Searched refs:rtcs (Results 1 – 3 of 3) sorted by relevance
/linux/arch/powerpc/platforms/chrp/ |
H A D | time.c | 43 struct device_node *rtcs; in chrp_time_init() local 47 rtcs = of_find_compatible_node(NULL, "rtc", "pnpPNP,b00"); in chrp_time_init() 48 if (rtcs == NULL) in chrp_time_init() 49 rtcs = of_find_compatible_node(NULL, "rtc", "ds1385-rtc"); in chrp_time_init() 50 if (rtcs == NULL) in chrp_time_init() 52 if (of_address_to_resource(rtcs, 0, &r)) { in chrp_time_init() 53 of_node_put(rtcs); in chrp_time_init() 56 of_node_put(rtcs); in chrp_time_init()
|
/linux/arch/powerpc/platforms/maple/ |
H A D | time.c | 137 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() 156 of_node_put(rtcs); in maple_get_boot_time()
|
H A D | setup.c | 68 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()
|