Displaying 1 result from an estimated 1 matches for "pci_requester_id".
2013 Jul 24
2
[acooks@gmail.com: Re: [RFC PATCH v2 1/2] pci: Create PCIe requester ID interface]
...idge_uses_endpoint_requester(struct pci_dev *bridge)
>> > +{
>> > + if (!pci_is_pcie(bridge) && pci_is_root_bus(bridge->bus))
>> > + return true;
>> > +
>> > + return false;
>> > +}
>> > +
>> > +#define PCI_REQUESTER_ID(dev) (((dev)->bus->number << 8) | (dev)->devfn)
>> > +#define PCI_BRIDGE_REQUESTER_ID(dev) ((dev)->subordinate->number << 8)
>> > +
>> > +/*
>> > + * pci_get_visible_pcie_requester - Get requester and requester ID for
>>...