Searched refs:bus_maps (Results 1 – 3 of 3) sorted by relevance
89 CTASSERT(PCI_NUM_RESOURCES < (SIZE_MAX / sizeof(dev->bus_maps[0]))); in drm_pci_attach()90 dev->bus_maps = kmem_zalloc(PCI_NUM_RESOURCES * in drm_pci_attach()91 sizeof(dev->bus_maps[0]), KM_SLEEP); in drm_pci_attach()94 struct drm_bus_map *const bm = &dev->bus_maps[unit]; in drm_pci_attach()151 kmem_free(dev->bus_maps, PCI_NUM_RESOURCES * sizeof(dev->bus_maps[0])); in drm_pci_detach()
287 struct drm_bus_map *bus_maps; member
111 struct drm_bus_map *const bm = &dev->bus_maps[unit]; in drm_legacy_ioremap()