Lines Matching refs:drhd

463 	struct dmar_drhd_unit *drhd;
481 for_each_active_iommu(iommu, drhd) {
493 struct dmar_drhd_unit *drhd;
502 for_each_active_iommu(iommu, drhd) {
661 struct dmar_drhd_unit *drhd;
679 drhd = dmar_find_matched_drhd_unit(pdev);
680 if (!drhd || drhd->reg_base_addr - vtbar != 0xa000) {
691 if (!iommu || iommu->drhd->ignored)
708 struct dmar_drhd_unit *drhd = NULL;
732 for_each_iommu(iommu, drhd) {
733 if (pdev && segment != drhd->segment)
736 for_each_active_dev_scope(drhd->devices,
737 drhd->devices_cnt, i, tmp) {
747 *bus = drhd->devices[i].bus;
748 *devfn = drhd->devices[i].devfn;
757 if (pdev && drhd->include_all) {
1653 if (iommu_skip_te_disable && iommu->drhd->gfx_dedicated &&
2759 struct dmar_drhd_unit *drhd;
2767 for_each_iommu(iommu, drhd) {
2768 if (drhd->ignored) {
2843 for_each_active_iommu(iommu, drhd) {
2862 * for each drhd
2868 for_each_iommu(iommu, drhd) {
2869 if (drhd->ignored) {
2902 for_each_active_iommu(iommu, drhd) {
2916 struct dmar_drhd_unit *drhd;
2920 for_each_drhd_unit(drhd) {
2921 if (!drhd->include_all) {
2922 for_each_active_dev_scope(drhd->devices,
2923 drhd->devices_cnt, i, dev)
2926 if (i == drhd->devices_cnt)
2927 drhd->ignored = 1;
2931 for_each_active_drhd_unit(drhd) {
2932 if (drhd->include_all)
2935 for_each_active_dev_scope(drhd->devices,
2936 drhd->devices_cnt, i, dev)
2939 if (i < drhd->devices_cnt)
2944 drhd->gfx_dedicated = 1;
2946 drhd->ignored = 1;
2953 struct dmar_drhd_unit *drhd;
2957 for_each_active_iommu(iommu, drhd) {
2965 for_each_iommu(iommu, drhd) {
2966 if (drhd->ignored) {
2987 struct dmar_drhd_unit *drhd;
2990 for_each_active_iommu(iommu, drhd) {
3000 struct dmar_drhd_unit *drhd;
3006 for_each_active_iommu(iommu, drhd) {
3027 struct dmar_drhd_unit *drhd;
3039 for_each_active_iommu(iommu, drhd) {
3561 struct dmar_drhd_unit *drhd;
3568 for_each_active_iommu(iommu, drhd)
3589 struct dmar_drhd_unit *drhd;
3591 for_each_iommu(iommu, drhd)
3597 struct dmar_drhd_unit *drhd;
3606 for_each_iommu(iommu, drhd)
3730 struct dmar_drhd_unit *drhd;
3736 for_each_active_iommu(iommu, drhd) {
3737 for_each_active_dev_scope(drhd->devices,
3738 drhd->devices_cnt, i, dev) {
3780 struct dmar_drhd_unit *drhd;
3826 for_each_iommu(iommu, drhd)
3862 for_each_active_iommu(iommu, drhd) {
3892 for_each_iommu(iommu, drhd) {
3893 if (!drhd->ignored && !translation_pre_enabled(iommu))