Lines Matching defs:ea
67 struct ebus_attach_args *ea = aux;
69 if (strcmp("pmc", ea->ea_name) == 0)
78 struct ebus_attach_args *ea = aux;
81 if (ea->ea_nvaddrs) {
82 if (bus_space_map(ea->ea_memtag, ea->ea_vaddrs[0], 0,
87 sc->sc_iot = ea->ea_memtag;
88 } else if (ebus_bus_map(ea->ea_iotag, 0,
89 EBUS_PADDR_FROM_REG(&ea->ea_regs[0]),
90 ea->ea_regs[0].size, 0, 0, &sc->sc_ioh) == 0) {
91 sc->sc_iot = ea->ea_iotag;
92 } else if (ebus_bus_map(ea->ea_memtag, 0,
93 EBUS_PADDR_FROM_REG(&ea->ea_regs[0]),
94 ea->ea_regs[0].size, 0, 0, &sc->sc_ioh) == 0) {
95 sc->sc_iot = ea->ea_memtag;