Lines Matching +full:bridge +full:- +full:enable
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
66 return ("SiS 5591 host to AGP bridge"); in agp_sis_match()
68 return ("SiS 530 host to AGP bridge"); in agp_sis_match()
70 return ("SiS 540 host to AGP bridge"); in agp_sis_match()
72 return ("SiS 550 host to AGP bridge"); in agp_sis_match()
74 return ("SiS 620 host to AGP bridge"); in agp_sis_match()
76 return ("SiS 630 host to AGP bridge"); in agp_sis_match()
78 return ("SiS 645 host to AGP bridge"); in agp_sis_match()
80 return ("SiS 645DX host to AGP bridge"); in agp_sis_match()
82 return ("SiS 648 host to AGP bridge"); in agp_sis_match()
84 return ("SiS 650 host to AGP bridge"); in agp_sis_match()
86 return ("SiS 651 host to AGP bridge"); in agp_sis_match()
88 return ("SiS 655 host to AGP bridge"); in agp_sis_match()
90 return ("SiS 661 host to AGP bridge"); in agp_sis_match()
92 return ("SiS 730 host to AGP bridge"); in agp_sis_match()
94 return ("SiS 735 host to AGP bridge"); in agp_sis_match()
96 return ("SiS 740 host to AGP bridge"); in agp_sis_match()
98 return ("SiS 741 host to AGP bridge"); in agp_sis_match()
100 return ("SiS 745 host to AGP bridge"); in agp_sis_match()
102 return ("SiS 746 host to AGP bridge"); in agp_sis_match()
135 sc->initial_aperture = AGP_GET_APERTURE(dev); in agp_sis_attach()
151 sc->gatt = gatt; in agp_sis_attach()
154 pci_write_config(dev, AGP_SIS_ATTBASE, gatt->ag_physical, 4); in agp_sis_attach()
156 /* Enable the aperture. */ in agp_sis_attach()
161 * Enable the TLB and make it automatically invalidate entries in agp_sis_attach()
184 AGP_SET_APERTURE(dev, sc->initial_aperture); in agp_sis_detach()
186 agp_free_gatt(sc->gatt); in agp_sis_detach()
212 if (aperture & (aperture - 1) in agp_sis_set_aperture()
217 gws = ffs(aperture / 4*1024*1024) - 1; in agp_sis_set_aperture()
231 if (offset >= (sc->gatt->ag_entries << AGP_PAGE_SHIFT)) in agp_sis_bind_page()
234 sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = physical; in agp_sis_bind_page()
243 if (offset >= (sc->gatt->ag_entries << AGP_PAGE_SHIFT)) in agp_sis_unbind_page()
246 sc->gatt->ag_virtual[offset >> AGP_PAGE_SHIFT] = 0; in agp_sis_unbind_page()