Lines Matching defs:devid
159 u32 devid = get_acpihid_device_id(dev, NULL); in get_device_segment() local
168 void amd_iommu_set_rlookup_table(struct amd_iommu *iommu, u16 devid) in amd_iommu_set_rlookup_table()
175 static struct amd_iommu *__rlookup_amd_iommu(u16 seg, u16 devid) in __rlookup_amd_iommu()
189 int devid = get_device_sbdf_id(dev); in rlookup_amd_iommu() local
196 static struct iommu_dev_data *alloc_dev_data(struct amd_iommu *iommu, u16 devid) in alloc_dev_data()
213 static struct iommu_dev_data *search_dev_data(struct amd_iommu *iommu, u16 devid) in search_dev_data()
235 u16 devid = pci_dev_id(pdev); in clone_alias() local
293 static struct iommu_dev_data *find_dev_data(struct amd_iommu *iommu, u16 devid) in find_dev_data()
317 int devid; in acpihid_device_group() local
483 int devid, sbdf; in check_device() local
508 int devid, sbdf; in iommu_init_device() local
545 int devid, sbdf; in iommu_ignore_device() local
581 static void dump_dte_entry(struct amd_iommu *iommu, u16 devid) in dump_dte_entry()
602 int devid, vmg_tag, flags; in amd_iommu_report_rmp_hw_error() local
634 int devid, flags_rmp, vmg_tag, flags; in amd_iommu_report_rmp_fault() local
671 u16 devid, u16 domain_id, in amd_iommu_report_page_fault()
724 int type, devid, flags, tag; in iommu_print_event() local
1039 static void build_inv_dte(struct iommu_cmd *cmd, u16 devid) in build_inv_dte()
1108 static void build_inv_iotlb_pages(struct iommu_cmd *cmd, u16 devid, int qdep, in build_inv_iotlb_pages()
1130 static void build_complete_ppr(struct iommu_cmd *cmd, u16 devid, u32 pasid, in build_complete_ppr()
1152 static void build_inv_irt(struct iommu_cmd *cmd, u16 devid) in build_inv_irt()
1266 static int iommu_flush_dte(struct amd_iommu *iommu, u16 devid) in iommu_flush_dte()
1277 u32 devid; in amd_iommu_flush_dte_all() local
1326 static void iommu_flush_irt(struct amd_iommu *iommu, u16 devid) in iommu_flush_irt()
1337 u32 devid; in amd_iommu_flush_irt_all() local
1851 u16 devid = dev_data->devid; in set_dte_entry() local
1940 static void clear_dte_entry(struct amd_iommu *iommu, u16 devid) in clear_dte_entry()
2690 int devid, sbdf; in amd_iommu_get_resv_regions() local
2882 static void iommu_flush_irt_and_complete(struct amd_iommu *iommu, u16 devid) in iommu_flush_irt_and_complete()
2908 static void set_dte_irq_entry(struct amd_iommu *iommu, u16 devid, in set_dte_irq_entry()
2924 static struct irq_remap_table *get_irq_table(struct amd_iommu *iommu, u16 devid) in get_irq_table()
2966 static void set_remap_table_entry(struct amd_iommu *iommu, u16 devid, in set_remap_table_entry()
2995 u16 devid, struct pci_dev *pdev) in alloc_irq_table()
3060 static int alloc_irq_index(struct amd_iommu *iommu, u16 devid, int count, in alloc_irq_index()
3106 static int __modify_irte_ga(struct amd_iommu *iommu, u16 devid, int index, in __modify_irte_ga()
3137 static int modify_irte_ga(struct amd_iommu *iommu, u16 devid, int index, in modify_irte_ga()
3152 u16 devid, int index, union irte *irte) in modify_irte()
3170 static void free_irte(struct amd_iommu *iommu, u16 devid, int index) in free_irte()
3188 u8 vector, u32 dest_apicid, int devid) in irte_prepare()
3202 u8 vector, u32 dest_apicid, int devid) in irte_ga_prepare()
3216 static void irte_activate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) in irte_activate()
3224 static void irte_ga_activate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) in irte_ga_activate()
3232 static void irte_deactivate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) in irte_deactivate()
3240 static void irte_ga_deactivate(struct amd_iommu *iommu, void *entry, u16 devid, u16 index) in irte_ga_deactivate()
3248 static void irte_set_affinity(struct amd_iommu *iommu, void *entry, u16 devid, u16 index, in irte_set_affinity()
3258 static void irte_ga_set_affinity(struct amd_iommu *iommu, void *entry, u16 devid, u16 index, in irte_ga_set_affinity()
3354 int devid, int index, int sub_handle) in irq_remapping_prepare_irte()
3410 int i, ret, devid, seg, sbdf; in irq_remapping_alloc() local
3572 int devid = -1; in irq_remapping_select() local