/freebsd-10.0-release/usr.sbin/ofwdump/ |
H A D | ofw_util.h | 36 phandle_t ofw_root(int); 37 phandle_t ofw_optnode(int); 38 phandle_t ofw_peer(int, phandle_t); 39 phandle_t ofw_child(int, phandle_t); 40 phandle_t ofw_finddevice(int, const char *); 42 int ofw_firstprop(int, phandle_t, char *, int); 43 int ofw_nextprop(int, phandle_t, const char *, char *, int); 44 int ofw_getprop(int, phandle_t, cons [all...] |
H A D | ofw_util.c | 68 phandle_t 75 phandle_t 78 phandle_t rv; 84 phandle_t 85 ofw_peer(int fd, phandle_t node) 87 phandle_t rv; 94 phandle_t 95 ofw_child(int fd, phandle_t node) 97 phandle_t rv; 104 phandle_t [all...] |
/freebsd-10.0-release/sys/boot/ofw/libofw/ |
H A D | openfirm.h | 69 typedef unsigned int phandle_t; typedef 73 extern phandle_t chosen; 87 phandle_t OF_peer(phandle_t); 88 phandle_t OF_child(phandle_t); 89 phandle_t OF_parent(phandle_t); 90 phandle_t OF_instance_to_package(ihandle_t); 91 int OF_getproplen(phandle_t, cha [all...] |
/freebsd-10.0-release/sys/dev/fdt/ |
H A D | fdt_common.h | 63 typedef int (*fdt_pic_decode_t)(phandle_t, pcell_t *, int *, int *, int *); 66 typedef void (*fdt_fixup_t)(phandle_t); 94 int fdt_addrsize_cells(phandle_t, int *, int *); 98 phandle_t fdt_find_compatible(phandle_t, const char *, int); 101 int fdt_get_phyaddr(phandle_t, device_t, int *, void **); 102 int fdt_get_range(phandle_t, int, u_long *, u_long *); 104 int fdt_regsize(phandle_t, u_long *, u_long *); 105 int fdt_intr_decode(phandle_t, pcell_t *, int *, int *, int *); 106 int fdt_intr_to_rl(phandle_t, struc [all...] |
H A D | fdt_mips.c | 57 fdt_pic_decode_mips4k_cp0(phandle_t node, pcell_t *intr, int *interrupt, 75 fdt_pic_decode_beri(phandle_t node, pcell_t *intr, int *interrupt,
|
H A D | fdt_powerpc.c | 49 fdt_fixup_busfreq(phandle_t root) 51 phandle_t sb, cpus, child; 85 fdt_pic_decode_iic(phandle_t node, pcell_t *intr, int *interrupt, int *trig, 122 fdt_pic_decode_openpic(phandle_t node, pcell_t *intr, int *interrupt,
|
/freebsd-10.0-release/sys/dev/ofw/ |
H A D | ofw_bus_subr.h | 51 int ofw_bus_gen_setup_devinfo(struct ofw_bus_devinfo *, phandle_t); 64 void ofw_bus_setup_iinfo(phandle_t, struct ofw_bus_iinfo *, int); 65 int ofw_bus_lookup_imap(phandle_t, struct ofw_bus_iinfo *, void *, int, 66 void *, int, void *, int, phandle_t *, void *); 68 void *, void *, int, phandle_t *); 71 void ofw_bus_find_iparent(phandle_t);
|
H A D | openfirm.h | 70 typedef uint32_t phandle_t; typedef 102 phandle_t OF_peer(phandle_t node); 103 phandle_t OF_child(phandle_t node); 104 phandle_t OF_parent(phandle_t node); 105 ssize_t OF_getproplen(phandle_t node, const char *propname); 106 ssize_t OF_getprop(phandle_t node, const char *propname, void *buf, 108 int OF_hasprop(phandle_t nod [all...] |
H A D | openfirmio.h | 46 phandle_t of_nodeid; /* passed or returned node id */ 62 #define OFIOCGETOPTNODE _IOR(OFIOC_BASE, 4, phandle_t) 64 #define OFIOCGETNEXT _IOWR(OFIOC_BASE, 5, phandle_t) 66 #define OFIOCGETCHILD _IOWR(OFIOC_BASE, 6, phandle_t)
|
H A D | ofw_fdt.c | 56 static phandle_t ofw_fdt_peer(ofw_t, phandle_t); 57 static phandle_t ofw_fdt_child(ofw_t, phandle_t); 58 static phandle_t ofw_fdt_parent(ofw_t, phandle_t); 59 static phandle_t ofw_fdt_instance_to_package(ofw_t, ihandle_t); 60 static ssize_t ofw_fdt_getproplen(ofw_t, phandle_t, const char *); 61 static ssize_t ofw_fdt_getprop(ofw_t, phandle_t, const char *, void *, size_t); 62 static int ofw_fdt_nextprop(ofw_t, phandle_t, cons [all...] |
H A D | openfirm.c | 120 phandle_t chosen; 210 phandle_t 211 OF_peer(phandle_t node) 221 phandle_t 222 OF_child(phandle_t node) 232 phandle_t 233 OF_parent(phandle_t node) 243 phandle_t 255 OF_getproplen(phandle_t package, const char *propname) 266 OF_hasprop(phandle_t packag [all...] |
H A D | openpromio.c | 57 static int openprom_node_valid(phandle_t node); 58 static int openprom_node_search(phandle_t root, phandle_t node); 71 static phandle_t openprom_node; 96 phandle_t node; 204 openprom_node_valid(phandle_t node) 213 openprom_node_search(phandle_t root, phandle_t node) 215 phandle_t child;
|
H A D | ofw_standard.c | 77 static phandle_t ofw_std_peer(ofw_t ofw, phandle_t node); 78 static phandle_t ofw_std_child(ofw_t ofw, phandle_t node); 79 static phandle_t ofw_std_parent(ofw_t ofw, phandle_t node); 80 static phandle_t ofw_std_instance_to_package(ofw_t ofw, ihandle_t instance); 81 static ssize_t ofw_std_getproplen(ofw_t ofw, phandle_t package, 83 static ssize_t ofw_std_getprop(ofw_t ofw, phandle_t package, 85 static int ofw_std_nextprop(ofw_t ofw, phandle_t packag [all...] |
H A D | ofw_bus_subr.c | 47 ofw_bus_gen_setup_devinfo(struct ofw_bus_devinfo *obd, phandle_t node) 128 phandle_t 153 phandle_t node; 203 phandle_t node; 213 ofw_bus_setup_iinfo(phandle_t node, struct ofw_bus_iinfo *ii, int intrsz) 238 ofw_bus_lookup_imap(phandle_t node, struct ofw_bus_iinfo *ii, void *reg, 240 phandle_t *iparent, void *maskbuf) 277 int rintrsz, phandle_t *iparent) 279 phandle_t parent; 309 tsz = physsz + intrsz + sizeof(phandle_t) [all...] |
H A D | openfirmio.c | 72 static phandle_t lastnode; /* speed hack */ 74 static int openfirm_checkid(phandle_t, phandle_t); 82 openfirm_checkid(phandle_t sid, phandle_t tid) 115 phandle_t node; 126 *(phandle_t *) data = OF_finddevice("/options"); 137 node = *(phandle_t *)data; 243 *(phandle_t *)data = lastnode = node; 250 *(phandle_t *)dat [all...] |
H A D | ofw_bus.h | 59 static __inline phandle_t
|
/freebsd-10.0-release/sys/sparc64/pci/ |
H A D | ofw_pcib_subr.h | 38 phandle_t ops_node;
|
/freebsd-10.0-release/sys/arm/include/ |
H A D | fdt.h | 60 int fdt_localbus_devmap(phandle_t, struct pmap_devmap *, int, int *); 61 int fdt_pci_devmap(phandle_t, struct pmap_devmap *devmap, vm_offset_t,
|
/freebsd-10.0-release/sys/powerpc/psim/ |
H A D | iobusvar.h | 47 IOBUS_ACCESSOR(node, NODE, phandle_t) 58 phandle_t id_node;
|
/freebsd-10.0-release/sys/sparc64/include/ |
H A D | ofw_machdep.h | 37 int OF_decode_addr(phandle_t, int, int *, bus_addr_t *);
|
/freebsd-10.0-release/sys/mips/include/ |
H A D | ofw_machdep.h | 44 int OF_decode_addr(phandle_t, int, bus_space_tag_t *, bus_space_handle_t *);
|
/freebsd-10.0-release/sys/powerpc/ofw/ |
H A D | ofw_pci.h | 53 phandle_t sc_node;
|
H A D | ofw_syscons.h | 36 phandle_t sc_node;
|
/freebsd-10.0-release/sys/dev/uart/ |
H A D | uart_cpu_powerpc.c | 53 ofw_get_uart_console(phandle_t opts, phandle_t *result, const char *inputdev, 57 phandle_t input; 78 phandle_t input, opts;
|
H A D | uart_cpu_sparc64.c | 66 phandle_t aliases; 103 static phandle_t 104 uart_cpu_getdev_console(phandle_t options, char *dev, size_t devsz) 108 phandle_t chosen, input, output; 154 static phandle_t 158 phandle_t input; 178 static phandle_t 182 phandle_t input; 206 phandle_t input, options;
|