Lines Matching refs:ccdf
258 static void __zpci_event_error(struct zpci_ccdf_err *ccdf) in __zpci_event_error() argument
260 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_error()
265 ccdf->fid, ccdf->fh, ccdf->pec); in __zpci_event_error()
267 zpci_err_hex(ccdf, sizeof(*ccdf)); in __zpci_event_error()
271 zpci_update_fh(zdev, ccdf->fh); in __zpci_event_error()
277 pdev ? pci_name(pdev) : "n/a", ccdf->pec, ccdf->fid); in __zpci_event_error()
282 switch (ccdf->pec) { in __zpci_event_error()
325 static void __zpci_event_availability(struct zpci_ccdf_avail *ccdf) in __zpci_event_availability() argument
327 struct zpci_dev *zdev = get_zdev_by_fid(ccdf->fid); in __zpci_event_availability()
332 ccdf->fid, ccdf->fh, ccdf->pec); in __zpci_event_availability()
337 switch (ccdf->pec) { in __zpci_event_availability()
340 zdev = zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_CONFIGURED); in __zpci_event_availability()
353 zpci_scan_configured_device(zdev, ccdf->fh); in __zpci_event_availability()
357 zdev = zpci_create_device(ccdf->fid, ccdf->fh, ZPCI_FN_STATE_STANDBY); in __zpci_event_availability()
365 zpci_update_fh(zdev, ccdf->fh); in __zpci_event_availability()
375 zpci_update_fh(zdev, ccdf->fh); in __zpci_event_availability()
385 zpci_event_hard_deconfigured(zdev, ccdf->fh); in __zpci_event_availability()