Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 18 of 18) sorted by relevance

/freebsd-9-stable/contrib/dtc/
Dlivetree.c263 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle() argument
267 assert((phandle != 0) && (phandle != -1)); in get_node_by_phandle()
269 if (tree->phandle == phandle) in get_node_by_phandle()
273 node = get_node_by_phandle(child, phandle); in get_node_by_phandle()
291 static cell_t phandle = 1; /* FIXME: ick, static local */ in get_node_phandle() local
293 if ((node->phandle != 0) && (node->phandle != -1)) in get_node_phandle()
294 return node->phandle; in get_node_phandle()
296 while (get_node_by_phandle(root, phandle)) in get_node_phandle()
297 phandle++; in get_node_phandle()
299 node->phandle = phandle; in get_node_phandle()
[all …]
Dchecks.c286 cell_t phandle; in check_explicit_phandles() local
317 phandle = propval_cell(prop); in check_explicit_phandles()
319 if ((phandle == 0) || (phandle == -1)) { in check_explicit_phandles()
321 node->fullpath, phandle, prop->name); in check_explicit_phandles()
325 if (node->phandle && (node->phandle != phandle)) in check_explicit_phandles()
329 other = get_node_by_phandle(root, phandle); in check_explicit_phandles()
332 node->fullpath, phandle, other->fullpath); in check_explicit_phandles()
336 node->phandle = phandle; in check_explicit_phandles()
379 cell_t phandle; in fixup_phandle_references() local
391 phandle = get_node_phandle(dt, refnode); in fixup_phandle_references()
[all …]
Ddtc.h148 cell_t phandle; member
177 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
/freebsd-9-stable/sys/powerpc/ofw/
Dofw_machdep.c163 phandle_t phandle; in parse_ofw_memory() local
172 phandle = OF_finddevice("/"); in parse_ofw_memory()
173 if (OF_getprop(phandle, "#address-cells", &address_cells, in parse_ofw_memory()
176 if (OF_getprop(phandle, "#size-cells", &size_cells, in parse_ofw_memory()
269 phandle_t phandle; in parse_drconf_memory() local
278 phandle = OF_finddevice("/ibm,dynamic-reconfiguration-memory"); in parse_drconf_memory()
279 if (phandle == -1) in parse_drconf_memory()
283 res = OF_getprop(phandle, "ibm,lmb-size", lmb_size, sizeof(lmb_size)); in parse_drconf_memory()
299 len = OF_getproplen(phandle, "ibm,dynamic-memory"); in parse_drconf_memory()
307 res = OF_getprop(phandle, "ibm,dynamic-memory", &arr, in parse_drconf_memory()
[all …]
/freebsd-9-stable/sys/powerpc/powermac/
Dplatform_powermac.c110 phandle_t phandle; in powermac_timebase_freq() local
113 phandle = cpuref->cr_hwref; in powermac_timebase_freq()
115 OF_getprop(phandle, "timebase-frequency", &ticks, sizeof(ticks)); in powermac_timebase_freq()
/freebsd-9-stable/lib/libusb/
Dlibusb10_hotplug.c186 libusb_hotplug_callback_handle *phandle) in libusb_hotplug_register_callback() argument
232 if (phandle != NULL) in libusb_hotplug_register_callback()
233 *phandle = handle; in libusb_hotplug_register_callback()
/freebsd-9-stable/sys/contrib/libfdt/
Dfdt_ro.c442 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
446 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle()
460 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
Dlibfdt.h652 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
/freebsd-9-stable/contrib/dtc/libfdt/
Dfdt_ro.c442 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
446 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle()
460 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
Dlibfdt.h652 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
/freebsd-9-stable/sys/boot/fdt/dts/
Dbindings-gpio.txt62 The first cell of the GPIO specifier is phandle of the node's
74 <phandle pin dir flags>
/freebsd-9-stable/contrib/dtc/Documentation/
Dmanual.txt498 node is required to have a "linux,phandle" property. Real open
499 firmware implementations provide a unique "phandle" value for every
501 "linux,phandle" properties. However, this is made optional if the
503 referencing another node via "phandle" is when laying out the
507 This "linux, phandle" property is a 32-bit value that uniquely
520 purposefully kept the "name" and "linux,phandle" properties which
530 |- linux,phandle = <0>
534 | | - linux,phandle = <1>
544 | |- linux,phandle = <2>
550 | |- linux,phandle = <3>
[all …]
Ddtc-paper.tex36 \newcommand{\phandle}{\texttt{linux,phandle}\xspace}
277 tree. In OF, each node in the tree has an associated phandle, a
284 phandle of the interrupt controller that handles interrupts from this
290 In the flattened tree, a node's phandle is represented by a special
291 \phandle property. When the kernel generates a flattened tree from
292 OF, it adds a \phandle property to each node, containing the phandle
294 only nodes that are actually referred to by phandle need to have this
466 output tree, the value of the referenced node's phandle is included in
467 the property. If that node doesn't have an explicit phandle property,
468 \dtc will automatically create a unique phandle for it. This approach
[all …]
Ddts-format.txt63 node's phandle. References may by '&' followed by a node's label:
/freebsd-9-stable/sys/powerpc/psim/
Dpsim-tree27 # CPU definition. The phandle property is to help nexus.c locate the
/freebsd-9-stable/sys/contrib/altq/altq/
Daltq_subr.c1350 acc_add_filter(classifier, filter, class, phandle) in acc_add_filter() argument
1354 u_long *phandle;
1472 *phandle = afp->f_handle;
/freebsd-9-stable/sys/dev/ofw/
Dofw_if.m166 * @brief Return phandle for named device.
/freebsd-9-stable/sys/compat/ndis/
Dsubr_ntoskrnl.c3518 PsCreateSystemThread(handle, reqaccess, objattrs, phandle, argument
3523 ndis_handle phandle;