Home | History | Annotate | Download | only in pci

Lines Matching refs:asc

50 #define READ2(off)	bus_space_read_2(asc->iot, asc->ioh, off)
51 #define READ4(off) bus_space_read_4(asc->iot, asc->ioh, off)
52 #define WRITE2(off,v) bus_space_write_2(asc->iot, asc->ioh, off, v)
53 #define WRITE4(off,v) bus_space_write_4(asc->iot, asc->ioh, off, v)
170 struct agp_amd_softc *asc;
176 asc = malloc(sizeof *asc, M_AGP, M_WAITOK|M_ZERO);
179 &asc->iot, &asc->ioh, NULL, NULL);
183 free(asc, M_AGP);
190 free(asc, M_AGP);
196 sc->as_chipc = asc;
197 asc->initial_aperture = AGP_GET_APERTURE(sc);
213 asc->gatt = gatt;
236 struct agp_amd_softc *asc = sc->as_chipc;
251 AGP_SET_APERTURE(sc, asc->initial_aperture);
253 agp_amd_free_gatt(sc, asc->gatt);
301 struct agp_amd_softc *asc = sc->as_chipc;
303 if (offset < 0 || offset >= (asc->gatt->ag_entries << AGP_PAGE_SHIFT))
306 asc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical | 1;
313 struct agp_amd_softc *asc = sc->as_chipc;
315 if (offset < 0 || offset >= (asc->gatt->ag_entries << AGP_PAGE_SHIFT))
318 asc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = 0;
325 struct agp_amd_softc *asc = sc->as_chipc;