Home
last modified time | relevance | path

Searched refs:phandle_t (Results 1 – 25 of 535) sorted by relevance

12345678910>>...22

/freebsd/sys/dev/ofw/
H A Dofw_bus_subr.h60 phandle_t iparent;
90 void *, int, void *, int, phandle_t *);
92 void *, void *, int, phandle_t *);
95 int ofw_bus_msimap(phandle_t, uint16_t, phandle_t *, uint32_t *);
96 int ofw_bus_iommu_map(phandle_t, uint16_t, phandle_t *, uint32_t *);
104 int ofw_bus_intr_by_rid(device_t, phandle_t, int, phandle_t *, int *,
110 int ofw_bus_node_status_okay(phandle_t node);
113 phandle_t ofw_bus_find_iparent(phandle_t);
118 int ofw_bus_node_is_compatible(phandle_t, const char *);
134 phandle_t ofw_bus_find_compatible(phandle_t, const char *);
[all …]
H A Dopenfirm.h71 typedef uint32_t phandle_t; typedef
103 phandle_t OF_peer(phandle_t node);
104 phandle_t OF_child(phandle_t node);
105 phandle_t OF_parent(phandle_t node);
111 int OF_hasprop(phandle_t node, const char *propname);
130 phandle_t OF_finddevice(const char *path);
139 phandle_t OF_node_from_xref(phandle_t xref);
140 phandle_t OF_xref_from_node(phandle_t node);
149 device_t OF_device_from_xref(phandle_t xref);
150 phandle_t OF_xref_from_device(device_t dev);
[all …]
H A Dofw_graph.c46 phandle_t
49 phandle_t ports, child; in ofw_graph_get_port_by_idx()
86 phandle_t child; in ofw_graph_port_get_num_endpoints()
106 phandle_t
109 phandle_t endpoint, child; in ofw_graph_get_endpoint_by_idx()
129 phandle_t
132 phandle_t remote; in ofw_graph_get_remote_endpoint()
135 sizeof(phandle_t)) <= 0) in ofw_graph_get_remote_endpoint()
141 phandle_t
144 phandle_t node; in ofw_graph_get_remote_parent()
[all …]
H A Dopenfirm.c91 phandle_t xref;
176 xrefinfo_add(phandle_t node, phandle_t xref, device_t dev) in xrefinfo_add()
321 phandle_t
332 phandle_t
343 phandle_t
354 phandle_t
562 phandle_t
596 OF_child_xref_phandle(phandle_t parent, phandle_t xref) in OF_child_xref_phandle()
624 phandle_t
641 phandle_t
[all …]
H A Dofw_graph.h33 phandle_t ofw_graph_get_port_by_idx(phandle_t node, uint32_t idx);
34 phandle_t ofw_graph_get_remote_endpoint(phandle_t endpoint);
35 size_t ofw_graph_port_get_num_endpoints(phandle_t port);
36 phandle_t ofw_graph_get_endpoint_by_idx(phandle_t port, uint32_t idx);
37 phandle_t ofw_graph_get_remote_parent(phandle_t remote);
39 device_t ofw_graph_get_device_by_port_ep(phandle_t node, uint32_t port_id, uint32_t ep_id);
H A Dofw_fdt.c65 static phandle_t ofw_fdt_peer(ofw_t, phandle_t);
66 static phandle_t ofw_fdt_child(ofw_t, phandle_t);
67 static phandle_t ofw_fdt_parent(ofw_t, phandle_t);
156 phandle_t root; in ofw_fdt_init()
219 static phandle_t
239 static phandle_t
259 static phandle_t
272 static phandle_t
286 static phandle_t
443 static phandle_t
[all …]
H A Dofw_bus_subr.c154 phandle_t
267 phandle_t node; in ofw_bus_is_compatible()
319 phandle_t node; in ofw_bus_has_prop()
397 phandle_t parent; in ofw_bus_search_intrmap()
620 phandle_t
623 phandle_t iparent; in ofw_bus_find_iparent()
774 phandle_t
779 phandle_t child; in ofw_bus_find_child()
796 phandle_t
877 phandle_t pnode; in ofw_bus_parse_xref_list_internal()
[all …]
H A Dofw_standard.c76 static phandle_t ofw_std_peer(ofw_t ofw, phandle_t node);
77 static phandle_t ofw_std_child(ofw_t ofw, phandle_t node);
78 static phandle_t ofw_std_parent(ofw_t ofw, phandle_t node);
214 static phandle_t
215 ofw_std_peer(ofw_t ofw, phandle_t node) in ofw_std_peer()
236 static phandle_t
237 ofw_std_child(ofw_t ofw, phandle_t node) in ofw_std_child()
258 static phandle_t
259 ofw_std_parent(ofw_t ofw, phandle_t node) in ofw_std_parent()
280 static phandle_t
[all …]
H A Dopenfirmio.c70 static phandle_t lastnode; /* speed hack */
72 static int openfirm_checkid(phandle_t, phandle_t);
80 openfirm_checkid(phandle_t sid, phandle_t tid) in openfirm_checkid()
111 phandle_t node; in openfirm_ioctl()
122 *(phandle_t *) data = OF_finddevice("/options"); in openfirm_ioctl()
133 node = *(phandle_t *)data; in openfirm_ioctl()
241 *(phandle_t *)data = lastnode = node; in openfirm_ioctl()
248 *(phandle_t *)data = lastnode = node; in openfirm_ioctl()
/freebsd/stand/libofw/
H A Dopenfirm.h66 typedef uint32_t phandle_t; typedef
70 extern phandle_t chosen;
85 phandle_t OF_peer(phandle_t);
86 phandle_t OF_child(phandle_t);
87 phandle_t OF_parent(phandle_t);
88 phandle_t OF_instance_to_package(ihandle_t);
89 int OF_getproplen(phandle_t, const char *);
90 int OF_getprop(phandle_t, const char *, void *, int);
92 int OF_nextprop(phandle_t, const char *, char *);
95 phandle_t OF_finddevice(const char *);
[all …]
/freebsd/usr.sbin/ofwdump/
H A Dofw_util.h34 phandle_t ofw_root(int);
35 phandle_t ofw_optnode(int);
36 phandle_t ofw_peer(int, phandle_t);
37 phandle_t ofw_child(int, phandle_t);
38 phandle_t ofw_finddevice(int, const char *);
40 int ofw_firstprop(int, phandle_t, char *, int);
41 int ofw_nextprop(int, phandle_t, const char *, char *, int);
42 int ofw_getprop(int, phandle_t, const char *, void *, int);
43 int ofw_setprop(int, phandle_t, const char *, const void *, int);
44 int ofw_getproplen(int, phandle_t, const char *);
[all …]
H A Dofw_util.c65 phandle_t
72 phandle_t
75 phandle_t rv; in ofw_optnode()
81 phandle_t
82 ofw_peer(int fd, phandle_t node) in ofw_peer()
84 phandle_t rv; in ofw_peer()
91 phandle_t
92 ofw_child(int fd, phandle_t node) in ofw_child()
94 phandle_t rv; in ofw_child()
101 phandle_t
[all …]
/freebsd/sys/dev/fdt/
H A Dfdt_common.h49 typedef int (*fdt_pic_decode_t)(phandle_t, pcell_t *, int *, int *, int *);
54 typedef void (*fdt_fixup_t)(phandle_t);
79 int fdt_addrsize_cells(phandle_t, int *, int *);
82 phandle_t fdt_find_compatible(phandle_t, const char *, int);
83 phandle_t fdt_depth_search_compatible(phandle_t, const char *, int);
87 int fdt_get_phyaddr(phandle_t, device_t, int *, void **);
88 int fdt_get_range(phandle_t, int, u_long *, u_long *);
90 int fdt_regsize(phandle_t, u_long *, u_long *);
91 int fdt_is_compatible_strict(phandle_t, const char *);
92 int fdt_parent_addr_cells(phandle_t);
H A Dfdt_common.c205 phandle_t node; in fdt_immr_addr()
252 phandle_t
255 phandle_t child; in fdt_find_compatible()
271 phandle_t
274 phandle_t child, node; in fdt_depth_search_compatible()
293 fdt_parent_addr_cells(phandle_t node) in fdt_parent_addr_cells()
382 phandle_t phy_node; in fdt_get_phyaddr()
450 phandle_t memory, root; in fdt_get_reserved_regions()
506 phandle_t child, root; in fdt_get_reserved_mem()
548 phandle_t memory; in fdt_get_mem_regions()
[all …]
H A Dsimplebus.h44 phandle_t node;
59 void simplebus_init(device_t dev, phandle_t node);
60 device_t simplebus_add_device(device_t dev, phandle_t node, u_int order,
62 struct simplebus_devinfo *simplebus_setup_dinfo(device_t dev, phandle_t node,
64 int simplebus_fill_ranges(phandle_t node,
/freebsd/sys/dev/nvmem/
H A Dnvmem.c40 nvmem_get_cell_node(phandle_t node, int idx, phandle_t *cell) in nvmem_get_cell_node()
42 phandle_t *p_cell; in nvmem_get_cell_node()
43 phandle_t cell_node; in nvmem_get_cell_node()
70 nvmem_get_cell_len(phandle_t node, const char *name) in nvmem_get_cell_len()
72 phandle_t cell_node; in nvmem_get_cell_len()
95 nvmem_read_cell_by_idx(phandle_t node, int idx, void *cell, size_t buflen) in nvmem_read_cell_by_idx()
97 phandle_t cell_node; in nvmem_read_cell_by_idx()
133 nvmem_read_cell_by_name(phandle_t node, const char *name, void *cell, size_t buflen) in nvmem_read_cell_by_name()
145 nvmem_write_cell_by_idx(phandle_t node, int idx, void *cell, size_t buflen) in nvmem_write_cell_by_idx()
147 phandle_t cell_node, prov_node; in nvmem_write_cell_by_idx()
[all …]
H A Dnvmem.h29 int nvmem_get_cell_len(phandle_t node, const char *name);
30 int nvmem_read_cell_by_name(phandle_t node, const char *name, void *cell, size_t buflen);
31 int nvmem_read_cell_by_idx(phandle_t node, int idx, void *cell, size_t buflen);
32 int nvmem_write_cell_by_name(phandle_t node, const char *name, void *cell, size_t buflen);
33 int nvmem_write_cell_by_idx(phandle_t node, int idx, void *cell, size_t buflen);
/freebsd/sys/dev/sff/
H A Dsfp_fdt.c44 phandle_t ofw_node;
45 phandle_t i2c_bus;
47 phandle_t mod_def;
48 phandle_t los;
49 phandle_t tx_fault;
50 phandle_t tx_disable;
51 phandle_t rx_rate;
52 phandle_t tx_rate;
59 phandle_t node; in sfp_fdt_probe()
/freebsd/sys/arm64/coresight/
H A Dcoresight_fdt.c47 coresight_fdt_get_ports(phandle_t dev_node, in coresight_fdt_get_ports()
50 phandle_t node, child; in coresight_fdt_get_ports()
52 phandle_t xref; in coresight_fdt_get_ports()
55 phandle_t endpoint_child; in coresight_fdt_get_ports()
108 coresight_fdt_get_cpu(phandle_t node, in coresight_fdt_get_cpu()
111 phandle_t cpu_node; in coresight_fdt_get_cpu()
131 phandle_t node; in coresight_fdt_get_platform_data()
/freebsd/sys/dev/uart/
H A Duart_cpu_powerpc.c53 ofw_get_uart_console(phandle_t opts, phandle_t *result, const char *inputdev, in ofw_get_uart_console()
57 phandle_t input; in ofw_get_uart_console()
77 ofw_get_console_phandle_path(phandle_t node, phandle_t *result, in ofw_get_console_phandle_path()
82 phandle_t ref; in ofw_get_console_phandle_path()
84 phandle_t output; in ofw_get_console_phandle_path()
113 phandle_t input, opts, chosen; in uart_cpu_getdev()
H A Duart_bus_fdt.c67 uart_fdt_get_clock(phandle_t node, pcell_t *cell) in uart_fdt_get_clock()
84 uart_fdt_get_shift(phandle_t node, pcell_t *cell) in uart_fdt_get_shift()
93 uart_fdt_get_io_width(phandle_t node, pcell_t *cell) in uart_fdt_get_io_width()
116 phandle_chosen_propdev(phandle_t chosen, const char *name, phandle_t *node) in phandle_chosen_propdev()
138 uart_fdt_find_compatible(phandle_t node, const struct ofw_compat_data *cd) in uart_fdt_find_compatible()
150 uart_fdt_find_by_node(phandle_t node, int class_list) in uart_fdt_find_by_node()
182 phandle_t node, chosen; in uart_cpu_fdt_probe()
269 phandle_t node; in uart_fdt_probe()
/freebsd/sys/dev/syscon/
H A Dsyscon.h45 phandle_t ofw_node; /* OFW node for syscon */
70 syscon_class_t syscon_class, phandle_t node);
71 phandle_t syscon_get_ofw_node(struct syscon *syscon);
72 int syscon_get_by_ofw_property(device_t consumer, phandle_t node, char *name,
74 int syscon_get_by_ofw_node(device_t cdev, phandle_t node, struct syscon **syscon);
/freebsd/sys/dev/neta/
H A Dif_mvneta_fdt.c70 STATIC boolean_t mvneta_find_ethernet_prop_switch(phandle_t, phandle_t);
149 phandle_t node, child, phy_handle; in mvneta_fdt_phy_acquire()
234 phandle_t node; in mvneta_fdt_mac_address()
260 mvneta_find_ethernet_prop_switch(phandle_t ethernet, phandle_t node) in mvneta_find_ethernet_prop_switch()
263 phandle_t child, switch_eth_handle, switch_eth; in mvneta_find_ethernet_prop_switch()
288 phandle_t node; in mvneta_has_switch_fdt()
/freebsd/sys/dev/usb/
H A Dusb_fdt_support.c53 static phandle_t
54 find_udev_in_children(phandle_t parent, struct usb_device *udev) in find_udev_in_children()
56 phandle_t child; in find_udev_in_children()
100 phandle_t node; in usb_fdt_get_mac_addr()
120 phandle_t
125 phandle_t controller_node, node; in usb_fdt_get_node()
/freebsd/sys/dev/pwm/
H A Dofw_pwm.c40 pwm_get_by_ofw_propidx(device_t consumer, phandle_t node, in pwm_get_by_ofw_propidx()
43 phandle_t xref; in pwm_get_by_ofw_propidx()
71 pwm_get_by_ofw_idx(device_t consumer, phandle_t node, int idx, in pwm_get_by_ofw_idx()
79 pwm_get_by_ofw_property(device_t consumer, phandle_t node, in pwm_get_by_ofw_property()
87 pwm_get_by_ofw_name(device_t consumer, phandle_t node, const char *name, in pwm_get_by_ofw_name()

12345678910>>...22