Lines Matching +full:prop +full:-

1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 1996-2005 Paul Mackerras.
67 regs = rprop->value; in sparc32_path_component()
70 regs->which_io, regs->phys_addr); in sparc32_path_component()
78 struct property *prop; in sbus_path_component() local
80 prop = of_find_property(dp, "reg", NULL); in sbus_path_component()
81 if (!prop) in sbus_path_component()
84 regs = prop->value; in sbus_path_component()
87 regs->which_io, in sbus_path_component()
88 regs->phys_addr); in sbus_path_component()
96 struct property *prop; in pci_path_component() local
99 prop = of_find_property(dp, "reg", NULL); in pci_path_component()
100 if (!prop) in pci_path_component()
103 regs = prop->value; in pci_path_component()
104 devfn = (regs->phys_hi >> 8) & 0xff; in pci_path_component()
122 struct property *prop; in ebus_path_component() local
124 prop = of_find_property(dp, "reg", NULL); in ebus_path_component()
125 if (!prop) in ebus_path_component()
128 regs = prop->value; in ebus_path_component()
132 regs->which_io, regs->phys_addr); in ebus_path_component()
142 struct property *prop; in ambapp_path_component() local
148 prop = of_find_property(dp, "reg", NULL); in ambapp_path_component()
149 if (!prop) { in ambapp_path_component()
150 reg0 = (unsigned int)dp->phandle; in ambapp_path_component()
152 regs = prop->value; in ambapp_path_component()
153 reg0 = regs->phys_addr; in ambapp_path_component()
157 prop = of_find_property(dp, "interrupts", NULL); in ambapp_path_component()
158 if (!prop) in ambapp_path_component()
161 intr = prop->value; in ambapp_path_component()
168 struct device_node *parent = dp->parent; in __build_path_component()
220 switch (*romvec->pv_stdout) { in of_console_init()
235 *romvec->pv_stdout); in of_console_init()
241 if (!tmp--) in of_console_init()
260 fd = *romvec->pv_v2bootargs.fd_stdout; in of_console_init()
263 node = (*romvec->pv_v2devops.v2_inst2pkg)(fd); in of_console_init()
285 switch (*romvec->pv_stdout) { in of_console_init()
297 path = of_get_property(dp, "stdout-path", NULL); in of_console_init()
299 prom_printf("No stdout-path in root node.\n"); in of_console_init()