Searched refs:phandle (Results 1 - 25 of 47) sorted by relevance

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ppc/boot/of1275/
H A Dfinddevice.c13 phandle finddevice(const char *name)
15 return (phandle) call_prom("finddevice", 1, 1, name);
H A Dofinit.c19 phandle chosen;
H A Dgetprop.c14 getprop(phandle node, const char *name, void *buf, int buflen)
20 phandle node;
H A Dofstdio.c17 phandle chosen;
H A Dclaim.c22 static phandle memory;
35 phandle oprom, chosen;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/boot/
H A Dflatdevtree_misc.c24 static int fdtm_getprop(const void *phandle, const char *propname, argument
27 return ft_get_prop(&cxt, phandle, propname, buf, buflen);
30 static int fdtm_setprop(const void *phandle, const char *propname, argument
33 return ft_set_prop(&cxt, phandle, propname, buf, buflen);
36 static void *fdtm_get_parent(const void *phandle) argument
38 return ft_get_parent(&cxt, phandle);
41 static void *fdtm_create_node(const void *phandle, const char *name) argument
43 return ft_create_node(&cxt, phandle, name);
H A Dof.c19 typedef void *phandle; typedef
104 static phandle memory;
117 phandle oprom, chosen;
121 if (oprom == (phandle) -1)
131 if (chosen == (phandle) -1) {
133 if (chosen == (phandle) -1) {
231 return (phandle) call_prom("finddevice", 1, 1, name);
234 static int of_getprop(const void *phandle, const char *name, void *buf, argument
237 return call_prom("getprop", 4, 1, phandle, name, buf, buflen);
240 static int of_setprop(const void *phandle, cons argument
[all...]
H A Dflatdevtree.h103 int ft_get_prop(struct ft_cxt *cxt, const void *phandle, const char *propname,
105 int ft_set_prop(struct ft_cxt *cxt, const void *phandle, const char *propname,
107 void *ft_get_parent(struct ft_cxt *cxt, const void *phandle);
H A Dops.h37 int (*getprop)(const void *phandle, const char *name, void *buf,
39 int (*setprop)(const void *phandle, const char *name,
41 void *(*get_parent)(const void *phandle);
164 return find_node_by_prop_value(NULL, "linux,phandle",
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ppc/boot/include/
H A Dof1275.h13 typedef void *phandle; typedef
29 phandle finddevice(const char *name);
30 int getprop(phandle node, const char *name, void *buf, int buflen);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/arm/boot/compressed/
H A Dofw-shark.c190 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...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sparc/
H A Dprom.h25 typedef u32 phandle; typedef
40 phandle node;
84 extern struct device_node *of_find_node_by_phandle(phandle handle);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sparc64/
H A Dprom.h25 typedef u32 phandle; typedef
41 phandle node;
92 extern struct device_node *of_find_node_by_phandle(phandle handle);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-powerpc/
H A Dof_platform.h60 extern struct of_device *of_find_device_by_phandle(phandle ph);
H A Dbootx.h149 u32 phandle; /* not really available */ member in struct:bootx_dt_node
H A Dprom.h68 typedef u32 phandle; typedef
81 phandle node;
82 phandle linux_phandle;
128 extern struct device_node *of_find_node_by_phandle(phandle handle);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/acpi/
H A Dcontainer.c123 acpi_handle phandle; local
128 if (acpi_get_parent(handle, &phandle)) {
132 if (acpi_bus_get_device(phandle, &pdev)) {
H A Dnuma.c236 acpi_handle phandle = h; local
239 handle = phandle;
243 status = acpi_get_parent(handle, &phandle);
H A Dscan.c849 acpi_handle phandle; local
863 if (acpi_get_parent(handle, &phandle))
866 if ((ACPI_SUCCESS(acpi_get_handle(phandle, "_GTF", &tmp))) ||
867 (ACPI_SUCCESS(acpi_get_handle(phandle, "_GTM", &tmp))) ||
868 (ACPI_SUCCESS(acpi_get_handle(phandle, "_STM", &tmp))) ||
869 (ACPI_SUCCESS(acpi_get_handle(phandle, "_SDD", &tmp))))
1148 acpi_handle phandle = NULL; local
1158 phandle = start->handle;
1166 status = acpi_get_next_object(ACPI_TYPE_ANY, phandle,
1174 chandle = phandle;
1298 acpi_handle phandle, chandle; local
[all...]
H A Dbay.c175 acpi_handle phandle; local
177 if (acpi_get_parent(handle, &phandle))
180 return is_ata(phandle);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/sbus/char/
H A Dopenprom.c198 phandle ph;
200 BUILD_BUG_ON(sizeof(phandle) != sizeof(int));
202 if (bufsize < sizeof(phandle))
238 op->oprom_size = sizeof(phandle);
270 phandle ph = 0;
369 static struct device_node *get_node(phandle n, DATA *data)
519 phandle nd;
521 BUILD_BUG_ON(sizeof(phandle) != sizeof(int));
523 if (copy_from_user(&nd, argp, sizeof(phandle)))
542 if (copy_to_user(argp, &nd, sizeof(phandle)))
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/sparc/kernel/
H A Dprom.c96 struct device_node *of_find_node_by_phandle(phandle handle)
444 static struct property * __init build_one_prop(phandle node, char *prev, char *special_name, void *special_val, int special_len)
492 static struct property * __init build_prop_list(phandle node)
510 static char * __init get_one_property(phandle node, char *name)
524 static struct device_node * __init create_node(phandle node)
547 static struct device_node * __init build_tree(struct device_node *parent, phandle node, struct device_node ***nextp)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dprom_init.c131 phandle chosen;
213 * macros to use with any ihandle or phandle return value to check if
415 static int __init prom_next_node(phandle *nodep)
417 phandle node;
432 static int inline prom_getprop(phandle node, const char *pname,
439 static int inline prom_getproplen(phandle node, const char *pname)
470 static int __init prom_setprop(phandle node, const char *nodename,
997 phandle node;
1093 phandle rtas_node;
1152 phandle nod
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ppc/syslib/
H A Dppc4xx_sgdma.c355 ppc4xx_alloc_dma_handle(sgl_handle_t * phandle, unsigned int mode, unsigned int dmanr) argument
369 if (!phandle) {
382 *phandle = (sgl_handle_t) NULL;
431 *phandle = (sgl_handle_t) psgl;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dsgi_hotplug.c422 acpi_handle phandle; local
427 phandle = PCI_CONTROLLER(slot->pci_bus)->acpi_handle;
429 if (acpi_bus_get_device(phandle, &pdevice)) {
443 phandle, chandle,
513 acpi_handle phandle; local
519 phandle = PCI_CONTROLLER(slot->pci_bus)->acpi_handle;
529 phandle, chandle,

Completed in 236 milliseconds

12