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()
78 static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf) in __zpci_event_availability() argument
80 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 zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_CONFIGURED); in __zpci_event_availability()
98 zdev->fh = ccdf->fh; in __zpci_event_availability()
119 zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_STANDBY); in __zpci_event_availability()
122 zdev->fh = ccdf->fh; in __zpci_event_availability()
147 zdev->fh = ccdf->fh; in __zpci_event_availability()
150 if (!clp_get_state(ccdf->fid, &state) && in __zpci_event_availability()