Lines Matching refs:parent
347 if (!node->parent) in check_node_name_vs_property_name()
350 if (get_property(node->parent, node->name)) { in check_node_name_vs_property_name()
766 if (!node->parent) { in check_reg_format()
774 addr_cells = node_addr_cells(node->parent); in check_reg_format()
775 size_cells = node_size_cells(node->parent); in check_reg_format()
796 if (!node->parent) { in check_ranges_format()
802 p_addr_cells = node_addr_cells(node->parent); in check_ranges_format()
803 p_size_cells = node_size_cells(node->parent); in check_ranges_format()
812 ranges, c_addr_cells, node->parent->fullpath, in check_ranges_format()
817 ranges, c_size_cells, node->parent->fullpath, in check_ranges_format()
880 if (!node->parent || (node->parent->bus != &pci_bus)) in check_pci_device_bus_num()
890 prop = get_property(node->parent, "bus-range"); in check_pci_device_bus_num()
912 if (!node->parent || (node->parent->bus != &pci_bus)) in check_pci_device_reg()
985 if (!node->parent || (node->parent->bus != &simple_bus)) in check_simple_bus_reg()
999 if (node->parent->parent && !(node->bus == &simple_bus)) in check_simple_bus_reg()
1004 size = node_addr_cells(node->parent); in check_simple_bus_reg()
1057 if (!node->parent || (node->parent->bus != &i2c_bus)) in check_i2c_bus_reg()
1146 if (!node->parent || (node->parent->bus != &spi_bus)) in check_spi_bus_reg()
1149 if (get_property(node->parent, "spi-slave")) in check_spi_bus_reg()
1174 if (node->parent && node->parent->bus) in check_unit_address_format()
1199 if (!node->parent) in check_avoid_default_addr_size()
1208 if (node->parent->addr_cells == -1) in check_avoid_default_addr_size()
1211 if (node->parent->size_cells == -1) in check_avoid_default_addr_size()
1224 if (!node->parent || node->addr_cells < 0 || node->size_cells < 0) in check_avoid_unnecessary_addr_size()
1337 if (node->parent != dti->dt) in check_chosen_node_is_root()
1691 struct node *irq_node = NULL, *parent = node; in check_interrupts_property() local
1703 while (parent && !prop) { in check_interrupts_property()
1704 if (parent != node && node_is_interrupt_provider(parent)) { in check_interrupts_property()
1705 irq_node = parent; in check_interrupts_property()
1709 prop = get_property(parent, "interrupt-parent"); in check_interrupts_property()
1717 FAIL_PROP(c, dti, parent, prop, "Invalid phandle"); in check_interrupts_property()
1723 FAIL_PROP(c, dti, parent, prop, "Bad phandle"); in check_interrupts_property()
1733 parent = parent->parent; in check_interrupts_property()
1775 if (!node->parent) { in check_graph_nodes()
1782 if (!node->parent->bus && in check_graph_nodes()
1783 (streq(node->parent->name, "ports") || get_property(node, "reg"))) in check_graph_nodes()
1784 node->parent->bus = &graph_ports_bus; in check_graph_nodes()
1813 if (node->parent->addr_cells != 1) in check_graph_reg()
1816 node->parent->addr_cells); in check_graph_reg()
1817 if (node->parent->size_cells != 0) in check_graph_reg()
1820 node->parent->size_cells); in check_graph_reg()
1868 if (!node->parent || node->parent->bus != &graph_port_bus) in check_graph_endpoint()