/arch/sparc/include/asm/ |
D | oplib_32.h | 34 extern phandle prom_root_node; 115 phandle prom_getchild(phandle parent_node); 120 phandle prom_getsibling(phandle node); 125 int prom_getproplen(phandle thisnode, const char *property); 130 int __must_check prom_getproperty(phandle thisnode, const char *property, 134 int prom_getint(phandle node, char *property); 137 int prom_getintdefault(phandle node, char *property, int defval); 140 int prom_getbool(phandle node, char *prop); 143 void prom_getstring(phandle node, char *prop, char *buf, int bufsize); 148 phandle prom_searchsiblings(phandle node_start, char *name); [all …]
|
D | oplib_64.h | 20 extern phandle prom_root_node; 28 extern phandle prom_chosen_node; 183 phandle prom_getchild(phandle parent_node); 188 phandle prom_getsibling(phandle node); 193 int prom_getproplen(phandle thisnode, const char *property); 198 int prom_getproperty(phandle thisnode, const char *property, 202 int prom_getint(phandle node, const char *property); 205 int prom_getintdefault(phandle node, const char *property, int defval); 208 int prom_getbool(phandle node, const char *prop); 211 void prom_getstring(phandle node, const char *prop, char *buf, [all …]
|
D | openprom.h | 32 phandle (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */ 174 phandle (*no_nextnode)(phandle node); 175 phandle (*no_child)(phandle node); 176 int (*no_proplen)(phandle node, const char *name); 177 int (*no_getprop)(phandle node, const char *name, char *val); 178 int (*no_setprop)(phandle node, const char *name, char *val, int len); 179 char * (*no_nextprop)(phandle node, char *name);
|
/arch/sparc/prom/ |
D | tree_64.c | 20 static phandle prom_node_to_node(const char *type, phandle node) in prom_node_to_node() 32 return (phandle) args[4]; in prom_node_to_node() 38 inline phandle __prom_getchild(phandle node) in __prom_getchild() 43 phandle prom_getchild(phandle node) in prom_getchild() 45 phandle cnode; in prom_getchild() 56 inline phandle prom_getparent(phandle node) in prom_getparent() 58 phandle cnode; in prom_getparent() 71 inline phandle __prom_getsibling(phandle node) in __prom_getsibling() 76 phandle prom_getsibling(phandle node) in prom_getsibling() 78 phandle sibnode; in prom_getsibling() [all …]
|
D | tree_32.c | 24 static phandle __prom_getchild(phandle node) in __prom_getchild() 27 phandle cnode; in __prom_getchild() 40 phandle prom_getchild(phandle node) in prom_getchild() 42 phandle cnode; in prom_getchild() 56 static phandle __prom_getsibling(phandle node) in __prom_getsibling() 59 phandle cnode; in __prom_getsibling() 72 phandle prom_getsibling(phandle node) in prom_getsibling() 74 phandle sibnode; in prom_getsibling() 90 int prom_getproplen(phandle node, const char *prop) in prom_getproplen() 110 int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize) in prom_getproperty() [all …]
|
D | init_64.c | 23 phandle prom_chosen_node; 34 phandle node; in prom_init()
|
D | ranges.c | 67 phandle node, obio_node; in prom_ranges_init() 88 void prom_apply_generic_ranges(phandle node, phandle parent, in prom_apply_generic_ranges()
|
D | init_32.c | 24 phandle prom_root_node;
|
/arch/sparc/kernel/ |
D | devices.c | 34 static int check_cpu_node(phandle nd, int *cur_inst, in check_cpu_node() 35 int (*compare)(phandle, int, void *), void *compare_arg, in check_cpu_node() argument 36 phandle *prom_node, int *mid) in check_cpu_node() 54 static int __cpu_find_by(int (*compare)(phandle, int, void *), in __cpu_find_by() argument 55 void *compare_arg, phandle *prom_node, int *mid) in __cpu_find_by() 62 int err = check_cpu_node(dp->phandle, &cur_inst, in __cpu_find_by() 74 static int cpu_instance_compare(phandle nd, int instance, void *_arg) in cpu_instance_compare() 83 int cpu_find_by_instance(int instance, phandle *prom_node, int *mid) in cpu_find_by_instance() 89 static int cpu_mid_compare(phandle nd, int instance, void *_arg) in cpu_mid_compare() 101 int cpu_find_by_mid(int mid, phandle *prom_node) in cpu_find_by_mid() [all …]
|
D | auxio_32.c | 32 phandle node, auxio_nd; in auxio_probe() 115 phandle node; in auxio_power_probe()
|
D | prom_common.c | 73 ret = prom_setprop(dp->phandle, name, val, len); in of_set_property() 132 static int __init prom_common_nextprop(phandle node, char *prev, char *buf) in prom_common_nextprop()
|
D | prom_32.c | 150 reg0 = (unsigned int)dp->phandle; in ambapp_path_component() 212 phandle node; in of_console_init()
|
/arch/x86/platform/olpc/ |
D | olpc_dt.c | 22 static phandle __init olpc_dt_getsibling(phandle node) in olpc_dt_getsibling() 36 static phandle __init olpc_dt_getchild(phandle node) in olpc_dt_getchild() 52 static int __init olpc_dt_getproplen(phandle node, const char *prop) in olpc_dt_getproplen() 69 static int __init olpc_dt_getproperty(phandle node, const char *prop, in olpc_dt_getproperty() 90 static int __init olpc_dt_nextprop(phandle node, char *prev, char *buf) in olpc_dt_nextprop() 107 static int __init olpc_dt_pkg2path(phandle node, char *buf, in olpc_dt_pkg2path() 166 static phandle __init olpc_dt_finddevice(const char *path) in olpc_dt_finddevice() 168 phandle node; in olpc_dt_finddevice() 203 phandle node; in olpc_dt_get_board_revision() 219 static int __init olpc_dt_compatible_match(phandle node, const char *compat) in olpc_dt_compatible_match() [all …]
|
/arch/powerpc/boot/ |
D | oflib.c | 115 phandle oprom, chosen; in check_of_version() 119 if (oprom == (phandle) -1) in check_of_version() 129 if (chosen == (phandle) -1) { in check_of_version() 131 if (chosen == (phandle) -1) { in check_of_version() 209 int of_getprop(const void *phandle, const char *name, void *buf, in of_getprop() argument 212 return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen); in of_getprop() 215 int of_setprop(const void *phandle, const char *name, const void *buf, in of_setprop() argument 218 return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen); in of_setprop()
|
D | of.h | 7 typedef void *phandle; typedef 17 int of_getprop(const void *phandle, const char *name, void *buf, 19 int of_setprop(const void *phandle, const char *name, const void *buf,
|
D | ops.h | 40 int (*getprop)(const void *phandle, const char *name, void *buf, 42 int (*setprop)(const void *phandle, const char *name, 44 int (*del_node)(const void *phandle); 45 void *(*get_parent)(const void *phandle); 54 char *(*get_path)(const void *phandle, char *buf, int len); 209 static inline char *get_path(const void *phandle, char *buf, int len) in get_path() argument 212 return dt_ops.get_path(phandle, buf, len); in get_path()
|
/arch/powerpc/sysdev/ |
D | fsl_msi.h | 45 phandle phandle; member
|
D | fsl_msi.c | 182 phandle phandle = 0; in fsl_setup_msi_irqs() local 209 phandle = np->phandle; in fsl_setup_msi_irqs() 213 hose->dn, np->phandle); in fsl_setup_msi_irqs() 234 if (phandle && (phandle != msi_data->phandle)) in fsl_setup_msi_irqs() 477 msi->phandle = dev->dev.of_node->phandle; in fsl_of_msi_probe()
|
/arch/powerpc/platforms/pseries/ |
D | mobility.c | 32 __be32 phandle; member 171 upwa->phandle = cpu_to_be32(dn->phandle); in update_dt_node() 295 __be32 phandle = *data++; in pseries_devicetree_update() local 298 np = of_find_node_by_phandle(be32_to_cpu(phandle)); in pseries_devicetree_update() 301 be32_to_cpu(phandle), action); in pseries_devicetree_update()
|
/arch/powerpc/platforms/cell/ |
D | spu_manage.c | 427 const phandle *vic_handles; in neighbour_spu() 435 for (i=0; i < (lenp / sizeof(phandle)); i++) { in neighbour_spu() 436 if (vic_handles[i] == target->phandle) in neighbour_spu() 447 phandle avoid_ph; in init_affinity_node() 448 const phandle *vic_handles; in init_affinity_node() 462 for (i = 0; i < (lenp / sizeof(phandle)); i++) { in init_affinity_node() 472 avoid_ph = last_spu_dn->phandle; in init_affinity_node() 487 avoid_ph = vic_dn->phandle; in init_affinity_node()
|
/arch/powerpc/kernel/ |
D | prom_init.c | 119 phandle chosen; 625 static int __init prom_next_node(phandle *nodep) in prom_next_node() 627 phandle node; in prom_next_node() 642 static inline int __init prom_getprop(phandle node, const char *pname, in prom_getprop() 649 static inline int __init prom_getproplen(phandle node, const char *pname) in prom_getproplen() 680 static int __init prom_setprop(phandle node, const char *nodename, in prom_setprop() 1193 phandle node; in prom_count_smt_threads() 1619 phandle node; in prom_init_mem() 1772 phandle rtas_node; in prom_rtas_os_term() 1801 phandle rtas_node; in prom_instantiate_rtas() [all …]
|
/arch/arm/boot/dts/ |
D | exynos5.dtsi | 135 samsung,sysreg-phandle = <&sysreg_system_controller>; 145 samsung,sysreg-phandle = <&sysreg_system_controller>; 155 samsung,sysreg-phandle = <&sysreg_system_controller>; 165 samsung,sysreg-phandle = <&sysreg_system_controller>;
|
/arch/powerpc/include/asm/ |
D | bootx.h | 35 u32 phandle; /* not really available */ member
|
D | pmac_pfunc.h | 141 u32 phandle; member 218 u32 phandle, u32 flags, struct pmf_args *args);
|
/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 655 func->phandle = data[0]; in pmf_add_function_prop() 664 count+1, func->flags, func->phandle, length); in pmf_add_function_prop() 848 if (func->phandle && target->phandle != func->phandle) in __pmf_find_function() 957 u32 phandle, u32 fflags, struct pmf_args *args) in pmf_do_functions() argument 974 if (phandle && func->phandle && phandle != func->phandle) in pmf_do_functions()
|