Lines Matching refs:ccdf
251 static void __zpci_event_error(struct zpci_ccdf_err *ccdf) in __zpci_event_error() argument
253 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
258 ccdf->fid, ccdf->fh, ccdf->pec); in __zpci_event_error()
260 zpci_err_hex(ccdf, sizeof(*ccdf)); in __zpci_event_error()
263 zpci_update_fh(zdev, ccdf->fh); in __zpci_event_error()
269 pdev ? pci_name(pdev) : "n/a", ccdf->pec, ccdf->fid); in __zpci_event_error()
274 switch (ccdf->pec) { in __zpci_event_error()
316 static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf) in __zpci_event_availability() argument
318 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
323 ccdf->fid, ccdf->fh, ccdf->pec); in __zpci_event_availability()
324 switch (ccdf->pec) { in __zpci_event_availability()
327 zdev = zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_CONFIGURED); in __zpci_event_availability()
336 zpci_scan_configured_device(zdev, ccdf->fh); in __zpci_event_availability()
340 zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_STANDBY); in __zpci_event_availability()
342 zpci_update_fh(zdev, ccdf->fh); in __zpci_event_availability()
351 zpci_update_fh(zdev, ccdf->fh); in __zpci_event_availability()
361 zpci_event_hard_deconfigured(zdev, ccdf->fh); in __zpci_event_availability()