Home | History | Annotate | Download | only in pci

Lines Matching defs:pidx

695 	int i, j, nregion, pidx, tidx = 0, xnregion;
719 if ((pidx = elansc_alloc_par(memt, memh)) == -1) {
724 (void) bus_space_read_4(memt, memh, MMCR_PAR(pidx));
754 elansc_protect(sc, pidx, start_pa, protsize);
756 sc->sc_textpar[tidx++] = pidx;
767 if ((pidx = elansc_alloc_par(memt, memh)) == -1) {
771 elansc_protect(sc, pidx, xregions[0].start,
773 sc->sc_textpar[tidx++] = pidx;
789 elansc_protect(struct elansc_softc *sc, int pidx, paddr_t addr, uint32_t sz)
817 bus_space_write_4(sc->sc_memt, sc->sc_memh, MMCR_PAR(pidx), par);
823 int pidx;
834 if ((pidx = elansc_alloc_par(memt, memh)) == -1)
839 elansc_protect(sc, pidx, pg0_paddr, PG0_PROT_SIZE);
840 return pidx;