Lines Matching refs:dmar_devs
88 static device_t *dmar_devs;
196 dmar_devs = malloc(sizeof(device_t) * dmar_devcnt, M_DEVBUF,
204 dmar_devs[i] = BUS_ADD_CHILD(parent, 1, "dmar", i);
205 if (dmar_devs[i] == NULL) {
209 error = bus_set_resource(dmar_devs[i], SYS_RES_MEMORY,
215 device_delete_child(parent, dmar_devs[i]);
216 dmar_devs[i] = NULL;
753 if (dmar_devs[i] == NULL)
755 unit = device_get_softc(dmar_devs[i]);
786 if (dmar_devs[i] == NULL)
788 unit = device_get_softc(dmar_devs[i]);
822 dmar_dev = dmar_devs[i];
1214 unit = device_get_softc(dmar_devs[i]);
1240 unit = device_get_softc(dmar_devs[idx]);