Home
last modified time | relevance | path

Searched refs:pdev_cur (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/crypto/ccp/
H A Dsp-pci.c184 struct pci_dev *pdev_cur, *pdev_new; in sp_pci_is_master() local
190 pdev_cur = to_pci_dev(dev_cur); in sp_pci_is_master()
192 if (pci_domain_nr(pdev_new->bus) != pci_domain_nr(pdev_cur->bus)) in sp_pci_is_master()
193 return pci_domain_nr(pdev_new->bus) < pci_domain_nr(pdev_cur->bus); in sp_pci_is_master()
195 if (pdev_new->bus->number != pdev_cur->bus->number) in sp_pci_is_master()
196 return pdev_new->bus->number < pdev_cur->bus->number; in sp_pci_is_master()
198 if (PCI_SLOT(pdev_new->devfn) != PCI_SLOT(pdev_cur->devfn)) in sp_pci_is_master()
199 return PCI_SLOT(pdev_new->devfn) < PCI_SLOT(pdev_cur->devfn); in sp_pci_is_master()
201 if (PCI_FUNC(pdev_new->devfn) != PCI_FUNC(pdev_cur->devfn)) in sp_pci_is_master()
202 return PCI_FUNC(pdev_new->devfn) < PCI_FUNC(pdev_cur->devfn); in sp_pci_is_master()