Searched refs:primary_size (Results 1 – 2 of 2) sorted by relevance
106 u32 primary_size; member126 dma_bootstrap.primary_size = dma_bootstrap32.primary_size; in compat_mga_dma_bootstrap()139 dma_bootstrap32.primary_size = dma_bootstrap.primary_size; in compat_mga_dma_bootstrap()
539 err = drm_legacy_addmap(dev, offset, dma_bs->primary_size, in mga_do_agp_dma_bootstrap()546 offset += dma_bs->primary_size; in mga_do_agp_dma_bootstrap()634 unsigned int primary_size; in mga_do_pci_dma_bootstrap() local664 for (primary_size = dma_bs->primary_size; primary_size != 0; in mga_do_pci_dma_bootstrap()665 primary_size >>= 1) { in mga_do_pci_dma_bootstrap()667 err = drm_legacy_addmap(dev, 0, primary_size, _DRM_CONSISTENT, in mga_do_pci_dma_bootstrap()678 if (dev_priv->primary->size != dma_bs->primary_size) { in mga_do_pci_dma_bootstrap()680 dma_bs->primary_size, in mga_do_pci_dma_bootstrap()682 dma_bs->primary_size = dev_priv->primary->size; in mga_do_pci_dma_bootstrap()