/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | dwarf.c | 106 conv_dwarf_regname(Half mach, Word regno, Conv_fmt_flags_t fmt_flags, argument 208 *good_name = ((regno < 8) || (regno > 15)) && 209 (regno != 56) && (regno != 57) && 210 (regno != 60) && (regno != 61) && 211 (regno < ARRAY_NELTS(reg_amd64)); 212 return (conv_map_ds(ELFOSABI_NONE, EM_NONE, regno, 218 *good_name = (regno < ARRAY_NELT [all...] |
H A D | corenote.c | 534 * regno in the pr_reg array of lwpstatus_t (<sys/procfs.h>). 537 conv_cnote_pr_regname(Half mach, int regno, Conv_fmt_flags_t fmt_flags, argument 648 return (conv_invalid_val(inv_buf, regno, fmt_flags)); 651 return (conv_map_ds(ELFOSABI_NONE, mach, regno, ds, fmt_flags,
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sse.c | 49 #define regno(X) ((X < 4)? REG_RAX - X : \ macro 52 #define regno(X) (EAX - X) macro 202 inst->op1 = (sseoperand_t *)&uap->uc_mcontext.gregs[regno(r)]; 227 gregs[regno(r)]; 269 addr = (char *)uap->uc_mcontext.gregs[regno(r)]; 274 addr += uap->uc_mcontext.gregs[regno(r)] 279 addr = (char *)uap->uc_mcontext.gregs[regno(r)];
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | caps.c | 55 list_cap(void *arg, uint_t regno, const char *name) argument 102 cap_walker(void *arg, uint_t regno, const char *name) argument
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_kstats.c | 69 uint32_t regno; local 88 regno = KS_BASE + ksip->index * sizeof (uint32_t); 89 hw_stp->a[ksip->index] += nge_reg_get32(ngep, regno); 279 uint32_t regno; local 290 regno = KS_BASE + KS_ifHInMulPksCount * sizeof (uint32_t); 291 hw_stp->s.InMulPksCount += nge_reg_get32(ngep, regno); 296 regno = KS_BASE + KS_ifHInBroadPksCount * sizeof (uint32_t); 297 hw_stp->s.InBroadPksCount += nge_reg_get32(ngep, regno); 306 regno = KS_BASE + KS_ifHInFrameErrCount * sizeof (uint32_t); 307 hw_stp->s.InFrameErrCount += nge_reg_get32(ngep, regno); [all...] |
H A D | nge_xmii.c | 50 static uint16_t nge_mii_access(nge_t *ngep, nge_regno_t regno, 55 nge_mii_access(nge_t *ngep, nge_regno_t regno, uint16_t data, uint32_t cmd) argument 63 (void *)ngep, regno, data, cmd)); 95 mdio_adr.adr_bits.phy_reg = (uint16_t)regno; 134 uint16_t nge_mii_get16(nge_t *ngep, nge_regno_t regno); 138 nge_mii_get16(nge_t *ngep, nge_regno_t regno) argument 141 return (nge_mii_access(ngep, regno, 0, NGE_MDIO_READ)); 144 void nge_mii_put16(nge_t *ngep, nge_regno_t regno, uint16_t data); 148 nge_mii_put16(nge_t *ngep, nge_regno_t regno, uint16_t data) argument 151 (void) nge_mii_access(ngep, regno, dat [all...] |
H A D | nge_chip.c | 39 uint8_t nge_reg_get8(nge_t *ngep, nge_regno_t regno); 43 nge_reg_get8(nge_t *ngep, nge_regno_t regno) argument 45 NGE_TRACE(("nge_reg_get8($%p, 0x%lx)", (void *)ngep, regno)); 47 return (ddi_get8(ngep->io_handle, PIO_ADDR(ngep, regno))); 50 void nge_reg_put8(nge_t *ngep, nge_regno_t regno, uint8_t data); 54 nge_reg_put8(nge_t *ngep, nge_regno_t regno, uint8_t data) argument 57 (void *)ngep, regno, data)); 58 ddi_put8(ngep->io_handle, PIO_ADDR(ngep, regno), data); 62 uint16_t nge_reg_get16(nge_t *ngep, nge_regno_t regno); 66 nge_reg_get16(nge_t *ngep, nge_regno_t regno) argument 76 nge_reg_put16(nge_t *ngep, nge_regno_t regno, uint16_t data) argument 88 nge_reg_get32(nge_t *ngep, nge_regno_t regno) argument 98 nge_reg_put32(nge_t *ngep, nge_regno_t regno, uint32_t data) argument 115 uint64_t regno; local 151 uint64_t regno; local 975 uint32_t regno; local [all...] |
/illumos-gate/usr/src/lib/libcpc/i386/ |
H A D | conf_pentium.c | 305 validargs(int cpuver, int regno) argument 307 if (regno < 0 || regno > 1) 318 versionmatch(int cpuver, int regno, const struct nametable *n) argument 320 if (!validargs(cpuver, regno) || (n->ver & MAPCPUVER(cpuver)) == 0) 334 if (regno == 1) 341 if (regno == 0) 356 getnametable(int cpuver, int regno) argument 360 if (!validargs(cpuver, regno)) 366 n = P5mmx_names[regno]; 381 cpc_walk_names(int cpuver, int regno, void *arg, void (*action)(void *, int, const char *, uint8_t)) argument 394 __cpc_reg_to_name(int cpuver, int regno, uint8_t bits) argument 410 __cpc_name_to_reg(int cpuver, int regno, const char *name, uint8_t *bits) argument [all...] |
H A D | event_pentium.c | 134 uint_t regno; local 136 regno = strcmp(kv->kv_token, "pic0") == 0 ? 0 : 1; 144 if (__cpc_name_to_reg(cpuver, regno, value, &val8) != 0) { 148 assert(kv->kv_regno == regno); 151 regno, value); 158 regno, value); 527 regtostr(int cpuver, int regno, uint8_t bits) argument 531 if ((sname = __cpc_reg_to_name(cpuver, regno, bits)) != NULL)
|
/illumos-gate/usr/src/lib/libcpc/sparc/ |
H A D | conf_ultra.c | 402 validargs(int cpuver, int regno) argument 404 if (regno < 0 || regno > 1) 415 versionmatch(int cpuver, int regno, const struct nametable *n) argument 417 if (!validargs(cpuver, regno) || n->ver != MAPCPUVER(cpuver)) 423 getnametable(int cpuver, int regno) argument 427 if (!validargs(cpuver, regno)) 432 n = US12_names[regno]; 435 n = US3_names[regno]; 438 n = US3_PLUS_names[regno]; 454 cpc_walk_names(int cpuver, int regno, void *arg, void (*action)(void *, int, const char *, uint8_t)) argument 467 __cpc_reg_to_name(int cpuver, int regno, uint8_t bits) argument 483 __cpc_name_to_reg(int cpuver, int regno, const char *name, uint8_t *bits) argument [all...] |
H A D | event_ultra.c | 100 uint_t regno; local 102 regno = strcmp(kv->kv_token, "pic0") == 0 ? 0 : 1; 109 if (__cpc_name_to_reg(cpuver, regno, value, &val8) != 0) { 111 "event '%s' on this cpu\n"), regno, value); 339 regtostr(int cpuver, int regno, uint8_t bits) argument 343 if ((sname = __cpc_reg_to_name(cpuver, regno, bits)) != NULL)
|
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | pro_frame.c | 301 Dwarf_Ubyte opc, regno; local 316 regno = reg; 317 if (regno & 0xc0) { 321 opc = opc | regno; /* lower 6 bits are register number */
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | dwarf.c | 148 * regno - DWARF register number 158 dwarf_regname(Half mach, int regno, char *buf, size_t bufsize) argument 164 name = conv_dwarf_regname(mach, regno, 0, &good_name, &inv_buf); 173 regno, name); 176 regno);
|
/illumos-gate/usr/src/uts/sun4v/pcbe/ |
H A D | niagara_pcbe.c | 275 find_generic_event(int regno, char *name) argument 279 for (gevp = generic_events[regno]; gevp->name != NULL; gevp++) { 288 find_event(int regno, char *name) argument 292 n = events[regno];
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_sunmod.c | 648 int regno; local 651 regno = drm_get_pci_index_reg(dp->dip, 653 if (regno < 0) { 660 regno, (offset_t)regoff, len, PROT_ALL, 664 DRM_ERROR("devmap: failed, regno=%d,type=%d," 666 regno, map->type, handle, offset, len);
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_chip.c | 52 static uint32_t rge_reg_get32(rge_t *rgep, uintptr_t regno); 56 rge_reg_get32(rge_t *rgep, uintptr_t regno) argument 59 (void *)rgep, regno)); 61 return (ddi_get32(rgep->io_handle, REG32(rgep, regno))); 64 static void rge_reg_put32(rge_t *rgep, uintptr_t regno, uint32_t data); 68 rge_reg_put32(rge_t *rgep, uintptr_t regno, uint32_t data) argument 71 (void *)rgep, regno, data)); 73 ddi_put32(rgep->io_handle, REG32(rgep, regno), data); 76 static void rge_reg_set32(rge_t *rgep, uintptr_t regno, uint32_t bits); 80 rge_reg_set32(rge_t *rgep, uintptr_t regno, uint32_ argument 96 rge_reg_clr32(rge_t *rgep, uintptr_t regno, uint32_t bits) argument 112 rge_reg_get16(rge_t *rgep, uintptr_t regno) argument 124 rge_reg_put16(rge_t *rgep, uintptr_t regno, uint16_t data) argument 136 rge_reg_get8(rge_t *rgep, uintptr_t regno) argument 148 rge_reg_put8(rge_t *rgep, uintptr_t regno, uint8_t data) argument 160 rge_reg_set8(rge_t *rgep, uintptr_t regno, uint8_t bits) argument 176 rge_reg_clr8(rge_t *rgep, uintptr_t regno, uint8_t bits) argument 1758 uint64_t regno; local 1793 uint64_t regno; local [all...] |
/illumos-gate/usr/src/uts/sun4u/pcbe/ |
H A D | opl_pcbe.c | 603 find_generic_event(int regno, char *name) argument 607 for (gevp = generic_events[regno]; gevp->name != NULL; gevp++) 615 find_event(int regno, char *name) argument 619 n = events[regno];
|
H A D | us234_pcbe.c | 712 find_generic_event(int regno, char *name) argument 716 for (gevp = generic_events[regno]; gevp->name != NULL; gevp++) 724 find_event(int regno, char *name) argument 728 n = events[regno];
|
/illumos-gate/usr/src/uts/intel/pcbe/ |
H A D | p123_pcbe.c | 650 find_generic_event(int regno, char *name) argument 654 for (gevp = generic_events[regno]; gevp->name != NULL; gevp++) 662 find_event(int regno, char *name) argument 666 n = events[regno];
|
/illumos-gate/usr/src/uts/common/io/hme/ |
H A D | hme.c | 1166 int regno; local 1236 if (ddi_dev_nregs(dip, ®no) != (DDI_SUCCESS)) { 1238 ddi_nregs_fail_msg, regno); 1242 switch (regno) {
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_chip2.c | 176 static void bge_cfg_clr16(bge_t *bgep, bge_regno_t regno, uint16_t bits); 180 bge_cfg_clr16(bge_t *bgep, bge_regno_t regno, uint16_t bits) argument 185 (void *)bgep, regno, bits)); 187 regval = pci_config_get16(bgep->cfg_handle, regno); 190 (void *)bgep, regno, bits, regval, regval & ~bits)); 193 pci_config_put16(bgep->cfg_handle, regno, regval); 198 static void bge_cfg_clr32(bge_t *bgep, bge_regno_t regno, uint32_t bits); 202 bge_cfg_clr32(bge_t *bgep, bge_regno_t regno, uint32_t bits) argument 207 (void *)bgep, regno, bits)); 209 regval = pci_config_get32(bgep->cfg_handle, regno); 238 bge_ind_get32(bge_t *bgep, bge_regno_t regno) argument 265 bge_ind_put32(bge_t *bgep, bge_regno_t regno, uint32_t val) argument 605 bge_reg_get32(bge_t *bgep, bge_regno_t regno) argument 617 bge_reg_put32(bge_t *bgep, bge_regno_t regno, uint32_t data) argument 630 bge_reg_set32(bge_t *bgep, bge_regno_t regno, uint32_t bits) argument 646 bge_reg_clr32(bge_t *bgep, bge_regno_t regno, uint32_t bits) argument 662 bge_reg_get64(bge_t *bgep, bge_regno_t regno) argument 705 bge_reg_put64(bge_t *bgep, bge_regno_t regno, uint64_t data) argument 774 bge_mbx_put(bge_t *bgep, bge_regno_t regno, uint64_t data) argument 801 bge_mbx_get(bge_t *bgep, bge_regno_t regno) argument 1160 bge_mii_access(bge_t *bgep, bge_regno_t regno, uint16_t data, uint32_t cmd) argument 1271 bge_mii_get16(bge_t *bgep, bge_regno_t regno) argument 1289 bge_mii_put16(bge_t *bgep, bge_regno_t regno, uint16_t data) argument 1304 bge_phydsp_read(bge_t *bgep, bge_regno_t regno) argument 1318 bge_phydsp_write(bge_t *bgep, bge_regno_t regno, uint16_t data) argument 2075 bge_ape_get32(bge_t *bgep, bge_regno_t regno) argument 2087 bge_ape_put32(bge_t *bgep, bge_regno_t regno, uint32_t data) argument 3139 bge_chip_poll_engine(bge_t *bgep, bge_regno_t regno, uint32_t mask, uint32_t val) argument 3180 bge_chip_reset_engine(bge_t *bgep, bge_regno_t regno) argument 3334 bge_chip_disable_engine(bge_t *bgep, bge_regno_t regno, uint32_t morebits) argument 3401 bge_chip_enable_engine(bge_t *bgep, bge_regno_t regno, uint32_t morebits) argument 3721 bge_regno_t regno; local 5565 uint64_t regno; local 5600 uint64_t regno; local [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 2050 Pgetareg(struct ps_prochandle *P, int regno, prgreg_t *preg) argument 2052 if (regno < 0 || regno >= NPRGREG) { 2067 *preg = P->status.pr_lwp.pr_reg[regno]; 2075 Pputareg(struct ps_prochandle *P, int regno, prgreg_t reg) argument 2077 if (regno < 0 || regno >= NPRGREG) { 2087 P->status.pr_lwp.pr_reg[regno] = reg; 3587 Lgetareg(struct ps_lwphandle *L, int regno, prgreg_t *preg) argument 3589 if (regno < 3607 Lputareg(struct ps_lwphandle *L, int regno, prgreg_t reg) argument [all...] |
/illumos-gate/usr/src/uts/sun/io/eri/ |
H A D | eri.c | 663 int regno; local 735 if (ddi_dev_nregs(dip, ®no) != (DDI_SUCCESS)) { 737 "ddi_dev_nregs failed, returned %d", regno);
|
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 1466 fas_reg_tracing(struct fas *fas, int type, int regno, uint32_t what) argument 1469 fas->f_reg_trace[fas->f_reg_trace_index++] = regno; 1482 int regno = (uintptr_t)&fasreg->fas_cmd - (uintptr_t)fasreg; local 1488 fas_reg_tracing(fas, 0, regno, cmd); 1496 int regno = (uintptr_t)p - (uintptr_t)fas->f_reg; local 1500 EPRINTF2("writing reg%x = %x\n", regno, what); 1501 fas_reg_tracing(fas, 1, regno, what); 1510 int regno = (uintptr_t)p - (uintptr_t)fas->f_reg; local 1514 EPRINTF2("reading reg%x => %x\n", regno, what); 1515 fas_reg_tracing(fas, 2, regno, wha 1533 int regno = (uintptr_t)p - (uintptr_t)fas->f_dma; local 1548 int regno = (uintptr_t)p - (uintptr_t)fas->f_dma; local [all...] |