Lines Matching refs:ir_data

4356 			       struct amd_ir_data *ir_data,
4398 struct amd_ir_data *ir_data = (struct amd_ir_data *)data; in amd_iommu_activate_guest_mode() local
4399 struct irte_ga *entry = (struct irte_ga *) ir_data->entry; in amd_iommu_activate_guest_mode()
4410 entry->hi.fields.ga_root_ptr = ir_data->ga_root_ptr; in amd_iommu_activate_guest_mode()
4411 entry->hi.fields.vector = ir_data->ga_vector; in amd_iommu_activate_guest_mode()
4412 entry->lo.fields_vapic.ga_tag = ir_data->ga_tag; in amd_iommu_activate_guest_mode()
4414 return modify_irte_ga(ir_data->irq_2_irte.devid, in amd_iommu_activate_guest_mode()
4415 ir_data->irq_2_irte.index, entry, NULL); in amd_iommu_activate_guest_mode()
4421 struct amd_ir_data *ir_data = (struct amd_ir_data *)data; in amd_iommu_deactivate_guest_mode() local
4422 struct irte_ga *entry = (struct irte_ga *) ir_data->entry; in amd_iommu_deactivate_guest_mode()
4423 struct irq_cfg *cfg = ir_data->cfg; in amd_iommu_deactivate_guest_mode()
4440 return modify_irte_ga(ir_data->irq_2_irte.devid, in amd_iommu_deactivate_guest_mode()
4441 ir_data->irq_2_irte.index, entry, NULL); in amd_iommu_deactivate_guest_mode()
4451 struct amd_ir_data *ir_data = data->chip_data; in amd_ir_set_vcpu_affinity() local
4452 struct irq_2_irte *irte_info = &ir_data->irq_2_irte; in amd_ir_set_vcpu_affinity()
4462 ir_data->cfg = irqd_cfg(data); in amd_ir_set_vcpu_affinity()
4463 pi_data->ir_data = ir_data; in amd_ir_set_vcpu_affinity()
4479 pi_data->prev_ga_tag = ir_data->cached_ga_tag; in amd_ir_set_vcpu_affinity()
4481 ir_data->ga_root_ptr = (pi_data->base >> 12); in amd_ir_set_vcpu_affinity()
4482 ir_data->ga_vector = vcpu_pi_info->vector; in amd_ir_set_vcpu_affinity()
4483 ir_data->ga_tag = pi_data->ga_tag; in amd_ir_set_vcpu_affinity()
4484 ret = amd_iommu_activate_guest_mode(ir_data); in amd_ir_set_vcpu_affinity()
4486 ir_data->cached_ga_tag = pi_data->ga_tag; in amd_ir_set_vcpu_affinity()
4488 ret = amd_iommu_deactivate_guest_mode(ir_data); in amd_ir_set_vcpu_affinity()
4495 ir_data->cached_ga_tag = 0; in amd_ir_set_vcpu_affinity()
4503 struct amd_ir_data *ir_data, in amd_ir_update_irte() argument
4512 iommu->irte_ops->set_affinity(ir_data->entry, irte_info->devid, in amd_ir_update_irte()
4520 struct amd_ir_data *ir_data = data->chip_data; in amd_ir_set_affinity() local
4521 struct irq_2_irte *irte_info = &ir_data->irq_2_irte; in amd_ir_set_affinity()
4534 amd_ir_update_irte(data, iommu, ir_data, irte_info, cfg); in amd_ir_set_affinity()
4547 struct amd_ir_data *ir_data = irq_data->chip_data; in ir_compose_msi_msg() local
4549 *msg = ir_data->msi_entry; in ir_compose_msi_msg()
4584 struct amd_ir_data *ir_data = (struct amd_ir_data *)data; in amd_iommu_update_ga() local
4585 int devid = ir_data->irq_2_irte.devid; in amd_iommu_update_ga()
4586 struct irte_ga *entry = (struct irte_ga *) ir_data->entry; in amd_iommu_update_ga()
4587 struct irte_ga *ref = (struct irte_ga *) ir_data->ref; in amd_iommu_update_ga()