Searched refs:regspec (Results 26 - 50 of 60) sorted by relevance

123

/opensolaris-onvv-gate/usr/src/uts/common/io/pciex/
H A Dpcie.c1603 pci_regspec_t *regspec; local
1607 "reg", (int **)&regspec, (uint_t *)&reglen) != DDI_SUCCESS)
1611 ddi_prop_free(regspec);
1616 *bdf = (regspec->pci_phys_hi & (PCI_REG_BDFR_M ^ PCI_REG_REG_M)) >> 8;
1618 ddi_prop_free(regspec);
2057 mr.map_obj.rp = (struct regspec *)phys_spec;
2089 mr.map_obj.rp = (struct regspec *)ph;
/opensolaris-onvv-gate/usr/src/uts/sun4u/io/
H A Dopl_cfg.c76 static int opl_map_phys(dev_info_t *, struct regspec *, caddr_t *,
1278 struct regspec rspec;
1899 opl_map_phys(dev_info_t *dip, struct regspec *phys_spec,
1906 struct regspec *rspecp;
1916 rspecp = kmem_zalloc(sizeof (struct regspec), KM_SLEEP);
1925 mapreq.map_obj.rp = (struct regspec *)phys_spec;
1935 kmem_free(rspecp, sizeof (struct regspec));
1949 struct regspec *rspecp;
1957 mapreq.map_obj.rp = (struct regspec *)rspecp;
1970 kmem_free(rspecp, sizeof (struct regspec));
[all...]
H A Dpmubus.c751 /* Translate our child regspec into our parents address domain */
833 mp->map_obj.rp = (struct regspec *)&pci_reg;
/opensolaris-onvv-gate/usr/src/uts/sun/io/
H A Dsbusmem.c175 struct regspec *rp = ddi_rnumber_to_regspec(devi, 0);
/opensolaris-onvv-gate/usr/src/uts/sun4u/sys/
H A Dsysiosbus.h375 struct regspec *par_reg; /* array of regs */
/opensolaris-onvv-gate/usr/src/uts/sun4/io/px/
H A Dpx_util.c140 * DDI_ME_INVAL - regspec is invalid
208 * use "ranges" to translate relocated pci regspec into parent space
211 px_xlate_reg(px_t *px_p, pci_regspec_t *px_rp, struct regspec *new_rp)
H A Dpx_tools.c462 struct regspec xlated_regspec;
499 "regspec: hi:0x%x, lo:0x%x, sz:0x%x, range base:0x%" PRIx64 "\n",
H A Dpx.c721 * get the corresponding regspec from device node
722 * build a new regspec in our parent's format
723 * build a new map_req with the new regspec
731 struct regspec p_regspec;
799 if (len) /* adjust regspec according to mapping request */
803 /* translate relocated pci regspec into parent space through "ranges" */
/opensolaris-onvv-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_util.c136 * DDI_ME_INVAL - regspec is invalid
185 * use "ranges" to translate relocated pci regspec into parent space
188 pcmu_xlate_reg(pcmu_t *pcmu_p, pci_regspec_t *pcmu_rp, struct regspec *new_rp)
/opensolaris-onvv-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c188 struct regspec *regbuf;
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dddi_impldefs.h629 struct regspec { struct
758 struct regspec *par_reg; /* array of regs */
H A Dsunddi.h550 ddi_apply_range(dev_info_t *dip, dev_info_t *rdip, struct regspec *rp);
555 struct regspec *
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vgatext.c1349 struct regspec *reg;
1356 for (index = 0; index < length / sizeof (struct regspec); index++) {
/opensolaris-onvv-gate/usr/src/uts/sun4u/serengeti/io/
H A Dssm.c535 struct regspec *rp;
633 struct regspec *rp;
H A Dsbdp_quiesce.c163 struct regspec *regbuf = NULL;
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c173 struct regspec *regbuf = NULL;
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/pci/
H A Dpci.c332 struct regspec reg;
418 * A non-zero length means override the one in the regspec.
494 * A non-zero length means override the one in the regspec.
501 * convert the pci regsec into the generic regspec used by the
/opensolaris-onvv-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_util.c153 * DDI_ME_INVAL - regspec is invalid
208 * use "ranges" to translate relocated pci regspec into parent space
211 pci_xlate_reg(pci_t *pci_p, pci_regspec_t *pci_rp, struct regspec *new_rp)
H A Dpci.c475 * get the corresponding regspec from device node
476 * build a new regspec in our parent's format
477 * build a new map_req with the new regspec
485 struct regspec p_regspec;
521 /* use "assigned-addresses" to relocate regspec within pci space */
525 if (len) /* adjust regspec according to mapping request */
529 /* use "ranges" to translate relocated pci regspec into parent space */
/opensolaris-onvv-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c1517 struct regspec *reg;
1524 for (index = 0; index < length / sizeof (struct regspec); index++) {
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/
H A Drootnex.c755 struct regspec *rp = sparc_pd_getreg(dev, i);
824 struct regspec *rp, tmp_reg;
851 * First, if given an rnumber, convert it to a regspec...
873 * Convert the given ddi_map_req_t from rnumber to regspec...
882 * XXX: A non-zero length means override the one in the regspec
936 * (This is where nexus specific regspec translation takes place.
953 * Set up the locked down kernel mapping to the regspec...
1038 struct regspec *rp;
1223 struct regspec *rp;
1280 struct regspec *r
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.c85 static void pcirp2rp(const pci_regspec_t *pci_rp, struct regspec *rp);
1373 ppd->ppd.par_nreg * sizeof (struct regspec));
1890 pcirp2rp(const pci_regspec_t *pci_rp, struct regspec *rp)
/opensolaris-onvv-gate/usr/src/uts/sun4/io/efcode/
H A Dfcpci.c1714 mr.map_obj.rp = (struct regspec *)phys_spec;
1743 mr.map_obj.rp = (struct regspec *)ph;
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c420 struct regspec reg;
533 * A non-zero length means override the one in the regspec.
633 * A non-zero length means override the one in the regspec.
640 * convert the pci regsec into the generic regspec used by the
/opensolaris-onvv-gate/usr/src/uts/sun4/io/
H A Debus.c450 * get the corresponding regspec from device node
451 * build a new regspec in our parent's format
452 * build a new map_req with the new regspec
476 * We must convert it into a PCI format regspec and pass
531 p_map_request.map_obj.rp = (struct regspec *)&vreg;
539 * ebus_apply_range generically relocates child's regspec to

Completed in 301 milliseconds

123