Searched refs:regs (Results 1 - 25 of 250) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/i86pc/io/vmm/
H A Dx86.c103 unsigned int func, regs[4], logical_cpus = 0, param; local
147 cpuid_count(func, param, regs);
150 cpuid_count(func, param, regs);
157 regs[1] &= (AMDFEID_CLZERO | AMDFEID_IRPERF |
176 regs[2] = (width << AMDID_COREID_SIZE_SHIFT) | logical_cpus;
181 cpuid_count(func, param, regs);
186 regs[2] &= ~AMDID2_SVM;
192 regs[2] &= ~AMDID2_PCXC;
193 regs[2] &= ~AMDID2_PNXC;
194 regs[
[all...]
H A Dvmm_host.c62 unsigned int regs[4]; local
103 cpuid_count(0xd, 0x0, regs);
104 vmm_xsave_limits.xsave_max_size = regs[1];
H A Dvmm_util.c70 unsigned int regs[4]; local
78 do_cpuid(0x80000001, regs);
79 if (regs[3] & (1 << 26))
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkmdb_kdi_isadep.h38 struct regs;
42 extern void kmdb_kdi_kernpanic(struct regs *, uint_t);
/illumos-gate/usr/src/lib/libdtrace/i386/
H A DMakefile29 DLIBSRCS = regs.d
37 CLEANFILES += regs.sed regs.d
43 ../$(MACH)/regs.d: regs.sed regs.d.in
44 sed -f regs.sed < regs.d.in > $@
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dcpuid.c50 unsigned int regs[4]; local
70 do_cpuid(0, regs);
71 maxeax = regs[0];
81 do_cpuid(1, regs);
82 stdfeatures = regs[3];
86 do_cpuid(0x80000000, regs);
87 if (regs[0] & 0x80000000) {
88 maxeax = regs[0];
93 do_cpuid(0x80000001, regs);
94 xtdfeatures = regs[
[all...]
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfpras.h87 struct regs;
88 extern int fpras_chktrap(struct regs *);
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwphyio.c52 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 Drtw.c252 rtw_print_regs(struct rtw_regs *regs, const char *dvname, const char *where) argument
257 dvname, reg, RTW_READ(regs, reg))
262 dvname, reg, RTW_READ16(regs, reg))
267 dvname, reg, RTW_READ8(regs, reg))
271 PRINTREG32(regs, RTW_IDR0);
272 PRINTREG32(regs, RTW_IDR1);
273 PRINTREG32(regs, RTW_MAR0);
274 PRINTREG32(regs, RTW_MAR1);
275 PRINTREG32(regs, RTW_TSFTRL);
276 PRINTREG32(regs, RTW_TSFTR
377 rtw_config0123_enable(struct rtw_regs *regs, int enable) argument
396 rtw_anaparm_enable(struct rtw_regs *regs, int enable) argument
417 struct rtw_regs *regs = &rsc->sc_regs; local
429 rtw_set_access1(struct rtw_regs *regs, enum rtw_access naccess) argument
479 rtw_set_access(struct rtw_regs *regs, enum rtw_access access) argument
493 struct rtw_regs *regs = &rsc->sc_regs; local
511 rtw_chip_reset1(struct rtw_regs *regs, const char *dvname) argument
536 rtw_chip_reset(struct rtw_regs *regs, const char *dvname) argument
543 rtw_disable_interrupts(struct rtw_regs *regs) argument
553 struct rtw_regs *regs = &rsc->sc_regs; local
566 rtw_recall_eeprom(struct rtw_regs *regs, const char *dvname) argument
606 rtw_set_mode(struct rtw_regs *regs, int mode) argument
618 rtw_dma_start(struct rtw_regs *regs, int priority) argument
641 rtw_beacon_tx_disable(struct rtw_regs *regs) argument
656 struct rtw_regs *regs = &rsc->sc_regs; local
790 rtw_srom_read(struct rtw_regs *regs, uint32_t flags, struct rtw_srom *sr, const char *dvname) argument
883 rtw_set_rfprog(struct rtw_regs *regs, enum rtw_rfchipid rfchipid, const char *dvname) argument
975 rtw_identify_country(struct rtw_regs *regs, enum rtw_locale *locale, const char *dvname) argument
997 rtw_identify_sta(struct rtw_regs *regs, uint8_t *addr, const char *dvname) argument
1053 rtw_idle(struct rtw_regs *regs) argument
1070 struct rtw_regs *regs = &rsc->sc_regs; local
1310 struct rtw_regs *regs = &rsc->sc_regs; local
1421 rtw_maxim_pwrstate(struct rtw_regs *regs, enum rtw_pwrstate power, int before_rf, int digphy) argument
1463 rtw_rfmd_pwrstate(struct rtw_regs *regs, enum rtw_pwrstate power, int before_rf, int digphy) argument
1500 rtw_philips_pwrstate(struct rtw_regs *regs, enum rtw_pwrstate power, int before_rf, int digphy) argument
1545 struct rtw_regs *regs = &rsc->sc_regs; local
1665 struct rtw_regs *regs = &rsc->sc_regs; local
1705 rtw_transmit_config(struct rtw_regs *regs) argument
1730 struct rtw_regs *regs; local
1883 rtw_check_phydelay(struct rtw_regs *regs, uint32_t rcr0) argument
2347 struct rtw_regs *regs = &rsc->sc_regs; local
2787 struct rtw_regs *regs = &rsc->sc_regs; local
2850 struct rtw_regs *regs = &rsc->sc_regs; local
2883 struct rtw_regs *regs; local
2967 struct rtw_regs *regs = &rsc->sc_regs; local
2985 struct rtw_regs *regs = &rsc->sc_regs; local
3004 struct rtw_regs *regs = &rsc->sc_regs; local
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dkvm_amd64dep.c161 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 Dkvm_ia32dep.c161 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...]
/illumos-gate/usr/src/uts/intel/amd64/sys/
H A Dprivmregs.h54 struct regs pm_gregs;
/illumos-gate/usr/src/uts/intel/ia32/sys/
H A Dprivmregs.h54 struct regs pm_gregs;
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231_eb2dma.c122 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, &regs->eb2csr, EB2_RESET);
272 csr = ddi_get32(handle, &regs->eb2csr);
275 csr = ddi_get32(handle, &regs->eb2csr);
284 AND_SET_WORD(handle, &regs->eb2csr, ~(EB2_RESET|EB2_EN_DMA));
287 OR_SET_WORD(handle, &regs->eb2csr, reset);
297 OR_SET_WORD(handle, &regs
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/sparc/sys/
H A Dsimulate.h144 extern int simulate_unimp(struct regs *, caddr_t *);
145 extern int simulate_lddstd(struct regs *, caddr_t *);
146 extern int simulate_rdtick(struct regs *);
147 extern int do_unaligned(struct regs *, caddr_t *);
148 extern int calc_memaddr(struct regs *, caddr_t *);
149 extern int is_atomic(struct regs *);
150 extern int instr_size(struct regs *, caddr_t *, enum seg_rw);
151 extern int getreg(struct regs *, uint_t, uint64_t *, caddr_t *);
152 extern int putreg(uint64_t *, struct regs *, uint_t, caddr_t *);
H A Dkdi_machimpl.h44 struct regs;
76 void (*mkdi_kernpanic)(struct regs *, uint_t);
/illumos-gate/usr/src/cmd/bhyve/
H A Dxmsr.c234 u_int regs[4]; local
237 do_cpuid(0, regs);
238 ((u_int *)&cpu_vendor)[0] = regs[1];
239 ((u_int *)&cpu_vendor)[1] = regs[3];
240 ((u_int *)&cpu_vendor)[2] = regs[2];
/illumos-gate/usr/src/uts/intel/io/pciex/
H A Dpcie_nvidia.c222 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/i86pc/os/
H A Dpci_bios.c71 struct bop_regs regs; local
98 bzero(&regs, sizeof (regs));
99 regs.eax.word.ax = (PCI_FUNCTION_ID << 8) | PCI_GET_IRQ_ROUTING;
101 regs.ds = 0xf000;
102 regs.es = FP_SEG((uint_t)(uintptr_t)hdrp);
103 regs.edi.word.di = FP_OFF((uint_t)(uintptr_t)hdrp);
105 BOP_DOINT(bootops, 0x1a, &regs);
110 if ((regs.eflags & PS_C) != 0) {
H A Dpci_cfgspace.c255 struct bop_regs regs; local
272 bzero(&regs, sizeof (regs));
273 regs.eax.word.ax = (PCI_FUNCTION_ID << 8) | PCI_BIOS_PRESENT;
275 BOP_DOINT(bootops, 0x1a, &regs);
276 carryflag = regs.eflags & PS_C;
277 ax = regs.eax.word.ax;
278 dx = regs.edx.word.dx;
292 pci_bios_vers = regs.ebx.word.bx;
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_line_table_reader_common.h1065 struct Dwarf_Line_Registers_s regs; local
1104 _dwarf_set_line_table_regs_default_values(&regs,
1204 regs.lr_address = regs.lr_address + (operation_advance *
1207 regs.lr_address = regs.lr_address +
1209 ((regs.lr_op_index + operation_advance)/
1211 regs.lr_op_index = (regs.lr_op_index +operation_advance)%
1215 regs
[all...]
/illumos-gate/usr/src/uts/sparc/v7/sys/
H A Dprivregs.h53 struct regs { struct
58 long r_g1; /* user global regs */
/illumos-gate/usr/src/uts/sparc/sys/fpu/
H A Dfpusystm.h41 struct regs;
54 extern void fp_disabled(struct regs *);
58 extern void fp_runq(struct regs *);
/illumos-gate/usr/src/uts/common/sys/
H A Dpanic.h132 struct regs;
149 extern struct regs *panic_reg;
155 extern void panic_saveregs(panic_data_t *, struct regs *);
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/
H A DMakefile29 i386/regs.c \
33 amd64/regs.c \
36 sparc/regs.c \
40 sparcv9/regs.c \
70 tests/test-sparc-regs \

Completed in 122 milliseconds

12345678910