Lines Matching defs:sc_res

206 	struct resource *sc_res[2];
796 bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL));
807 bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL));
818 bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL));
829 bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL));
842 bus_read_4(sc->sc_res[0], AGP_I965_PGTBL_CTL2));
913 switch (bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL) &
1098 pgetbl_ctl = bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL);
1135 pgetbl_ctl2 = bus_read_4(sc->sc_res[0], AGP_I965_PGTBL_CTL2);
1137 bus_write_4(sc->sc_res[0], AGP_I965_PGTBL_CTL2, pgetbl_ctl2);
1140 pgetbl_ctl = bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL);
1143 bus_write_4(sc->sc_res[0], AGP_I810_PGTBL_CTL, pgetbl_ctl);
1183 if ((bus_read_1(sc->sc_res[0], AGP_I810_DRT) & AGP_I810_DRT_POPULATED)
1201 bus_write_4(sc->sc_res[0], AGP_I810_PGTBL_CTL,
1215 pgtblctl = bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL);
1217 bus_write_4(sc->sc_res[0], AGP_I810_PGTBL_CTL, pgtblctl);
1238 pmap_change_attr((vm_offset_t)rman_get_virtual(sc->sc_res[0]) +
1239 gtt_offset, rman_get_size(sc->sc_res[0]) - gtt_offset,
1286 if (bus_alloc_resources(dev, sc->match->driver->res_spec, sc->sc_res)) {
1301 sc->sc_res);
1330 bus_write_4(sc->sc_res[0], AGP_I810_PGTBL_CTL, 0);
1341 pgtblctl = bus_read_4(sc->sc_res[0], AGP_I810_PGTBL_CTL);
1343 bus_write_4(sc->sc_res[0], AGP_I810_PGTBL_CTL, pgtblctl);
1363 bus_release_resources(dev, sc->match->driver->res_spec, sc->sc_res);
1378 bus_write_4(sc->sc_res[0], AGP_I810_PGTBL_CTL,
1491 bus_write_4(sc->sc_res[0], AGP_I810_GTT + index * 4, pte);
1526 bus_write_4(sc->sc_res[1], index * 4, pte);
1549 bus_write_4(sc->sc_res[0], index * 4 + (512 * 1024), pte);
1572 bus_write_4(sc->sc_res[0], index * 4 + (2 * 1024 * 1024), pte);
1622 pte = bus_read_4(sc->sc_res[0], AGP_I810_GTT + index * 4);
1633 pte = bus_read_4(sc->sc_res[1], index * 4);
1644 pte = bus_read_4(sc->sc_res[0], index * 4 + (512 * 1024));
1655 pte = bus_read_4(sc->sc_res[0], index * 4 + (2 * 1024 * 1024));
1856 bus_write_4(sc->sc_res[0],
2016 hic = bus_read_4(sc->sc_res[0], AGP_I830_HIC);
2017 bus_write_4(sc->sc_res[0], AGP_I830_HIC, hic | (1U << 31));
2019 hic = bus_read_4(sc->sc_res[0], AGP_I830_HIC);