MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_pci_match_ids

Function rt_pci_match_ids

components/drivers/pci/pci.c:876–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874}
875
876const struct rt_pci_device_id *rt_pci_match_ids(struct rt_pci_device *pdev,
877 const struct rt_pci_device_id *ids)
878{
879 while (ids->vendor || ids->subsystem_vendor || ids->class_mask)
880 {
881 if (rt_pci_match_id(pdev, ids))
882 {
883 return ids;
884 }
885
886 ++ids;
887 }
888
889 return RT_NULL;
890}
891
892static struct rt_bus pci_bus;
893

Callers 1

pci_matchFunction · 0.85

Calls 1

rt_pci_match_idFunction · 0.85

Tested by

no test coverage detected