Lines Matching refs:base
238 * This routine returns the base address for graphics registers.
249 unsigned long base;
251 base = (unsigned long)gfx_gxm_config_read(GXM_CONFIG_GCR);
252 base = (base & 0x03) << 30;
253 return (base);
259 * This routine returns the base address for graphics memory. This is an
260 * offset of 0x00800000 from the base address specified in the GCR register.
274 unsigned long base;
276 base = (unsigned long)gfx_gxm_config_read(GXM_CONFIG_GCR);
277 base = (base & 0x03) << 30;
278 if (base)
279 base |= 0x00800000;
280 return (base);
309 * This routine returns the base address for the video hardware. It assumes
310 * an offset of 0x00010000 from the base address specified by the GCR.
324 unsigned long base;
326 base = (unsigned long)gfx_gxm_config_read(GXM_CONFIG_GCR);
327 base = (base & 0x03) << 30;
328 if (base)
329 base |= 0x00010000;
330 return (base);
336 * This routine returns the base address for the VIP hardware. This is
338 * of 0x00015000 from the base address specified by the GCR.
352 unsigned long base = 0;
355 base = (unsigned long)gfx_gxm_config_read(GXM_CONFIG_GCR);
356 base = (base & 0x03) << 30;
357 if (base)
358 base |= 0x00015000;
360 return (base);