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)); in mio_enabled_show() local
48 return sprintf(buf, zpci_use_mio(zdev) ? "1\n" : "0\n"); in mio_enabled_show()
57 struct zpci_dev *zdev = to_zpci(pdev); in recover_store() local
85 ret = zpci_disable_device(zdev); in recover_store()
89 ret = zpci_enable_device(zdev); in recover_store()
92 pci_rescan_bus(zdev->zbus->bus); in recover_store()
108 struct zpci_dev *zdev = to_zpci(pdev); in util_string_read() local
110 return memory_read_from_buffer(buf, count, &off, zdev->util_str, in util_string_read()
111 sizeof(zdev->util_str)); in util_string_read()
122 struct zpci_dev *zdev = to_zpci(pdev); in report_error_write() local
128 ret = sclp_pci_report(report, zdev->fh, zdev->fid); in report_error_write()