Searched refs:phandle_t (Results 1 - 25 of 480) sorted by relevance

1234567891011>>

/freebsd-12-stable/usr.sbin/ofwdump/
H A Dofw_util.h36 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 Dofw_util.c68 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-12-stable/sys/dev/ofw/
H A Dofw_graph.h35 phandle_t ofw_graph_get_port_by_idx(phandle_t node, uint32_t idx);
36 phandle_t ofw_graph_get_remote_endpoint(phandle_t endpoint);
37 size_t ofw_graph_port_get_num_endpoints(phandle_t port);
38 phandle_t ofw_graph_get_endpoint_by_idx(phandle_t port, uint32_t idx);
39 phandle_t ofw_graph_get_remote_parent(phandle_t remote);
41 device_t ofw_graph_get_device_by_port_ep(phandle_t nod
[all...]
H A Dofw_bus_subr.h62 phandle_t iparent;
76 int ofw_bus_gen_setup_devinfo(struct ofw_bus_devinfo *, phandle_t);
89 void ofw_bus_setup_iinfo(phandle_t, struct ofw_bus_iinfo *, int);
90 int ofw_bus_lookup_imap(phandle_t, struct ofw_bus_iinfo *, void *, int,
91 void *, int, void *, int, phandle_t *);
93 void *, void *, int, phandle_t *);
96 int ofw_bus_msimap(phandle_t, uint16_t, phandle_t *, uint32_t *);
99 int ofw_bus_reg_to_rl(device_t, phandle_t, pcell_t, pcell_t,
101 int ofw_bus_assigned_addresses_to_rl(device_t, phandle_t, pcell_
[all...]
H A Dopenfirm.h73 typedef uint32_t phandle_t; typedef
105 phandle_t OF_peer(phandle_t node);
106 phandle_t OF_child(phandle_t node);
107 phandle_t OF_parent(phandle_t node);
108 ssize_t OF_getproplen(phandle_t node, const char *propname);
109 ssize_t OF_getprop(phandle_t node, const char *propname, void *buf,
111 ssize_t OF_getencprop(phandle_t nod
[all...]
H A Dofw_graph.c50 phandle_t
51 ofw_graph_get_port_by_idx(phandle_t node, uint32_t idx)
53 phandle_t ports, child;
80 ofw_graph_port_get_num_endpoints(phandle_t port)
82 phandle_t child;
102 phandle_t
103 ofw_graph_get_endpoint_by_idx(phandle_t port, uint32_t idx)
105 phandle_t endpoint, child;
125 phandle_t
126 ofw_graph_get_remote_endpoint(phandle_t endpoin
[all...]
H A Dofw_cpu.h35 typedef boolean_t (*ofw_cpu_foreach_cb)(u_int, phandle_t, u_int, pcell_t *);
H A Dofw_subr.h46 int ofw_reg_to_paddr(phandle_t _dev, int _regno, bus_addr_t *_paddr,
H A Dopenfirmio.h48 phandle_t of_nodeid; /* passed or returned node id */
64 #define OFIOCGETOPTNODE _IOR(OFIOC_BASE, 4, phandle_t)
66 #define OFIOCGETNEXT _IOWR(OFIOC_BASE, 5, phandle_t)
68 #define OFIOCGETCHILD _IOWR(OFIOC_BASE, 6, phandle_t)
H A Dofw_fdt.c68 static phandle_t ofw_fdt_peer(ofw_t, phandle_t);
69 static phandle_t ofw_fdt_child(ofw_t, phandle_t);
70 static phandle_t ofw_fdt_parent(ofw_t, phandle_t);
71 static phandle_t ofw_fdt_instance_to_package(ofw_t, ihandle_t);
72 static ssize_t ofw_fdt_getproplen(ofw_t, phandle_t, const char *);
73 static ssize_t ofw_fdt_getprop(ofw_t, phandle_t, const char *, void *, size_t);
74 static int ofw_fdt_nextprop(ofw_t, phandle_t, cons
[all...]
H A Dopenfirm.c93 phandle_t xref;
94 phandle_t node;
119 xrefinfo_create(phandle_t node)
122 phandle_t child, xref;
166 if ((find_by == FIND_BY_XREF && (phandle_t)key == xi->xref) ||
167 (find_by == FIND_BY_NODE && (phandle_t)key == xi->node) ||
178 xrefinfo_add(phandle_t node, phandle_t xref, device_t dev)
232 phandle_t chosen;
323 phandle_t
[all...]
/freebsd-12-stable/stand/libofw/
H A Dopenfirm.h69 typedef unsigned int phandle_t; typedef
73 extern phandle_t chosen;
88 phandle_t OF_peer(phandle_t);
89 phandle_t OF_child(phandle_t);
90 phandle_t OF_parent(phandle_t);
91 phandle_t OF_instance_to_package(ihandle_t);
92 int OF_getproplen(phandle_t, cons
[all...]
/freebsd-12-stable/sys/dev/extres/nvmem/
H A Dnvmem.h31 int nvmem_get_cell_len(phandle_t node, const char *name);
32 int nvmem_read_cell_by_name(phandle_t node, const char *name, void *cell, size_t buflen);
33 int nvmem_read_cell_by_idx(phandle_t node, int idx, void *cell, size_t buflen);
34 int nvmem_write_cell_by_name(phandle_t node, const char *name, void *cell, size_t buflen);
35 int nvmem_write_cell_by_idx(phandle_t node, int idx, void *cell, size_t buflen);
H A Dnvmem.c43 nvmem_get_cell_node(phandle_t node, int idx, phandle_t *cell)
45 phandle_t *p_cell;
46 phandle_t cell_node;
73 nvmem_get_cell_len(phandle_t node, const char *name)
75 phandle_t cell_node;
98 nvmem_read_cell_by_idx(phandle_t node, int idx, void *cell, size_t buflen)
100 phandle_t cell_node;
136 nvmem_read_cell_by_name(phandle_t node, const char *name, void *cell, size_t buflen)
148 nvmem_write_cell_by_idx(phandle_t nod
[all...]
/freebsd-12-stable/sys/dev/fdt/
H A Dfdt_common.h52 typedef int (*fdt_pic_decode_t)(phandle_t, pcell_t *, int *, int *, int *);
57 typedef void (*fdt_fixup_t)(phandle_t);
82 int fdt_addrsize_cells(phandle_t, int *, int *);
85 phandle_t fdt_find_compatible(phandle_t, const char *, int);
86 phandle_t fdt_depth_search_compatible(phandle_t, const char *, int);
90 int fdt_get_phyaddr(phandle_t, device_t, int *, void **);
91 int fdt_get_range(phandle_t, int, u_long *, u_long *);
93 int fdt_regsize(phandle_t, u_lon
[all...]
H A Dsimplebus.h46 phandle_t node;
61 void simplebus_init(device_t dev, phandle_t node);
62 device_t simplebus_add_device(device_t dev, phandle_t node, u_int order,
64 struct simplebus_devinfo *simplebus_setup_dinfo(device_t dev, phandle_t node,
66 int simplebus_fill_ranges(phandle_t node,
/freebsd-12-stable/sys/dev/pwm/
H A Dofw_pwm.h46 int pwm_get_by_ofw_propidx(device_t consumer, phandle_t node,
48 int pwm_get_by_ofw_idx(device_t consumer, phandle_t node, int idx,
50 int pwm_get_by_ofw_property(device_t consumer, phandle_t node,
52 int pwm_get_by_ofw_name(device_t consumer, phandle_t node, const char *name,
H A Dofw_pwm.c44 pwm_get_by_ofw_propidx(device_t consumer, phandle_t node,
47 phandle_t xref;
75 pwm_get_by_ofw_idx(device_t consumer, phandle_t node, int idx,
83 pwm_get_by_ofw_property(device_t consumer, phandle_t node,
91 pwm_get_by_ofw_name(device_t consumer, phandle_t node, const char *name,
/freebsd-12-stable/sys/dev/mii/
H A Dmii_fdt.h40 phandle_t macnode; /* Node (not xref) of parent MAC */
41 phandle_t phynode; /* Node (not xref) of PHY */
67 mii_contype_t mii_fdt_get_contype(phandle_t macnode);
/freebsd-12-stable/sys/dev/uart/
H A Duart_cpu_fdt.h55 int uart_fdt_get_clock(phandle_t node, pcell_t *cell);
56 int uart_fdt_get_shift(phandle_t node, pcell_t *cell);
57 int uart_fdt_get_io_width(phandle_t node, pcell_t *cell);
/freebsd-12-stable/sys/dev/extres/syscon/
H A Dsyscon.h47 phandle_t ofw_node; /* OFW node for syscon */
72 syscon_class_t syscon_class, phandle_t node);
73 phandle_t syscon_get_ofw_node(struct syscon *syscon);
74 int syscon_get_by_ofw_property(device_t consumer, phandle_t node, char *name,
/freebsd-12-stable/sys/dev/usb/
H A Dusb_fdt_support.h46 phandle_t usb_fdt_get_node(device_t dev, struct usb_device* udev);
/freebsd-12-stable/sys/sparc64/pci/
H A Dofw_pcib_subr.h40 phandle_t ops_node;
/freebsd-12-stable/sys/dev/extres/phy/
H A Dphy.h46 phandle_t ofw_node; /* OFW node of phy */
72 phandle_t phynode_get_ofw_node(struct phynode *phynode);
86 int phy_get_by_ofw_name(device_t consumer, phandle_t node, char *name,
88 int phy_get_by_ofw_idx(device_t consumer, phandle_t node, int idx, phy_t *phy);
89 int phy_get_by_ofw_property(device_t consumer, phandle_t node, char *name,
/freebsd-12-stable/sys/powerpc/psim/
H A Diobusvar.h49 IOBUS_ACCESSOR(node, NODE, phandle_t)
60 phandle_t id_node;

Completed in 290 milliseconds

1234567891011>>