/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/powerpc/boot/ |
H A D | of.h | 4 typedef void *phandle; typedef 13 int of_getprop(const void *phandle, const char *name, void *buf, 15 int of_setprop(const void *phandle, const char *name, const void *buf,
|
H A D | oflib.c | 106 static phandle memory; 110 phandle oprom, chosen; 114 if (oprom == (phandle) -1) 124 if (chosen == (phandle) -1) { 126 if (chosen == (phandle) -1) { 200 return (phandle) of_call_prom("finddevice", 1, 1, name); 203 int of_getprop(const void *phandle, const char *name, void *buf, argument 206 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); 209 int of_setprop(const void *phandle, const char *name, const void *buf, argument 212 return of_call_prom("setprop", 4, 1, phandle, nam [all...] |
H A D | ops.h | 39 int (*getprop)(const void *phandle, const char *name, void *buf, 41 int (*setprop)(const void *phandle, const char *name, 43 int (*del_node)(const void *phandle); 44 void *(*get_parent)(const void *phandle); 53 char *(*get_path)(const void *phandle, char *buf, int len); 205 return find_node_by_prop_value(NULL, "linux,phandle", 209 static inline char *get_path(const void *phandle, char *buf, int len) argument 212 return dt_ops.get_path(phandle, buf, len);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/powerpc/boot/ |
H A D | of.h | 4 typedef void *phandle; typedef 13 int of_getprop(const void *phandle, const char *name, void *buf, 15 int of_setprop(const void *phandle, const char *name, const void *buf,
|
H A D | oflib.c | 106 static phandle memory; 110 phandle oprom, chosen; 114 if (oprom == (phandle) -1) 124 if (chosen == (phandle) -1) { 126 if (chosen == (phandle) -1) { 200 return (phandle) of_call_prom("finddevice", 1, 1, name); 203 int of_getprop(const void *phandle, const char *name, void *buf, argument 206 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); 209 int of_setprop(const void *phandle, const char *name, const void *buf, argument 212 return of_call_prom("setprop", 4, 1, phandle, nam [all...] |
H A D | ops.h | 39 int (*getprop)(const void *phandle, const char *name, void *buf, 41 int (*setprop)(const void *phandle, const char *name, 43 int (*del_node)(const void *phandle); 44 void *(*get_parent)(const void *phandle); 53 char *(*get_path)(const void *phandle, char *buf, int len); 205 return find_node_by_prop_value(NULL, "linux,phandle", 209 static inline char *get_path(const void *phandle, char *buf, int len) argument 212 return dt_ops.get_path(phandle, buf, len);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/scripts/dtc/ |
H A D | livetree.c | 263 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) argument 267 assert((phandle != 0) && (phandle != -1)); 269 if (tree->phandle == phandle) 273 node = get_node_by_phandle(child, phandle); 291 static cell_t phandle = 1; local 293 if ((node->phandle != 0) && (node->phandle != -1)) 294 return node->phandle; [all...] |
H A D | checks.c | 286 cell_t phandle; local 288 prop = get_property(node, "linux,phandle"); 290 return; /* No phandle, that's fine */ 293 FAIL(c, "%s has bad length (%d) linux,phandle property", 298 phandle = propval_cell(prop); 299 if ((phandle == 0) || (phandle == -1)) { 300 FAIL(c, "%s has invalid linux,phandle value 0x%x", 301 node->fullpath, phandle); 305 other = get_node_by_phandle(root, phandle); 355 cell_t phandle; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/scripts/dtc/ |
H A D | livetree.c | 263 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) argument 267 assert((phandle != 0) && (phandle != -1)); 269 if (tree->phandle == phandle) 273 node = get_node_by_phandle(child, phandle); 291 static cell_t phandle = 1; local 293 if ((node->phandle != 0) && (node->phandle != -1)) 294 return node->phandle; [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/ppc/ |
H A D | emul_chirp.c | 261 unsigned_cell phandle; member in struct:peer_args 265 device *phandle; local 270 phandle = external_to_device(data->root, args.phandle); 271 TRACE(trace_os_emul, ("peer - in - phandle=0x%lx(0x%lx`%s')\n", 272 (unsigned long)args.phandle, 273 (unsigned long)phandle, 274 (phandle == NULL ? "" : device_name(phandle)))); 276 if (args.phandle 310 unsigned_cell phandle; member in struct:child_args 314 device *phandle; local 356 unsigned_cell phandle; member in struct:parent_args 360 device *phandle; local 404 unsigned_cell phandle; member in struct:instance_to_package_args 407 device *phandle = NULL; local 444 unsigned_cell phandle; member in struct:getproplen_args 450 device *phandle; local 495 unsigned_cell phandle; member in struct:getprop_args 503 device *phandle; local 575 unsigned_cell phandle; member in struct:nextprop_args 582 device *phandle; local 669 device *phandle; local 719 unsigned_cell phandle; member in struct:finddevice_args 722 device *phandle; local 808 unsigned_cell phandle; member in struct:package_to_path_args 814 device *phandle; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/ppc/ |
H A D | emul_chirp.c | 261 unsigned_cell phandle; member in struct:peer_args 265 device *phandle; local 270 phandle = external_to_device(data->root, args.phandle); 271 TRACE(trace_os_emul, ("peer - in - phandle=0x%lx(0x%lx`%s')\n", 272 (unsigned long)args.phandle, 273 (unsigned long)phandle, 274 (phandle == NULL ? "" : device_name(phandle)))); 276 if (args.phandle 310 unsigned_cell phandle; member in struct:child_args 314 device *phandle; local 356 unsigned_cell phandle; member in struct:parent_args 360 device *phandle; local 404 unsigned_cell phandle; member in struct:instance_to_package_args 407 device *phandle = NULL; local 444 unsigned_cell phandle; member in struct:getproplen_args 450 device *phandle; local 495 unsigned_cell phandle; member in struct:getprop_args 503 device *phandle; local 575 unsigned_cell phandle; member in struct:nextprop_args 582 device *phandle; local 669 device *phandle; local 719 unsigned_cell phandle; member in struct:finddevice_args 722 device *phandle; local 808 unsigned_cell phandle; member in struct:package_to_path_args 814 device *phandle; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/ppc/ |
H A D | emul_chirp.c | 261 unsigned_cell phandle; member in struct:peer_args 265 device *phandle; local 270 phandle = external_to_device(data->root, args.phandle); 271 TRACE(trace_os_emul, ("peer - in - phandle=0x%lx(0x%lx`%s')\n", 272 (unsigned long)args.phandle, 273 (unsigned long)phandle, 274 (phandle == NULL ? "" : device_name(phandle)))); 276 if (args.phandle 310 unsigned_cell phandle; member in struct:child_args 314 device *phandle; local 356 unsigned_cell phandle; member in struct:parent_args 360 device *phandle; local 404 unsigned_cell phandle; member in struct:instance_to_package_args 407 device *phandle = NULL; local 444 unsigned_cell phandle; member in struct:getproplen_args 450 device *phandle; local 495 unsigned_cell phandle; member in struct:getprop_args 503 device *phandle; local 575 unsigned_cell phandle; member in struct:nextprop_args 582 device *phandle; local 669 device *phandle; local 719 unsigned_cell phandle; member in struct:finddevice_args 722 device *phandle; local 808 unsigned_cell phandle; member in struct:package_to_path_args 814 device *phandle; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/arm/boot/compressed/ |
H A D | ofw-shark.c | 190 int phandle,i,mem_len,buffer[32]; local 202 phandle=OF_finddevice(o,temp); 209 mem_len = OF_getproplen(o,phandle, temp); 210 OF_getprop(o,phandle, temp, buffer, mem_len); 224 phandle=OF_finddevice(o,temp); 236 mem_len = OF_getproplen(o,phandle, temp); 237 OF_getprop(o,phandle, temp, buffer, mem_len); 244 phandle=OF_finddevice(o,temp); 257 mem_len = OF_getproplen(o,phandle, temp); 258 OF_getprop(o,phandle, tem [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/arm/boot/compressed/ |
H A D | ofw-shark.c | 190 int phandle,i,mem_len,buffer[32]; local 202 phandle=OF_finddevice(o,temp); 209 mem_len = OF_getproplen(o,phandle, temp); 210 OF_getprop(o,phandle, temp, buffer, mem_len); 224 phandle=OF_finddevice(o,temp); 236 mem_len = OF_getproplen(o,phandle, temp); 237 OF_getprop(o,phandle, temp, buffer, mem_len); 244 phandle=OF_finddevice(o,temp); 257 mem_len = OF_getproplen(o,phandle, temp); 258 OF_getprop(o,phandle, tem [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/sparc/kernel/ |
H A D | prom_common.c | 80 ret = prom_setprop(dp->phandle, name, val, len); 123 static struct property * __init build_one_prop(phandle node, char *prev, 178 static struct property * __init build_prop_list(phandle node) 196 static char * __init get_one_property(phandle node, const char *name) 210 static struct device_node * __init prom_create_node(phandle node, 226 dp->phandle = node; 256 phandle node, 303 prom_getchild(allnodes->phandle),
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/sparc/kernel/ |
H A D | prom_common.c | 80 ret = prom_setprop(dp->phandle, name, val, len); 123 static struct property * __init build_one_prop(phandle node, char *prev, 178 static struct property * __init build_prop_list(phandle node) 196 static char * __init get_one_property(phandle node, const char *name) 210 static struct device_node * __init prom_create_node(phandle node, 226 dp->phandle = node; 256 phandle node, 303 prom_getchild(allnodes->phandle),
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/common/ |
H A D | hw-handles.c | 29 struct hw *phandle; member in struct:hw_handle_mapping 114 return current_map->phandle; 145 if (current_map->phandle == internal) 182 hw_abort (hw, "attempting to add a phandle already in the data base"); 189 new_map->phandle = internal; 226 if ((*current_map)->phandle == internal) 235 hw_abort (hw, "attempt to remove nonexistant phandle");
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/common/ |
H A D | hw-handles.c | 29 struct hw *phandle; member in struct:hw_handle_mapping 114 return current_map->phandle; 145 if (current_map->phandle == internal) 182 hw_abort (hw, "attempting to add a phandle already in the data base"); 189 new_map->phandle = internal; 226 if ((*current_map)->phandle == internal) 235 hw_abort (hw, "attempt to remove nonexistant phandle");
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/common/ |
H A D | hw-handles.c | 29 struct hw *phandle; member in struct:hw_handle_mapping 114 return current_map->phandle; 145 if (current_map->phandle == internal) 182 hw_abort (hw, "attempting to add a phandle already in the data base"); 189 new_map->phandle = internal; 226 if ((*current_map)->phandle == internal) 235 hw_abort (hw, "attempt to remove nonexistant phandle");
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/share/libtool/libltdl/ |
H A D | ltdl.c | 359 tryall_dlopen (lt_dlhandle *phandle, const char *filename, 388 *phandle = handle; 392 handle = *phandle; 768 lt_dlhandle *phandle = (lt_dlhandle *) data; 778 if (tryall_dlopen (phandle, filename, advise, 0) != 0) 779 *phandle = 0; 788 lt_dlhandle *phandle, lt_dladvise advise) 794 phandle, advise)) 797 return phandle; 1140 try_dlopen (lt_dlhandle *phandle, cons 358 tryall_dlopen(lt_dlhandle *phandle, const char *filename, lt_dladvise advise, const lt_dlvtable *vtable) argument 767 lt_dlhandle *phandle = (lt_dlhandle *) data; local 786 find_handle(const char *search_path, const char *base_name, lt_dlhandle *phandle, lt_dladvise advise) argument 1139 try_dlopen(lt_dlhandle *phandle, const char *filename, const char *ext, lt_dladvise advise) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/sbus/char/ |
H A D | openprom.c | 201 phandle ph; 203 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); 205 if (bufsize < sizeof(phandle)) 237 ph = dp->phandle; 241 op->oprom_size = sizeof(phandle); 260 *((int *)op->oprom_array) = dp->phandle; 273 phandle ph = 0; 277 ph = dp->phandle; 376 static struct device_node *get_node(phandle n, DATA *data) 526 phandle n [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/sbus/char/ |
H A D | openprom.c | 201 phandle ph; 203 BUILD_BUG_ON(sizeof(phandle) != sizeof(int)); 205 if (bufsize < sizeof(phandle)) 237 ph = dp->phandle; 241 op->oprom_size = sizeof(phandle); 260 *((int *)op->oprom_array) = dp->phandle; 273 phandle ph = 0; 277 ph = dp->phandle; 376 static struct device_node *get_node(phandle n, DATA *data) 526 phandle n [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 261 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 400 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) argument 402 if ((phandle == 0) || (phandle == -1)) 404 phandle = cpu_to_fdt32(phandle); 405 return fdt_node_offset_by_prop_value(fdt, -1, "linux,phandle", 406 &phandle, sizeof(phandle));
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 261 php = fdt_getprop(fdt, nodeoffset, "linux,phandle", &len); 400 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) argument 402 if ((phandle == 0) || (phandle == -1)) 404 phandle = cpu_to_fdt32(phandle); 405 return fdt_node_offset_by_prop_value(fdt, -1, "linux,phandle", 406 &phandle, sizeof(phandle));
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/of/ |
H A D | base.c | 575 * of_find_node_by_phandle - Find a node given a phandle 576 * @handle: phandle of the node to find 581 struct device_node *of_find_node_by_phandle(phandle handle) 587 if (np->phandle == handle) 596 * of_parse_phandle - Resolve a phandle property to a device_node pointer 597 * @np: Pointer to device node holding phandle property 598 * @phandle_name: Name of property holding a phandle value 608 const __be32 *phandle; local 611 phandle = of_get_property(np, phandle_name, &size); 612 if ((!phandle) || (siz 671 phandle phandle; local [all...] |