Lines Matching refs:dev
20 struct pci_dev *dev; member
61 static void mmio_print_pcidev(struct trace_seq *s, const struct pci_dev *dev) in mmio_print_pcidev() argument
65 const struct pci_driver *drv = pci_dev_driver(dev); in mmio_print_pcidev()
68 dev->bus->number, dev->devfn, in mmio_print_pcidev()
69 dev->vendor, dev->device, dev->irq); in mmio_print_pcidev()
71 start = dev->resource[i].start; in mmio_print_pcidev()
74 (dev->resource[i].flags & PCI_REGION_FLAG_MASK))); in mmio_print_pcidev()
77 start = dev->resource[i].start; in mmio_print_pcidev()
78 end = dev->resource[i].end; in mmio_print_pcidev()
80 dev->resource[i].start < dev->resource[i].end ? in mmio_print_pcidev()
93 pci_dev_put(hiter->dev); in destroy_header_iter()
108 hiter->dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL); in mmio_pipe_open()
152 mmio_print_pcidev(s, hiter->dev); in mmio_read()
153 hiter->dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, hiter->dev); in mmio_read()
155 if (!hiter->dev) { in mmio_read()