Lines Matching defs:init
962 static int mach64_do_dma_init(struct drm_device * dev, drm_mach64_init_t * init)
976 dev_priv->is_pci = init->is_pci;
978 dev_priv->fb_bpp = init->fb_bpp;
979 dev_priv->front_offset = init->front_offset;
980 dev_priv->front_pitch = init->front_pitch;
981 dev_priv->back_offset = init->back_offset;
982 dev_priv->back_pitch = init->back_pitch;
984 dev_priv->depth_bpp = init->depth_bpp;
985 dev_priv->depth_offset = init->depth_offset;
986 dev_priv->depth_pitch = init->depth_pitch;
1009 dev_priv->fb = drm_core_findmap(dev, init->fb_offset);
1016 dev_priv->mmio = drm_core_findmap(dev, init->mmio_offset);
1024 dev_priv->ring_map = drm_core_findmap(dev, init->ring_offset);
1033 ((u8 *) dev_priv->sarea->virtual + init->sarea_priv_offset);
1044 dev->agp_buffer_token = init->buffers_offset;
1046 drm_core_findmap(dev, init->buffers_offset);
1066 drm_core_findmap(dev, init->agp_textures_offset);
1077 dev_priv->driver_mode = init->dma_mode;
1129 if (init->dma_mode == MACH64_MODE_MMIO)
1158 /* init frame counter */
1369 drm_mach64_init_t *init = data;
1375 switch (init->func) {
1377 return mach64_do_dma_init(dev, init);