/drivers/ide/ |
D | ide-eh.c | 15 rq->errors |= ERROR_RESET; in ide_ata_error() 28 rq->errors = ERROR_MAX; in ide_ata_error() 31 rq->errors |= ERROR_RECAL; in ide_ata_error() 42 if (rq->errors >= ERROR_MAX || blk_noretry_request(rq)) { in ide_ata_error() 48 rq->errors |= ERROR_RESET; in ide_ata_error() 50 if ((rq->errors & ERROR_RESET) == ERROR_RESET) { in ide_ata_error() 51 ++rq->errors; in ide_ata_error() 55 if ((rq->errors & ERROR_RECAL) == ERROR_RECAL) in ide_ata_error() 58 ++rq->errors; in ide_ata_error() 71 rq->errors |= ERROR_RESET; in ide_atapi_error() [all …]
|
D | ide-floppy.c | 101 rq->errors = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_floppy_callback() 242 if (rq->errors >= ERROR_MAX) { in ide_floppy_do_request() 250 rq->errors = 0; in ide_floppy_do_request() 299 if (rq->cmd_type != REQ_TYPE_FS && rq->errors == 0) in ide_floppy_do_request() 300 rq->errors = -EIO; in ide_floppy_do_request()
|
D | ide-devsets.c | 176 ret = rq->errors; in ide_devset_execute() 188 rq->errors = err; in ide_do_devset()
|
D | ide-io.c | 144 rq->errors = 0; in ide_kill_rq() 147 rq->errors = IDE_DRV_ERROR_GENERAL; in ide_kill_rq() 148 else if (rq->cmd_type != REQ_TYPE_FS && rq->errors == 0) in ide_kill_rq() 149 rq->errors = -EIO; in ide_kill_rq() 274 rq->errors = 0; in execute_drive_cmd()
|
/drivers/macintosh/ |
D | windfarm_pid.c | 47 st->errors[i] = error; in wf_pid_run() 54 st->errors[st->index] = error; in wf_pid_run() 59 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 63 deriv = st->errors[st->index] - in wf_pid_run() 64 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 102 st->errors[i] = error; in wf_cpu_pid_run() 110 st->errors[st->index] = error; in wf_cpu_pid_run() 117 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()
|
D | windfarm_pid.h | 40 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */ member 77 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */ member
|
/drivers/usb/ |
D | usb-skeleton.c | 62 int errors; /* the last request tanked */ member 161 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush() 162 dev->errors = 0; in skel_flush() 185 dev->errors = urb->status; in skel_read_bulk_callback() 289 rv = dev->errors; in skel_read() 292 dev->errors = 0; in skel_read() 371 dev->errors = urb->status; in skel_write_bulk_callback() 413 retval = dev->errors; in skel_write() 416 dev->errors = 0; in skel_write() 659 dev->errors = -EPIPE; in skel_post_reset()
|
/drivers/edac/ |
D | e752x_edac.c | 488 static void do_global_error(int fatal, u32 errors) in do_global_error() argument 493 if (errors & (1 << i)) { in do_global_error() 506 static inline void global_error(int fatal, u32 errors, int *error_found, in global_error() argument 512 do_global_error(fatal, errors); in global_error() 522 static void do_hub_error(int fatal, u8 errors) in do_hub_error() argument 527 if (errors & (1 << i)) in do_hub_error() 533 static inline void hub_error(int fatal, u8 errors, int *error_found, in hub_error() argument 539 do_hub_error(fatal, errors); in hub_error() 579 static void do_nsi_error(int fatal, u32 errors) in do_nsi_error() argument 584 if (errors & (1 << i)) in do_nsi_error() [all …]
|
D | i7300_edac.c | 376 unsigned long errors; in i7300_process_error_global() local 386 errors = error_reg; in i7300_process_error_global() 387 errnum = find_first_bit(&errors, in i7300_process_error_global() 402 errors = error_reg; in i7300_process_error_global() 403 errnum = find_first_bit(&errors, in i7300_process_error_global() 435 unsigned long errors; in i7300_process_fbd_error() local 445 errors = error_reg & FERR_FAT_FBD_ERR_MASK ; in i7300_process_fbd_error() 446 errnum = find_first_bit(&errors, in i7300_process_fbd_error() 472 errors, specific); in i7300_process_fbd_error() 484 errors = error_reg & FERR_NF_FBD_ERR_MASK; in i7300_process_fbd_error() [all …]
|
D | Kconfig | 12 EDAC is designed to report errors in the core system. 13 These are low-level errors that are reported in the CPU or 15 memory errors, cache errors, PCI errors, thermal throttling, etc.. 67 Some systems are able to detect and correct errors in main 70 errors). EDAC will also try to decode where these errors 78 Support for error detection and correction of DRAM ECC errors on 88 errors into DRAM.
|
/drivers/acpi/apei/ |
D | Kconfig | 7 APEI allows to report errors (for example from the chipset) 20 platform hardware errors (such as that from chipset). It 22 errors are reported to firmware firstly, then reported to 32 PCIe AER errors may be reported via APEI firmware first mode. 39 Memory errors may be reported via APEI firmware first mode.
|
/drivers/staging/comedi/drivers/ |
D | jr3_pci.c | 119 u16 errors; member 279 (get_u16(&p->channel->errors) & (watch_dog | watch_dog2 | in jr3_pci_ai_insn_read() 517 int errors = get_u16(&channel->errors); in jr3_pci_poll_subdevice() local 519 if (errors != p->errors) { in jr3_pci_poll_subdevice() 520 printk("Errors: %x -> %x\n", p->errors, errors); in jr3_pci_poll_subdevice() 521 p->errors = errors; in jr3_pci_poll_subdevice() 523 if (errors & (watch_dog | watch_dog2 | sensor_change)) { in jr3_pci_poll_subdevice() 532 if ((errors & (watch_dog | watch_dog2)) || in jr3_pci_poll_subdevice()
|
D | amplc_pci230.c | 1432 unsigned int errors; in pci230_ao_cmdtest() local 1439 errors = 0; in pci230_ao_cmdtest() 1445 errors |= seq_err; in pci230_ao_cmdtest() 1449 errors |= range_err; in pci230_ao_cmdtest() 1453 if (errors != 0) { in pci230_ao_cmdtest() 1455 if ((errors & seq_err) != 0) { in pci230_ao_cmdtest() 1460 if ((errors & range_err) != 0) { in pci230_ao_cmdtest() 1961 unsigned int errors; in pci230_ai_cmdtest() local 1970 errors = 0; in pci230_ai_cmdtest() 1982 errors |= diffchan_err; in pci230_ai_cmdtest() [all …]
|
/drivers/net/wireless/iwlwifi/ |
D | iwl-core.c | 392 u32 errors = 0; in iwl_check_rxon_cmd() local 397 errors |= BIT(0); in iwl_check_rxon_cmd() 401 errors |= BIT(1); in iwl_check_rxon_cmd() 406 errors |= BIT(2); in iwl_check_rxon_cmd() 410 errors |= BIT(3); in iwl_check_rxon_cmd() 415 errors |= BIT(4); in iwl_check_rxon_cmd() 422 errors |= BIT(5); in iwl_check_rxon_cmd() 427 errors |= BIT(6); in iwl_check_rxon_cmd() 433 errors |= BIT(7); in iwl_check_rxon_cmd() 439 errors |= BIT(8); in iwl_check_rxon_cmd() [all …]
|
/drivers/net/fddi/skfp/ |
D | pcmplc.c | 1080 u_long errors ; in lem_evaluate() local 1090 errors = inpw(PLC(((int) phy->np),PL_LINK_ERR_CTR)) ; in lem_evaluate() 1091 lem->lem_errors += errors ; in lem_evaluate() 1092 mib->fddiPORTLem_Ct += errors ; in lem_evaluate() 1094 errors = lem->lem_errors ; in lem_evaluate() 1105 if (!errors) ber = 15 ; in lem_evaluate() 1106 else if (errors <= 9) ber = 9 ; in lem_evaluate() 1107 else if (errors <= 99) ber = 8 ; in lem_evaluate() 1108 else if (errors <= 999) ber = 7 ; in lem_evaluate() 1109 else if (errors <= 9999) ber = 6 ; in lem_evaluate() [all …]
|
/drivers/block/ |
D | nbd.c | 106 int error = req->errors ? -EIO : 0; in nbd_end_request() 359 req->errors++; in nbd_read_stat() 374 req->errors++; in nbd_read_stat() 445 req->errors++; in nbd_clear_que() 453 req->errors++; in nbd_clear_que() 474 req->errors = 0; in nbd_handle_req() 488 req->errors++; in nbd_handle_req() 503 req->errors++; in nbd_handle_req() 561 req->errors++; in do_nbd_request()
|
/drivers/pci/pcie/aer/ |
D | Kconfig.debug | 14 to trigger various real hardware errors. Software based 15 error injection can fake almost all kinds of errors with the
|
/drivers/scsi/device_handler/ |
D | scsi_dh_hp_sw.c | 140 HP_SW_NAME, req->errors); in hp_sw_tur() 207 if (error || host_byte(req->errors) != DID_OK || in start_stop_endio() 208 msg_byte(req->errors) != COMMAND_COMPLETE) { in start_stop_endio() 211 HP_SW_NAME, req->errors); in start_stop_endio()
|
/drivers/acpi/ |
D | bus.c | 447 u32 errors; in acpi_run_osc() local 487 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc() 488 if (errors) { in acpi_run_osc() 489 if (errors & OSC_REQUEST_ERROR) in acpi_run_osc() 492 if (errors & OSC_INVALID_UUID_ERROR) in acpi_run_osc() 495 if (errors & OSC_INVALID_REVISION_ERROR) in acpi_run_osc() 498 if (errors & OSC_CAPABILITIES_MASK_ERROR) { in acpi_run_osc()
|
/drivers/block/drbd/ |
D | Kconfig | 46 Say Y here if you want to simulate IO errors, in order to test DRBD's 49 The actual simulation of IO errors is done by writing 3 values to 66 Example: Simulate data write errors on /dev/drbd0 with a probability of 5%.
|
/drivers/staging/tidspbridge/ |
D | Kconfig | 56 bool "Notify power errors" 64 bool "Dump backtraces on fatal errors" 67 Enable useful information to backtrace fatal errors. Say Y if you
|
/drivers/spi/ |
D | spi-davinci.c | 471 u32 buf, status, errors = 0, spidat1; in davinci_spi_process_events() local 483 errors = status & SPIFLG_ERROR_MASK; in davinci_spi_process_events() 496 return errors; in davinci_spi_process_events() 531 u32 errors = 0; in davinci_spi_bufs() local 684 errors = davinci_spi_process_events(dspi); in davinci_spi_bufs() 685 if (errors) in davinci_spi_bufs() 711 if (errors) { in davinci_spi_bufs() 712 ret = davinci_spi_check_error(dspi, errors); in davinci_spi_bufs()
|
/drivers/cpufreq/ |
D | pcc-cpufreq.c | 312 u32 errors; in pcc_cpufreq_do_osc() local 345 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc() 346 if (errors) { in pcc_cpufreq_do_osc() 374 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc() 375 if (errors) { in pcc_cpufreq_do_osc()
|
/drivers/message/i2o/ |
D | README.ioctl | 50 Returns 0 if no errors occur, and -1 otherwise. If an error occurs, 76 This function returns 0 if no errors occur. If an error occurs, -1 105 This function returns 0 if no errors occur. If an error occurs, -1 140 ops->resbuf if no errors occur. If an error occurs, -1 is returned 224 This function returns 0 no errors occur. If an error occurs, -1 266 This function returns 0 if no errors occur. If an error occurs, -1 303 This function returns 0 if no errors occur. If an error occurs, -1 389 are 0 and -1. All errors are reported through errno.
|
/drivers/mtd/nand/ |
D | fsl_ifc_nand.c | 219 int errors; in check_read_ecc() local 221 errors = (reg >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc() 223 return errors; in check_read_ecc() 266 int errors; in fsl_ifc_run_command() local 275 errors = check_read_ecc(mtd, ctrl, eccstat, i); in fsl_ifc_run_command() 277 if (errors == 15) { in fsl_ifc_run_command() 292 mtd->ecc_stats.corrected += errors; in fsl_ifc_run_command()
|