Home
last modified time | relevance | path

Searched refs:err_count (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/misc/
H A Dsmpro-errmon.c234 s32 err_count; in smpro_overflow_data_read() local
239 ret = regmap_read(errmon->regmap, err_info->count, &err_count); in smpro_overflow_data_read()
244 return sysfs_emit(buf, "%d\n", (err_count & BIT(8)) ? 1 : 0); in smpro_overflow_data_read()
253 s32 err_count, err_length; in smpro_error_data_read() local
258 ret = regmap_read(errmon->regmap, err_info->count, &err_count); in smpro_error_data_read()
260 err_count &= 0xff; in smpro_error_data_read()
261 if (ret || !err_count || err_count > err_info->max_cnt) in smpro_error_data_read()
/linux/drivers/usb/serial/
H A Dusb_wwan.c572 int err_count = 0; in usb_wwan_submit_delayed_urbs() local
586 err_count++; in usb_wwan_submit_delayed_urbs()
594 if (err_count) in usb_wwan_submit_delayed_urbs()
608 int err_count = 0; in usb_wwan_resume() local
626 err_count++; in usb_wwan_resume()
632 err_count++; in usb_wwan_resume()
641 err_count++; in usb_wwan_resume()
648 if (err_count) in usb_wwan_resume()
/linux/drivers/edac/
H A Dti_edac.c98 int err_count; in ti_edac_isr() local
104 err_count = ti_edac_readl(edac, EMIF_1B_ECC_ERR_CNT); in ti_edac_isr()
105 ti_edac_writel(edac, err_count, EMIF_1B_ECC_ERR_CNT); in ti_edac_isr()
106 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, err_count, in ti_edac_isr()
H A Ddmc520_edac.c205 u32 err_count; in dmc520_get_dram_ecc_error_count() local
218 err_count = dmc520_calc_dram_ecc_error(err_low) + in dmc520_get_dram_ecc_error_count()
221 return err_count; in dmc520_get_dram_ecc_error_count()
H A Daltera_edac.c86 u32 status, err_count = 1, err_addr; in altr_sdram_mc_err_handler() local
95 &err_count); in altr_sdram_mc_err_handler()
97 err_count, err_addr); in altr_sdram_mc_err_handler()
104 &err_count); in altr_sdram_mc_err_handler()
105 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, err_count, in altr_sdram_mc_err_handler()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_umc.c101 unsigned long err_count; in amdgpu_umc_handle_bad_pages() local
165 err_count = err_data->ue_count + err_data->de_count; in amdgpu_umc_handle_bad_pages()
170 amdgpu_ras_save_bad_pages(adev, &err_count); in amdgpu_umc_handle_bad_pages()
H A Damdgpu_ras.h928 unsigned long *err_count);
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource.c689 unsigned err_count = 0; in vmw_resource_validate() local
726 ++err_count > VMW_RES_EVICT_ERR_COUNT) { in vmw_resource_validate()
899 unsigned err_count = 0; in vmw_resource_evict_type() local
921 if (++err_count > VMW_RES_EVICT_ERR_COUNT) { in vmw_resource_evict_type()
/linux/arch/powerpc/sysdev/
H A Dfsl_rio.h83 u32 err_count; member
H A Dfsl_rmu.c439 pw->port_write_msg.err_count++; in fsl_rio_port_write_handler()
441 pw->port_write_msg.err_count); in fsl_rio_port_write_handler()
560 pw->port_write_msg.err_count = 0; in fsl_rio_port_write_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dct_fs_smfs.c317 goto err_count; in mlx5_ct_fs_smfs_ct_rule_add()
353 err_count: in mlx5_ct_fs_smfs_ct_rule_add()
/linux/include/net/
H A Dip6_tunnel.h56 int err_count; member
H A Dip_tunnels.h153 int err_count; /* Number of arrived ICMP errors */ member
/linux/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c126 u32 err_count; in af9005_get_post_vit_err_cw_count() local
176 err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count()
177 *post_err_count = err_count - (u32) loc_abort_count *8 * 8; in af9005_get_post_vit_err_cw_count()
196 loc_abort_count, err_count, cw_count); in af9005_get_post_vit_err_cw_count()
/linux/net/ipv4/
H A Dipip.c194 t->err_count++; in ipip_err()
196 t->err_count = 1; in ipip_err()
H A Dip_tunnel.c823 if (tunnel->err_count > 0) { in ip_tunnel_xmit()
826 tunnel->err_count--; in ip_tunnel_xmit()
830 tunnel->err_count = 0; in ip_tunnel_xmit()
/linux/drivers/input/keyboard/
H A Datkbd.c230 unsigned long err_count; member
292 ATKBD_DEFINE_RO_ATTR(err_count);
496 atkbd->err_count++; in atkbd_receive_byte()
1767 return sprintf(buf, "%lu\n", atkbd->err_count); in atkbd_show_err_count()
/linux/net/ipv6/
H A Dsit.c597 t->err_count++; in ipip6_err()
599 t->err_count = 1; in ipip6_err()
995 if (tunnel->err_count > 0) { in ipip6_tunnel_xmit()
998 tunnel->err_count--; in ipip6_tunnel_xmit()
1001 tunnel->err_count = 0; in ipip6_tunnel_xmit()
H A Dip6_tunnel.c1205 if (t->err_count > 0) { in ip6_tnl_xmit()
1208 t->err_count--; in ip6_tnl_xmit()
1212 t->err_count = 0; in ip6_tnl_xmit()
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c947 unsigned int err_count = 0; in cdnsp_endpoint_init() local
980 err_count = 3; in cdnsp_endpoint_init()
1000 ERROR_COUNT(err_count)); in cdnsp_endpoint_init()
/linux/fs/notify/fanotify/
H A Dfanotify.h311 u32 err_count; /* Suppressed errors count */ member
/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-video.c189 int ret = 0, err_count = 0; in hdpvr_submit_buffers() local
213 if (++err_count > 2) in hdpvr_submit_buffers()
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c389 goto err_count; in ipoib_cm_nonsrq_init_rx()
396 goto err_count; in ipoib_cm_nonsrq_init_rx()
406 err_count: in ipoib_cm_nonsrq_init_rx()
/linux/drivers/block/
H A Dfloppy.c2093 int err_count; in bad_flp_intr() local
2100 err_count = ++floppy_errors; in bad_flp_intr()
2101 INFBOUND(write_errors[current_drive].badness, err_count); in bad_flp_intr()
2102 if (err_count > drive_params[current_drive].max_errors.abort) in bad_flp_intr()
2104 if (err_count > drive_params[current_drive].max_errors.reset) in bad_flp_intr()
2106 else if (err_count > drive_params[current_drive].max_errors.recal) in bad_flp_intr()
/linux/drivers/usb/host/
H A Dxhci-mem.c1400 unsigned int err_count = 0; in xhci_endpoint_init() local
1439 err_count = 3; in xhci_endpoint_init()
1472 ERROR_COUNT(err_count)); in xhci_endpoint_init()

12