Searched refs:regspec (Results 1 - 25 of 60) sorted by relevance

123

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/memcfg/
H A Dmemcfg_impl.h69 typedef struct regspec { struct
/illumos-gate/usr/src/uts/sparc/os/
H A Dddi_arch.c64 struct regspec tmp_reg, *rp;
71 * First, if given an rnumber, convert it to a regspec...
83 if (rp == (struct regspec *)0) {
92 * Convert the given ddi_map_req_t from rnumber to regspec...
101 * A non-zero length means override the one in the regspec,
120 * (This is where nexus specific regspec translation takes place.
164 struct regspec *
168 return ((struct regspec *)0);
178 reg_is_enclosed_in_range(struct regspec *rp, struct rangespec *rangep)
198 * Apply range of dp to struct regspec *r
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dddimapreq.h41 * Mapping requests are for an rnumber or for a regspec.
43 * A regspec is a generic triple, usually representing
52 struct regspec *rp;
H A Dddi_implfuncs.h56 i_ddi_apply_range(dev_info_t *dip, dev_info_t *rdip, struct regspec *rp);
58 struct regspec *
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_util.h51 struct regspec *new_rp);
/illumos-gate/usr/src/cmd/prtconf/
H A Dprt_xxx.c46 static void obio_printregs(struct regspec *, int);
74 sizeof (struct regspec), /* first pointer */
111 sizeof (struct regspec), /* first pointer */
149 obio_printregs(struct regspec *rp, int ilev)
183 struct regspec *reg;
207 reg = (struct regspec *)(data + *(di_off_t *)(&dp->par_reg));
292 struct regspec *reg;
316 reg = (struct regspec *)(data + *(di_off_t *)(&dp->par_reg));
/illumos-gate/usr/src/uts/intel/os/
H A Dddi_arch.c54 struct regspec tmp_reg, *rp;
61 * First, if given an rnumber, convert it to a regspec...
73 if (rp == (struct regspec *)0) {
82 * Convert the given ddi_map_req_t from rnumber to regspec...
91 * XXX: A non-zero length means override the one in the regspec.
155 * (This is where nexus specific regspec translation takes place.
180 struct regspec *
184 return ((struct regspec *)0);
194 reg_is_enclosed_in_range(struct regspec *rp, struct rangespec *rangep)
214 * Apply range of dp to struct regspec *r
[all...]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_util.h51 struct regspec *new_rp);
/illumos-gate/usr/src/uts/i86pc/io/
H A Disa.c110 static struct regspec isa_extra_resource[MAX_EXTRA_RESOURCE];
114 static struct regspec asy_regs[] = {
419 isa_apply_range(dev_info_t *dip, struct regspec *isa_reg_p,
474 struct regspec *reg_p = &isa_extra_resource[i];
501 struct regspec tmp_reg, *rp;
512 * First, if given an rnumber, convert it to a regspec...
519 if (rp == (struct regspec *)0)
523 * Convert the given ddi_map_req_t from rnumber to regspec...
531 * XXX: A non-zero length means override the one in the regspec.
544 mp->map_obj.rp = (struct regspec *)
[all...]
H A Dimmu_dmar.c644 struct regspec reg;
671 sizeof (struct regspec) / sizeof (int));
683 + sizeof (struct regspec), KM_SLEEP);
685 pdptr->par_reg = (struct regspec *)(pdptr + 1);
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dacpi_enum.c109 add_used_io_mem(struct regspec *io, int io_count)
163 parse_resources_io(ACPI_RESOURCE *resource_ptr, struct regspec *io,
185 parse_resources_fixed_io(ACPI_RESOURCE *resource_ptr, struct regspec *io,
205 parse_resources_fixed_mem32(ACPI_RESOURCE *resource_ptr, struct regspec *io,
226 parse_resources_mem32(ACPI_RESOURCE *resource_ptr, struct regspec *io,
257 parse_resources_addr16(ACPI_RESOURCE *resource_ptr, struct regspec *io,
313 parse_resources_addr32(ACPI_RESOURCE *resource_ptr, struct regspec *io,
369 parse_resources_addr64(ACPI_RESOURCE *resource_ptr, struct regspec *io,
448 struct regspec *io;
475 io = (struct regspec *)kmem_zallo
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dmach_rootnex.c115 struct regspec *rp;
151 struct regspec *rp;
/illumos-gate/usr/src/uts/sun4u/io/
H A Dmach_rootnex.c236 struct regspec *rp;
300 struct regspec *rp;
397 struct regspec *rp;
467 struct regspec *rp;
H A Dupa64s.c188 off_t off, off_t len, struct regspec *rp);
190 off_t off, off_t len, struct regspec *rp);
486 * get the corresponding regspec from device node
487 * build a new regspec in our parent's format
488 * build a new map_req with the new regspec
495 struct regspec regspec; local
519 * We must convert it into a regspec of our parent's
526 off, len, &regspec);
541 rval = get_reg_set(dip, rdip, rnumber, off, len, &regspec);
[all...]
H A Dsysiosbus.c1001 pdptr->slot = ((struct regspec *)reg_prop)->regspec_bustype;
1002 pdptr->offset = ((struct regspec *)reg_prop)->regspec_addr;
1015 struct regspec *rp = (struct regspec *)reg_prop;
1019 rp = (struct regspec *)rgstr_prop;
1020 n = rgstr_len / sizeof (struct regspec);
1032 pdptr->par_nreg = reg_len / (int)sizeof (struct regspec);
1033 pdptr->par_reg = (struct regspec *)reg_prop;
1077 struct regspec r;
1086 sizeof (struct regspec) / sizeo
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_util.h47 extern int pcmu_xlate_reg(pcmu_t *, pci_regspec_t *, struct regspec *);
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dfcgp2.c134 static int gp2_map_phys(dev_info_t *, struct regspec *, caddr_t *,
260 struct regspec r;
931 gp2_map_phys(dev_info_t *dip, struct regspec *phys_spec,
938 struct regspec *ph;
948 ph = kmem_zalloc(sizeof (struct regspec), KM_SLEEP);
954 mr.map_obj.rp = (struct regspec *)phys_spec;
985 mr.map_obj.rp = (struct regspec *)ph;
995 kmem_free(ph, sizeof (struct regspec)); /* Free the cached copy */
H A Daxq.c221 static int axq_map_phys(dev_info_t *, struct regspec *, caddr_t *,
1551 struct regspec phys_spec;
1624 cmn_err(CE_WARN, "%s: no regspec\n", ddi_get_name(axq_dip));
1672 axq_map_phys(dev_info_t *dip, struct regspec *phys_spec,
1679 struct regspec *ph;
1689 ph = kmem_zalloc(sizeof (struct regspec), KM_SLEEP);
1718 struct regspec *ph;
1736 kmem_free(ph, sizeof (struct regspec)); /* Free the cached copy */
/illumos-gate/usr/src/uts/sun4/io/
H A Drootnex.c264 rootnex_regspec_arena = vmem_create("regspec",
335 struct regspec *rp = mp->map_obj.rp;
399 struct regspec *rp;
431 register struct regspec *rp;
486 struct regspec *rp, tmp_reg;
512 * First, if given an rnumber, convert it to a regspec...
521 if (rp == (struct regspec *)0) {
529 * Convert the given ddi_map_req_t from rnumber to regspec...
538 * XXX: A non-zero length means override the one in the regspec
551 * (This is where nexus specific regspec translatio
[all...]
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_driver.c277 struct regspec *regbuf;
/illumos-gate/usr/src/uts/sun4/sys/
H A Debus.h113 struct regspec jbus_regspec;
H A Dfcode.h345 void *regspec; member in struct:fc_map_resource
391 #define fc_regspec un.m.regspec
/illumos-gate/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c83 /* need PCI regspec size for worst case at present */
127 struct regspec *pcmcia_cons_regspec(dev_info_t *, int, uchar_t *,
905 struct regspec *
912 return ((struct regspec *)&ppd->ppd_reg[rnumber]);
915 struct regspec *
927 return ((struct regspec *)&ppd->ppd_assigned[rnumber]);
931 pcmcia_find_rnum(dev_info_t *dip, struct regspec *reg)
934 struct regspec *regp;
940 for (regp = (struct regspec *)ppd->ppd_reg, i = 0;
942 if (bcmp(reg, regp, sizeof (struct regspec))
[all...]
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_psm.c1145 pci_regspec_t *regspec; local
1153 (caddr_t)&regspec, &reglen) != DDI_SUCCESS) {
1155 "get_busdevfn() failed to get regspec.");
1161 *busp = PCI_REG_BUS_G(regspec[0].pci_phys_hi);
1165 *devfnp = (regspec[0].pci_phys_hi & (PCI_REG_FUNC_M | PCI_REG_DEV_M)) >>
1168 kmem_free(regspec, reglen);
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c123 struct regspec *irp;
128 struct regspec *rp;
148 * to a regspec. We do this so that in the
152 irp = rp = (struct regspec *)reg_prop;
216 pdptr->par_nreg = (int)(reg_len / sizeof (struct regspec));
217 pdptr->par_reg = (struct regspec *)reg_prop;
296 struct regspec *rp;

Completed in 155 milliseconds

123