Lines Matching defs:error
294 int error;
305 error = entry->setup(ahd);
306 if (error != 0)
307 return (error);
321 error = ahd_pci_map_registers(ahd);
322 if (error != 0)
323 return (error);
347 error = ahd_softc_init(ahd);
348 if (error != 0)
349 return (error);
353 error = ahd_reset(ahd, /*reinit*/FALSE);
354 if (error != 0)
364 error = ahd_check_extport(ahd);
365 if (error != 0)
366 return (error);
369 error = ahd_init(ahd);
370 if (error != 0)
371 return (error);
419 int error;
422 error = EIO;
425 * Enable PCI error interrupt status, but suppress NMIs
480 error = 0;
498 return (error);
512 int error;
530 error = ahd_read_seeprom(ahd, (uint16_t *)&vpd,
533 if (error == 0)
534 error = ahd_parse_vpddata(ahd, &vpd);
538 error == 0 ? "successful" : "failed");
546 error = ahd_read_seeprom(ahd, (uint16_t *)sc,
550 if (error != 0) {
558 printk ("checksum error\n");
622 error = ahd_default_config(ahd);
627 error = ahd_parse_cfgdata(ahd, sc);
630 if (error != 0)
631 return (error);
641 int error;
663 error = ahd_read_flexport(ahd, FLXADDR_TERMCTL, &termctl);
673 } else if (error != 0) {
688 } else if (error != 0) {
707 error = ahd_write_flexport(ahd, FLXADDR_TERMCTL, termctl);
708 if (error != 0) {
761 "%s: Received split completion error message in %s\n",
765 "%s: Split completion address error in %s\n",
766 "%s: Split completion byte count error in %s\n",
773 "%s: Target initial wait state error in %s\n",
774 "%s: Split completion read data parity error in %s\n",
775 "%s: Split completion address attribute parity error in %s\n",
800 printk("%s: PCI error Interrupt\n", ahd_name(ahd));