Searched refs:regno (Results 1 - 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Ddwarf.c106 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...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_kstats.c69 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 Dnge_xmii.c50 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 Dnge_chip.c39 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...]
H A Dnge.h989 uint8_t nge_reg_get8(nge_t *ngep, nge_regno_t regno);
990 void nge_reg_put8(nge_t *ngep, nge_regno_t regno, uint8_t data);
991 uint16_t nge_reg_get16(nge_t *ngep, nge_regno_t regno);
992 void nge_reg_put16(nge_t *ngep, nge_regno_t regno, uint16_t data);
993 uint32_t nge_reg_get32(nge_t *ngep, nge_regno_t regno);
994 void nge_reg_put32(nge_t *ngep, nge_regno_t regno, uint32_t data);
1009 uint16_t nge_mii_get16(nge_t *ngep, nge_regno_t regno);
1010 void nge_mii_put16(nge_t *ngep, nge_regno_t regno, uint16_t data);
/illumos-gate/usr/src/lib/libcpc/i386/
H A Dconf_pentium.c305 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 Devent_pentium.c134 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 Dconf_ultra.c402 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 Devent_ultra.c100 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/uts/common/io/rge/
H A Drge_chip.c52 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/common/io/bge/
H A Dbge_chip2.c176 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...]
H A Dbge_impl.h1181 uint16_t bge_mii_get16(bge_t *bgep, bge_regno_t regno);
1182 void bge_mii_put16(bge_t *bgep, bge_regno_t regno, uint16_t value);
1183 uint16_t bge_phydsp_read(bge_t *bgep, bge_regno_t regno);
1184 void bge_phydsp_write(bge_t *bgep, bge_regno_t regno, uint16_t value);
1185 uint32_t bge_reg_get32(bge_t *bgep, bge_regno_t regno);
1186 void bge_reg_put32(bge_t *bgep, bge_regno_t regno, uint32_t value);
1187 void bge_reg_set32(bge_t *bgep, bge_regno_t regno, uint32_t bits);
1188 void bge_reg_clr32(bge_t *bgep, bge_regno_t regno, uint32_t bits);
1189 uint32_t bge_ape_get32(bge_t *bgep, bge_regno_t regno);
1190 void bge_ape_put32(bge_t *bgep, bge_regno_t regno, uint32_
[all...]
/illumos-gate/usr/src/lib/libcpc/common/
H A Dlibcpc_impl.h114 extern const char *__cpc_reg_to_name(int cpuver, int regno, uint8_t bits);
115 extern int __cpc_name_to_reg(int cpuver, int regno,
H A Dlibcpc.h186 extern void cpc_walk_names(int cpuver, int regno, void *arg,
187 void (*action)(void *arg, int regno, const char *name, uint8_t bits));
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c224 #define PORT_RD8(port, regno) \
225 ddi_get8(port.acch, (void *)(port.base + (regno)))
226 #define PORT_RD16(port, regno) \
227 ddi_get16(port.acch, (void *)(port.base + (regno)))
228 #define PORT_RD32(port, regno) \
229 ddi_get32(port.acch, (void *)(port.base + (regno)))
230 #define PORT_WR8(port, regno, data) \
231 ddi_put8(port.acch, (void *)(port.base + (regno)), data)
232 #define PORT_WR16(port, regno, data) \
233 ddi_put16(port.acch, (void *)(port.base + (regno)), dat
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_frame.c301 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/uts/sun4v/pcbe/
H A Dniagara_pcbe.c275 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/cmd/cpc/common/
H A Dcaps.c55 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/sun4u/pcbe/
H A Dopl_pcbe.c603 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 Dus234_pcbe.c712 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 Dp123_pcbe.c650 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/drm/
H A Ddrm_sunmod.c648 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/lib/libproc/common/
H A Dllib-lproc63 int Pgetareg(struct ps_prochandle *Pr, int regno, prgreg_t *preg);
64 int Pputareg(struct ps_prochandle *Pr, int regno, prgreg_t reg);
105 int Lgetareg(struct ps_lwphandle *Lwp, int regno, prgreg_t *preg);
106 int Lputareg(struct ps_lwphandle *Lwp, int regno, prgreg_t reg);
H A DPcontrol.c2050 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/cmd/sgs/elfdump/common/
H A Ddwarf.c148 * 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);

Completed in 141 milliseconds

12