Lines Matching refs:parent

43 	int		(*match)(struct device_node *parent);
242 res->parent = res->child = res->sibling = NULL; in of_pci_range_to_resource()
443 static int of_translate_one(struct device_node *parent, struct of_bus *bus, in of_translate_one() argument
471 ranges = of_get_property(parent, rprop, &rlen); in of_translate_one()
472 if (ranges == NULL && !of_empty_ranges_quirk(parent) && in of_translate_one()
528 struct device_node *parent = NULL; in __of_translate_address() local
541 parent = get_parent(dev); in __of_translate_address()
542 if (parent == NULL) in __of_translate_address()
544 bus = of_match_bus(parent); in __of_translate_address()
555 bus->name, na, ns, parent); in __of_translate_address()
564 dev = parent; in __of_translate_address()
565 parent = get_parent(dev); in __of_translate_address()
568 if (parent == NULL) { in __of_translate_address()
588 pbus = of_match_bus(parent); in __of_translate_address()
596 pbus->name, pna, pns, parent); in __of_translate_address()
610 of_node_put(parent); in __of_translate_address()
654 struct device_node *parent; in of_get_next_dma_parent() local
656 parent = __of_get_dma_parent(np); in of_get_next_dma_parent()
659 return parent; in of_get_next_dma_parent()
691 struct device_node *parent; in of_translate_dma_region() local
695 parent = __of_get_dma_parent(dev); in of_translate_dma_region()
696 if (!parent) in of_translate_dma_region()
699 na = of_bus_n_addr_cells(parent); in of_translate_dma_region()
700 ns = of_bus_n_size_cells(parent); in of_translate_dma_region()
702 of_node_put(parent); in of_translate_dma_region()
725 struct device_node *parent; in __of_get_address() local
730 parent = of_get_parent(dev); in __of_get_address()
731 if (parent == NULL) in __of_get_address()
733 bus = of_match_bus(parent); in __of_get_address()
735 of_node_put(parent); in __of_get_address()
739 of_node_put(parent); in __of_get_address()
1087 struct device_node *parent; in of_mmio_is_nonposted() local
1093 parent = of_get_parent(np); in of_mmio_is_nonposted()
1094 if (!parent) in of_mmio_is_nonposted()
1097 nonposted = of_property_read_bool(parent, "nonposted-mmio"); in of_mmio_is_nonposted()
1099 of_node_put(parent); in of_mmio_is_nonposted()