/netbsd-current/sys/arch/m68k/fpe/ |
H A D | fpu_calcea.c | 72 struct insn_ea *ea, int modreg) 84 ea->ea_regnum = 8 + (modreg & 7); 88 ea->ea_regnum = modreg & 0xf; 89 ea->ea_flags = EA_DIRECT; 91 __func__, ea->ea_regnum)); 94 ea->ea_flags = EA_IMMED; 95 sig = fetch_immed(frame, insn, &ea->ea_immed[0]); 106 ea->ea_flags = EA_FRAME_EA; 107 ea->ea_fea = frame->f_fmt4.f_fa; 109 __func__, (void *)ea 71 fpu_decode_ea(struct frame *frame, struct instruction *insn, struct insn_ea *ea, int modreg) argument 212 decode_ea6(struct frame *frame, struct instruction *insn, struct insn_ea *ea, int modreg) argument 298 fpu_load_ea(struct frame *frame, struct instruction *insn, struct insn_ea *ea, char *dst) argument 439 fpu_store_ea(struct frame *frame, struct instruction *insn, struct insn_ea *ea, char *src) argument 659 calc_ea(struct insn_ea *ea, char *ptr, char **eaddr) argument [all...] |
/netbsd-current/sys/arch/mvme68k/stand/netboot/ |
H A D | boot.c | 93 u_char *ea; local 96 ea = (u_char *) ETHER_ADDR_147; 98 if ((*(int *)ea & 0x2fffff00) == 0x2fffff00) 103 ether[3] = ea[0]; 104 ether[4] = ea[1]; 105 ether[5] = ea[2]; 107 ea = (u_char *)ETHER_ADDR_16X; 109 if (ea[0] + ea[1] + ea[ [all...] |
/netbsd-current/sys/arch/sparc64/dev/ |
H A D | auxio_ebus.c | 64 struct ebus_attach_args *ea = aux; local 66 return (strcmp(AUXIO_ROM_NAME, ea->ea_name) == 0); 73 struct ebus_attach_args *ea = aux; local 76 sc->sc_tag = ea->ea_bustag; 78 if (ea->ea_nreg < 1) { 84 if (ea->ea_nreg != 5) { 86 ea->ea_nreg); 88 } else if (ea->ea_nvaddr == 5) { 90 ea->ea_vaddr[1], &sc->sc_pci); 92 ea [all...] |
H A D | lpt_ebus.c | 61 struct ebus_attach_args *ea = aux; local 63 if (strcmp(ea->ea_name, ROM_LPT_NAME) == 0 64 || strcmp(ea->ea_name, ROM_LPT_NAME2) == 0) 74 struct ebus_attach_args *ea = aux; local 78 sc->sc_iot = ea->ea_bustag; 90 if (ea->ea_nvaddr) 91 sparc_promaddr_to_handle(sc->sc_iot, ea->ea_vaddr[0], 94 EBUS_ADDR_FROM_REG(&ea->ea_reg[0]), 95 ea->ea_reg[0].size, 102 for (i = 0; i < ea [all...] |
H A D | pcfiic_ebus.c | 63 struct ebus_attach_args *ea = aux; local 66 if (strcmp(ea->ea_name, "SUNW,envctrl") == 0 || 67 strcmp(ea->ea_name, "SUNW,envctrltwo") == 0) 70 if (strcmp(ea->ea_name, "i2c") != 0) 73 if (OF_getprop(ea->ea_node, "compatible", compat, sizeof(compat)) == -1) 90 struct ebus_attach_args *ea = aux; local 96 if (ea->ea_nreg < 1 || ea->ea_nreg > 2) { 97 printf(": expected 1 or 2 registers, got %d\n", ea->ea_nreg); 102 if ((strcmp(ea [all...] |
H A D | wb_ebus.c | 58 struct ebus_attach_args *ea = aux; local 60 return (strcmp(ea->ea_name, "TAD,wb-sdcard") == 0); 67 struct ebus_attach_args *ea = aux; local 71 if (bus_space_map(ea->ea_bustag, EBUS_ADDR_FROM_REG(&ea->ea_reg[0]), 72 ea->ea_reg[0].size, 0, &sc->wb_ioh) == 0) 73 sc->wb_iot = ea->ea_bustag; 79 bus_intr_establish(sc->wb_iot, ea->ea_intr[0], IPL_BIO, wb_intr, sc);
|
H A D | ebus.c | 229 struct ebus_attach_args *ea) 233 memset(ea, 0, sizeof(struct ebus_attach_args)); 235 rv = prom_getprop(node, "name", 1, &n, &ea->ea_name); 238 KASSERT(ea->ea_name[n-1] == '\0'); 240 ea->ea_node = node; 241 ea->ea_bustag = sc->sc_childbustag; 242 ea->ea_dmatag = sc->sc_dmatag; 244 rv = prom_getprop(node, "reg", sizeof(struct ebus_regs), &ea->ea_nreg, 245 &ea->ea_reg); 249 rv = prom_getprop(node, "address", sizeof(uint32_t), &ea 228 ebus_setup_attach_args(struct ebus_softc *sc, int node, struct ebus_attach_args *ea) argument 271 ebus_destroy_attach_args(struct ebus_attach_args *ea) argument 287 struct ebus_attach_args *ea = aux; local 312 ebus_find_ino(struct ebus_softc *sc, struct ebus_attach_args *ea) argument [all...] |
H A D | com_ebus.c | 73 struct ebus_attach_args *ea = aux; local 77 if (strcmp(ea->ea_name, com_names[i]) == 0) 80 if (strcmp(ea->ea_name, "serial") == 0) { 84 compat = prom_getpropstring(ea->ea_node, "compatible"); 101 struct ebus_attach_args *ea = aux; local 117 iot = ea->ea_bustag; 118 iobase = EBUS_ADDR_FROM_REG(&ea->ea_reg[0]); 132 if (ea->ea_nvaddr) 133 sparc_promaddr_to_handle(iot, ea->ea_vaddr[0], 136 ea [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/ |
H A D | vm_n.h | 36 unsigned_word ea, 40 if ((ea & (sizeof(unsigned_N)-1)) == 0) { 41 unsigned ra = vm_real_data_addr(map, ea, 1/*is-read*/, processor, cia); 47 mon_read(ea, ra, sizeof(unsigned_N), processor, cia); 48 TRACE(trace_load_store, ("load cia=0x%lx ea=0x%lx N=%ld val=0x%lx\n", 49 (long)cia, (long)ea, (long)sizeof(unsigned_N), (long)val)); 55 alignment_interrupt(processor, cia, ea); 60 if (vm_data_map_read_buffer(map, &val, ea, sizeof(unsigned_N), processor, cia) 63 sizeof(unsigned_N), (unsigned long)ea); 68 unsigned ra = vm_real_data_addr(map, ea, 35 vm_data_map_read_N(vm_data_map *map, unsigned_word ea, cpu *processor, unsigned_word cia) argument 84 vm_data_map_write_N(vm_data_map *map, unsigned_word ea, unsigned_N val, cpu *processor, unsigned_word cia) argument [all...] |
/netbsd-current/external/gpl3/gdb/dist/sim/ppc/ |
H A D | vm_n.h | 36 unsigned_word ea, 40 if ((ea & (sizeof(unsigned_N)-1)) == 0) { 41 unsigned ra = vm_real_data_addr(map, ea, 1/*is-read*/, processor, cia); 47 mon_read(ea, ra, sizeof(unsigned_N), processor, cia); 48 TRACE(trace_load_store, ("load cia=0x%lx ea=0x%lx N=%ld val=0x%lx\n", 49 (long)cia, (long)ea, (long)sizeof(unsigned_N), (long)val)); 55 alignment_interrupt(processor, cia, ea); 60 if (vm_data_map_read_buffer(map, &val, ea, sizeof(unsigned_N), processor, cia) 63 sizeof(unsigned_N), (unsigned long)ea); 68 unsigned ra = vm_real_data_addr(map, ea, 35 vm_data_map_read_N(vm_data_map *map, unsigned_word ea, cpu *processor, unsigned_word cia) argument 84 vm_data_map_write_N(vm_data_map *map, unsigned_word ea, unsigned_N val, cpu *processor, unsigned_word cia) argument [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/gcc/config/spu/ |
H A D | spu_cache.h | 25 void *__cache_fetch_dirty (__ea void *ea, int n_bytes_dirty); 26 void *__cache_fetch (__ea void *ea); 27 void __cache_evict (__ea void *ea); 29 void __cache_touch (__ea void *ea);
|
H A D | spu_mfcio.h | 184 #define mfc_ea2h(ea) (unsigned int)((unsigned long long)(ea)>>32) 185 #define mfc_ea2l(ea) (unsigned int)(ea) 192 #define mfc_put( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),size,tag,MFC_CMD_WORD(tid,rid,MFC_PUT_CMD)) 193 #define mfc_putf( ls,ea,size,tag,tid,rid) spu_mfcdma64(ls,mfc_ea2h(ea),mfc_ea2l(ea),siz [all...] |
/netbsd-current/sys/arch/i386/pci/ |
H A D | pceb.c | 118 union pceb_attach_args ea; local 123 memset(&ea, 0, sizeof(ea)); 124 ea.ea_eba.eba_iot = x86_bus_space_io; 125 ea.ea_eba.eba_memt = x86_bus_space_mem; 127 ea.ea_eba.eba_dmat = &eisa_bus_dma_tag; 129 config_found(self, &ea.ea_eba, eisabusprint, 135 memset(&ea, 0, sizeof(ea)); 136 ea [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/i386/ |
H A D | lwp-16bit.d | 26 [ ]*[a-f0-9]+: 8f ea 78 12 c7 78 56 34 12[ ]+lwpins \$0x12345678,%edi,%eax 27 [ ]*[a-f0-9]+: 8f ea 70 12 c6 78 56 34 12[ ]+lwpins \$0x12345678,%esi,%ecx 28 [ ]*[a-f0-9]+: 8f ea 68 12 c5 78 56 34 12[ ]+lwpins \$0x12345678,%ebp,%edx 29 [ ]*[a-f0-9]+: 8f ea 60 12 c4 78 56 34 12[ ]+lwpins \$0x12345678,%esp,%ebx 30 [ ]*[a-f0-9]+: 8f ea 58 12 c3 78 56 34 12[ ]+lwpins \$0x12345678,%ebx,%esp 31 [ ]*[a-f0-9]+: 8f ea 50 12 c2 78 56 34 12[ ]+lwpins \$0x12345678,%edx,%ebp 32 [ ]*[a-f0-9]+: 8f ea 48 12 c1 78 56 34 12[ ]+lwpins \$0x12345678,%ecx,%esi 33 [ ]*[a-f0-9]+: 8f ea 40 12 c0 78 56 34 12[ ]+lwpins \$0x12345678,%eax,%edi 34 [ ]*[a-f0-9]+: 8f ea 78 12 cf 78 56 34 12[ ]+lwpval \$0x12345678,%edi,%eax 35 [ ]*[a-f0-9]+: 8f ea 7 [all...] |
H A D | lwp.d | 25 [ ]*[a-f0-9]+: 8f ea 78 12 c7 78 56 34 12[ ]+lwpins \$0x12345678,%edi,%eax 26 [ ]*[a-f0-9]+: 8f ea 70 12 c6 78 56 34 12[ ]+lwpins \$0x12345678,%esi,%ecx 27 [ ]*[a-f0-9]+: 8f ea 68 12 c5 78 56 34 12[ ]+lwpins \$0x12345678,%ebp,%edx 28 [ ]*[a-f0-9]+: 8f ea 60 12 c4 78 56 34 12[ ]+lwpins \$0x12345678,%esp,%ebx 29 [ ]*[a-f0-9]+: 8f ea 58 12 c3 78 56 34 12[ ]+lwpins \$0x12345678,%ebx,%esp 30 [ ]*[a-f0-9]+: 8f ea 50 12 c2 78 56 34 12[ ]+lwpins \$0x12345678,%edx,%ebp 31 [ ]*[a-f0-9]+: 8f ea 48 12 c1 78 56 34 12[ ]+lwpins \$0x12345678,%ecx,%esi 32 [ ]*[a-f0-9]+: 8f ea 40 12 c0 78 56 34 12[ ]+lwpins \$0x12345678,%eax,%edi 33 [ ]*[a-f0-9]+: 8f ea 78 12 cf 78 56 34 12[ ]+lwpval \$0x12345678,%edi,%eax 34 [ ]*[a-f0-9]+: 8f ea 7 [all...] |
/netbsd-current/sys/dev/eisa/ |
H A D | eisa.c | 79 struct eisa_attach_args *ea = aux; local 83 eisa_devinfo(ea->ea_idstring, devinfo, sizeof(devinfo)); 86 aprint_normal(" slot %d", ea->ea_slot); 115 struct eisa_attach_args ea; local 121 ea.ea_iot = iot; 122 ea.ea_memt = memt; 123 ea.ea_ec = ec; 124 ea.ea_dmat = dmat; 125 ea.ea_slot = slot; 141 ea 191 eisa_compatible_match(const struct eisa_attach_args * const ea, const struct device_compatible_entry *dce) argument 200 eisa_compatible_lookup(const struct eisa_attach_args * const ea, const struct device_compatible_entry *dce) argument [all...] |
H A D | dpt_eisa.c | 108 struct eisa_attach_args *ea = aux; local 110 return eisa_compatible_match(ea, compat_data); 116 struct eisa_attach_args *ea; local 126 ea = aux; 129 iot = ea->ea_iot; 130 ec = ea->ea_ec; 134 if (bus_space_map(iot, EISA_SLOT_ADDR(ea->ea_slot) + 142 sc->sc_dmat = ea->ea_dmat; 173 sc->sc_isaport = EISA_SLOT_ADDR(ea->ea_slot) + DPT_EISA_SLOT_OFFSET;
|
/netbsd-current/sys/arch/sparc/dev/ |
H A D | com_ebus.c | 65 struct ebus_attach_args *ea = aux; local 69 if (strcmp(ea->ea_name, "su") != 0) 73 if (bus_space_map(ea->ea_bustag, EBUS_ADDR_FROM_REG(&ea->ea_reg[0]), 74 ea->ea_reg[0].size, 0, &ioh) == 0) 76 match = comprobe1(ea->ea_bustag, ioh); 77 bus_space_unmap(ea->ea_bustag, ioh, ea->ea_reg[0].size); 88 struct ebus_attach_args *ea = aux; local 94 iot = ea [all...] |
H A D | ebus.c | 246 struct ebus_attach_args ea; local 314 if (ebus_setup_attach_args(sc, sbt, dmatag, node, &ea) != 0) { 319 ("- found child `%s', attaching\n", ea.ea_name)); 320 (void)config_found(self, &ea, ebus_print, 322 ebus_destroy_attach_args(&ea); 329 struct ebus_attach_args *ea) 333 memset(ea, 0, sizeof(struct ebus_attach_args)); 335 err = prom_getprop(node, "name", 1, &n, &ea->ea_name); 338 KASSERT(ea->ea_name[n-1] == '\0'); 340 ea 327 ebus_setup_attach_args(struct ebus_softc *sc, bus_space_tag_t bustag, bus_dma_tag_t dmatag, int node, struct ebus_attach_args *ea) argument 389 ebus_destroy_attach_args(struct ebus_attach_args *ea) argument 405 struct ebus_attach_args *ea = aux; local [all...] |
/netbsd-current/sys/netatalk/ |
H A D | aarp.c | 165 struct ether_aarp *ea; local 174 m->m_len = sizeof(*ea); 175 m->m_pkthdr.len = sizeof(*ea); 176 m_align(m, sizeof(*ea)); 178 ea = mtod(m, struct ether_aarp *); 179 memset(ea, 0, sizeof(*ea)); 181 ea->aarp_hrd = htons(AARPHRD_ETHER); 182 ea->aarp_pro = htons(ETHERTYPE_ATALK); 183 ea 344 struct ether_aarp *ea; local 580 struct ether_aarp *ea; local [all...] |
/netbsd-current/sys/arch/prep/pci/ |
H A D | pceb.c | 129 union pceb_attach_args ea; local 134 memset(&ea, 0, sizeof(ea)); 135 ea.ea_eba.eba_iot = &prep_eisa_io_space_tag; 136 ea.ea_eba.eba_memt = &prep_eisa_mem_space_tag; 138 ea.ea_eba.eba_dmat = &eisa_bus_dma_tag; 140 config_found(self, &ea.ea_eba, eisabusprint, 146 memset(&ea, 0, sizeof(ea)); 147 ea [all...] |
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/wind/ |
H A D | errorlist.c | 45 const struct error_entry *ea = (const struct error_entry*)a; local 48 if (ea->start >= eb->start && ea->start < eb->start + eb->len) 50 return ea->start - eb->start;
|
/netbsd-current/external/gpl3/gdb/dist/sim/h8300/ |
H A D | compile.c | 1650 if (fetch (sd, &code->dst, &ea)) \ 1657 if (store (sd, &code->dst,ea)) \ 1671 int ea; local 1779 if (fetch (sd, &code->dst, &ea)) 1783 case OP_INDEXB: ea = ea & 0xff; break; 1784 case OP_INDEXW: ea = ea & 0xffff; break; 1791 case O (O_MOVAW, SL): ea = ea << 2948 rd <<= ea; local 2972 rd <<= ea; local 2996 rd <<= ea; local 3022 rd <<= ea; local 3048 rd <<= ea; local 3074 rd <<= ea; local [all...] |
/netbsd-current/usr.sbin/bootp/bootptest/ |
H A D | trygetea.c | 30 u_char ea[16]; /* Ethernet address */ local 37 if ((i = getether(argv[1], ea)) < 0) { 43 printf(":%x", ea[i] & 0xFF);
|
/netbsd-current/external/bsd/mdocml/dist/ |
H A D | dba_array.c | 33 int32_t ea; /* Entries allocated. */ member in struct:dba_array 42 dba_array_new(int32_t ea, int flags) argument 46 assert(ea > 0); 48 array->ep = mandoc_reallocarray(NULL, ea, sizeof(*array->ep)); 49 array->em = mandoc_reallocarray(NULL, ea, sizeof(*array->em)); 50 array->ea = ea; 78 assert(ie < array->ea); 91 if (array->eu == array->ea) { 94 2, sizeof(*array->ep) * array->ea); [all...] |