Lines Matching refs:dev
22 struct pci_dev *dev; member
63 static void mmio_print_pcidev(struct trace_seq *s, const struct pci_dev *dev) in mmio_print_pcidev() argument
67 const struct pci_driver *drv = pci_dev_driver(dev); in mmio_print_pcidev()
70 dev->bus->number, dev->devfn, in mmio_print_pcidev()
71 dev->vendor, dev->device, dev->irq); in mmio_print_pcidev()
73 start = dev->resource[i].start; in mmio_print_pcidev()
76 (dev->resource[i].flags & PCI_REGION_FLAG_MASK))); in mmio_print_pcidev()
79 start = dev->resource[i].start; in mmio_print_pcidev()
80 end = dev->resource[i].end; in mmio_print_pcidev()
82 dev->resource[i].start < dev->resource[i].end ? in mmio_print_pcidev()
95 pci_dev_put(hiter->dev); in destroy_header_iter()
110 hiter->dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, NULL); in mmio_pipe_open()
154 mmio_print_pcidev(s, hiter->dev); in mmio_read()
155 hiter->dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, hiter->dev); in mmio_read()
157 if (!hiter->dev) { in mmio_read()