Lines Matching refs:dp
508 static int __init core99_nvram_setup(struct device_node *dp, unsigned long addr)
550 if (of_device_is_compatible(dp, "amd-0137")) {
562 struct device_node *dp;
569 dp = of_find_node_by_name(NULL, "nvram");
570 if (dp == NULL) {
576 if (of_address_to_resource(dp, 0, &r1) == 0) {
579 if (of_address_to_resource(dp, 1, &r2) == 0) {
585 is_core_99 = of_device_is_compatible(dp, "nvram,flash");
587 err = core99_nvram_setup(dp, r1.start);
623 of_node_put(dp);