Lines Matching refs:devices

184 	struct dmar_dev_scope *devices;	/* target devices */
191 struct dmar_dev_scope *devices; /* target devices */
199 struct dmar_dev_scope *devices; /* target devices */
436 list_for_each_entry(info, &domain->devices, link) {
438 * There could possibly be multiple device numa nodes as devices
643 for_each_active_dev_scope(drhd->devices,
648 * we could do this for all PCI devices; we only need to
654 *bus = drhd->devices[i].bus;
655 *devfn = drhd->devices[i].devfn;
1261 list_for_each_entry(info, &domain->devices, link) {
1281 list_for_each_entry(info, &domain->devices, link) {
1300 * The extra devTLB flush quirk impacts those QAT devices with PCI device
1302 * check because it applies only to the built-in QAT devices and it doesn't
1328 undefined. So always enable PASID support on devices which
1479 * All iommu domains must have been detached from the devices,
1543 INIT_LIST_HEAD(&domain->devices);
1647 if (WARN_ON(!list_empty(&domain->devices)))
2081 * Identity map the RMRRs so that devices with RMRRs could also use
2085 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt,
2125 list_add(&info->link, &domain->devices);
2156 * We assume that PCI USB devices with RMRRs have them largely
2160 * The same exception is made for graphics devices, with the requirement that
2565 for_each_active_dev_scope(drhd->devices,
2568 /* ignore DMAR unit if no devices exist */
2578 for_each_active_dev_scope(drhd->devices,
2585 /* This IOMMU has *only* gfx devices. Either bypass it or
2750 rmrru->devices = dmar_alloc_dev_scope((void *)(rmrr + 1),
2753 if (rmrru->devices_cnt && rmrru->devices == NULL)
2810 atsru->devices = dmar_alloc_dev_scope((void *)(atsr + 1),
2813 if (atsru->devices_cnt && atsru->devices == NULL) {
2826 dmar_free_dev_scope(&atsru->devices, &atsru->devices_cnt);
2858 if (!atsru->include_all && atsru->devices && atsru->devices_cnt) {
2859 for_each_active_dev_scope(atsru->devices, atsru->devices_cnt,
2906 satcu->devices = dmar_alloc_dev_scope((void *)(satc + 1),
2909 if (satcu->devices_cnt && !satcu->devices) {
3018 dmar_free_dev_scope(&rmrru->devices, &rmrru->devices_cnt);
3028 dmar_free_dev_scope(&satcu->devices, &satcu->devices_cnt);
3047 for_each_dev_scope(satcu->devices, satcu->devices_cnt, i, tmp)
3099 for_each_dev_scope(atsru->devices, atsru->devices_cnt, i, tmp)
3132 rmrr->segment, rmrru->devices,
3138 rmrru->devices, rmrru->devices_cnt);
3150 atsr->segment, atsru->devices,
3158 atsru->devices, atsru->devices_cnt))
3167 satc->segment, satcu->devices,
3175 satcu->devices, satcu->devices_cnt))
3351 * map for all devices except those marked as being untrusted.
3371 for_each_active_dev_scope(drhd->devices,
3523 pr_warn("ACPI name space devices didn't probe correctly\n");
3556 * dependent devices. If multiple endpoints have intersecting dependent
3557 * devices, unbinding the driver from any one of them will possibly leave
3931 list_for_each_entry(info, &domain->devices, link) {
3955 list_for_each_entry(info, &domain->devices, link)
4126 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt,
4318 * marked as untrusted. Such devices should not be able to apply quirks and
4456 static int device_set_dirty_tracking(struct list_head *devices, bool enable)
4461 list_for_each_entry(info, devices, link) {
4481 ret = device_set_dirty_tracking(&s1_domain->devices, enable);
4492 device_set_dirty_tracking(&s1_domain->devices,
4510 ret = device_set_dirty_tracking(&dmar_domain->devices, enable);
4527 device_set_dirty_tracking(&dmar_domain->devices,