/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | kvm_amd64dep.c | 161 kt_regs_to_kregs(struct regs *regs, mdb_tgt_gregset_t *gregs) argument 163 gregs->kregs[KREG_SAVFP] = regs->r_savfp; 164 gregs->kregs[KREG_SAVPC] = regs->r_savpc; 165 gregs->kregs[KREG_RDI] = regs->r_rdi; 166 gregs->kregs[KREG_RSI] = regs->r_rsi; 167 gregs->kregs[KREG_RDX] = regs->r_rdx; 168 gregs->kregs[KREG_RCX] = regs->r_rcx; 169 gregs->kregs[KREG_R8] = regs->r_r8; 170 gregs->kregs[KREG_R9] = regs 198 struct regs regs; local [all...] |
H A D | kvm_ia32dep.c | 161 kt_regs_to_kregs(struct regs *regs, mdb_tgt_gregset_t *gregs) argument 163 gregs->kregs[KREG_SAVFP] = regs->r_savfp; 164 gregs->kregs[KREG_SAVPC] = regs->r_savpc; 165 gregs->kregs[KREG_EAX] = regs->r_eax; 166 gregs->kregs[KREG_EBX] = regs->r_ebx; 167 gregs->kregs[KREG_ECX] = regs->r_ecx; 168 gregs->kregs[KREG_EDX] = regs->r_edx; 169 gregs->kregs[KREG_ESI] = regs->r_esi; 170 gregs->kregs[KREG_EDI] = regs 192 struct regs regs; local [all...] |
H A D | kvm_isadep.c | 133 mdb_tgt_gregset_t regs; local 156 if (kt_kvmregs(t, cpuid, ®s) != 0) { 157 mdb_warn("failed to get regs for cpu %d\n", cpuid); 162 * Tell the stack walker that we have regs. 165 addr = regs.kregs[KREG_FP]; 178 mdb_tgt_gregset_t regs; local 203 if (kt_kvmregs(t, cpuid, ®s) != 0) { 204 mdb_warn("failed to get regs for cpu %d\n", cpuid); 208 return (kt_regs((uintptr_t)®s, flags, argc, argv));
|
/illumos-gate/usr/src/uts/sun4u/excalibur/sys/ |
H A D | xcalppm_var.h | 68 struct xcppmreg regs; /* register accessed by ppm */ member in struct:__anon9785
|
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcie_nvidia.c | 222 pci_regspec_t regs[2] = {{0}}; local 228 regs[0].pci_phys_hi = devloc; 233 regs[0].pci_size_low = assigned[0].pci_size_low = PCI_CONF_HDR_SIZE; 234 assigned[0].pci_phys_hi = regs[0].pci_phys_hi = (PCI_RELOCAT_B | 236 assigned[0].pci_phys_low = regs[0].pci_phys_low = 242 regs[1].pci_size_low = assigned[1].pci_size_low = PCI_CONF_HDR_SIZE; 243 assigned[1].pci_phys_hi = regs[1].pci_phys_hi = (PCI_RELOCAT_B | 245 assigned[1].pci_phys_low = regs[1].pci_phys_low = 249 (int *)regs, 2 * sizeof (pci_regspec_t) / sizeof (int));
|
/illumos-gate/usr/src/uts/sparc/v7/sys/ |
H A D | privregs.h | 55 struct regs { struct 60 long r_g1; /* user global regs */
|
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/ |
H A D | audio_4231_eb2dma.c | 122 audio_dev_warn(state->cs_adev, "failed mapping codec regs"); 130 audio_dev_warn(state->cs_adev, "failed mapping play regs"); 140 audio_dev_warn(state->cs_adev, "failed mapping rec regs"); 252 cs4231_eb2regs_t *regs = eng->ce_eb2regs; local 269 OR_SET_WORD(handle, ®s->eb2csr, EB2_RESET); 272 csr = ddi_get32(handle, ®s->eb2csr); 275 csr = ddi_get32(handle, ®s->eb2csr); 284 AND_SET_WORD(handle, ®s->eb2csr, ~(EB2_RESET|EB2_EN_DMA)); 287 OR_SET_WORD(handle, ®s->eb2csr, reset); 297 OR_SET_WORD(handle, ®s 323 cs4231_eb2regs_t *regs = eng->ce_eb2regs; local 391 cs4231_eb2regs_t *regs = eng->ce_eb2regs; local 428 cs4231_eb2regs_t *regs = eng->ce_eb2regs; local [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | pci_bios.c | 70 struct bop_regs regs; local 93 bzero(®s, sizeof (regs)); 94 regs.eax.word.ax = (PCI_FUNCTION_ID << 8) | PCI_GET_IRQ_ROUTING; 96 regs.ds = 0xf000; 97 regs.es = FP_SEG((uint_t)(uintptr_t)hdrp); 98 regs.edi.word.di = FP_OFF((uint_t)(uintptr_t)hdrp); 100 BOP_DOINT(bootops, 0x1a, ®s); 105 if ((regs.eflags & PS_C) != 0) {
|
H A D | pci_cfgspace.c | 252 struct bop_regs regs; local 256 bzero(®s, sizeof (regs)); 257 regs.eax.word.ax = (PCI_FUNCTION_ID << 8) | PCI_BIOS_PRESENT; 259 BOP_DOINT(bootops, 0x1a, ®s); 260 carryflag = regs.eflags & PS_C; 261 ax = regs.eax.word.ax; 262 dx = regs.edx.word.dx; 276 pci_bios_vers = regs.ebx.word.bx; 277 pci_bios_maxbus = (regs [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psyscall.c | 88 prgregset_t regs; member in struct:__anon3799 117 (void) memcpy(&cmd.regs, &P->status.pr_lwp.pr_reg[0],
|
H A D | Pservice.c | 123 ps_lgetregs(struct ps_prochandle *P, lwpid_t lwpid, prgregset_t regs) argument 128 if (Plwp_getregs(P, lwpid, regs) == 0) 135 ps_lsetregs(struct ps_prochandle *P, lwpid_t lwpid, const prgregset_t regs) argument 140 if (Plwp_setregs(P, lwpid, regs) == 0) 147 ps_lgetfpregs(struct ps_prochandle *P, lwpid_t lwpid, prfpregset_t *regs) argument 152 if (Plwp_getfpregs(P, lwpid, regs) == 0) 159 ps_lsetfpregs(struct ps_prochandle *P, lwpid_t lwpid, const prfpregset_t *regs) argument 164 if (Plwp_setfpregs(P, lwpid, regs) == 0) 242 prgregset_t regs; local 256 if ((error = ps_lgetregs(P, lwpid, regs)) ! [all...] |
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_memory.c | 107 pci_regspec_t *regs; local 121 "assigned-addresses", (caddr_t)®s, &length) != 128 base = (uint_t)regs[i].pci_phys_low; 129 regsize = (uint_t)regs[i].pci_size_low; 138 kmem_free(regs, (size_t)length); 141 kmem_free(regs, (size_t)length); 173 DRM_ERROR("do_ioremap: failed to map regs: regno=%d,"
|
H A D | drm_pci.c | 294 pci_regspec_t *regs; local 298 "assigned-addresses", (caddr_t)®s, &length) != 304 (unsigned long)regs[resp->regnum].pci_phys_low; 306 (unsigned long)regs[resp->regnum].pci_size_low; 307 kmem_free(regs, (size_t)length);
|
/illumos-gate/usr/src/uts/common/io/rtw/ |
H A D | rtwphyio.c | 52 rtw_bbp_read(struct rtw_regs *regs, uint_t addr) argument 54 RTW_WRITE(regs, RTW_BB, 57 RTW_WBR(regs, RTW_BB, RTW_BB); 58 return (MASK_AND_RSHIFT(RTW_READ(regs, RTW_BB), RTW_BB_RD_MASK)); 62 rtw_bbp_write(struct rtw_regs *regs, uint_t addr, uint_t val) argument 81 RTW_RBW(regs, RTW_BB, RTW_BB); 82 RTW_WRITE(regs, RTW_BB, wrbbp); 83 RTW_SYNC(regs, RTW_BB, RTW_BB); 84 RTW_WRITE(regs, RTW_BB, rdbbp); 85 RTW_SYNC(regs, RTW_B 104 rtw_rf_hostbangbits(struct rtw_regs *regs, uint32_t bits, int lo_to_hi, uint_t nbits) argument 159 rtw_rf_macbangbits(struct rtw_regs *regs, uint32_t reg) argument 236 rtw_rf_hostwrite(struct rtw_regs *regs, enum rtw_rfchipid rfchipid, uint_t addr, uint32_t val) argument 298 rtw_rf_macwrite(struct rtw_regs *regs, enum rtw_rfchipid rfchipid, uint_t addr, uint32_t val) argument [all...] |
H A D | rtwphy.c | 78 rtw_bbp_preinit(struct rtw_regs *regs, uint_t antatten0, int dflantb, argument 86 return (rtw_bbp_write(regs, RTW_BBP_ANTATTEN, antatten)); 90 rtw_bbp_init(struct rtw_regs *regs, struct rtw_bbpset *bb, int antdiv, argument 103 if ((rc = rtw_bbp_write(regs, reg, val)) != 0) \ 113 if ((rc = rtw_bbp_preinit(regs, bb->bb_antatten, dflantb, freq)) != 0) 442 rtw_sa2400_create(struct rtw_regs *regs, rtw_rf_write_t rf_write, int digphy) argument 481 bus->b_regs = regs; 590 rtw_max2820_create(struct rtw_regs *regs, rtw_rf_write_t rf_write, int is_a) argument 629 bus->b_regs = regs; 639 rtw_phy_init(struct rtw_regs *regs, struc argument [all...] |
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe_misc.c | 154 uint32_t regs; local 160 regs = pcie_get_aer_uce_mask() | npe_aer_uce_mask | 162 pcie_set_aer_uce_mask(regs); 174 uint32_t regs; local 191 regs = pcie_get_aer_uce_mask() | PCIE_AER_UCE_ECRC; 192 pcie_set_aer_uce_mask(regs); 324 * save config regs for HyperTransport devices without drivers of classes: 352 "regs for %s\n", ddi_node_name(cdip)); 382 "regs for %s\n", ddi_node_name(cdip));
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | bootinfo64.c | 138 unsigned int regs[4]; local 147 do_cpuid(0, regs); 148 vendor[0] = regs[1]; 149 vendor[1] = regs[3]; 150 vendor[2] = regs[2]; 160 do_cpuid(0x80000000, regs); 161 if (!(regs[0] >= 0x80000001)) 165 do_cpuid(0x80000001, regs); 166 return (regs[3] & AMDID_LM);
|
/illumos-gate/usr/src/lib/libproc/i386/ |
H A D | Pisadep.c | 174 Pstack_iter(struct ps_prochandle *P, const prgregset_t regs, argument 209 (void) memcpy(gregs, regs, sizeof (gregs)); 211 fp = regs[R_FP]; 212 pc = regs[R_PC];
|
/illumos-gate/usr/src/lib/libproc/sparc/ |
H A D | Pisadep.c | 255 Pstack_iter(struct ps_prochandle *P, const prgregset_t regs, argument 272 (void) memcpy(gregs, regs, sizeof (gregs));
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kmdb_kdi_isadep.c | 229 kmdb_kdi_kernpanic(struct regs *regs, uint_t tt) argument 233 args[0] = (uintptr_t)regs;
|
/illumos-gate/usr/src/cmd/sunpc/other/ |
H A D | dos2unix.c | 328 union REGS regs; local 329 regs.h.ah = 0x66; /* get/set global code page */ 330 regs.h.al = 0x01; /* get */ 331 intdos(®s, ®s); 332 type = regs.x.bx;
|
H A D | unix2dos.c | 334 union REGS regs; local 335 regs.h.ah = 0x66; /* get/set global code page */ 336 regs.h.al = 0x01; /* get */ 337 intdos(®s, ®s); 338 type = regs.x.bx;
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix_intr.c | 379 apix_do_softint(struct regs *regs) argument 394 (caddr_t)regs); 404 struct regs *rp) 570 apix_do_pending_hilevel(struct cpu *cpu, struct regs *rp) 770 apix_do_pending_hardint(struct cpu *cpu, struct regs *rp) 869 apix_do_interrupt(struct regs *rp, trap_trace_rec_t *ttp)
|
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio_guest.c | 63 dev_regs_t *regs; local 74 regs = nxge->dev_regs; 81 rv = ddi_regs_map_setup(nxge->dip, 0, (caddr_t *)®s->nxge_regp, 0, 0, 82 &nxge_guest_register_access_attributes, ®s->nxge_regh); 89 nxge->npi_handle.regh = regs->nxge_regh; 90 nxge->npi_handle.regp = (npi_reg_ptr_t)regs->nxge_regp; 97 nxge->npi_reg_handle.regh = regs->nxge_regh; 98 nxge->npi_reg_handle.regp = (npi_reg_ptr_t)regs->nxge_regp; 105 nxge->npi_vreg_handle.regh = regs->nxge_regh; 106 nxge->npi_vreg_handle.regp = (npi_reg_ptr_t)regs [all...] |
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd_hw.c | 76 uint16_t regs[2]; local 78 regs[0] = LE_16(ZYD_REG32_HI(reg)); 79 regs[1] = LE_16(ZYD_REG32_LO(reg)); 81 result = zyd_usb_ioread_req(&sc->usb, regs, sizeof (regs), 87 if (tmp[0] != regs[0] || tmp[2] != regs[1]) { 89 ZYD_WARN("requested regs %04x, %04x; got %04x, %04x\n", 90 LE_16(regs[0]), LE_16(regs[ [all...] |