Lines Matching refs:drhd

644 	struct dmar_drhd_unit *drhd;
663 for_each_active_iommu(iommu, drhd) {
674 struct dmar_drhd_unit *drhd;
679 for_each_active_iommu(iommu, drhd) {
702 struct dmar_drhd_unit *drhd;
712 for_each_active_iommu(iommu, drhd) {
853 struct dmar_drhd_unit *drhd;
871 drhd = dmar_find_matched_drhd_unit(pdev);
872 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) {
883 if (!iommu || iommu->drhd->ignored)
900 struct dmar_drhd_unit *drhd = NULL;
924 for_each_iommu(iommu, drhd) {
925 if (pdev && segment != drhd->segment)
928 for_each_active_dev_scope(drhd->devices,
929 drhd->devices_cnt, i, tmp) {
939 *bus = drhd->devices[i].bus;
940 *devfn = drhd->devices[i].devfn;
949 if (pdev && drhd->include_all) {
1785 if (iommu_skip_te_disable && iommu->drhd->gfx_dedicated &&
1918 struct dmar_drhd_unit *drhd;
1928 for_each_active_iommu(iommu, drhd) {
3325 struct dmar_drhd_unit *drhd;
3330 * for each drhd
3335 for_each_drhd_unit(drhd) {
3360 for_each_iommu(iommu, drhd) {
3361 if (drhd->ignored) {
3443 for_each_active_iommu(iommu, drhd) {
3465 * for each drhd
3471 for_each_iommu(iommu, drhd) {
3472 if (drhd->ignored) {
3505 for_each_active_iommu(iommu, drhd) {
4174 struct dmar_drhd_unit *drhd;
4178 for_each_drhd_unit(drhd) {
4179 if (!drhd->include_all) {
4180 for_each_active_dev_scope(drhd->devices,
4181 drhd->devices_cnt, i, dev)
4184 if (i == drhd->devices_cnt)
4185 drhd->ignored = 1;
4189 for_each_active_drhd_unit(drhd) {
4190 if (drhd->include_all)
4193 for_each_active_dev_scope(drhd->devices,
4194 drhd->devices_cnt, i, dev)
4197 if (i < drhd->devices_cnt)
4202 drhd->gfx_dedicated = 1;
4204 drhd->ignored = 1;
4211 struct dmar_drhd_unit *drhd;
4214 for_each_active_iommu(iommu, drhd)
4218 for_each_iommu(iommu, drhd) {
4219 if (drhd->ignored) {
4240 struct dmar_drhd_unit *drhd;
4243 for_each_active_iommu(iommu, drhd) {
4253 struct dmar_drhd_unit *drhd;
4257 for_each_active_iommu(iommu, drhd) {
4266 for_each_active_iommu(iommu, drhd) {
4285 for_each_active_iommu(iommu, drhd)
4293 struct dmar_drhd_unit *drhd;
4305 for_each_active_iommu(iommu, drhd) {
4321 for_each_active_iommu(iommu, drhd)
4723 struct dmar_drhd_unit *drhd;
4731 for_each_active_iommu(iommu, drhd)
4781 struct dmar_drhd_unit *drhd;
4783 for_each_iommu(iommu, drhd)
4789 struct dmar_drhd_unit *drhd;
4798 for_each_iommu(iommu, drhd)
4927 struct dmar_drhd_unit *drhd;
4933 for_each_active_iommu(iommu, drhd) {
4934 for_each_active_dev_scope(drhd->devices,
4935 drhd->devices_cnt, i, dev) {
4971 struct dmar_drhd_unit *drhd;
5023 for_each_iommu(iommu, drhd)
5065 for_each_active_iommu(iommu, drhd) {
5085 for_each_iommu(iommu, drhd) {
5086 if (!drhd->ignored && !translation_pre_enabled(iommu))
5753 struct dmar_drhd_unit *drhd;
5758 for_each_active_iommu(iommu, drhd) {
5771 struct dmar_drhd_unit *drhd;
5776 for_each_active_iommu(iommu, drhd) {
5789 struct dmar_drhd_unit *drhd;
5794 for_each_active_iommu(iommu, drhd) {