Lines Matching refs:lvalue
5693 uint32_t dvalue, wvalue, lvalue, avalue; in lpfc_cmf_stats_timer() local
5719 lvalue = atomic_read(&phba->cgn_latency_evt_cnt); in lpfc_cmf_stats_timer()
5790 if (lvalue) { in lpfc_cmf_stats_timer()
5791 lvalue = (uint32_t)div_u64(latsum, lvalue); in lpfc_cmf_stats_timer()
5792 *lptr = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()
5818 lvalue = 0; in lpfc_cmf_stats_timer()
5825 lvalue += le32_to_cpu(cp->cgn_latency_min[i]); in lpfc_cmf_stats_timer()
5829 if (lvalue) /* Avg of latency averages */ in lpfc_cmf_stats_timer()
5830 lvalue /= LPFC_MIN_HOUR; in lpfc_cmf_stats_timer()
5839 *lptr = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()
5848 index, dvalue, wvalue, lvalue, mvalue, avalue); in lpfc_cmf_stats_timer()
5865 lvalue = 0; in lpfc_cmf_stats_timer()
5872 lvalue += le32_to_cpu(cp->cgn_latency_hr[i]); in lpfc_cmf_stats_timer()
5876 if (lvalue) /* Avg of latency averages */ in lpfc_cmf_stats_timer()
5877 lvalue /= LPFC_HOUR_DAY; in lpfc_cmf_stats_timer()
5886 *lptr = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()
5895 index, dvalue, wvalue, lvalue, mvalue, avalue); in lpfc_cmf_stats_timer()
5903 lvalue = lpfc_cgn_calc_crc32(cp, LPFC_CGN_INFO_SZ, in lpfc_cmf_stats_timer()
5905 cp->cgn_info_crc = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()