Home
last modified time | relevance | path

Searched refs:ea_node (Results 1 – 15 of 15) sorted by relevance

/openbsd-src/sys/arch/sparc64/dev/
H A Dcom_ebus.c101 if ((i = OF_getproplen(ea->ea_node, "compatible")) && in com_ebus_match()
102 OF_getprop(ea->ea_node, "compatible", compat, in com_ebus_match()
179 com_is_input = (ea->ea_node == node); in com_ebus_attach()
183 node = OF_parent(OF_parent(ea->ea_node)); in com_ebus_attach()
188 com_is_output = (ea->ea_node == node); in com_ebus_attach()
192 node = OF_parent(OF_parent(ea->ea_node)); in com_ebus_attach()
229 if (OF_getprop(ea->ea_node, "compatible", buf, sizeof(buf)) > 0 && in com_ebus_attach()
233 if (OF_getproplen(ea->ea_node, "keyboard") == 0) in com_ebus_attach()
235 else if (OF_getproplen(ea->ea_node, "mouse") == 0) in com_ebus_attach()
254 OF_finddevice(buf) == ea->ea_node) in com_ebus_speed()
[all …]
H A Dpcfiic_ebus.c73 if (OF_getprop(ea->ea_node, "compatible", compat, sizeof(compat)) == -1) in pcfiic_ebus_match()
101 if (OF_getprop(ea->ea_node, "compatible", compat, sizeof(compat)) > 0 && in pcfiic_ebus_attach()
117 if (OF_getprop(ea->ea_node, "own-address", &addr, sizeof(addr)) == -1) { in pcfiic_ebus_attach()
169 envctrl_scan, &ea->ea_node); in pcfiic_ebus_attach()
172 envctrltwo_scan, &ea->ea_node); in pcfiic_ebus_attach()
175 ofwiic_scan, &ea->ea_node); in pcfiic_ebus_attach()
H A Dcomms_ebus.c165 return comms_ismouse(ea->ea_node); in comms_match()
170 if ((i = OF_getproplen(ea->ea_node, "compatible")) && in comms_match()
171 OF_getprop(ea->ea_node, "compatible", compat, in comms_match()
175 return comms_ismouse(ea->ea_node); in comms_match()
H A Dcomkbd_ebus.c141 return (comkbd_iskbd(ea->ea_node)); in comkbd_match()
146 if ((i = OF_getproplen(ea->ea_node, "compatible")) && in comkbd_match()
147 OF_getprop(ea->ea_node, "compatible", compat, in comkbd_match()
151 return (comkbd_iskbd(ea->ea_node)); in comkbd_match()
179 console = (ea->ea_node == OF_instance_to_package(OF_stdin())); in comkbd_attach()
H A Dpckbc_ebus.c94 sc->sc_node = ea->ea_node; in pckbc_ebus_attach()
126 OF_getprop(ea->ea_node, "model", buf, sizeof buf); in pckbc_ebus_attach()
H A Debusvar.h40 int ea_node; /* PROM node */ member
H A Dpower.c115 if (ea->ea_nintrs > 0 && OF_getproplen(ea->ea_node, "button") >= 0) { in power_attach()
H A Drtc.c155 model = getpropstring(ea->ea_node, "model"); in rtc_attach()
157 model = getpropstring(ea->ea_node, "compatible"); in rtc_attach()
H A Dled.c91 str = getpropstring(ea->ea_node, "compatible"); in led_match()
H A Debus.c237 ea->ea_node = node; in ebus_setup_attach_args()
316 OF_mapintr(ea->ea_node, &ea->ea_intrs[i], in ebus_find_ino()
H A Duperf_ebus.c150 model = getpropstring(ea->ea_node, "model"); in uperf_ebus_attach()
H A Dsab.c220 compat = getpropstring(ea->ea_node, "compatible"); in sab_match()
235 sc->sc_node = ea->ea_node; in sab_attach()
H A Dfd.c404 if (strcmp(getpropstring(ea->ea_node, "status"), "disabled") == 0) { in fdcattach_ebus()
411 if (getproplen(ea->ea_node, "manual") >= 0) in fdcattach_ebus()
H A Dce4231.c196 node = ea->ea_node; in ce4231_attach()
/openbsd-src/sys/arch/sparc64/sparc64/
H A Dclock.c347 clockattach(ea->ea_node, bt, cwi.cwi_bh); in clockattach_ebus()