Lines Matching refs:ea
73 struct ebus_attach_args *ea = aux; in com_ebus_match() local
77 if (strcmp(ea->ea_name, com_names[i]) == 0) in com_ebus_match()
80 if (strcmp(ea->ea_name, "serial") == 0) { in com_ebus_match()
84 compat = prom_getpropstring(ea->ea_node, "compatible"); in com_ebus_match()
101 struct ebus_attach_args *ea = aux; in com_ebus_attach() local
117 iot = ea->ea_bustag; in com_ebus_attach()
118 iobase = EBUS_ADDR_FROM_REG(&ea->ea_reg[0]); in com_ebus_attach()
132 if (ea->ea_nvaddr) in com_ebus_attach()
133 sparc_promaddr_to_handle(iot, ea->ea_vaddr[0], in com_ebus_attach()
136 ea->ea_reg[0].size, 0, &ioh) != 0) { in com_ebus_attach()
145 for (i = 0; i < ea->ea_nintr; i++) in com_ebus_attach()
146 bus_intr_establish(ea->ea_bustag, ea->ea_intr[i], in com_ebus_attach()
163 com_is_input = (ea->ea_node == node); in com_ebus_attach()
167 node = OF_parent(OF_parent(ea->ea_node)); in com_ebus_attach()
172 com_is_output = (ea->ea_node == node); in com_ebus_attach()
176 node = OF_parent(OF_parent(ea->ea_node)); in com_ebus_attach()
184 if (strcmp(ea->ea_name, "rsc-console") == 0) in com_ebus_attach()
217 if (OF_getprop(ea->ea_node, "compatible", buf, sizeof(buf)) > 0 && in com_ebus_attach()
236 if (prom_getproplen(ea->ea_node, kma.kmta_name) == 0) { in com_ebus_attach()
242 if (prom_getproplen(ea->ea_node, kma.kmta_name) == 0) { in com_ebus_attach()