Lines Matching refs:dev
110 pci_setup_cache(d->dev, d->config, d->dev->cache_len); in config_fetch()
112 result = pci_read_block(d->dev, pos, d->config + pos, len); in config_fetch()
129 d->dev = p; in scan_device()
209 const struct pci_dev *a = (*(const struct device **)A)->dev; in compare_them()
210 const struct pci_dev *b = (*(const struct device **)B)->dev; in compare_them()
220 if (a->dev < b->dev) in compare_them()
222 if (a->dev > b->dev) in compare_them()
261 struct pci_dev *p = d->dev; in show_slot_path()
272 printf("/%02x:%02x.%d", p->bus, p->dev, p->func); in show_slot_path()
274 printf("/%02x.%d", p->dev, p->func); in show_slot_path()
278 printf("%02x:%02x.%d", p->bus, p->dev, p->func); in show_slot_path()
284 struct pci_dev *p = d->dev; in show_slot_name()
295 struct pci_dev *p = d->dev; in show_terse()
400 struct pci_dev *p = d->dev; in show_bases()
497 struct pci_dev *p = d->dev; in show_rom()
548 struct pci_dev *p = d->dev; in show_htype1()
754 struct pci_dev *p = d->dev; in show_htype_unknown()
796 struct pci_dev *p = d->dev; in show_verbose()
1014 struct pci_dev *p = d->dev; in show_machine()
1103 if (pci_filter_match(&filter, d->dev)) in show()