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()
84 zpci_err_hex(ccdf, sizeof(*ccdf)); in __zpci_event_availability()
86 switch (ccdf->pec) { in __zpci_event_availability()
89 zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_CONFIGURED); in __zpci_event_availability()
95 zdev->fh = ccdf->fh; in __zpci_event_availability()
116 zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_STANDBY); in __zpci_event_availability()
119 zdev->fh = ccdf->fh; in __zpci_event_availability()
144 zdev->fh = ccdf->fh; in __zpci_event_availability()
147 if (!clp_get_state(ccdf->fid, &state) && in __zpci_event_availability()