Lines Matching refs:lvalue
5687 uint32_t dvalue, wvalue, lvalue, avalue; in lpfc_cmf_stats_timer() local
5713 lvalue = atomic_read(&phba->cgn_latency_evt_cnt); in lpfc_cmf_stats_timer()
5784 if (lvalue) { in lpfc_cmf_stats_timer()
5785 lvalue = (uint32_t)div_u64(latsum, lvalue); in lpfc_cmf_stats_timer()
5786 *lptr = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()
5812 lvalue = 0; in lpfc_cmf_stats_timer()
5819 lvalue += le32_to_cpu(cp->cgn_latency_min[i]); in lpfc_cmf_stats_timer()
5823 if (lvalue) /* Avg of latency averages */ in lpfc_cmf_stats_timer()
5824 lvalue /= LPFC_MIN_HOUR; in lpfc_cmf_stats_timer()
5833 *lptr = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()
5842 index, dvalue, wvalue, lvalue, mvalue, avalue); in lpfc_cmf_stats_timer()
5859 lvalue = 0; in lpfc_cmf_stats_timer()
5866 lvalue += le32_to_cpu(cp->cgn_latency_hr[i]); in lpfc_cmf_stats_timer()
5870 if (lvalue) /* Avg of latency averages */ in lpfc_cmf_stats_timer()
5871 lvalue /= LPFC_HOUR_DAY; in lpfc_cmf_stats_timer()
5880 *lptr = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()
5889 index, dvalue, wvalue, lvalue, mvalue, avalue); in lpfc_cmf_stats_timer()
5897 lvalue = lpfc_cgn_calc_crc32(cp, LPFC_CGN_INFO_SZ, in lpfc_cmf_stats_timer()
5899 cp->cgn_info_crc = cpu_to_le32(lvalue); in lpfc_cmf_stats_timer()