Lines Matching defs:devices

257 	struct dmar_dev_scope *devices;	/* target devices */
264 struct dmar_dev_scope *devices; /* target devices */
272 struct dmar_dev_scope *devices; /* target devices */
527 list_for_each_entry(info, &domain->devices, link) {
529 * There could possibly be multiple device numa nodes as devices
736 for_each_active_dev_scope(drhd->devices,
741 * we could do this for all PCI devices; we only need to
747 *bus = drhd->devices[i].bus;
748 *devfn = drhd->devices[i].devfn;
1353 list_for_each_entry(info, &domain->devices, link) {
1373 list_for_each_entry(info, &domain->devices, link) {
1392 * The extra devTLB flush quirk impacts those QAT devices with PCI device
1394 * check because it applies only to the built-in QAT devices and it doesn't
1420 undefined. So always enable PASID support on devices which
1480 list_for_each_entry(info, &domain->devices, link)
1510 if (!list_empty(&domain->devices))
1709 * All iommu domains must have been detached from the devices,
1773 INIT_LIST_HEAD(&domain->devices);
1871 if (WARN_ON(!list_empty(&domain->devices)))
2421 * Identity map the RMRRs so that devices with RMRRs could also use
2425 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt,
2463 list_add(&info->link, &domain->devices);
2503 * We assume that PCI USB devices with RMRRs have them largely
2507 * The same exception is made for graphics devices, with the requirement that
2922 for_each_active_dev_scope(drhd->devices,
2925 /* ignore DMAR unit if no devices exist */
2935 for_each_active_dev_scope(drhd->devices,
2942 /* This IOMMU has *only* gfx devices. Either bypass it or
3107 rmrru->devices = dmar_alloc_dev_scope((void *)(rmrr + 1),
3110 if (rmrru->devices_cnt && rmrru->devices == NULL)
3167 atsru->devices = dmar_alloc_dev_scope((void *)(atsr + 1),
3170 if (atsru->devices_cnt && atsru->devices == NULL) {
3183 dmar_free_dev_scope(&atsru->devices, &atsru->devices_cnt);
3215 if (!atsru->include_all && atsru->devices && atsru->devices_cnt) {
3216 for_each_active_dev_scope(atsru->devices, atsru->devices_cnt,
3263 satcu->devices = dmar_alloc_dev_scope((void *)(satc + 1),
3266 if (satcu->devices_cnt && !satcu->devices) {
3375 dmar_free_dev_scope(&rmrru->devices, &rmrru->devices_cnt);
3385 dmar_free_dev_scope(&satcu->devices, &satcu->devices_cnt);
3404 for_each_dev_scope(satcu->devices, satcu->devices_cnt, i, tmp)
3456 for_each_dev_scope(atsru->devices, atsru->devices_cnt, i, tmp)
3489 rmrr->segment, rmrru->devices,
3495 rmrru->devices, rmrru->devices_cnt);
3507 atsr->segment, atsru->devices,
3515 atsru->devices, atsru->devices_cnt))
3524 satc->segment, satcu->devices,
3532 satcu->devices, satcu->devices_cnt))
3717 * map for all devices except those marked as being untrusted.
3737 for_each_active_dev_scope(drhd->devices,
3889 pr_warn("ACPI name space devices didn't probe correctly\n");
3922 * dependent devices. If multiple endpoints have intersecting dependent
3923 * devices, unbinding the driver from any one of them will possibly leave
4276 list_for_each_entry(info, &domain->devices, link) {
4300 list_for_each_entry(info, &domain->devices, link)
4447 for_each_active_dev_scope(rmrr->devices, rmrr->devices_cnt,
4654 * marked as untrusted. Such devices should not be able to apply quirks and