Lines Matching defs:pci_dev
132 struct pci_dev *pci_dev = to_pci_dev(ab->dev);
134 return pci_irq_vector(pci_dev, vector);
391 struct pci_dev *dev = ab_pci->pdev;
418 struct pci_dev *pci_dev = ab_pci->pdev;
423 num_vectors = pci_alloc_irq_vectors(pci_dev,
455 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_LO,
459 pci_read_config_dword(pci_dev, pci_dev->msi_cap + PCI_MSI_ADDRESS_HI,
500 static int ath11k_pci_claim(struct ath11k_pci *ab_pci, struct pci_dev *pdev)
576 struct pci_dev *pci_dev = ab_pci->pdev;
578 pci_iounmap(pci_dev, ab->mem);
580 pci_release_region(pci_dev, ATH11K_PCI_BAR_NUM);
581 if (pci_is_enabled(pci_dev))
582 pci_disable_device(pci_dev);
741 static int ath11k_pci_probe(struct pci_dev *pdev,
742 const struct pci_device_id *pci_dev)
760 ab_pci->dev_id = pci_dev->device;
791 switch (pci_dev->device) {
868 pci_dev->device);
965 static void ath11k_pci_remove(struct pci_dev *pdev)
995 static void ath11k_pci_shutdown(struct pci_dev *pdev)