Lines Matching refs:ccdf
47 static void __zpci_event_error(struct zpci_ccdf_err *ccdf) in __zpci_event_error() argument
49 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
53 zpci_err_hex(ccdf, sizeof(*ccdf)); in __zpci_event_error()
59 pdev ? pci_name(pdev) : "n/a", ccdf->pec, ccdf->fid); in __zpci_event_error()
74 static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf) in __zpci_event_availability() argument
76 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
85 pdev ? pci_name(pdev) : "n/a", ccdf->pec, 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, 0); in __zpci_event_availability()
95 zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
100 zdev->fh = ccdf->fh; in __zpci_event_availability()
110 clp_add_pci_device(ccdf->fid, ccdf->fh, 0); in __zpci_event_availability()
138 zdev->fh = ccdf->fh; in __zpci_event_availability()
141 if (!clp_get_state(ccdf->fid, &state) && in __zpci_event_availability()