Home
last modified time | relevance | path

Searched refs:pnode_t (Results 1 – 25 of 141) sorted by relevance

123456

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c35 pnode_t
53 pnode_t
149 pnode_t
172 pnode_t
184 pnode_t
192 pnode_t
210 pnode_t
249 pnode_t
253 pnode_t node; in prom_chosennode()
278 pnode_t
[all …]
H A Dprom_fb.c47 remember = prom_devicetype((pnode_t)prom_stdout_node(), in prom_stdout_is_framebuffer()
51 remember = prom_devicetype((pnode_t)prom_stdout_node(), in prom_stdout_is_framebuffer()
138 pnode_t node; in prom_get_tem_size()
H A Dprom_prop.c182 prom_getproplen(pnode_t nodeid, caddr_t name) in prom_getproplen()
202 prom_getprop(pnode_t nodeid, caddr_t name, caddr_t value) in prom_getprop()
238 prom_bounded_getprop(pnode_t nodeid, caddr_t name, caddr_t value, int len) in prom_bounded_getprop()
259 prom_nextprop(pnode_t nodeid, caddr_t previous, caddr_t next) in prom_nextprop()
280 prom_setprop(pnode_t nodeid, caddr_t name, caddr_t value, int len) in prom_setprop()
/illumos-gate/usr/src/uts/intel/sys/
H A Dprom_emul.h50 pnode_t pn_nodeid;
63 extern pnode_t promif_findnode_byname(pnode_t n, char *name);
64 extern pnode_t promif_nextnode(pnode_t n);
65 extern pnode_t promif_childnode(pnode_t n);
67 extern int promif_getproplen(pnode_t n, char *name);
68 extern int promif_getprop(pnode_t n, char *name, void *value);
69 extern int promif_bounded_getprop(pnode_t, char *name, void *value, int len);
70 char *promif_nextprop(pnode_t n, char *previous, char *next);
77 extern pnode_t promif_add_child(pnode_t parent, pnode_t child, char *name);
78 extern void promif_create_prop_external(pnode_t, char *name, void *, int);
H A Dpromif.h65 extern pnode_t prom_childnode(pnode_t nodeid);
66 extern pnode_t prom_nextnode(pnode_t nodeid);
67 extern pnode_t prom_optionsnode(void);
68 extern pnode_t prom_alias_node(void);
69 extern pnode_t prom_rootnode(void);
71 extern int prom_getproplen(pnode_t nodeid, caddr_t name);
72 extern int prom_getprop(pnode_t nodeid, caddr_t name,
74 extern caddr_t prom_nextprop(pnode_t nodeid, caddr_t previous,
83 extern pnode_t prom_finddevice(char *path);
85 extern int prom_bounded_getprop(pnode_t nodeid,
[all …]
H A Dobpdefs.h41 typedef phandle_t pnode_t; typedef
47 #define OBP_NONODE ((pnode_t)0)
48 #define OBP_BADNODE ((pnode_t)-1)
/illumos-gate/usr/src/uts/sun/sys/
H A Dpromif.h88 extern pnode_t prom_childnode(pnode_t nodeid);
89 extern pnode_t prom_nextnode(pnode_t nodeid);
90 extern pnode_t prom_parentnode(pnode_t nodeid);
91 extern pnode_t prom_rootnode(void);
92 extern pnode_t prom_chosennode(void);
93 extern pnode_t prom_alias_node(void);
94 extern pnode_t prom_optionsnode(void);
150 extern pnode_t prom_stdin_node(void);
151 extern pnode_t prom_stdout_node(void);
291 extern pnode_t prom_findnode_byname(pnode_t id, char *name);
[all …]
H A Dobpdefs.h37 typedef phandle_t pnode_t; typedef
43 #define OBP_NONODE ((pnode_t)0)
44 #define OBP_BADNODE ((pnode_t)-1)
/illumos-gate/usr/src/uts/intel/promif/
H A Dprom_node.c42 pnode_t
45 static pnode_t rootnode; in prom_rootnode()
50 pnode_t
51 prom_nextnode(pnode_t nodeid) in prom_nextnode()
56 pnode_t
57 prom_childnode(pnode_t nodeid) in prom_childnode()
67 pnode_t
73 pnode_t
79 pnode_t
86 pnode_t
[all …]
H A Dprom_emul.c39 static prom_node_t *promif_find_node(pnode_t nodeid);
142 find_node_work(prom_node_t *pnp, pnode_t n) in find_node_work()
161 promif_find_node(pnode_t nodeid) in promif_find_node()
172 pnode_t
173 promif_nextnode(pnode_t nodeid) in promif_nextnode()
189 pnode_t
190 promif_childnode(pnode_t nodeid) in promif_childnode()
218 promif_getproplen(pnode_t nodeid, char *name) in promif_getproplen()
242 promif_getprop(pnode_t nodeid, char *name, void *value) in promif_getprop()
281 promif_nextprop(pnode_t nodeid, char *name, char *next) in promif_nextprop()
H A Dprom_prop.c36 prom_getproplen(pnode_t nodeid, caddr_t name) in prom_getproplen()
42 prom_getprop(pnode_t nodeid, caddr_t name, caddr_t value) in prom_getprop()
48 prom_nextprop(pnode_t nodeid, caddr_t previous, caddr_t next) in prom_nextprop()
71 prom_bounded_getprop(pnode_t nodeid, caddr_t name, caddr_t value, int len) in prom_bounded_getprop()
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dpromif_impl.h82 extern pnode_t promif_stree_nextnode(pnode_t nodeid);
83 extern pnode_t promif_stree_childnode(pnode_t nodeid);
84 extern pnode_t promif_stree_parentnode(pnode_t nodeid);
85 extern int promif_stree_getproplen(pnode_t, char *name);
86 extern int promif_stree_getprop(pnode_t, char *name, void *value);
87 extern int promif_stree_setprop(pnode_t, char *name, void *value, int len);
88 extern char *promif_stree_nextprop(pnode_t nodeid, char *name, char *next);
110 phandle_t, phandle_t, pnode_t, pnode_t);
112 extern void promif_set_nodes(pnode_t, pnode_t);
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_stree.c49 pnode_t pn_nodeid;
98 pnode_t
99 promif_stree_parentnode(pnode_t nodeid) in promif_stree_parentnode()
111 pnode_t
112 promif_stree_childnode(pnode_t nodeid) in promif_stree_childnode()
123 pnode_t
124 promif_stree_nextnode(pnode_t nodeid) in promif_stree_nextnode()
216 find_node(pnode_t nodeid) in find_node()
319 pnode_t node; in promif_stree_init()
333 pnode_t child; in create_children()
[all …]
H A Dpromif_node.c32 static pnode_t chosennode;
33 static pnode_t optionsnode;
36 static pnode_t finddevice(char *path);
46 promif_set_nodes(pnode_t chosen, pnode_t options) in promif_set_nodes()
80 pnode_t node; in promif_finddevice()
106 pnode_t next; in promif_nextnode()
121 pnode_t child; in promif_childnode()
136 pnode_t parent; in promif_parentnode()
207 static pnode_t
215 pnode_t np; in finddevice()
[all …]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dfillsysinfo.c105 void fill_cpu(pnode_t);
197 pnode_t root; in map_wellknown_devices()
354 get_portid(pnode_t node, pnode_t *cmpp) in get_portid()
359 pnode_t cpu_parent; in get_portid()
441 fill_cpu(pnode_t node) in fill_cpu()
450 pnode_t cmpnode; in fill_cpu()
522 pnode_t root = prom_nextnode((pnode_t)0); in fill_cpu()
1082 have_pci(pnode_t node) in have_pci()
1178 have_rtc(pnode_t node) in have_rtc()
1221 have_pmc(pnode_t node) in have_pmc()
[all …]
H A Dmach_ddi_impl.c143 if (prom_getprop((pnode_t)nid, OBP_BOARDNUM, in get_boardnum()
154 if (prom_getprop((pnode_t)nid, OBP_BOARDNUM, in get_boardnum()
172 size = prom_getproplen((pnode_t)id, name); in getlongprop_buf()
176 if (-1 == prom_getprop((pnode_t)id, name, buf)) in getlongprop_buf()
385 pnode_t nodeid; in dip_to_cpu_id()
388 nodeid = (pnode_t)ddi_get_nodeid(dip); in dip_to_cpu_id()
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsbdp_priv.h158 pnode_t nodes[SBDP_MAX_MEM_NODES_PER_BOARD];
217 pnode_t nodes[SBDP_MAX_NODES];
232 int sbdp_is_node_bad(pnode_t);
233 void sbdp_walk_prom_tree(pnode_t, int(*)(pnode_t, void *, uint_t), void *);
236 int sbdp_get_bd_and_wnode_num(pnode_t, int *, int *);
240 sbd_cond_t sbdp_get_comp_status(pnode_t);
256 int sbdp_select_top_nodes(pnode_t, void *, uint_t);
257 pnode_t sbdp_find_nearby_cpu_by_portid(pnode_t, processorid_t);
/illumos-gate/usr/src/uts/common/os/
H A Dautoconf.c229 size = prom_getproplen((pnode_t)id, name); in getlongprop_buf()
233 if (-1 == prom_getprop((pnode_t)id, name, buf)) in getlongprop_buf()
267 cnid = (int)prom_childnode((pnode_t)nid); in get_neighbors()
270 snid = (int)prom_nextnode((pnode_t)nid); in get_neighbors()
273 snid = (int)prom_nextnode((pnode_t)nid); in get_neighbors()
274 cnid = (int)prom_childnode((pnode_t)nid); in get_neighbors()
286 snid = (int)prom_nextnode((pnode_t)snid)) { in get_neighbors()
307 for (cnid = (int)prom_nextnode((pnode_t)cnid); in get_neighbors()
309 cnid = (int)prom_nextnode((pnode_t)cnid)) { in get_neighbors()
373 pnode_t nodeid; in create_devinfo_tree()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_dr.c58 pnode_t node, in sbdp_walk_prom_tree_worker()
59 int(*f)(pnode_t, void *, uint_t), in sbdp_walk_prom_tree_worker() argument
75 pnode_t node;
76 int (*f)(pnode_t, void *, uint_t);
91 sbdp_walk_prom_tree(pnode_t node, int(*f)(pnode_t, void *, uint_t), void *arg) in sbdp_walk_prom_tree() argument
102 sbdp_attach_branch(dev_info_t *pdip, pnode_t node, void *arg) in sbdp_attach_branch()
105 pnode_t child; in sbdp_attach_branch()
188 sbdp_select_top_nodes(pnode_t node, void *arg, uint_t flags) in sbdp_select_top_nodes()
H A Dsbdp_cpu.c105 pnode_t nodeid; in sbdp_disconnect_cpu()
186 pnode_t nodeid; in sbdp_connect_cpu()
289 pnode_t nodeid; in sbdp_cpu_poweron()
301 ASSERT(nodeid != (pnode_t)0); in sbdp_cpu_poweron()
364 pnode_t nodeid; in sbdp_cpu_poweroff()
380 ASSERT(nodeid != (pnode_t)0); in sbdp_cpu_poweroff()
487 pnode_t nodeid; in sbdp_get_cpuid()
529 pnode_t nodeid; in sbdp_cpu_get_impl()
563 pnode_t node; /* current node */
568 pnode_t
[all …]
H A Dsbdp_mem.c58 static pnode_t mc_get_sibling_cpu(pnode_t nodeid);
141 pnode_t nodeid; in sbdp_get_mem_dip()
684 pnode_t cpu_node; in mc_get_sibling_cpu_impl()
784 pnode_t *memnodes; in sbdp_prep_mc_idle_one()
940 pnode_t *s_nodes, *t_nodes; in sbdp_prep_rename_script()
1265 pnode_t nodeid; in sbdphw_get_base_physaddr()
1359 pnode_t *list; in sbdp_is_mem()
1445 pnode_t
1446 mc_get_sibling_cpu(pnode_t nodeid) in mc_get_sibling_cpu()
1468 pnode_t cpu_node; in mc_check_sibling_cpu()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c94 static int oprom_checknodeid(pnode_t, pnode_t);
185 static pnode_t options_nodeid;
272 st->current_id = (pnode_t)0; in opromopen()
366 pnode_t node_id = OBP_NONODE; in opromioctl_cb()
641 userbufsize < sizeof (pnode_t)) { in opromioctl_cb()
659 node_id = *(pnode_t *)opp->oprom_array; in opromioctl_cb()
677 opp->oprom_size = sizeof (pnode_t); in opromioctl_cb()
1036 oprom_checknodeid(pnode_t node_id, pnode_t current_id) in oprom_checknodeid()
1039 pnode_t id[OBP_STACKDEPTH]; in oprom_checknodeid()
1060 id[0] = prom_nextnode((pnode_t)0); in oprom_checknodeid()
[all …]
/illumos-gate/usr/src/uts/sparc/os/
H A Dcpr_sparc.c67 static char *cpr_build_nodename(pnode_t);
73 cpr_get_options_node(pnode_t *nodep) in cpr_get_options_node()
93 pnode_t node; in cpr_get_bool_prop()
116 pnode_t node; in cpr_update_nvram()
257 pnode_t node; in cpr_default_setup()
356 static pnode_t cur_node; in cpr_abbreviate_devpath()
364 pnode_t long_match = 0; in cpr_abbreviate_devpath()
365 pnode_t short_match = 0; in cpr_abbreviate_devpath()
469 cpr_build_nodename(pnode_t node) in cpr_build_nodename()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dprom_plat.h215 extern int prom_startcpu(pnode_t node, caddr_t pc, int arg);
219 extern int prom_wakeupcpu(pnode_t node);
220 extern int prom_serengeti_wakeupcpu(pnode_t node);
225 extern int prom_serengeti_cpu_off(pnode_t node);
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4u_memlist.c77 static pnode_t pmem = 0; in fill_memlists()
78 static pnode_t pmmu = 0; in fill_memlists()
79 pnode_t node; in fill_memlists()
84 if (pmem == (pnode_t)0) { in fill_memlists()

123456