| /drivers/md/bcache/ |
| A D | io.c | 58 unsigned int errors; in bch_count_backing_io_errors() local 74 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 75 if (errors < dc->error_limit) in bch_count_backing_io_errors() 96 unsigned int errors; in bch_count_io_errors() local 110 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 112 old = errors; in bch_count_io_errors() 113 new = ((uint64_t) errors * 127) / 128; in bch_count_io_errors() 114 errors = atomic_cmpxchg(&ca->io_errors, in bch_count_io_errors() 116 } while (old != errors); in bch_count_io_errors() 124 errors >>= IO_ERROR_SHIFT; in bch_count_io_errors() [all …]
|
| /drivers/macintosh/ |
| A D | windfarm_pid.c | 46 st->errors[i] = error; in wf_pid_run() 53 st->errors[st->index] = error; in wf_pid_run() 58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 62 deriv = st->errors[st->index] - in wf_pid_run() 63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 101 st->errors[i] = error; in wf_cpu_pid_run() 109 st->errors[st->index] = error; in wf_cpu_pid_run() 116 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()
|
| A D | windfarm_pid.h | 42 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */ member 79 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */ member
|
| /drivers/soc/tegra/cbb/ |
| A D | tegra234-cbb.c | 896 .errors = tegra234_cbb_errors, 910 .errors = tegra234_cbb_errors, 924 .errors = tegra234_cbb_errors, 939 .errors = tegra234_cbb_errors, 953 .errors = tegra234_cbb_errors, 967 .errors = tegra234_cbb_errors, 1169 .errors = tegra241_cbb_errors, 1184 .errors = tegra241_cbb_errors, 1377 .errors = tegra241_cbb_errors, 1392 .errors = tegra241_cbb_errors, [all …]
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_dsb.c | 638 u32 errors; in dsb_error_int_status() local 640 errors = DSB_GTT_FAULT_INT_STATUS | in dsb_error_int_status() 654 errors |= DSB_GOSUB_INT_STATUS; in dsb_error_int_status() 656 return errors; in dsb_error_int_status() 661 u32 errors; in dsb_error_int_en() local 663 errors = DSB_GTT_FAULT_INT_EN | in dsb_error_int_en() 668 errors |= DSB_ATS_FAULT_INT_EN; in dsb_error_int_en() 675 errors |= DSB_GOSUB_INT_EN; in dsb_error_int_en() 677 return errors; in dsb_error_int_en() 984 u32 tmp, errors; in intel_dsb_irq_handler() local [all …]
|
| /drivers/vdpa/vdpa_sim/ |
| A D | vdpa_sim_net.c | 45 u64 errors; member 53 u64 errors; member 134 u64 requests = 0, errors = 0, successes = 0; in vdpasim_handle_cvq() local 154 ++errors; in vdpasim_handle_cvq() 169 ++errors; in vdpasim_handle_cvq() 191 net->cq_stats.errors += errors; in vdpasim_handle_cvq() 273 net->tx_stats.errors += tx_errors; in vdpasim_net_work() 280 net->rx_stats.errors += rx_errors; in vdpasim_net_work() 302 rx_errors = net->rx_stats.errors; in vdpasim_net_get_stats() 344 tx_errors = net->tx_stats.errors; in vdpasim_net_get_stats() [all …]
|
| /drivers/spi/ |
| A D | spi-rzv2m-csi.c | 108 u32 errors; member 314 if (csi->errors) in rzv2m_csi_wait_for_interrupt() 330 csi->errors |= RX_TIMEOUT_ERROR; in rzv2m_csi_wait_for_rx_ready() 343 csi->errors |= OVERFLOW_ERROR; in rzv2m_csi_irq_handler() 345 csi->errors |= UNDERRUN_ERROR; in rzv2m_csi_irq_handler() 458 csi->errors = 0; in rzv2m_csi_pio_transfer() 517 if (csi->errors) { in rzv2m_csi_pio_transfer() 550 if (csi->errors & UNDERRUN_ERROR) in rzv2m_csi_transfer_one() 552 if (csi->errors & OVERFLOW_ERROR) in rzv2m_csi_transfer_one() 554 if (csi->errors & TX_TIMEOUT_ERROR) in rzv2m_csi_transfer_one() [all …]
|
| A D | spi-davinci.c | 508 u32 buf, status, errors = 0, spidat1; in davinci_spi_process_events() local 520 errors = status & SPIFLG_ERROR_MASK; in davinci_spi_process_events() 533 return errors; in davinci_spi_process_events() 570 u32 errors = 0; in davinci_spi_bufs() local 671 errors = SPIFLG_TIMEOUT_MASK; in davinci_spi_bufs() 674 errors = davinci_spi_process_events(dspi); in davinci_spi_bufs() 675 if (errors) in davinci_spi_bufs() 692 if (errors) { in davinci_spi_bufs() 693 ret = davinci_spi_check_error(dspi, errors); in davinci_spi_bufs()
|
| /drivers/usb/ |
| A D | usb-skeleton.c | 59 int errors; /* the last request tanked */ member 151 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush() 152 dev->errors = 0; in skel_flush() 177 dev->errors = urb->status; in skel_read_bulk_callback() 268 rv = dev->errors; in skel_read() 271 dev->errors = 0; in skel_read() 349 dev->errors = urb->status; in skel_write_bulk_callback() 391 retval = dev->errors; in skel_write() 394 dev->errors = 0; in skel_write() 625 dev->errors = -EPIPE; in skel_post_reset()
|
| /drivers/edac/ |
| A D | e752x_edac.c | 521 if (errors & (1 << i)) { in do_global_error() 540 do_global_error(fatal, errors); in global_error() 555 if (errors & (1 << i)) in do_hub_error() 567 do_hub_error(fatal, errors); in hub_error() 612 if (errors & (1 << i)) in do_nsi_error() 624 do_nsi_error(fatal, errors); in nsi_error() 634 static void do_membuf_error(u8 errors) in do_membuf_error() argument 639 if (errors & (1 << i)) in do_membuf_error() 650 do_membuf_error(errors); in membuf_error() 670 if (errors & (1 << i)) in do_sysbus_error() [all …]
|
| A D | i7300_edac.c | 356 unsigned long errors; in i7300_process_error_global() local 366 errors = error_reg; in i7300_process_error_global() 367 errnum = find_first_bit(&errors, in i7300_process_error_global() 382 errors = error_reg; in i7300_process_error_global() 383 errnum = find_first_bit(&errors, in i7300_process_error_global() 415 unsigned long errors; in i7300_process_fbd_error() local 426 errnum = find_first_bit(&errors, in i7300_process_fbd_error() 448 bank, ras, cas, errors, specific); in i7300_process_fbd_error() 461 errors = error_reg & FERR_NF_FBD_ERR_MASK; in i7300_process_fbd_error() 462 errnum = find_first_bit(&errors, in i7300_process_fbd_error() [all …]
|
| A D | Kconfig | 17 report hardware errors. These are low-level errors that are reported 19 memory errors, cache errors, PCI errors, thermal throttling, etc.. 56 tristate "Output ACPI APEI/GHES BIOS detected errors via EDAC" 112 Support for error detection and correction of DRAM ECC errors on 121 Correctable errors into DRAM. 566 Report both single bit errors (CE) and double bit errors (UE). 567 Support injecting both correctable and uncorrectable errors 576 errors (CE) only. Loongson-3A5000/3C5000/3D5000/3A6000/3C6000
|
| /drivers/acpi/apei/ |
| A D | Kconfig | 15 APEI allows to report errors (for example from the chipset) 29 platform hardware errors (such as that from chipset). It 31 errors are reported to firmware firstly, then reported to 41 PCIe AER errors may be reported via APEI firmware first mode. 53 Memory errors may be reported via APEI firmware first mode. 71 Availability and which errors are supported is dependent on
|
| /drivers/comedi/drivers/ |
| A D | jr3_pci.c | 115 u16 errors; member 258 u16 errors; in jr3_pci_ai_insn_read() local 261 errors = get_u16(&spriv->sensor->errors); in jr3_pci_ai_insn_read() 263 (errors & (watch_dog | watch_dog2 | sensor_change))) { in jr3_pci_ai_insn_read() 432 int errors; in jr3_pci_poll_subdevice() local 436 errors = get_u16(&sensor->errors); in jr3_pci_poll_subdevice() 438 if (errors != spriv->errors) in jr3_pci_poll_subdevice() 439 spriv->errors = errors; in jr3_pci_poll_subdevice() 442 if (errors & (watch_dog | watch_dog2 | sensor_change)) in jr3_pci_poll_subdevice() 450 if ((errors & (watch_dog | watch_dog2)) || in jr3_pci_poll_subdevice()
|
| /drivers/net/dsa/sja1105/ |
| A D | sja1105_dynamic_config.c | 185 u64 errors; member 205 sja1105_packing(buf, &cmd->errors, 30, 30, size, op); in sja1105et_vl_lookup_cmd_packing() 219 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_vl_lookup_cmd_packing() 233 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vl_lookup_cmd_packing() 270 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing() 531 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vlan_lookup_cmd_packing() 561 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105_l2_forwarding_cmd_packing() 575 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_l2_forwarding_cmd_packing() 628 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_mac_config_cmd_packing() 642 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_mac_config_cmd_packing() [all …]
|
| /drivers/base/test/ |
| A D | test_async_driver_probe.c | 21 static atomic_t warnings, errors, timeout, async_completed; variable 34 atomic_inc(&errors); in test_probe() 247 } else if (!atomic_read(&errors) && !atomic_read(&warnings)) { in test_async_probe_init() 270 atomic_inc(&errors); in test_async_probe_init() 275 atomic_read(&errors), atomic_read(&warnings)); in test_async_probe_init()
|
| /drivers/net/fddi/skfp/ |
| A D | pcmplc.c | 1069 u_long errors ; in lem_evaluate() local 1080 lem->lem_errors += errors ; in lem_evaluate() 1081 mib->fddiPORTLem_Ct += errors ; in lem_evaluate() 1083 errors = lem->lem_errors ; in lem_evaluate() 1094 if (!errors) ber = 15 ; in lem_evaluate() 1095 else if (errors <= 9) ber = 9 ; in lem_evaluate() 1096 else if (errors <= 99) ber = 8 ; in lem_evaluate() 1097 else if (errors <= 999) ber = 7 ; in lem_evaluate() 1177 int errors ; in lem_check_lct() local 1183 lem->lem_errors += errors ; in lem_check_lct() [all …]
|
| /drivers/regulator/ |
| A D | max5970-regulator.c | 415 stat->errors = 0; in max597x_irq_handler() 424 stat->errors |= REGULATOR_ERROR_UNDER_VOLTAGE; in max597x_irq_handler() 428 stat->errors |= REGULATOR_ERROR_UNDER_VOLTAGE_WARN; in max597x_irq_handler() 442 stat->errors |= REGULATOR_ERROR_REGULATION_OUT; in max597x_irq_handler() 446 stat->errors |= REGULATOR_ERROR_OVER_VOLTAGE_WARN; in max597x_irq_handler() 460 stat->errors |= REGULATOR_ERROR_OVER_CURRENT_WARN; in max597x_irq_handler() 477 stat->errors |= in max597x_irq_handler()
|
| /drivers/gpu/drm/i915/gt/ |
| A D | intel_engine_user.c | 265 int errors = 0; in intel_engines_driver_register() local 274 errors++; in intel_engines_driver_register() 285 errors++; in intel_engines_driver_register() 303 errors++; in intel_engines_driver_register() 307 if (drm_WARN(&i915->drm, errors, in intel_engines_driver_register()
|
| /drivers/net/wireless/intel/iwlwifi/dvm/ |
| A D | rxon.c | 756 u32 errors = 0; in iwl_check_rxon_cmd() local 761 errors |= BIT(0); in iwl_check_rxon_cmd() 765 errors |= BIT(1); in iwl_check_rxon_cmd() 770 errors |= BIT(2); in iwl_check_rxon_cmd() 774 errors |= BIT(3); in iwl_check_rxon_cmd() 779 errors |= BIT(4); in iwl_check_rxon_cmd() 786 errors |= BIT(5); in iwl_check_rxon_cmd() 791 errors |= BIT(6); in iwl_check_rxon_cmd() 797 errors |= BIT(7); in iwl_check_rxon_cmd() 803 errors |= BIT(8); in iwl_check_rxon_cmd() [all …]
|
| /drivers/video/fbdev/omap2/omapfb/dss/ |
| A D | dispc-compat.c | 327 u32 errors; in dispc_error_worker() local 337 errors = dispc_compat.error_irqs; in dispc_error_worker() 350 if (bit & errors) { in dispc_error_worker() 365 if (bit & errors) { in dispc_error_worker() 387 if (errors & DISPC_IRQ_OCP_ERR) { in dispc_error_worker() 398 dispc_compat.irq_error_mask |= errors; in dispc_error_worker()
|
| /drivers/block/drbd/ |
| A D | Kconfig | 47 Say Y here if you want to simulate IO errors, in order to test DRBD's 50 The actual simulation of IO errors is done by writing 3 values to 68 Example: Simulate data write errors on /dev/drbd0 with a probability of 5%.
|
| /drivers/cpufreq/ |
| A D | pcc-cpufreq.c | 309 u32 errors; in pcc_cpufreq_do_osc() local 342 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc() 343 if (errors) { in pcc_cpufreq_do_osc() 371 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc() 372 if (errors) { in pcc_cpufreq_do_osc()
|
| /drivers/staging/gpib/lpvo_usb_gpib/ |
| A D | lpvo_usb_gpib.c | 1259 int errors; /* the last request tanked */ member 1362 dev->errors = urb->status; in skel_read_bulk_callback() 1458 rv = dev->errors; in skel_do_read() 1461 dev->errors = 0; in skel_do_read() 1575 dev->errors = urb->status; in skel_write_bulk_callback() 1619 retval = dev->errors; in skel_do_write() 1622 dev->errors = 0; in skel_do_write() 1711 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush() 1712 dev->errors = 0; in skel_flush() 2007 dev->errors = -EPIPE; in skel_post_reset()
|
| /drivers/mtd/nand/raw/ingenic/ |
| A D | jz4725b_bch.c | 218 u32 reg, errors, bit; in jz4725b_correct() local 251 errors = (reg & BCH_BHINT_ERRC_MASK) >> BCH_BHINT_ERRC_SHIFT; in jz4725b_correct() 254 for (i = 0; i < errors; i++) { in jz4725b_correct()
|