Lines Matching refs:zdev
24 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev)); \
26 return sprintf(buf, fmt, zdev->member); \
46 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev));
48 return sprintf(buf, zpci_use_mio(zdev) ? "1\n" : "0\n");
57 struct zpci_dev *zdev = to_zpci(pdev);
85 if (zdev->dma_table) {
86 ret = zpci_dma_exit_device(zdev);
91 if (zdev_enabled(zdev)) {
92 ret = zpci_disable_device(zdev);
105 ret = zpci_enable_device(zdev);
108 ret = zpci_dma_init_device(zdev);
110 zpci_disable_device(zdev);
113 pci_rescan_bus(zdev->zbus->bus);
129 struct zpci_dev *zdev = to_zpci(pdev);
131 return memory_read_from_buffer(buf, count, &off, zdev->util_str,
132 sizeof(zdev->util_str));
143 struct zpci_dev *zdev = to_zpci(pdev);
149 ret = sclp_pci_report(report, zdev->fh, zdev->fid);
167 struct zpci_dev *zdev = to_zpci(to_pci_dev(dev));
171 index = zdev->uid;