Lines Matching refs:mode

1691  * mode.
1791 agp_v2_setup(uint32_t tstatus, uint32_t mstatus, uint32_t mode)
1799 * mode: the agp mode to be sent
1804 * set RQ to the min of mode and tstatus
1805 * if mode set a RQ larger than hardware can support,
1810 rq = mode & AGPSTAT_RQ_MASK;
1823 & (mode & AGPSTAT_SBA);
1827 & (mode & AGPSTAT_OVER4G);
1838 & (mode & AGPSTAT_FW);
1851 & (mode & AGPSTAT_RATE_MASK);
1860 /* enable agp mode */
1867 agp_v3_setup(uint32_t tstatus, uint32_t mstatus, uint32_t mode)
1875 * mode: the agp mode to be set
1880 * Set RQ to the min of mode and tstatus
1881 * If mode set a RQ larger than hardware can support,
1886 rq = mode & AGPSTAT_RQ_MASK;
1893 * Don't allow the mode register to override values
1900 * Don't allow override by mode register
1920 & (mode & AGPSTAT_OVER4G);
1931 & (mode & AGPSTAT_FW);
1946 & (mode & AGPSTAT_RATE_MASK);
1953 /* Enable AGP mode */
1960 agp_setup(agpgart_softstate_t *softstate, uint32_t mode)
1969 * There are three kinds of AGP mode. AGP mode 1.0, 2.0, 3.0
1970 * AGP mode 2.0 is fully compatible with AGP mode 1.0, so we
1971 * only check 2.0 and 3.0 mode. AGP 3.0 device can work in
1972 * two AGP 2.0 or AGP 3.0 mode. By checking AGP status register,
1973 * we can get which mode it is working at. The working mode of
1975 * of them must work on AGP 3.0 mode or AGP 2.0 mode.
1979 /* Master device should be 3.0 mode, too */
1984 agp_mode = agp_v3_setup(tstatus, mstatus, mode);
1996 * If agp taget device doesn't work in AGP 3.0 mode,
1997 * it must work in AGP 2.0 mode. And make sure
1998 * master device work in AGP 2.0 mode too
2004 agp_mode = agp_v2_setup(tstatus, mstatus, mode);
2940 /* Store agp mode status for kstat */