Lines Matching refs:base
141 * This routine returns the base address for graphics registers.
152 unsigned long base;
154 base = (unsigned long) gfx_gxm_config_read(GXM_CONFIG_GCR);
155 base = (base & 0x03) << 30;
156 return (base);
162 * This routine returns the base address for graphics memory. This is an
163 * offset of 0x00800000 from the base address specified in the GCR register.
177 unsigned long base;
179 base = (unsigned long) gfx_gxm_config_read(GXM_CONFIG_GCR);
180 base = (base & 0x03) << 30;
181 if (base)
182 base |= 0x00800000;
183 return (base);
212 * This routine returns the base address for the video hardware. It assumes
213 * an offset of 0x00010000 from the base address specified by the GCR.
227 unsigned long base;
229 base = (unsigned long) gfx_gxm_config_read(GXM_CONFIG_GCR);
230 base = (base & 0x03) << 30;
231 if (base)
232 base |= 0x00010000;
233 return (base);
239 * This routine returns the base address for the VIP hardware. This is
241 * of 0x00015000 from the base address specified by the GCR.
255 unsigned long base = 0;
258 base = (unsigned long) gfx_gxm_config_read(GXM_CONFIG_GCR);
259 base = (base & 0x03) << 30;
260 if (base)
261 base |= 0x00015000;
263 return (base);