Symbol: phandle
arch/mips/cavium-octeon/octeon-platform.c
488
u32 phandle;
arch/mips/cavium-octeon/octeon-platform.c
499
phandle = be32_to_cpup(phy_handle);
arch/mips/cavium-octeon/octeon-platform.c
500
phy = fdt_node_offset_by_phandle(initial_boot_params, phandle);
arch/powerpc/boot/of.h
17
int of_getprop(const void *phandle, const char *name, void *buf,
arch/powerpc/boot/of.h
19
int of_setprop(const void *phandle, const char *name, const void *buf,
arch/powerpc/boot/oflib.c
115
phandle oprom, chosen;
arch/powerpc/boot/oflib.c
119
if (oprom == (phandle) -1)
arch/powerpc/boot/oflib.c
129
if (chosen == (phandle) -1) {
arch/powerpc/boot/oflib.c
131
if (chosen == (phandle) -1) {
arch/powerpc/boot/oflib.c
209
int of_getprop(const void *phandle, const char *name, void *buf,
arch/powerpc/boot/oflib.c
212
return of_call_prom("getprop", 4, 1, phandle, name, buf, buflen);
arch/powerpc/boot/oflib.c
215
int of_setprop(const void *phandle, const char *name, const void *buf,
arch/powerpc/boot/oflib.c
218
return of_call_prom("setprop", 4, 1, phandle, name, buf, buflen);
arch/powerpc/boot/ops.h
201
static inline char *get_path(const void *phandle, char *buf, int len)
arch/powerpc/boot/ops.h
204
return dt_ops.get_path(phandle, buf, len);
arch/powerpc/boot/ops.h
38
int (*getprop)(const void *phandle, const char *name, void *buf,
arch/powerpc/boot/ops.h
40
int (*setprop)(const void *phandle, const char *name,
arch/powerpc/boot/ops.h
42
int (*del_node)(const void *phandle);
arch/powerpc/boot/ops.h
43
void *(*get_parent)(const void *phandle);
arch/powerpc/boot/ops.h
52
char *(*get_path)(const void *phandle, char *buf, int len);
arch/powerpc/include/asm/bootx.h
35
u32 phandle; /* not really available */
arch/powerpc/include/asm/opal.h
223
int64_t opal_get_device_tree(uint32_t phandle, uint64_t buf, uint64_t len);
arch/powerpc/include/asm/pmac_pfunc.h
141
u32 phandle;
arch/powerpc/include/asm/pmac_pfunc.h
218
u32 phandle, u32 flags, struct pmf_args *args);
arch/powerpc/include/asm/pnv-pci.h
21
extern int pnv_pci_get_device_tree(uint32_t phandle, void *buf, uint64_t len);
arch/powerpc/kernel/dt_cpu_ftrs.c
1032
unsigned long phandle = be32_to_cpu(prop[i]);
arch/powerpc/kernel/dt_cpu_ftrs.c
1038
if (of_get_flat_dt_phandle(d->node) == phandle) {
arch/powerpc/kernel/prom_init.c
117
phandle chosen;
arch/powerpc/kernel/prom_init.c
1227
phandle node;
arch/powerpc/kernel/prom_init.c
1655
phandle node;
arch/powerpc/kernel/prom_init.c
1810
phandle rtas_node;
arch/powerpc/kernel/prom_init.c
1839
phandle rtas_node;
arch/powerpc/kernel/prom_init.c
1906
phandle ibmvtpm_node;
arch/powerpc/kernel/prom_init.c
1984
phandle node;
arch/powerpc/kernel/prom_init.c
2132
phandle node;
arch/powerpc/kernel/prom_init.c
2245
phandle oprom;
arch/powerpc/kernel/prom_init.c
2277
phandle stdout_node;
arch/powerpc/kernel/prom_init.c
2310
phandle rtas;
arch/powerpc/kernel/prom_init.c
2384
phandle node;
arch/powerpc/kernel/prom_init.c
2539
static void __init scan_dt_build_strings(phandle node,
arch/powerpc/kernel/prom_init.c
2545
phandle child;
arch/powerpc/kernel/prom_init.c
2587
static void __init scan_dt_build_struct(phandle node, unsigned long *mem_start,
arch/powerpc/kernel/prom_init.c
2590
phandle child;
arch/powerpc/kernel/prom_init.c
2703
phandle root;
arch/powerpc/kernel/prom_init.c
2725
root = call_prom("peer", 1, 1, (phandle)0);
arch/powerpc/kernel/prom_init.c
2726
if (root == (phandle)0)
arch/powerpc/kernel/prom_init.c
2802
phandle ph;
arch/powerpc/kernel/prom_init.c
2848
phandle u3, i2c, mpic;
arch/powerpc/kernel/prom_init.c
2890
phandle node;
arch/powerpc/kernel/prom_init.c
3049
phandle iob, node;
arch/powerpc/kernel/prom_init.c
3137
phandle cpu_pkg;
arch/powerpc/kernel/prom_init.c
642
static int __init prom_next_node(phandle *nodep)
arch/powerpc/kernel/prom_init.c
644
phandle node;
arch/powerpc/kernel/prom_init.c
659
static inline int __init prom_getprop(phandle node, const char *pname,
arch/powerpc/kernel/prom_init.c
666
static inline int __init prom_getproplen(phandle node, const char *pname)
arch/powerpc/kernel/prom_init.c
697
static int __init prom_setprop(phandle node, const char *nodename,
arch/powerpc/platforms/powermac/pfunc_core.c
655
func->phandle = data[0];
arch/powerpc/platforms/powermac/pfunc_core.c
664
count+1, func->flags, func->phandle, length);
arch/powerpc/platforms/powermac/pfunc_core.c
848
if (func->phandle && target->phandle != func->phandle)
arch/powerpc/platforms/powermac/pfunc_core.c
957
u32 phandle, u32 fflags, struct pmf_args *args)
arch/powerpc/platforms/powermac/pfunc_core.c
974
if (phandle && func->phandle && phandle != func->phandle)
arch/powerpc/platforms/powernv/pci.c
77
int pnv_pci_get_device_tree(uint32_t phandle, void *buf, uint64_t len)
arch/powerpc/platforms/powernv/pci.c
84
rc = opal_get_device_tree(phandle, (uint64_t)buf, len);
arch/powerpc/platforms/pseries/mobility.c
200
upwa->phandle = cpu_to_be32(dn->phandle);
arch/powerpc/platforms/pseries/mobility.c
325
__be32 phandle = *data++;
arch/powerpc/platforms/pseries/mobility.c
328
np = of_find_node_by_phandle(be32_to_cpu(phandle));
arch/powerpc/platforms/pseries/mobility.c
331
be32_to_cpu(phandle), action);
arch/powerpc/platforms/pseries/mobility.c
37
__be32 phandle;
arch/powerpc/platforms/pseries/reconfig.c
255
phandle handle;
arch/powerpc/sysdev/fsl_msi.c
183
phandle phandle = 0;
arch/powerpc/sysdev/fsl_msi.c
210
phandle = np->phandle;
arch/powerpc/sysdev/fsl_msi.c
214
hose->dn, np->phandle);
arch/powerpc/sysdev/fsl_msi.c
235
if (phandle && (phandle != msi_data->phandle))
arch/powerpc/sysdev/fsl_msi.c
467
msi->phandle = dev->dev.of_node->phandle;
arch/powerpc/sysdev/fsl_msi.h
45
phandle phandle;
arch/powerpc/sysdev/tsi108_dev.c
76
const phandle *ph;
arch/sparc/include/asm/floppy_32.h
278
phandle fd_node;
arch/sparc/include/asm/floppy_32.h
279
phandle tnode;
arch/sparc/include/asm/openprom.h
174
phandle (*no_nextnode)(phandle node);
arch/sparc/include/asm/openprom.h
175
phandle (*no_child)(phandle node);
arch/sparc/include/asm/openprom.h
176
int (*no_proplen)(phandle node, const char *name);
arch/sparc/include/asm/openprom.h
177
int (*no_getprop)(phandle node, const char *name, char *val);
arch/sparc/include/asm/openprom.h
178
int (*no_setprop)(phandle node, const char *name, char *val, int len);
arch/sparc/include/asm/openprom.h
179
char * (*no_nextprop)(phandle node, char *name);
arch/sparc/include/asm/openprom.h
32
phandle (*v2_inst2pkg)(int d); /* Convert ihandle to phandle */
arch/sparc/include/asm/oplib_32.h
115
phandle prom_getchild(phandle parent_node);
arch/sparc/include/asm/oplib_32.h
120
phandle prom_getsibling(phandle node);
arch/sparc/include/asm/oplib_32.h
125
int prom_getproplen(phandle thisnode, const char *property);
arch/sparc/include/asm/oplib_32.h
130
int __must_check prom_getproperty(phandle thisnode, const char *property,
arch/sparc/include/asm/oplib_32.h
134
int prom_getint(phandle node, char *property);
arch/sparc/include/asm/oplib_32.h
137
int prom_getintdefault(phandle node, char *property, int defval);
arch/sparc/include/asm/oplib_32.h
140
int prom_getbool(phandle node, char *prop);
arch/sparc/include/asm/oplib_32.h
143
void prom_getstring(phandle node, char *prop, char *buf, int bufsize);
arch/sparc/include/asm/oplib_32.h
148
phandle prom_searchsiblings(phandle node_start, char *name);
arch/sparc/include/asm/oplib_32.h
153
char *prom_nextprop(phandle node, char *prev_property, char *buffer);
arch/sparc/include/asm/oplib_32.h
156
phandle prom_finddevice(char *name);
arch/sparc/include/asm/oplib_32.h
161
int prom_setprop(phandle node, const char *prop_name, char *prop_value,
arch/sparc/include/asm/oplib_32.h
164
phandle prom_inst2pkg(int);
arch/sparc/include/asm/oplib_32.h
172
void prom_apply_generic_ranges(phandle node, phandle parent,
arch/sparc/include/asm/oplib_32.h
178
int cpu_find_by_instance(int instance, phandle *prom_node, int *mid);
arch/sparc/include/asm/oplib_32.h
179
int cpu_find_by_mid(int mid, phandle *prom_node);
arch/sparc/include/asm/oplib_32.h
180
int cpu_get_hwmid(phandle prom_node);
arch/sparc/include/asm/oplib_32.h
34
extern phandle prom_root_node;
arch/sparc/include/asm/oplib_64.h
183
phandle prom_getchild(phandle parent_node);
arch/sparc/include/asm/oplib_64.h
188
phandle prom_getsibling(phandle node);
arch/sparc/include/asm/oplib_64.h
193
int prom_getproplen(phandle thisnode, const char *property);
arch/sparc/include/asm/oplib_64.h
198
int prom_getproperty(phandle thisnode, const char *property,
arch/sparc/include/asm/oplib_64.h
20
extern phandle prom_root_node;
arch/sparc/include/asm/oplib_64.h
202
int prom_getint(phandle node, const char *property);
arch/sparc/include/asm/oplib_64.h
205
int prom_getintdefault(phandle node, const char *property, int defval);
arch/sparc/include/asm/oplib_64.h
208
int prom_getbool(phandle node, const char *prop);
arch/sparc/include/asm/oplib_64.h
211
void prom_getstring(phandle node, const char *prop, char *buf,
arch/sparc/include/asm/oplib_64.h
215
int prom_nodematch(phandle thisnode, const char *name);
arch/sparc/include/asm/oplib_64.h
220
phandle prom_searchsiblings(phandle node_start, const char *name);
arch/sparc/include/asm/oplib_64.h
225
char *prom_firstprop(phandle node, char *buffer);
arch/sparc/include/asm/oplib_64.h
230
char *prom_nextprop(phandle node, const char *prev_property, char *buf);
arch/sparc/include/asm/oplib_64.h
233
int prom_node_has_property(phandle node, const char *property);
arch/sparc/include/asm/oplib_64.h
236
phandle prom_finddevice(const char *name);
arch/sparc/include/asm/oplib_64.h
241
int prom_setprop(phandle node, const char *prop_name, char *prop_value,
arch/sparc/include/asm/oplib_64.h
244
phandle prom_inst2pkg(int);
arch/sparc/include/asm/oplib_64.h
28
extern phandle prom_chosen_node;
arch/sparc/kernel/auxio_32.c
114
phandle node;
arch/sparc/kernel/auxio_32.c
31
phandle node, auxio_nd;
arch/sparc/kernel/btext.c
310
phandle node;
arch/sparc/kernel/btext.c
40
static int __init btext_initialize(phandle node)
arch/sparc/kernel/devices.c
101
int cpu_find_by_mid(int mid, phandle *prom_node)
arch/sparc/kernel/devices.c
111
int cpu_get_hwmid(phandle prom_node)
arch/sparc/kernel/devices.c
122
phandle cpu_node;
arch/sparc/kernel/devices.c
34
static int check_cpu_node(phandle nd, int *cur_inst,
arch/sparc/kernel/devices.c
35
int (*compare)(phandle, int, void *), void *compare_arg,
arch/sparc/kernel/devices.c
36
phandle *prom_node, int *mid)
arch/sparc/kernel/devices.c
54
static int __cpu_find_by(int (*compare)(phandle, int, void *),
arch/sparc/kernel/devices.c
55
void *compare_arg, phandle *prom_node, int *mid)
arch/sparc/kernel/devices.c
62
int err = check_cpu_node(dp->phandle, &cur_inst,
arch/sparc/kernel/devices.c
74
static int cpu_instance_compare(phandle nd, int instance, void *_arg)
arch/sparc/kernel/devices.c
83
int cpu_find_by_instance(int instance, phandle *prom_node, int *mid)
arch/sparc/kernel/devices.c
89
static int cpu_mid_compare(phandle nd, int instance, void *_arg)
arch/sparc/kernel/of_device_32.c
382
dev_set_name(&op->dev, "%08x", dp->phandle);
arch/sparc/kernel/of_device_64.c
427
phandle handle;
arch/sparc/kernel/of_device_64.c
673
dev_set_name(&op->dev, "%08x", dp->phandle);
arch/sparc/kernel/pcic.c
294
phandle node;
arch/sparc/kernel/pcic.c
452
phandle node = prom_getchild(pbm->prom_node);
arch/sparc/kernel/prom_32.c
148
reg0 = (unsigned int)dp->phandle;
arch/sparc/kernel/prom_32.c
213
phandle node;
arch/sparc/kernel/prom_64.c
605
phandle node;
arch/sparc/kernel/prom_common.c
135
static int __init prom_common_nextprop(phandle node, char *prev, char *buf)
arch/sparc/kernel/prom_common.c
73
ret = prom_setprop(dp->phandle, name, val, len);
arch/sparc/kernel/setup_64.c
651
phandle chosen = prom_finddevice("/chosen");
arch/sparc/kernel/smp_64.c
371
prom_startcpu(dp->phandle, entry, cookie);
arch/sparc/kernel/starfire.c
27
phandle ssnode = prom_finddevice("/ssp-serial");
arch/sparc/kernel/time_64.c
167
static unsigned long cpuid_to_freq(phandle node, int cpuid)
arch/sparc/mm/init_64.c
112
phandle node = prom_finddevice("/memory");
arch/sparc/mm/srmmu.c
1557
phandle cpunode;
arch/sparc/mm/srmmu.c
868
phandle cpunode;
arch/sparc/mm/srmmu.c
989
phandle nd;
arch/sparc/prom/init_32.c
24
phandle prom_root_node;
arch/sparc/prom/init_64.c
23
phandle prom_chosen_node;
arch/sparc/prom/init_64.c
31
phandle node;
arch/sparc/prom/memory.c
35
phandle node;
arch/sparc/prom/misc_64.c
167
phandle node;
arch/sparc/prom/misc_64.c
186
phandle node;
arch/sparc/prom/ranges.c
67
phandle node, obio_node;
arch/sparc/prom/ranges.c
88
void prom_apply_generic_ranges(phandle node, phandle parent,
arch/sparc/prom/tree_32.c
110
int prom_getproperty(phandle node, const char *prop, char *buffer, int bufsize)
arch/sparc/prom/tree_32.c
130
int prom_getint(phandle node, char *prop)
arch/sparc/prom/tree_32.c
144
int prom_getintdefault(phandle node, char *property, int deflt)
arch/sparc/prom/tree_32.c
156
int prom_getbool(phandle node, char *prop)
arch/sparc/prom/tree_32.c
170
void prom_getstring(phandle node, char *prop, char *user_buf, int ubuf_size)
arch/sparc/prom/tree_32.c
184
phandle prom_searchsiblings(phandle node_start, char *nodename)
arch/sparc/prom/tree_32.c
187
phandle thisnode;
arch/sparc/prom/tree_32.c
204
static char *__prom_nextprop(phandle node, char * oprop)
arch/sparc/prom/tree_32.c
221
char *prom_nextprop(phandle node, char *oprop, char *buffer)
arch/sparc/prom/tree_32.c
230
phandle prom_finddevice(char *name)
arch/sparc/prom/tree_32.c
234
phandle node = prom_root_node, node2;
arch/sparc/prom/tree_32.c
24
static phandle __prom_getchild(phandle node)
arch/sparc/prom/tree_32.c
27
phandle cnode;
arch/sparc/prom/tree_32.c
281
int prom_setprop(phandle node, const char *pname, char *value, int size)
arch/sparc/prom/tree_32.c
298
phandle prom_inst2pkg(int inst)
arch/sparc/prom/tree_32.c
300
phandle node;
arch/sparc/prom/tree_32.c
40
phandle prom_getchild(phandle node)
arch/sparc/prom/tree_32.c
42
phandle cnode;
arch/sparc/prom/tree_32.c
56
static phandle __prom_getsibling(phandle node)
arch/sparc/prom/tree_32.c
59
phandle cnode;
arch/sparc/prom/tree_32.c
72
phandle prom_getsibling(phandle node)
arch/sparc/prom/tree_32.c
74
phandle sibnode;
arch/sparc/prom/tree_32.c
90
int prom_getproplen(phandle node, const char *prop)
arch/sparc/prom/tree_64.c
117
int prom_getproperty(phandle node, const char *prop,
arch/sparc/prom/tree_64.c
145
int prom_getint(phandle node, const char *prop)
arch/sparc/prom/tree_64.c
160
int prom_getintdefault(phandle node, const char *property, int deflt)
arch/sparc/prom/tree_64.c
173
int prom_getbool(phandle node, const char *prop)
arch/sparc/prom/tree_64.c
188
void prom_getstring(phandle node, const char *prop, char *user_buf,
arch/sparc/prom/tree_64.c
20
static phandle prom_node_to_node(const char *type, phandle node)
arch/sparc/prom/tree_64.c
203
int prom_nodematch(phandle node, const char *name)
arch/sparc/prom/tree_64.c
215
phandle prom_searchsiblings(phandle node_start, const char *nodename)
arch/sparc/prom/tree_64.c
217
phandle thisnode;
arch/sparc/prom/tree_64.c
239
char *prom_firstprop(phandle node, char *buffer)
arch/sparc/prom/tree_64.c
265
char *prom_nextprop(phandle node, const char *oprop, char *buffer)
arch/sparc/prom/tree_64.c
293
phandle prom_finddevice(const char *name)
arch/sparc/prom/tree_64.c
311
int prom_node_has_property(phandle node, const char *prop)
arch/sparc/prom/tree_64.c
32
return (phandle) args[4];
arch/sparc/prom/tree_64.c
329
prom_setprop(phandle node, const char *pname, char *value, int size)
arch/sparc/prom/tree_64.c
359
inline phandle prom_inst2pkg(int inst)
arch/sparc/prom/tree_64.c
362
phandle node;
arch/sparc/prom/tree_64.c
38
inline phandle __prom_getchild(phandle node)
arch/sparc/prom/tree_64.c
43
phandle prom_getchild(phandle node)
arch/sparc/prom/tree_64.c
45
phandle cnode;
arch/sparc/prom/tree_64.c
56
inline phandle prom_getparent(phandle node)
arch/sparc/prom/tree_64.c
58
phandle cnode;
arch/sparc/prom/tree_64.c
71
inline phandle __prom_getsibling(phandle node)
arch/sparc/prom/tree_64.c
76
phandle prom_getsibling(phandle node)
arch/sparc/prom/tree_64.c
78
phandle sibnode;
arch/sparc/prom/tree_64.c
93
int prom_getproplen(phandle node, const char *prop)
arch/x86/include/asm/efi.h
324
#define __efi64_argmap_get_next(protocol, smbioshandle, type, record, phandle) \
arch/x86/include/asm/efi.h
326
efi64_zero_upper(phandle))
arch/x86/platform/olpc/olpc_dt.c
107
static int __init olpc_dt_pkg2path(phandle node, char *buf,
arch/x86/platform/olpc/olpc_dt.c
162
static phandle __init olpc_dt_finddevice(const char *path)
arch/x86/platform/olpc/olpc_dt.c
164
phandle node;
arch/x86/platform/olpc/olpc_dt.c
199
phandle node;
arch/x86/platform/olpc/olpc_dt.c
215
static int __init olpc_dt_compatible_match(phandle node, const char *compat)
arch/x86/platform/olpc/olpc_dt.c
22
static phandle __init olpc_dt_getsibling(phandle node)
arch/x86/platform/olpc/olpc_dt.c
234
phandle node;
arch/x86/platform/olpc/olpc_dt.c
305
phandle root;
arch/x86/platform/olpc/olpc_dt.c
36
static phandle __init olpc_dt_getchild(phandle node)
arch/x86/platform/olpc/olpc_dt.c
52
static int __init olpc_dt_getproplen(phandle node, const char *prop)
arch/x86/platform/olpc/olpc_dt.c
69
static int __init olpc_dt_getproperty(phandle node, const char *prop,
arch/x86/platform/olpc/olpc_dt.c
90
static int __init olpc_dt_nextprop(phandle node, char *prev, char *buf)
drivers/acpi/numa/srat.c
683
acpi_handle phandle = h;
drivers/acpi/numa/srat.c
686
handle = phandle;
drivers/acpi/numa/srat.c
690
status = acpi_get_parent(handle, &phandle);
drivers/acpi/scan.c
1228
acpi_handle phandle;
drivers/acpi/scan.c
1234
if (ACPI_FAILURE(acpi_get_parent(handle, &phandle)))
drivers/acpi/scan.c
1237
return acpi_ata_match(phandle);
drivers/bus/stm32_firewall.c
67
if (ctrl->dev->of_node->phandle == it.phandle) {
drivers/cdx/controller/cdx_rpmsg.c
65
rp = rproc_get_by_phandle(r5_core_node->phandle);
drivers/char/tpm/tpm2-space.c
233
u32 phandle;
drivers/char/tpm/tpm2-space.c
240
phandle = space->context_tbl[i];
drivers/char/tpm/tpm2-space.c
241
*((__be32 *)handle) = cpu_to_be32(phandle);
drivers/char/tpm/tpm2-space.c
360
static u32 tpm2_map_to_vhandle(struct tpm_space *space, u32 phandle, bool alloc)
drivers/char/tpm/tpm2-space.c
367
space->context_tbl[i] = phandle;
drivers/char/tpm/tpm2-space.c
370
} else if (space->context_tbl[i] == phandle)
drivers/char/tpm/tpm2-space.c
385
u32 phandle;
drivers/char/tpm/tpm2-space.c
403
phandle = be32_to_cpup((__be32 *)&rsp[TPM_HEADER_SIZE]);
drivers/char/tpm/tpm2-space.c
404
phandle_type = phandle & 0xFF000000;
drivers/char/tpm/tpm2-space.c
408
vhandle = tpm2_map_to_vhandle(space, phandle, true);
drivers/char/tpm/tpm2-space.c
416
if (!tpm2_add_session(chip, phandle))
drivers/char/tpm/tpm2-space.c
421
__func__, phandle);
drivers/char/tpm/tpm2-space.c
427
tpm2_flush_context(chip, phandle);
drivers/char/tpm/tpm2-space.c
429
phandle);
drivers/char/tpm/tpm2-space.c
446
u32 phandle;
drivers/char/tpm/tpm2-space.c
471
phandle = be32_to_cpup((__be32 *)&data->handles[i]);
drivers/char/tpm/tpm2-space.c
472
phandle_type = phandle & 0xFF000000;
drivers/char/tpm/tpm2-space.c
476
vhandle = tpm2_map_to_vhandle(space, phandle, false);
drivers/char/tpm/tpm2-space.c
485
data->handles[j] = cpu_to_be32(phandle);
drivers/clk/imx/clk.c
65
struct of_phandle_args phandle;
drivers/clk/imx/clk.c
73
phandle.np = of_find_node_by_path(path);
drivers/clk/imx/clk.c
76
if (phandle.np) {
drivers/clk/imx/clk.c
77
clk = of_clk_get_from_provider(&phandle);
drivers/clk/imx/clk.c
78
of_node_put(phandle.np);
drivers/edac/versalnet_edac.c
896
rp = rproc_get_by_phandle(r5_core_node->phandle);
drivers/gpu/drm/bridge/display-connector.c
323
struct device_node *phandle;
drivers/gpu/drm/bridge/display-connector.c
325
phandle = of_parse_phandle(pdev->dev.of_node, "ddc-i2c-bus", 0);
drivers/gpu/drm/bridge/display-connector.c
326
if (phandle) {
drivers/gpu/drm/bridge/display-connector.c
327
conn->bridge.ddc = of_get_i2c_adapter_by_node(phandle);
drivers/gpu/drm/bridge/display-connector.c
328
of_node_put(phandle);
drivers/gpu/drm/mediatek/mtk_drm_drv.c
1057
struct device_node *phandle = dev->parent->of_node;
drivers/gpu/drm/mediatek/mtk_drm_drv.c
1077
of_id = of_match_node(mtk_drm_of_ids, phandle);
drivers/gpu/drm/mediatek/mtk_drm_drv.c
1086
if (of_graph_is_present(phandle)) {
drivers/gpu/drm/mediatek/mtk_drm_drv.c
1094
ret = mtk_drm_of_ddp_path_build(dev, phandle, private->data);
drivers/gpu/drm/mediatek/mtk_drm_drv.c
1122
for_each_child_of_node(phandle->parent, node) {
drivers/gpu/drm/mediatek/mtk_drm_drv.c
379
struct device_node *phandle = dev->parent->of_node;
drivers/gpu/drm/mediatek/mtk_drm_drv.c
386
for_each_child_of_node(phandle->parent, node) {
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
2663
struct device_node *phandle;
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
2718
phandle = of_parse_phandle(pdev->dev.of_node, "iommus", 0);
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
2719
a6xx_gpu->have_mmu500 = (phandle &&
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
2720
of_device_is_compatible(phandle, "arm,mmu-500"));
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
2721
of_node_put(phandle);
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
232
struct device_node *phandle, *remote;
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
239
phandle = of_parse_phandle(remote, "ddc-i2c-bus", 0);
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
241
if (!phandle)
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
244
ddc = of_get_i2c_adapter_by_node(phandle);
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
245
of_node_put(phandle);
drivers/hwmon/ibmpowernv.c
412
if (it.phandle == node->phandle) {
drivers/iommu/of_iommu.c
239
u32 phandle;
drivers/iommu/of_iommu.c
241
phandle = be32_to_cpup(maps++);
drivers/iommu/of_iommu.c
242
np = of_find_node_by_phandle(phandle);
drivers/iommu/omap-iommu.c
1654
sizeof(phandle));
drivers/mailbox/omap-mailbox.c
416
phandle phandle = sp->args[0];
drivers/mailbox/omap-mailbox.c
426
node = of_find_node_by_phandle(phandle);
drivers/mailbox/omap-mailbox.c
429
__func__, phandle);
drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c
358
phandle rproc_phandle;
drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c
248
phandle rproc_phandle;
drivers/media/platform/nxp/imx8mq-mipi-csi2.c
922
phandle ph;
drivers/net/can/flexcan/flexcan-core.c
1950
phandle phandle;
drivers/net/can/flexcan/flexcan-core.c
1966
phandle = *out_val;
drivers/net/can/flexcan/flexcan-core.c
1968
gpr_np = of_find_node_by_phandle(phandle);
drivers/net/ethernet/ibm/emac/core.c
2331
u32 phandle;
drivers/net/ethernet/ibm/emac/core.c
2353
if (deps[i].phandle == 0) {
drivers/net/ethernet/ibm/emac/core.c
2361
deps[i].phandle = 0;
drivers/net/ethernet/ibm/emac/core.c
2369
deps[i].node = of_find_node_by_phandle(deps[i].phandle);
drivers/net/ethernet/ibm/emac/core.c
2402
deps[EMAC_DEP_MAL_IDX].phandle = dev->mal_ph;
drivers/net/ethernet/ibm/emac/core.c
2403
deps[EMAC_DEP_ZMII_IDX].phandle = dev->zmii_ph;
drivers/net/ethernet/ibm/emac/core.c
2404
deps[EMAC_DEP_RGMII_IDX].phandle = dev->rgmii_ph;
drivers/net/ethernet/ibm/emac/core.c
2406
deps[EMAC_DEP_TAH_IDX].phandle = dev->tah_ph;
drivers/net/ethernet/ibm/emac/core.c
2408
deps[EMAC_DEP_MDIO_IDX].phandle = dev->mdio_ph;
drivers/net/ethernet/ibm/emac/core.c
2410
deps[EMAC_DEP_PREV_IDX].phandle = 0xffffffffu;
drivers/net/wireless/ath/ath11k/ahb.c
802
phandle rproc_phandle;
drivers/net/wireless/ath/ath12k/ahb.c
840
prproc = rproc_get_by_phandle(np->phandle);
drivers/net/wireless/mediatek/mt76/eeprom.c
45
phandle phandle;
drivers/net/wireless/mediatek/mt76/eeprom.c
54
phandle = be32_to_cpup(list++);
drivers/net/wireless/mediatek/mt76/eeprom.c
55
if (!phandle)
drivers/net/wireless/mediatek/mt76/eeprom.c
58
np = of_find_node_by_phandle(phandle);
drivers/of/base.c
1267
struct device_node *of_find_node_by_phandle(phandle handle)
drivers/of/base.c
1281
handle == phandle_cache[handle_hash]->phandle)
drivers/of/base.c
1286
if (np->phandle == handle &&
drivers/of/base.c
1359
it->phandle = be32_to_cpup(it->cur++);
drivers/of/base.c
1361
if (it->phandle) {
drivers/of/base.c
1367
it->node = of_find_node_by_phandle(it->phandle);
drivers/of/base.c
1372
it->parent, it->phandle);
drivers/of/base.c
1468
if (!it.phandle)
drivers/of/base.c
169
static u32 of_phandle_cache_hash(phandle handle)
drivers/of/base.c
177
void __of_phandle_cache_inv_entry(phandle handle)
drivers/of/base.c
188
if (np && handle == np->phandle)
drivers/of/base.c
208
if (np->phandle && !phandle_cache[of_phandle_cache_hash(np->phandle)])
drivers/of/base.c
209
phandle_cache[of_phandle_cache_hash(np->phandle)] = np;
drivers/of/base.c
2143
__be32 phandle = map[1];
drivers/of/base.c
2148
if (map[i + 1] != phandle || map[i + 3] != cpu_to_be32(1))
drivers/of/base.c
2221
u32 id_base, phandle, id_len, id_off, cells = 0;
drivers/of/base.c
2235
phandle = be32_to_cpup(map + offset + 1);
drivers/of/base.c
2236
phandle_node = of_find_node_by_phandle(phandle);
drivers/of/dynamic.c
214
const __be32 *phandle;
drivers/of/dynamic.c
225
phandle = __of_get_property(np, "phandle", &sz);
drivers/of/dynamic.c
226
if (!phandle)
drivers/of/dynamic.c
227
phandle = __of_get_property(np, "linux,phandle", &sz);
drivers/of/dynamic.c
228
if (IS_ENABLED(CONFIG_PPC_PSERIES) && !phandle)
drivers/of/dynamic.c
229
phandle = __of_get_property(np, "ibm,phandle", &sz);
drivers/of/dynamic.c
230
if (phandle && (sz >= 4))
drivers/of/dynamic.c
231
np->phandle = be32_to_cpup(phandle);
drivers/of/dynamic.c
233
np->phandle = 0;
drivers/of/dynamic.c
293
__of_phandle_cache_inv_entry(np->phandle);
drivers/of/fdt.c
140
if (!np->phandle)
drivers/of/fdt.c
141
np->phandle = be32_to_cpup(val);
drivers/of/fdt.c
149
np->phandle = be32_to_cpup(val);
drivers/of/irq.c
64
phandle parent;
drivers/of/of_private.h
100
void __of_phandle_cache_inv_entry(phandle handle);
drivers/of/overlay.c
418
const __be32 *phandle;
drivers/of/overlay.c
441
phandle = __of_get_property(node, "phandle", &size);
drivers/of/overlay.c
442
if (phandle && (size == 4))
drivers/of/overlay.c
443
tchild->phandle = be32_to_cpup(phandle);
drivers/of/overlay.c
459
if (node->phandle && tchild->phandle) {
drivers/of/pdt.c
114
static struct property * __init of_pdt_build_prop_list(phandle node)
drivers/of/pdt.c
132
static char * __init of_pdt_get_one_property(phandle node, const char *name)
drivers/of/pdt.c
146
static struct device_node * __init of_pdt_create_node(phandle node,
drivers/of/pdt.c
160
dp->phandle = node;
drivers/of/pdt.c
172
phandle node)
drivers/of/pdt.c
202
void __init of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops)
drivers/of/pdt.c
211
of_pdt_prom_ops->getchild(of_root->phandle));
drivers/of/pdt.c
51
if (!of_pdt_prom_ops->pkg2path(dp->phandle, path, sizeof(path), &len)) {
drivers/of/pdt.c
67
static struct property * __init of_pdt_build_one_prop(phandle node, char *prev,
drivers/of/property.c
1605
struct device_node *phandle;
drivers/of/property.c
1617
while ((phandle = s->parse_prop(con_np, prop_name, i))) {
drivers/of/property.c
1623
of_link_to_phandle(con_dev_np, phandle, s->fwlink_flags);
drivers/of/property.c
1624
of_node_put(phandle);
drivers/of/resolver.c
123
*(__be32 *)(prop->value + offset) = cpu_to_be32(phandle);
drivers/of/resolver.c
23
static phandle live_tree_max_phandle(void)
drivers/of/resolver.c
255
phandle phandle, phandle_delta;
drivers/of/resolver.c
26
phandle phandle;
drivers/of/resolver.c
30
phandle = 0;
drivers/of/resolver.c
313
phandle = refnode->phandle;
drivers/of/resolver.c
316
err = update_usages_of_a_phandle_reference(overlay, prop, phandle);
drivers/of/resolver.c
32
if (node->phandle != OF_PHANDLE_ILLEGAL &&
drivers/of/resolver.c
33
node->phandle > phandle)
drivers/of/resolver.c
34
phandle = node->phandle;
drivers/of/resolver.c
38
return phandle;
drivers/of/resolver.c
46
phandle phandle;
drivers/of/resolver.c
49
if (overlay->phandle != 0 && overlay->phandle != OF_PHANDLE_ILLEGAL)
drivers/of/resolver.c
50
overlay->phandle += phandle_delta;
drivers/of/resolver.c
62
phandle = be32_to_cpup(prop->value);
drivers/of/resolver.c
63
if (phandle == OF_PHANDLE_ILLEGAL)
drivers/of/resolver.c
66
*(__be32 *)prop->value = cpu_to_be32(overlay->phandle);
drivers/of/resolver.c
74
const struct property *prop_fixup, phandle phandle)
drivers/of/unittest.c
334
num_to_str(phandle_str, sizeof(phandle_str), np->phandle, 0);
drivers/of/unittest.c
370
if (!np->phandle)
drivers/of/unittest.c
373
hash_for_each_possible(phandle_ht, nh, node, np->phandle) {
drivers/of/unittest.c
374
if (nh->np->phandle == np->phandle) {
drivers/of/unittest.c
376
np->phandle, nh->np, np);
drivers/of/unittest.c
387
hash_add(phandle_ht, &nh->node, np->phandle);
drivers/pci/controller/dwc/pcie-qcom.c
1125
u32 phandle;
drivers/pci/hotplug/acpiphp_ibm.c
387
acpi_handle *phandle = (acpi_handle *)context;
drivers/pci/hotplug/acpiphp_ibm.c
407
*phandle = handle;
drivers/pci/hotplug/pnv_php.c
267
ret = pnv_pci_get_device_tree(php_slot->dn->phandle, fdt1, 0x10000);
drivers/pci/hotplug/pnv_php.c
339
if (be64_to_cpu(msg.params[1]) != php_slot->dn->phandle ||
drivers/pci/of_property.c
280
*mapp = out_irq[i].np->phandle;
drivers/pci/pci-acpi.c
765
acpi_handle handle, phandle;
drivers/pci/pci-acpi.c
793
status = acpi_get_parent(handle, &phandle);
drivers/pci/pci-acpi.c
796
handle = phandle;
drivers/pinctrl/devicetree.c
213
phandle phandle;
drivers/pinctrl/devicetree.c
260
phandle = be32_to_cpup(list++);
drivers/pinctrl/devicetree.c
263
np_config = of_find_node_by_phandle(phandle);
drivers/pinctrl/pinctrl-rockchip.c
4126
const __be32 *phandle;
drivers/pinctrl/pinctrl-rockchip.c
4137
phandle = list++;
drivers/pinctrl/pinctrl-rockchip.c
4138
if (!phandle)
drivers/pinctrl/pinctrl-rockchip.c
4141
np_config = of_find_node_by_phandle(be32_to_cpup(phandle));
drivers/pinctrl/pinctrl-st.c
1160
phandle bank, unsigned int offset)
drivers/pinctrl/pinctrl-st.c
1197
phandle bank;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
451
unsigned int *phandle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
457
*phandle = VCHIQ_SERVICE_HANDLE_INVALID;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
466
*phandle = service->handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
480
unsigned int *phandle)
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
486
*phandle = VCHIQ_SERVICE_HANDLE_INVALID;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
494
*phandle = service->handle;
drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c
498
*phandle = VCHIQ_SERVICE_HANDLE_INVALID;
drivers/remoteproc/pru_rproc.c
183
phandle rproc_phandle;
drivers/remoteproc/remoteproc_core.c
2103
struct rproc *rproc_get_by_phandle(phandle phandle)
drivers/remoteproc/remoteproc_core.c
2109
np = of_find_node_by_phandle(phandle);
drivers/remoteproc/remoteproc_core.c
2153
struct rproc *rproc_get_by_phandle(phandle phandle)
drivers/remoteproc/ti_k3_r5_remoteproc.c
973
num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle));
drivers/remoteproc/xlnx_r5_remoteproc.c
980
num_sram = of_property_count_elems_of_size(np, "sram", sizeof(phandle));
drivers/sbus/char/openprom.c
187
phandle ph;
drivers/sbus/char/openprom.c
189
BUILD_BUG_ON(sizeof(phandle) != sizeof(int));
drivers/sbus/char/openprom.c
191
if (bufsize < sizeof(phandle))
drivers/sbus/char/openprom.c
223
ph = dp->phandle;
drivers/sbus/char/openprom.c
227
op->oprom_size = sizeof(phandle);
drivers/sbus/char/openprom.c
247
*((int *)op->oprom_array) = dp->phandle;
drivers/sbus/char/openprom.c
260
phandle ph = 0;
drivers/sbus/char/openprom.c
264
ph = dp->phandle;
drivers/sbus/char/openprom.c
363
static struct device_node *get_node(phandle n, DATA *data)
drivers/sbus/char/openprom.c
498
phandle nd;
drivers/sbus/char/openprom.c
500
BUILD_BUG_ON(sizeof(phandle) != sizeof(int));
drivers/sbus/char/openprom.c
502
if (copy_from_user(&nd, argp, sizeof(phandle)))
drivers/sbus/char/openprom.c
520
nd = dp->phandle;
drivers/sbus/char/openprom.c
521
if (copy_to_user(argp, &nd, sizeof(phandle)))
drivers/sbus/char/openprom.c
549
BUILD_BUG_ON(sizeof(phandle) != sizeof(int));
drivers/sbus/char/openprom.c
552
if (copy_to_user(argp, &options_node->phandle, sizeof(phandle)))
drivers/soc/fsl/rcpm.c
94
if (np->phandle != value[0])
drivers/soc/qcom/ice.c
669
ice = xa_load(&ice_handles, pdev->dev.of_node->phandle);
drivers/soc/qcom/ice.c
738
unsigned long phandle = pdev->dev.of_node->phandle;
drivers/soc/qcom/ice.c
748
xa_store(&ice_handles, phandle, (__force void *)base, GFP_KERNEL);
drivers/soc/qcom/ice.c
755
xa_store(&ice_handles, phandle, engine, GFP_KERNEL);
drivers/soc/qcom/ice.c
759
xa_store(&ice_handles, phandle, engine, GFP_KERNEL);
drivers/soc/qcom/ice.c
766
unsigned long phandle = pdev->dev.of_node->phandle;
drivers/soc/qcom/ice.c
769
xa_store(&ice_handles, phandle, NULL, GFP_KERNEL);
drivers/soc/ti/wkup_m3_ipc.c
613
phandle rproc_phandle;
drivers/usb/phy/phy.c
588
const char *phandle, u8 index)
drivers/usb/phy/phy.c
598
node = of_parse_phandle(dev->of_node, phandle, index);
drivers/usb/phy/phy.c
600
dev_dbg(dev, "failed to get %s phandle in %pOF node\n", phandle,
drivers/video/backlight/gpio_backlight.c
81
if (!of_node || !of_node->phandle)
drivers/video/backlight/pwm_bl.c
428
if (!node || !node->phandle)
drivers/video/backlight/rave-sp-backlight.c
64
if (!dev->of_node->phandle)
include/linux/of.h
287
extern struct device_node *of_find_node_by_phandle(phandle handle);
include/linux/of.h
50
phandle phandle;
include/linux/of.h
549
static inline struct device_node *of_find_node_by_phandle(phandle handle)
include/linux/of.h
90
phandle phandle;
include/linux/of_pdt.h
18
int (*nextprop)(phandle node, char *prev, char *buf);
include/linux/of_pdt.h
21
int (*getproplen)(phandle node, const char *prop);
include/linux/of_pdt.h
22
int (*getproperty)(phandle node, const char *prop, char *buf,
include/linux/of_pdt.h
26
phandle (*getchild)(phandle parent);
include/linux/of_pdt.h
27
phandle (*getsibling)(phandle node);
include/linux/of_pdt.h
30
int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
include/linux/of_pdt.h
36
extern void of_pdt_build_devicetree(phandle root_node, struct of_pdt_ops *ops);
include/linux/remoteproc.h
390
struct rproc *rproc_get_by_phandle(phandle phandle);
include/linux/usb/phy.h
222
const char *phandle, u8 index);
include/linux/usb/phy.h
246
const char *phandle, u8 index)
lib/vsprintf.c
2246
buf = number(buf, end, (unsigned int)dn->phandle, default_dec_spec);
mm/zsmalloc.c
753
unsigned long *phandle)
mm/zsmalloc.c
768
*phandle = handle & ~OBJ_TAG_MASK;
scripts/dtc/checks.c
1419
cell_t phandle;
scripts/dtc/checks.c
1422
phandle = propval_cell_n(prop, cell);
scripts/dtc/checks.c
1427
if (!phandle_is_valid(phandle)) {
scripts/dtc/checks.c
1449
provider_node = get_node_by_phandle(root, phandle);
scripts/dtc/checks.c
1649
int phandle;
scripts/dtc/checks.c
1660
phandle = propval_cell_n(irq_map_prop, cell);
scripts/dtc/checks.c
1661
if (!phandle_is_valid(phandle)) {
scripts/dtc/checks.c
1666
cell, phandle);
scripts/dtc/checks.c
1670
provider_node = get_node_by_phandle(root, phandle);
scripts/dtc/checks.c
1674
phandle, cell);
scripts/dtc/checks.c
1711
cell_t irq_cells, phandle;
scripts/dtc/checks.c
1729
phandle = propval_cell(prop);
scripts/dtc/checks.c
1730
if (!phandle_is_valid(phandle)) {
scripts/dtc/checks.c
1739
irq_node = get_node_by_phandle(root, phandle);
scripts/dtc/checks.c
1861
cell_t phandle;
scripts/dtc/checks.c
1869
phandle = propval_cell(prop);
scripts/dtc/checks.c
1871
if (!phandle_is_valid(phandle))
scripts/dtc/checks.c
1874
node = get_node_by_phandle(dti->dt, phandle);
scripts/dtc/checks.c
500
cell_t phandle;
scripts/dtc/checks.c
530
phandle = propval_cell(prop);
scripts/dtc/checks.c
532
if (!phandle_is_valid(phandle)) {
scripts/dtc/checks.c
534
phandle, prop->name);
scripts/dtc/checks.c
538
return phandle;
scripts/dtc/checks.c
546
cell_t phandle, linux_phandle;
scripts/dtc/checks.c
549
assert(!node->phandle);
scripts/dtc/checks.c
551
phandle = check_phandle_prop(c, dti, node, "phandle");
scripts/dtc/checks.c
555
if (!phandle && !linux_phandle)
scripts/dtc/checks.c
559
if (linux_phandle && phandle && (phandle != linux_phandle))
scripts/dtc/checks.c
563
if (linux_phandle && !phandle)
scripts/dtc/checks.c
564
phandle = linux_phandle;
scripts/dtc/checks.c
566
other = get_node_by_phandle(root, phandle);
scripts/dtc/checks.c
569
phandle, other->fullpath);
scripts/dtc/checks.c
573
node->phandle = phandle;
scripts/dtc/checks.c
620
cell_t phandle;
scripts/dtc/checks.c
636
phandle = get_node_phandle(dt, refnode);
scripts/dtc/checks.c
637
*((fdt32_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle);
scripts/dtc/dtc.h
232
cell_t phandle;
scripts/dtc/dtc.h
303
struct node *get_node_by_phandle(struct node *tree, cell_t phandle);
scripts/dtc/dtc.h
54
static inline bool phandle_is_valid(cell_t phandle)
scripts/dtc/dtc.h
56
return phandle != 0 && phandle != ~0U;
scripts/dtc/libfdt/fdt_overlay.c
333
int poffset, uint32_t phandle)
scripts/dtc/libfdt/fdt_overlay.c
347
phandle_prop = cpu_to_fdt32(phandle);
scripts/dtc/libfdt/fdt_overlay.c
382
uint32_t phandle;
scripts/dtc/libfdt/fdt_overlay.c
401
phandle = fdt_get_phandle(fdt, symbol_off);
scripts/dtc/libfdt/fdt_overlay.c
402
if (!phandle)
scripts/dtc/libfdt/fdt_overlay.c
447
poffset, phandle);
scripts/dtc/libfdt/fdt_overlay.c
46
uint32_t phandle;
scripts/dtc/libfdt/fdt_overlay.c
51
phandle = overlay_get_target_phandle(fdto, fragment_offset);
scripts/dtc/libfdt/fdt_overlay.c
52
if (phandle == (uint32_t)-1)
scripts/dtc/libfdt/fdt_overlay.c
56
if (!phandle) {
scripts/dtc/libfdt/fdt_overlay.c
64
ret = fdt_node_offset_by_phandle(fdt, phandle);
scripts/dtc/libfdt/fdt_ro.c
114
int fdt_find_max_phandle(const void *fdt, uint32_t *phandle)
scripts/dtc/libfdt/fdt_ro.c
136
if (phandle)
scripts/dtc/libfdt/fdt_ro.c
137
*phandle = max;
scripts/dtc/libfdt/fdt_ro.c
142
int fdt_generate_phandle(const void *fdt, uint32_t *phandle)
scripts/dtc/libfdt/fdt_ro.c
154
if (phandle)
scripts/dtc/libfdt/fdt_ro.c
155
*phandle = max + 1;
scripts/dtc/libfdt/fdt_ro.c
710
int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
scripts/dtc/libfdt/fdt_ro.c
714
if ((phandle == 0) || (phandle == ~0U))
scripts/dtc/libfdt/fdt_ro.c
728
if (fdt_get_phandle(fdt, offset) == phandle)
scripts/dtc/libfdt/libfdt.h
1150
int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
scripts/dtc/libfdt/libfdt.h
426
int fdt_find_max_phandle(const void *fdt, uint32_t *phandle);
scripts/dtc/libfdt/libfdt.h
445
uint32_t phandle;
scripts/dtc/libfdt/libfdt.h
448
err = fdt_find_max_phandle(fdt, &phandle);
scripts/dtc/libfdt/libfdt.h
452
return phandle;
scripts/dtc/libfdt/libfdt.h
467
int fdt_generate_phandle(const void *fdt, uint32_t *phandle);
scripts/dtc/livetree.c
612
struct node *get_node_by_phandle(struct node *tree, cell_t phandle)
scripts/dtc/livetree.c
616
if (!phandle_is_valid(phandle)) {
scripts/dtc/livetree.c
621
if (tree->phandle == phandle) {
scripts/dtc/livetree.c
628
node = get_node_by_phandle(child, phandle);
scripts/dtc/livetree.c
684
d = data_append_cell(d, node->phandle);
scripts/dtc/livetree.c
691
static cell_t phandle = 1; /* FIXME: ick, static local */
scripts/dtc/livetree.c
693
if (phandle_is_valid(node->phandle))
scripts/dtc/livetree.c
694
return node->phandle;
scripts/dtc/livetree.c
696
while (get_node_by_phandle(root, phandle))
scripts/dtc/livetree.c
697
phandle++;
scripts/dtc/livetree.c
699
node->phandle = phandle;
scripts/dtc/livetree.c
708
return node->phandle;
scripts/dtc/treesource.c
194
cell_t phandle;
scripts/dtc/treesource.c
206
phandle = dtb_ld32(prop->val.val + offset);
scripts/dtc/treesource.c
207
refn = get_node_by_phandle(dti->dt, phandle);
scripts/dtc/treesource.c
213
phandle, prop->name);
sound/aoa/fabrics/layout.c
787
if (*ref != codec->node->phandle) {