Lines Matching refs:alias_data
1489 struct iommu_dev_data *dev_data, *alias_data; in __attach_device() local
1493 alias_data = get_dev_data(dev_data->alias); in __attach_device()
1495 if (!alias_data) in __attach_device()
1503 if (alias_data->domain != NULL && in __attach_device()
1504 alias_data->domain != domain) in __attach_device()
1513 alias_data = get_dev_data(dev_data->alias); in __attach_device()
1514 if (alias_data->domain == NULL) in __attach_device()
1517 atomic_inc(&alias_data->bind); in __attach_device()
1565 struct iommu_dev_data *alias_data; in __detach_device() local
1576 alias_data = get_dev_data(dev_data->alias); in __detach_device()
1577 if (atomic_dec_and_test(&alias_data->bind)) in __detach_device()
1616 struct iommu_dev_data *dev_data, *alias_data; in domain_for_device() local
1623 alias_data = get_dev_data(dev_data->alias); in domain_for_device()
1624 if (!alias_data) in domain_for_device()
1630 alias_data->domain != NULL) { in domain_for_device()
1631 __attach_device(dev, alias_data->domain); in domain_for_device()
1632 dom = alias_data->domain; in domain_for_device()