Lines Matching refs:ccdf
49 static void __zpci_event_error(struct zpci_ccdf_err *ccdf) in __zpci_event_error() argument
51 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
55 zpci_err_hex(ccdf, sizeof(*ccdf)); in __zpci_event_error()
61 pdev ? pci_name(pdev) : "n/a", ccdf->pec, ccdf->fid); in __zpci_event_error()
76 static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf) in __zpci_event_availability() argument
78 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
87 zpci_err_hex(ccdf, sizeof(*ccdf)); in __zpci_event_availability()
89 switch (ccdf->pec) { in __zpci_event_availability()
92 ret = clp_add_pci_device(ccdf->fid, ccdf->fh, 1); in __zpci_event_availability()
98 zdev->fh = ccdf->fh; in __zpci_event_availability()
119 clp_add_pci_device(ccdf->fid, ccdf->fh, 0); in __zpci_event_availability()
122 zdev->fh = ccdf->fh; in __zpci_event_availability()
150 zdev->fh = ccdf->fh; in __zpci_event_availability()
153 if (!clp_get_state(ccdf->fid, &state) && in __zpci_event_availability()