/freebsd-10.0-release/sys/powerpc/pseries/ |
H A D | xics.c | 162 phandle_t phandle = ofw_bus_get_node(dev); local 172 if (OF_getproplen(phandle, "ibm,phandle") > 0) 173 OF_getprop(phandle, "ibm,phandle", &phandle, sizeof(phandle)); 175 powerpc_register_pic(dev, phandle, MAX_XICP_IRQS, 185 phandle_t phandle = ofw_bus_get_node(dev); local 187 if (OF_getproplen(phandle, "ib [all...] |
H A D | platform_chrp.c | 176 phandle_t phandle; local 179 phandle = cpuref->cr_hwref; 181 OF_getprop(phandle, "timebase-frequency", &ticks, sizeof(ticks));
|
/freebsd-10.0-release/sys/powerpc/ofw/ |
H A D | ofw_machdep.c | 162 phandle_t phandle; local 171 phandle = OF_finddevice("/"); 172 if (OF_getprop(phandle, "#address-cells", &address_cells, 175 if (OF_getprop(phandle, "#size-cells", &size_cells, 268 phandle_t phandle; local 277 phandle = OF_finddevice("/ibm,dynamic-reconfiguration-memory"); 278 if (phandle == -1) 282 res = OF_getprop(phandle, "ibm,lmb-size", lmb_size, sizeof(lmb_size)); 298 len = OF_getproplen(phandle, "ibm,dynamic-memory"); 306 res = OF_getprop(phandle, "ib 350 phandle_t phandle; local [all...] |
/freebsd-10.0-release/contrib/dtc/ |
H A D | livetree.c | 394 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) argument 398 assert((phandle != 0) && (phandle != -1)); 400 if (tree->phandle == phandle) 404 node = get_node_by_phandle(child, phandle); 422 static cell_t phandle = 1; /* FIXME: ick, static local */ local 424 if ((node->phandle != 0) && (node->phandle != -1)) 425 return node->phandle; [all...] |
H A D | checks.c | 364 cell_t phandle; local 366 if (!streq(prop->name, "phandle") 367 && !streq(prop->name, "linux,phandle")) 380 /* "Set this node's phandle equal to some 381 * other node's phandle". That's nonsensical 387 /* But setting this node's phandle equal to its own 388 * phandle is allowed - that means allocate a unique 389 * phandle for this node, even if it's not otherwise 395 phandle = propval_cell(prop); 397 if ((phandle 457 cell_t phandle; local [all...] |
H A D | dtc.h | 56 extern int phandle_format; /* Use linux,phandle or phandle properties */ 155 cell_t phandle; member in struct:node 194 struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
|
/freebsd-10.0-release/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 155 phandle_t phandle; local 158 phandle = cpuref->cr_hwref; 160 OF_getprop(phandle, "timebase-frequency", &ticks, sizeof(ticks));
|
/freebsd-10.0-release/contrib/dtc/libfdt/ |
H A D | fdt_ro.c | 330 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); 332 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 493 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) argument 497 if ((phandle == 0) || (phandle == -1)) 511 if (fdt_get_phandle(fdt, offset) == phandle)
|
H A D | libfdt.h | 82 /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle 83 * value. phandle values of 0 and -1 are not permitted. */ 551 * fdt_get_phandle - retrieve the phandle of a given node 555 * fdt_get_phandle() retrieves the phandle of the device tree node at 559 * the phandle of the node at nodeoffset, on success (!= 0, != -1) 560 * 0, if the node has no phandle, or another error occurs 737 * fdt_node_offset_by_phandle - find the node with a given phandle 739 * @phandle: phandle value 742 * which has the given phandle valu [all...] |
/freebsd-10.0-release/sys/contrib/libfdt/ |
H A D | fdt_ro.c | 330 php = fdt_getprop(fdt, nodeoffset, "phandle", &len); 332 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 493 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) argument 497 if ((phandle == 0) || (phandle == -1)) 511 if (fdt_get_phandle(fdt, offset) == phandle)
|
H A D | libfdt.h | 82 /* FDT_ERR_BADPHANDLE: Function was passed an invalid phandle 83 * value. phandle values of 0 and -1 are not permitted. */ 551 * fdt_get_phandle - retrieve the phandle of a given node 555 * fdt_get_phandle() retrieves the phandle of the device tree node at 559 * the phandle of the node at nodeoffset, on success (!= 0, != -1) 560 * 0, if the node has no phandle, or another error occurs 737 * fdt_node_offset_by_phandle - find the node with a given phandle 739 * @phandle: phandle value 742 * which has the given phandle valu [all...] |
/freebsd-10.0-release/contrib/dtc/Documentation/ |
H A D | dtc-paper.tex | 36 \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 i [all...] |
/freebsd-10.0-release/usr.bin/dtc/ |
H A D | fdt.cc | 248 // If this is a phandle then we need to get the name of the 263 // If we already have some bytes, make the phandle a 939 if ((*i)->get_key() == string("phandle") || 940 (*i)->get_key() == string("linux,phandle")) 944 fprintf(stderr, "Invalid phandle value for node "); 951 uint32_t phandle = (*i)->begin()->get_as_uint32(); local 952 used_phandles.insert(std::make_pair(phandle, n)); 985 uint32_t phandle = 1; local 998 // If there is an existing phandle, use it 999 property *p = target->get_property("phandle"); [all...] |
/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-board.c | 207 int aliases, eth, phy, phy_parent, phandle, ret; local 249 phandle = cvmx_be32_to_cpu(*phy_handle); 250 phy = fdt_node_offset_by_phandle(fdt_addr, phandle);
|
/freebsd-10.0-release/sys/contrib/altq/altq/ |
H A D | altq_subr.c | 1346 acc_add_filter(classifier, filter, class, phandle) 1350 u_long *phandle; 1468 *phandle = afp->f_handle;
|
/freebsd-10.0-release/sys/compat/ndis/ |
H A D | subr_ntoskrnl.c | 3521 PsCreateSystemThread(handle, reqaccess, objattrs, phandle, 3526 ndis_handle phandle;
|