Lines Matching refs:pci_ctl
241 struct pci_controller *pci_ctl; in fsl_pamu_attach_device() local
249 pci_ctl = pci_bus_to_host(pdev->bus); in fsl_pamu_attach_device()
255 dev = pci_ctl->parent; in fsl_pamu_attach_device()
293 struct pci_controller *pci_ctl; in fsl_pamu_detach_device() local
301 pci_ctl = pci_bus_to_host(pdev->bus); in fsl_pamu_detach_device()
307 dev = pci_ctl->parent; in fsl_pamu_detach_device()
348 static bool check_pci_ctl_endpt_part(struct pci_controller *pci_ctl) in check_pci_ctl_endpt_part() argument
353 version = in_be32(pci_ctl->cfg_addr + (PCI_FSL_BRR1 >> 2)); in check_pci_ctl_endpt_part()
387 struct pci_controller *pci_ctl; in get_pci_device_group() local
391 pci_ctl = pci_bus_to_host(pdev->bus); in get_pci_device_group()
392 pci_endpt_partitioning = check_pci_ctl_endpt_part(pci_ctl); in get_pci_device_group()
401 if (pci_ctl->parent->iommu_group) in get_pci_device_group()
402 iommu_group_remove_device(pci_ctl->parent); in get_pci_device_group()
414 if (pci_ctl->parent->iommu_group) { in get_pci_device_group()
415 group = get_device_iommu_group(pci_ctl->parent); in get_pci_device_group()
416 iommu_group_remove_device(pci_ctl->parent); in get_pci_device_group()